#1312 Support font size in verbatim texts


Currently, any verbatim element (be it screen, programlisting, or synopsis) supports a keep-together pseudo-attribute from a dbfo PI:

<screen><?dbfo keep-together="always"?> ... </screen>

However, in some cases it would be very convenient to extend it that the user can adapt the font size:

<screen><?dbfo keep-together="always" font-size="8pt"?> ... </screen>

or even:

<screen><?dbfo font-size="8pt"?> ... </screen>

We could even try to select a <?dbfo ...?> as sibling:

<?dbfo font-size="8pt"?>
<screen> A </screen>
<para> ... </para>
<screen> B </screen>

That would allow us to set the font size for consecutive verbatim elements together (here for A and B). If a reader wants to reset it, we could use this syntax:

<?dbfo font-size="8pt"?>
<screen> A </screen>
<para> ... </para>
<?dbfo font-size=""?>
<screen> B </screen>


  • Robert Stayton

    Robert Stayton - 2013-09-17
    • status: open --> pending-fixed
  • Robert Stayton

    Robert Stayton - 2014-01-20
    • Status: pending-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks