Hi,

i am using docbook to generate a book and have the problem that my
programlistings (examples) will not look as i have entered.

Docbook generates the following fo's:

--- snip ---
      <fo:block space-before.minimum="0.8em"
                space-before.optimum="1em"
                space-before.maximum="1.2em"
                font-family="Courier"
                font-size="10.8pt"
                wrap-option="no-wrap"
                white-space-collapse="false"
                linefeed-treatment="preserve">
&lt;[EMAIL PROTECTED] uri="/WEB-INF/struts-bean.tld" prefix="bean" %&gt;
&lt;[EMAIL PROTECTED] uri="/WEB-INF/struts-layout.tld" prefix="layout" %&gt;

&lt;layout:form align="center"
                action="/account.do"
                reqCode="create"
                styleClass="FORM"&gt;

   &lt;layout:text key="account.username"
                   property="userName" styleClass="LABEL"/&gt;
   &lt;layout:password key="account.password"
                       property="password" styleClass="LABEL"/&gt;
   &lt;layout:text key="account.username"
                   property="firstName" styleClass="LABEL"/&gt;
   &lt;layout:text key="account.username"
                   property="lastName" styleClass="LABEL"/&gt;
   &lt;layout:text key="account.username"
                   property="matriculation" styleClass="LABEL"/&gt;
   &lt;layout:text key="account.username"
                   property="email" styleClass="LABEL"/&gt;

   &lt;layout:formActions&gt;
      &lt;layout:submit&gt;
         &lt;bean:message key="button.edit"/&gt;
      &lt;/layout:submit&gt;
      &lt;layout:reset&gt;
         &lt;bean:message key="button.reset"/&gt;
      &lt;/layout:reset&gt;
      &lt;layout:cancel&gt;
         &lt;bean:message key="button.cancel"/&gt;
      &lt;/layout:cancel&gt;
   &lt;/layout:formActions&gt;

&lt;/layout:form&gt;
      </fo:block>
--- snap ---

Most of the text is aligned right, sometimes one word is aligned left
and the rest of the line is aligned right.

Is there somethinh i could do ?


so long


Ingo Bruell

---
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<ICQ# 40377720>
Oldenburg    PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany      PGP-Public-Key available at pgpkeys.mit.edu


Reply via email to