OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Where do I post a question?


Hi Norman.

That is interesting since I already use CSS, and so it might be the direction I will take.

Nonetheless It would be good if someone were to send me a reference DocBook and xsl pair just in case I need to revisit it.

JC


On 24/10/2022 15:45, Norm Tovey-Walsh wrote:
I am writing manuals in DocBook for output to HTML.
I am using Pandoc 2.19.2 as the rendering program.
I use the following command to create the HTML.
pandoc --from docbook --to html --output mydoc.html mydoc.xml
Pandoc is very handy, but itâs another wrapper between your work and the
work you want to do. You might find it easier to setup an environment
for transforming directly, for example https://xsltng.docbook.org/

Perhaps a short table with frame box and background colour settings.
Iâd encourage you to think in terms of transforming DocBook to clean
HTML5 and then using CSS to apply frames and background colors. You can
do it directly, of course, with style attributes on the elements you
produce or by relying on attributes from older versions of HTML, but
modern CSS is really quite good and the separation will make style
changes (âIâd like the background to be pink instead of greenâ) much
easier.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <ndw@nwalsh.com>
https://nwalsh.com/

The finest amusements are the most pointless ones.--Jacques Chardonne


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]