printout text as is

2002-04-24 Thread Ingo Bruell
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=FORMgt;

   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:formActionsgt;
  lt;layout:submitgt;
 lt;bean:message key=button.edit/gt;
  lt;/layout:submitgt;
  lt;layout:resetgt;
 lt;bean:message key=button.reset/gt;
  lt;/layout:resetgt;
  lt;layout:cancelgt;
 lt;bean:message key=button.cancel/gt;
  lt;/layout:cancelgt;
   lt;/layout:formActionsgt;

lt;/layout:formgt;
  /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
OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany  PGP-Public-Key available at pgpkeys.mit.edu




Re: printout text as is

2002-04-24 Thread Devendra Tewari
Hi Ingo,

I remember having changed the value of the alignment parameter in the
param.xsl file to the value left.

Thus the alignment parameter im my file is now:
xsl:param name=alignmentleft/xsl:param

This changes the default alignment to left and should solve your problem.
This is not a FOP issue ;-)

Regards,
Devendra

- Original Message -
From: Ingo Bruell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 2:45 PM
Subject: printout text as is


 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=FORMgt;

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:formActionsgt;
   lt;layout:submitgt;
  lt;bean:message key=button.edit/gt;
   lt;/layout:submitgt;
   lt;layout:resetgt;
  lt;bean:message key=button.reset/gt;
   lt;/layout:resetgt;
   lt;layout:cancelgt;
  lt;bean:message key=button.cancel/gt;
   lt;/layout:cancelgt;
lt;/layout:formActionsgt;

 lt;/layout:formgt;
   /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
 OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648
169E E5FC
 Germany  PGP-Public-Key available at pgpkeys.mit.edu