Mulitple stylesheets with PDF output

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
deeptikorwar
Sr. Propeller Head
Posts: 111
Joined: Tue Aug 20, 2013 11:38 pm

Mulitple stylesheets with PDF output

Post by deeptikorwar »

Hi,

Is it possible to associate multiple stylesheets with a PDF output? As I have a complex stylesheet, I want to break it down into two stylesheets. The online output seems to work fine but the PDF output does not pick up the second stylesheet.

The stylesheets have been associated at the topic level and I am using Flare 2017.

Thanks,
Deepti
cdschroeder
Sr. Propeller Head
Posts: 189
Joined: Mon Feb 22, 2016 9:18 am
Location: Cincinnati, OH

Re: Mulitple stylesheets with PDF output

Post by cdschroeder »

Do you have a stylesheet set in the PDF target? If so, make sure you select the Allow local stylesheets check box (both options are on the General tab).
Casey

Image
deeptikorwar
Sr. Propeller Head
Posts: 111
Joined: Tue Aug 20, 2013 11:38 pm

Re: Mulitple stylesheets with PDF output

Post by deeptikorwar »

This is not working. Is there a way to find out where I am going wrong?
cdschroeder
Sr. Propeller Head
Posts: 189
Joined: Mon Feb 22, 2016 9:18 am
Location: Cincinnati, OH

Re: Mulitple stylesheets with PDF output

Post by cdschroeder »

Unfortunately, with PDF output it's all trial and error. There aren't any diagnostic or dev tools you can use to figure out the issue. Your best bet might be to call support and see if they can reproduce and track down the issue. In the meantime, here are some other ideas to try:

1) In Project Properties, open the Defaults tab and make sure that Allow local stylesheets is selected. It probably is, since your web output is fine, but double-check.
2) Open the topic properties for a topic which uses the different stylesheet. Then in the Topic Properties tab select Disable project and target stylesheets. If this solves the issue for that topic, use the File List to apply this setting to all relevant topics.
Casey

Image
JeffAlan
Propeller Head
Posts: 17
Joined: Tue Sep 03, 2019 2:04 pm

Re: Mulitple stylesheets with PDF output

Post by JeffAlan »

I am having the same issue. Was this ever resolved?
oleksandr_kokoshyn
Propeller Head
Posts: 27
Joined: Mon Sep 03, 2018 4:19 am

Re: Mulitple stylesheets with PDF output

Post by oleksandr_kokoshyn »

As a workaround, you can use the @import command in your main CSS file:

Code: Select all

@import url('path-to-your-other-stylesheet.css');
JeffAlan
Propeller Head
Posts: 17
Joined: Tue Sep 03, 2019 2:04 pm

Re: Mulitple stylesheets with PDF output

Post by JeffAlan »

That worked. Thank you very much. :)
Post Reply