Jump to content

Pantone Tints


jpreve

Recommended Posts

Hi!

I find it kind of funny that the easiest functions of formatting a business card using Indesign are the hardest using fusion pro. :D I need help, I’m out of ideas!!! I have a 1/1 (PANTONE 404 C) business card with a separator between addresses & city, websites, and phone numbers. Some of the separators are static and some are variable, but all use 50% of PANTONE 404 C. (The phone labels (O,F,M) also use this percentage.) I need the phone labels + the separators to suppress if empty. These business cards are going to DSF. Examples Below:

 

Three Phone Numbers:

123 Generic Street | Sample City, ST 00000

O 000.000.0000 | F 000.000.0000 | M 000.000.0000

email@address

website one | website two

 

Two Phone Numbers:

123 Generic Street | Sample City, ST 00000

O 000.000.0000 | F 000.000.0000

email@address

website one | website two

 

One Phone Number:

123 Generic Street | Sample City, ST 00000

O 000.000.0000

email@address

website one | website two

 

Please let me know if you need any more information.

Thanks for your help!

 

Sincerely,

jpreve :)

Edited by jpreve
Link to comment
Share on other sites

I find it kind of funny that the easiest functions of formatting a business card using Indesign are the hardest using fusion pro. :D

Can you elaborate? How would you set up this kind of variable text in InDesign?

Some of the separators are static and some are variable, but all use 50% of PANTONE 404 C. (The phone labels (O,F,M) also use this percentage.) I need the phone labels + the separators to suppress if empty.

Something like in this post should work:

var color_tag = '<color name="PANTONE 404 C" shading=50>';
function color(text)
{
   return color_tag + TaggedTextFromRaw(text) + '</color>';
}
var numbers = 
{
   O: Field("Office"),
   F: Field("Fax"),
   M: Field("Mobile"),
}
var result = [];
for (var label in numbers)
   if (numbers[label])
       result.push(color(label) + " " + numbers[label]);

return result.join(color(' | '));

Link to comment
Share on other sites

I was only referring to the simplicity of selecting a screen tint of a Pantone in Indesign is much easier than Fusion Pro. I do wish Fusion Pro had a Pantone Library...

 

The code works great for the phone number line, but how do I change the other two separators to 50% of Pantone 404 C? (Refer to the lines in bold).

FYI: I'm still very new at JS, forgive me if you already answered this.

 

123 Generic Street | Sample City, ST 00000

O 000.000.0000 | F 000.000.0000 | M 000.000.0000

email@address

website one | website two

 

Thanks Again for the help!

jpreve :)

Link to comment
Share on other sites

I was only referring to the simplicity of selecting a screen tint of a Pantone in Indesign is much easier than Fusion Pro. I do wish Fusion Pro had a Pantone Library...

I see. The thing is, building the Pantone colors into FusionPro involves all sorts of licensing, as well as code changes. Pantone is also not the only spot color library out there.

 

You can always add whatever colors you want to your color list in InDesign, then export with the FusionPro palette, and those colors will be carried over to the FusionPro document.

The code works great for the phone number line, but how do I change the other two separators to 50% of Pantone 404 C? (Refer to the lines in bold).

FYI: I'm still very new at JS, forgive me if you already answered this.

You could add a rule like so, named something like "Separator":

var color_tag = '<color name="PANTONE 404 C" shading=50>';
function color(text)
{
   return color_tag + TaggedTextFromRaw(text) + '</color>';
}
return color(' | ');

Or simply:

return <color name="PANTONE 404 C" shading=50>&[size="3"]#[/size]32;| </color>';

(You could also add the var color_tag and function color parts to the JavaScript Globals instead of having them duplicated in the two rules.)

 

Then, simply insert that rule's variable as needed in the Variable Text Editor, in between the variables which call out the fields. The text in the Text Editor would look something like this:

 

«Address 1»«Separator»«City», «State» «Zip»

«Phone Numbers Rule»

«email»

«website 1»«Separator»«website 2»

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...