Hi,
just to share an experience, hoping it can be useful in this topic, there are
even some objects that I use sometimes in order to have freedom to manage even
spaces between the words, e.g. “literallayout” and “programlisting” and others.
The benefit and the limit of these kind of tags is related to the literal
layout, in fact the number of spaces from the left edge of the spreadsheet are
strictly reported on the compiled document. So in the following example I have
a variables list, and I can’t align it to the indentation because I want them
on the left side of the output sheet.
<para>Now it is simple to understand the next example:</para>
<programlisting language="st">
a : INT ;
b : DINT ;
c : BYTE ;
d : UDINT ;
</programlisting>
Greetings,
Matteo
Matteo Regazzo
Service Coordinator
Email: [email protected] | Web: www.cmz.it
Tel: +39 0422 447446 CMZ Sistemi Elettronici srl
Via dell'Artigianato, 21
Vascon di Carbonera (TV)
31050 ITALY
[cid:[email protected]]<https://www.cmz.it>
[cid:[email protected]]<https://www.sogaenergyteam.com/cmz/>
[cid:[email protected]]<https://www.cmz.it/repairs/>
From September 1, 2022 all products returned to CMZ must be approved in advance.
Dal 1° Settembre 2022 tutti i materiali resi a CMZ devono essere approvati
preventivamente.
www.cmz.it/repairs/
________________________________
The information transmitted, including attachments, is intended only for the
person(s) or entity to which it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of, or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
in error please contact the sender and destroy any copies of this information.
Da: Frank Steimke <[email protected]>
Inviato: lunedì 5 settembre 2022 22:49
A: [email protected]
Oggetto: Re: [docbook] style-sheet customisation
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]<mailto:[email protected]>
For additional commands, e-mail:
[email protected]<mailto:[email protected]>