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
Mulitple stylesheets with PDF output
-
- Sr. Propeller Head
- Posts: 111
- Joined: Tue Aug 20, 2013 11:38 pm
-
- Sr. Propeller Head
- Posts: 189
- Joined: Mon Feb 22, 2016 9:18 am
- Location: Cincinnati, OH
Re: Mulitple stylesheets with PDF output
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](http://forums.madcapsoftware.com/download/file.php?id=2449)
-
- Sr. Propeller Head
- Posts: 111
- Joined: Tue Aug 20, 2013 11:38 pm
Re: Mulitple stylesheets with PDF output
This is not working. Is there a way to find out where I am going wrong?
-
- Sr. Propeller Head
- Posts: 189
- Joined: Mon Feb 22, 2016 9:18 am
- Location: Cincinnati, OH
Re: Mulitple stylesheets with PDF output
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.
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](http://forums.madcapsoftware.com/download/file.php?id=2449)
Re: Mulitple stylesheets with PDF output
I am having the same issue. Was this ever resolved?
-
- Propeller Head
- Posts: 27
- Joined: Mon Sep 03, 2018 4:19 am
Re: Mulitple stylesheets with PDF output
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');
Re: Mulitple stylesheets with PDF output
That worked. Thank you very much. ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)