Search found 57 matches

by bwofficer
Mon Mar 14, 2022 8:29 am
Forum: Styles, Stylesheets and XML
Topic: Problems styling the first p of first li of a ul
Replies: 3
Views: 1159

Problems styling the first p of first li of a ul

I want to style the first paragraph of the first list item in my unordered lists. I've tried various complex selectors and combinations but nothing works. Why won't ul li:first-of-type p:first-of-type { MY STYLING HERE; } work? Or ul li:first-child p:first-child { MY STYLING HERE; } ? P.S. this is f...
by bwofficer
Thu Mar 10, 2022 4:50 am
Forum: Printed Documentation Targets
Topic: Auto-number margin problems for short vs long numbers, PDFs
Replies: 2
Views: 1611

Auto-number margin problems for short vs long numbers, PDFs

My print output style for product notes applies auto-numbering to h2 and h3 headings. h2 is numbered 1, 2, 3... etc. and h3 is numbered n.1, n.2, n.3... etc. (where n is the h2 number). I've written the CSS and the output looks just fine until the h2 or h3 numbers reach 10. Then the extra digit caus...
by bwofficer
Fri Mar 04, 2022 11:11 am
Forum: Styles, Stylesheets and XML
Topic: h1 autonumbering 1,2,3,A,B,C WITHOUT an h1.Appendix class
Replies: 1
Views: 1264

Re: h1 autonumbering 1,2,3,A,B,C WITHOUT an h1.Appendix clas

P.S. Is it possible to link a stylesheet to only PART of a TOC? If so, might it be possible to have the 1, 2, 3 numbered h1 rule in the main stylesheet but have it overridden by an Appendix A, Appendix B, Appendix C numbered h1 in another stylesheet that only applies to the appendices part of the TOC.
by bwofficer
Fri Mar 04, 2022 11:05 am
Forum: Styles, Stylesheets and XML
Topic: h1 autonumbering 1,2,3,A,B,C WITHOUT an h1.Appendix class
Replies: 1
Views: 1264

h1 autonumbering 1,2,3,A,B,C WITHOUT an h1.Appendix class

I'm creating product user manuals as PDFs. I want to number the h1 headings 1,2,3 in the main body but Appendix A, Appendix B, Appendix C in the appendices. I've seen loads of posts on this forum on how to do this but neither of the two main solutions suggested meet all my needs. Is there an alterna...
by bwofficer
Wed Feb 24, 2021 9:34 am
Forum: Single-Sourcing
Topic: Single-sourcing with PDF and xml file outputs
Replies: 3
Views: 2451

Re: Single-sourcing with PDF and xml file outputs

Thanks, Dave and Doloremipsum I'll give that a go. One potential problem is that the diagnostic help information is presented as tables in the user manual and diagnostic manual. Simply outputting that as an additional clean HTML target means I'd have to make sure the table is laid out in a way that ...
by bwofficer
Fri Feb 19, 2021 9:42 am
Forum: Styles, Stylesheets and XML
Topic: Outputting as raw text with custom xml tags
Replies: 1
Views: 986

Outputting as raw text with custom xml tags

If I write an error code guide in Flare (for publishing as a PDF) can I also get Flare to compile the text from the error codes table in that guide and output it as a tagged text or customised xml file that the software engineer can import into his project to ensure the text remains consistent? Alte...
by bwofficer
Fri Feb 19, 2021 9:31 am
Forum: Single-Sourcing
Topic: Single-sourcing with PDF and xml file outputs
Replies: 3
Views: 2451

Single-sourcing with PDF and xml file outputs

I want to single-source error message and corrective actions text for some industrial equipment to ensure they appear identically in: 1. The user manual (PDF) 2. The diagnostics manual (PDF) 3. Online help 4. The on-screen text file (probably xml) which will be given to a software engineer to incorp...