Thanks Richard! I did the quick test (Courier -> Courier New) and it didn't preserve the italics but did preserve the different font in the xref. So the bits that I wanted to have Courier New italics were Courier New. That's a lot closer than I was before!
So by the look of it, I need to find/make a version of Courier that has the italics as its "regular" form. That should be do-able. If anyone knows how off the top of their head, I'd appreciate the info. Otherwise, I'll go play. Cheers, Rebecca >>> "Combs, Richard" <richard.combs at Polycom.com> 1/02/07 10:21 >>> rebecca officer wrote: > I just wondered if anyone has a trick that lets you make a > cross-reference to something that includes character-tagged > text, and preserve the character tag in the cross-reference? > > We document commands, and some of them have italics in part > of the command syntax. In the associated step-by-step > instructions, the most reliable way to include the command > syntax is to use cross-references. > But the italics get lost. :-( I vaguely recall someone describing a (somewhat difficult) solution for this once, but don't have time to search for the post right now. IIRC, it was based on the fact that xrefs retain char formats that use a different font family. So, you need to create a copy of the font used with a new name -- I think you need Fontographer or equivalent because you have to change the internal name of the font. For instance, if you're using Courier for your commands, and applying the Variable char tag to italicize the variables, you create a new font, CourierCopy, and redefine the Variable char tag to be CourierCopy Italic. FM will retain this in your xrefs. As a quick test, try it with two similar-looking fonts, such as the PostScript font Courier and its TrueType cousin, Courier New -- if that works and looks OK, maybe you're done! :-) HTH! Richard ------ Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 ------ rgcombs AT gmailDOTcom 303-777-0436 ------ NOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify Allied Telesis Labs Ltd immediately. Any views expressed in this message are those of the individual sender, except where the sender has the authority to issue and specifically states them to be the views of Allied Telesis Labs.
