Re: xml2rfc line break

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tue, Aug 17, 2021 at 01:39:24PM +0200, Julian Reschke:
> Am 17.08.2021 um 11:07 schrieb Carsten Bormann:
> >> On 2021-08-17, at 10:37, heasley <heas@xxxxxxxxxxxxx> wrote:
> >> I appologize if there is a better forum for this question, I didnt find one.
> >> Cluebat welcome.
> >
> > The answer to this question isn’t quite as clear-cut as it could; we don’t have an “rfcxml-authors” list, but typically these questions come up on the xml2rfc mailing list (or rfc-interest, or tools-discuss…).
> >
> >> Is it possible to insert a line break in the contents of a list?
> >>
> >
> > First of all, I’m assuming you are using xml2rfc with --v3 flags (<ol/<li is new syntax for v3).  Even though there is older documentation that is supposedly more authoritative, the RFCXMLv3 we actually use is described in https://xml2rfc.tools.ietf.org/xml2rfc-doc.html
> >
> > https://xml2rfc.tools.ietf.org/xml2rfc-doc.html#name-br-2
> > describes the <br element, which can do exactly what you want, and is in the content model for <li.
> > So the example becomes:
> >
> >> <ol>
> >> <li>
> >>   bunch of hooey
> >>   <br/>
> >>   more hoo-ah
> >> </li>

yes, xml2rfc 3.9.1 with --v3.  Thanks, that works and also works within a <dl>:

<dl>
<dt></dt>
<dd><br/></dd>
</dl>

> Or, if you actually want a list item containing two paragraphs:
> 
> <ol>
>    <li>
>      <t>bunch of hooey</t>
>      <t>more hoo-ah</t>
>    </li>
> </ol>

That works, but did not work for me originally and after your message I found
that I could not mix syntax like below.  Maybe using <t> throughout the <dl>
would work.

<ol>
   <li>
     bunch of hooey
     <t>more hoo-ah</t>
   </li>
</ol>

In all cases, the errors that it produced did not lead me to a solution.

Thanks




[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Mhonarc]     [Fedora Users]

  Powered by Linux