Need to pass superscript value through text ador?

240 views
Skip to first unread message

Shyam

unread,
Sep 8, 2008, 2:48:01 AM9/8/08
to XMPie Interest Group
Hi,

Can anyone help me that I need to pass ® value as superscript on the
proof. If we pass this ® through Text ADOR then its going to come as
regular text not the superscript.

Can you one have any idea about this? How to handle this case?

Thanks,
Shyam

George Marsh

unread,
Sep 8, 2008, 5:46:01 AM9/8/08
to xmpie...@googlegroups.com
Shyam

(Assume you mean InDesign?)

The only way I have found to do this is to either use tagged text to
bring in the different style, or break the ADOR into multiple pieces
so there is one for each element that needs to be styled differently
(used for inline bolds).

Both painful.

You might, dependent on the application, be able to achieve something
similar with nested styles, but irritatingly InDesign has very limited
options for the types of character/position that will activate the
nested style - and I can't work out how to pass the special characters
from uPlan.

Unless anyone else knows different?

Good luck

George

Gregg

unread,
Sep 8, 2008, 10:05:06 AM9/8/08
to XMPie Interest Group
I would try the nested styles route first. If it doesn't work and you
want to change ALL instances of registered trademark you could make
your text inout into a variable that does a find and replace for a
registered tradmark. Replace it with
"<cPosition:Superscript><0x00AE><cPosition:>". The string variable
then nests into a text ador.

Here is what the completed text ador would look like.

.............

<ASCII-WIN>
<Version:5><FeatureSet:InDesign-
Roman><ColorTable:=<Black:COLOR:CMYK:Process:0,0,0,1>>
<DefineParaStyle:NormalParagraphStyle=<Nextstyle:NormalParagraphStyle>>
<ParaStyle:NormalParagraphStyle>Here is a superscripted registered
trademark symbol <cPosition:Superscript><0x00AE><cPosition:>.

.............

Here's a link to all of the available import and export formatting
attributes for tagged text:

http://evil.pl/dtp/specials/TaggedTextCS.pdf

George Marsh

unread,
Sep 8, 2008, 12:01:27 PM9/8/08
to xmpie...@googlegroups.com
Gregg

That is seriously useful - I have tried and tried to use tagged text
in ADORs before and could never get it to work. The technotes weren't
a great deal of help either.

Could I just check, does it need to be within string delimiters: "" ?

How does InDesign/uDirect know it is tagged text and not a string?

Cheers
George

A S

unread,
Sep 9, 2008, 12:54:38 AM9/9/08
to xmpie...@googlegroups.com
Thanks for the response guys... My reequirement is that, If we pass
the "Copy right registered(R)" value to "Description" (text ador not
text file ador) ADOR, I am getting (R) as regular text I need only
that as a superscript.

I will really apriciate your help. I am looking solution for this.
Please help me...

Thanks,
Shyam

Gregg

unread,
Sep 9, 2008, 9:52:22 AM9/9/08
to XMPie Interest Group
Oh - almost forgot.... In InDesign make sure to check "Enable Nested
Composition" in the Dynamic Text Properties for the text box that you
apply the text file ador to.....



On Sep 8, 11:54 pm, "A S" <shyamkumar.patt...@gmail.com> wrote:
> Thanks for the response guys... My reequirement is that, If we pass
> the "Copy right registered(R)" value to "Description" (text ador not
> text file ador) ADOR, I am getting (R) as regular text I need only
> that as a superscript.
>
> I will really apriciate your help. I am looking solution for this.
> Please help me...
>
> Thanks,
> Shyam
>
> On 9/8/08, George Marsh <george.ma...@gmail.com> wrote:
>
>
>
>
>
> > Gregg
>
> > That is seriously useful - I have tried and tried to use tagged text
> > in ADORs before and could never get it to work. The technotes weren't
> > a great deal of help either.
>
> > Could I just check, does it need to be within string delimiters: "" ?
>
> > How does InDesign/uDirect know it is tagged text and not a string?
>
> > Cheers
> > George- Hide quoted text -
>
> - Show quoted text -

Gregg

unread,
Sep 9, 2008, 9:46:47 AM9/9/08
to XMPie Interest Group
The steps should go something like this. You will need to create one
string variable that is the campaign dial, one text ador and one text
file ador. I haven't tested this but I'm pretty sure this will work as
I have done something similar.

Variable 1(campaign dial):
Name - description_txt (or name it whatever you want)
Expression - "" (this is the default value if nothing is passed)

ADOR (text):
Name - description_txt_handler
Expression - FindAndReplace(@{description_txt}, "®",
"<cPosition:Superscript><0x00AE><cPosition:>")

ADOR (text file):
Name - description
Expression -

if (Length(@{description_txt_handler}) < 1)
{
null
}
else
{
"description.txt"
}

The tagged text file "description.txt" would conatain something like
the following. Notice the reference to the "description" text ador:

<ASCII-WIN>
<Version:5><FeatureSet:InDesign-
Roman><ColorTable:=<Black:COLOR:CMYK:Process:0,0,0,1>>
<DefineParaStyle:NormalParagraphStyle=<Nextstyle:NormalParagraphStyle>>
<ParaStyle:NormalParagraphStyle>{{description}}
Reply all
Reply to author
Forward
0 new messages