• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can I color Xrefs in FM 2017?

Community Beginner ,
May 18, 2018 May 18, 2018

Copy link to clipboard

Copied

Having just finished editing an HTML version of a recent FM book (using VIM,) I was pleased with the blue color of all the cross references. This lead me to wonder how I might color all the cross references in my FM files so they appear distinctly blue.

Perhaps this is an ignorant question, and cross ref coloring is simply a matter of identifying the paragraph tags used throughout the text and changing the font color. I guess I'm wondering if I can safe some work and do this in book mode.

Thanks in advance.

~Don Spencer

Views

355

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2018 May 19, 2018

Copy link to clipboard

Copied

Hi Don:

It's both quick and easy to add color to your X-refs in FrameMaker:

  1. Create a new character tag with the specifications for the x-ref format
    Screenshot 2018-05-19 08.08.04.png
  2. Double click one of the x-refs in the the document to open the Cross-Reference Pod
  3. Click on Edit Format
  4. Click at the very beginning of the Definition line (look for the blinking insertion point)
  5. Scroll to the very bottom of the Building Blocks list—there you will find a list of character tags in the file
  6. Click to add the character tag to beginning of the Definition line.
    Screenshot 2018-05-19 08.12.49.png
  7. Click Change, Done, Update, Replace

If you like how this looks, go to the book window and select all of the other files. Use File > Import > Formats to import Character Formats, Color Definitions and Cross-Reference Formats to the selected files in the book.

~Barb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 19, 2018 May 19, 2018

Copy link to clipboard

Copied

LATEST

Don,

that's easy, just two steps to be done:

  1. Define a new character format (e.g. "xref") that has just the desired character appearance, e.g "blue text color" and "underlined".
  2. Define your cross reference format to use this new character format. The definition would then be e.g. "<xref><$paratext><Default Para Font>. This definition uses the character format for the referenced text and switches back to the default character format (from the paragraph format) after the referenced text, see attached screenshot.

Bildschirmfoto 2018-05-19 um 16.15.46.png

Bernd

Edit: too slow… 😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines