Re: style-sheet customisation

Frank Steimke <[email protected]> Mon, 5 Sep 2022 22:49:18 +0200
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
Hi Eric,

using an example means that the title gets a number, and that you will 
find the title in the "List of Examples" for the book.It is a formal 
element like table or figure.

If you dont want this, it is best to avoid example. You could do 
something like:

<itemizedlist>
     <title>Here is an English example of a substitution drill:</title>
     <listitem>
            <para>T: Are you an American?</para>
          </listitem>
     ... other listitems
  </itemizedlist>

You can wrap this in an informalexample Element: A displayed example 
without a title.

Greetings,
Frank

Am 01.09.22 um 15:26 schrieb Eric Streit:
> Hi,
>
> I generate PDF from a docbook file, uses <example> parts and here is 
> what it looks like:
>
> Example 1.1. Here is an English example of a substitution drill:
>
> Here is the docbook part:
>
> <example>
>   <title>Here is an English example of a substitution drill:</title>
>      <itemizedlist>
>          <listitem>
>            <para>T: Are you an American?</para>
>          </listitem>
>
>     ... other listitems
>
>      </itemizedlist>
> </example>
>
> How can I get rid of the " Example 1.1." part ? I did this for the 
> sections/chapters but could not find where I can do the same with the 
> <example>
>
> Thanks for your help
>
> Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>