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.

Mulitple stylesheets with PDF output

Postby deeptikorwar on Sun Apr 02, 2017 5:02 pm

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
deeptikorwar
Sr. Propeller Head
 
Posts: 111
Joined: Tue Aug 20, 2013 11:38 pm

Re: Mulitple stylesheets with PDF output

Postby cdschroeder on Mon Apr 03, 2017 5:45 am

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
cdschroeder
Sr. Propeller Head
 
Posts: 188
Joined: Mon Feb 22, 2016 9:18 am
Location: Cincinnati, OH

Re: Mulitple stylesheets with PDF output

Postby deeptikorwar on Mon Apr 03, 2017 7:52 pm

This is not working. Is there a way to find out where I am going wrong?
deeptikorwar
Sr. Propeller Head
 
Posts: 111
Joined: Tue Aug 20, 2013 11:38 pm

Re: Mulitple stylesheets with PDF output

Postby cdschroeder on Tue Apr 04, 2017 5:35 am

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
cdschroeder
Sr. Propeller Head
 
Posts: 188
Joined: Mon Feb 22, 2016 9:18 am
Location: Cincinnati, OH

Re: Mulitple stylesheets with PDF output

Postby JeffAlan on Wed Oct 23, 2019 11:28 am

I am having the same issue. Was this ever resolved?
JeffAlan
Jr. Propeller Head
 
Posts: 5
Joined: Tue Sep 03, 2019 2:04 pm

Re: Mulitple stylesheets with PDF output

Postby oleksandr_kokoshyn on Tue Oct 29, 2019 5:09 am

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');
oleksandr_kokoshyn
Propeller Head
 
Posts: 27
Joined: Mon Sep 03, 2018 4:19 am

Re: Mulitple stylesheets with PDF output

Postby JeffAlan on Tue Oct 29, 2019 10:12 am

That worked. Thank you very much. :)
JeffAlan
Jr. Propeller Head
 
Posts: 5
Joined: Tue Sep 03, 2019 2:04 pm


Return to Printed Documentation Targets

Who is online

Users browsing this forum: No registered users and 5 guests

cron