Re: Where do I post a question?

Joseph Casey <[email protected]> Mon, 24 Oct 2022 16:40:19 +0100
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
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 examplehttps://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<[email protected]>
> https://nwalsh.com/
>
>> The finest amusements are the most pointless ones.--Jacques Chardonne