Hello,
In my Flare project, I have a PDF target. I also have a few stylesheets. This PDF target, at the target level, is set to use my Print stylesheet.
When I set the project level stylesheet to the Print stylesheet, the styles look fine in the WYSIWYG viewer.
However, when I produce the PDF, sometimes the styles look weird. For instance, sometimes, h2 looks short and black. In my Print stylesheet, however, I configured it to look big and blue.
I have:
— Set this Target to use the Print stylesheet
— Checked my other stylesheets to see if h2 is using styles from there. I don't think it is.
— Checked the Print medium in the stylesheet
My imported topics happen to be fine, though ...
Could you please help me figure out these stylesheet issues.
Thank you.
PDF target sometimes ignores my print stylesheet?
-
- Jr. Propeller Head
- Posts: 9
- Joined: Tue Mar 23, 2021 5:36 pm
-
- Sr. Propeller Head
- Posts: 249
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: PDF target sometimes ignores my print stylesheet?
What do you mean by "sometimes"? Is it always the same topics that have faulty heading styles, or does it change? If it is only sometimes not using the correct styles (and it looks like in some cases it's using a default style definition instead of your blue one), then that's where I'd start looking. Compare topics in a text editor to see if there are any obvious differences between working and not working topics. Check for explicit style or stylesheet references. Compare entries in the TOC to see if there are differences there.
Rob
Rob
-
- Propeller Head
- Posts: 36
- Joined: Mon Jun 10, 2013 3:47 am
- Location: Thurgau, Switzerland
- Contact:
Re: PDF target sometimes ignores my print stylesheet?
Hello madharrison
Unfortunately, I can't help you with the problem. What I can do is confirm, that I have the same problem since the update to Version 2021 in my PDF output. In my case, the font-style of a paragraph is defined as bold in the stylesheet. If I use this paragraph and after the paragraph I continue with a list with <ol>, the text in the list remains bold. Since I couldn't find a solution, I had to return to Flare 2020 r3. As soon as I find the time and the motivation, I will report a bug to Madcap. At the moment, I don't have the need and the passion to do the testing for MadCap again, since after every update I made in the recent years, I found at least one bug that could not be solved with an easy workaround - but that's another story.
Unfortunately, I can't help you with the problem. What I can do is confirm, that I have the same problem since the update to Version 2021 in my PDF output. In my case, the font-style of a paragraph is defined as bold in the stylesheet. If I use this paragraph and after the paragraph I continue with a list with <ol>, the text in the list remains bold. Since I couldn't find a solution, I had to return to Flare 2020 r3. As soon as I find the time and the motivation, I will report a bug to Madcap. At the moment, I don't have the need and the passion to do the testing for MadCap again, since after every update I made in the recent years, I found at least one bug that could not be solved with an easy workaround - but that's another story.
-
- Jr. Propeller Head
- Posts: 9
- Joined: Tue Mar 23, 2021 5:36 pm
Re: PDF target sometimes ignores my print stylesheet?
Hey Rob,robdocsmith wrote:What do you mean by "sometimes"? Is it always the same topics that have faulty heading styles, or does it change? If it is only sometimes not using the correct styles (and it looks like in some cases it's using a default style definition instead of your blue one), then that's where I'd start looking. Compare topics in a text editor to see if there are any obvious differences between working and not working topics. Check for explicit style or stylesheet references. Compare entries in the TOC to see if there are differences there.
Rob
What I mean is, h2 always appears as it should in imported topics, and h2 always appears incorrectly in non-imported topics.
Thank you for the advice.
-
- Jr. Propeller Head
- Posts: 9
- Joined: Tue Mar 23, 2021 5:36 pm
Re: PDF target sometimes ignores my print stylesheet?
Thank you for the insight.rpa wrote:Hello madharrison
Unfortunately, I can't help you with the problem. What I can do is confirm, that I have the same problem since the update to Version 2021 in my PDF output. In my case, the font-style of a paragraph is defined as bold in the stylesheet. If I use this paragraph and after the paragraph I continue with a list with <ol>, the text in the list remains bold. Since I couldn't find a solution, I had to return to Flare 2020 r3. As soon as I find the time and the motivation, I will report a bug to Madcap. At the moment, I don't have the need and the passion to do the testing for MadCap again, since after every update I made in the recent years, I found at least one bug that could not be solved with an easy workaround - but that's another story.
-
- Jr. Propeller Head
- Posts: 9
- Joined: Tue Mar 23, 2021 5:36 pm
Re: PDF target sometimes ignores my print stylesheet?
I fixed the issue.
I opened my target, went to the Advanced tab, and unchecked Use TOC Depth for Heading Levels. Due to the affected topics’ depth some h2 headings were turning into h6. I hadn’t stylised h6.
So I could uncheck that field, or stylise h6 (I did both).
I opened my target, went to the Advanced tab, and unchecked Use TOC Depth for Heading Levels. Due to the affected topics’ depth some h2 headings were turning into h6. I hadn’t stylised h6.
So I could uncheck that field, or stylise h6 (I did both).
-
- Propellus Maximus
- Posts: 613
- Joined: Wed Feb 01, 2006 6:21 am
- Location: Off in the dark....
Re: PDF target sometimes ignores my print stylesheet?
madharrison wrote:I fixed the issue.
I opened my target, went to the Advanced tab, and unchecked Use TOC Depth for Heading Levels. Due to the affected topics’ depth some h2 headings were turning into h6. I hadn’t stylised h6.
So I could uncheck that field, or stylise h6 (I did both).
Nice find. That's one to put away in my "oh, noes" file.
Trent.
Certifiable.
umm...
I meant MAD Certified.
Official Propeller Beanie Owner
Are you on Flare's Slack channels? PM me for an invitation!
Certifiable.
umm...
I meant MAD Certified.
Official Propeller Beanie Owner
Are you on Flare's Slack channels? PM me for an invitation!