← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook-apps] xslTNG, <literal>, HTML5 <code>

From
Norm Tovey-Walsh <>
Date
2021-06-07T09:18:52+00:00
ID
Thread
Re: [docbook-apps] xslTNG, <literal>, HTML5 <code>
Sorry, this got lost in my inbox.

Michael Urban <> writes:
> I tried out the xslTNG stylesheets recently.  I found that my understanding
> of the appearance of inlines like <literal> does not match what appears to
> happen in my browsers: in particular, the <code> element generated
> by the xslTNG inline module is treated as unbreakable.

Thatâs probably a bug for <literal>. As is the background color, I
think. Iâll fix that in the next release.

Thereâs also something strange going on in that literallayout that Iâll
investigate.

> <article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
>     version="5.1">
>     <title>Wrapping Literals</title>
>     <para> Last week, I wanted to format the following email, but it didn't wrap: <blockquote>
>             <literallayout><literal>
> To: 

This markup, FYI, introduces an extra line break at the beginning of the
literal layout. If you want the âTo:â line to be the first line of the
block, use:

   <literallayout><literal>To: 

Similarly at the end.

                                        Be seeing you,
                                          norm

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

> Each problem that I solved became a rule which served afterwards to
> solve other problems.--Rene Descartes
← Prev in month ← Prev in thread
Next in thread → Next in month →