Click to see a demo.

Did you know that you can create one link for both Online and Print outputs? By using style mediums, you can set up a cross-reference style to automatically display as a hyperlink in online documentation and a cross-reference in print documents.

In our demo, the project contains two targets, one WebHelp and one PDF. By default the WebHelp target pulls from the ‘default’ medium and the PDF target pulls from the ‘print’ medium. The settings for which medium targets use is in the advanced tab of the target file editor. The topics that are used in the demo are also already added to the TOC so that the PDF target knows what content to include when compiling the output.

Below is the code for the style sheet if you would rather just paste it into the style sheet using notepad:

MadCap|xref
{
          mc-format: '{title}';
}

@media print
{
         MadCap|xref
         {
                  mc-format: '{title} (see page {page})  ';
         }
}

About The Author

Jose Sermeno

About Jose Sermeno

With over 10 years of experience in the software industry, Mr. Sermeno brings a wealth of knowledge and expertise to the product evangelist team, helping introduce new users to everything MadCap Software. In his spare time, Jose is the Project Director for San Diego City Robotics, the San Diego community college systems robotics program, and enjoys working in software design and open source hardware development. Prior to joining MadCap in late 2010, Jose ran a Drupal development shop, and was an application manager for Temple University Health System.

Last Modified: May 25, 2011

This entry was posted in MadCap Flare, Tech Comm, Tips & Tricks. Bookmark the permalink.

Have Something to Say?

Your email address will not be published. Required fields are marked *