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="alignment">left</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"> > <[EMAIL PROTECTED] uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > <[EMAIL PROTECTED] uri="/WEB-INF/struts-layout.tld" prefix="layout" %> > > <layout:form align="center" > action="/account.do" > reqCode="create" > styleClass="FORM"> > > <layout:text key="account.username" > property="userName" styleClass="LABEL"/> > <layout:password key="account.password" > property="password" styleClass="LABEL"/> > <layout:text key="account.username" > property="firstName" styleClass="LABEL"/> > <layout:text key="account.username" > property="lastName" styleClass="LABEL"/> > <layout:text key="account.username" > property="matriculation" styleClass="LABEL"/> > <layout:text key="account.username" > property="email" styleClass="LABEL"/> > > <layout:formActions> > <layout:submit> > <bean:message key="button.edit"/> > </layout:submit> > <layout:reset> > <bean:message key="button.reset"/> > </layout:reset> > <layout:cancel> > <bean:message key="button.cancel"/> > </layout:cancel> > </layout:formActions> > > </layout:form> > </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 > > >
