Lily Galle wrote:
> Hallo,
>
> I use “XEP”.
>
> 1.
> I would like put some white space between the Words. Like following:
> She likes to have pears.
>
> The spaces between the words are not regular. In my DocBook “myDocBook.xml” I wrote the code like “ ” and it failed.
>
>
Try (non-breaking space), (En space) or (Em space)
for 1. and 2.
> 2.
> How to put a white space at the beginning of a line?
>
> I need this irregularly: some lines have white spaces at the beginning, some do not have.
>
> 3.
> I need very often to produce some white spaces between two lines. The only way I found out in “XEP” is: <literallayout> </literallayout>
>
>
In your customisation layer put in your text where you want a new
line
<xsl:template match="processing-instruction('lb')">
<fo:block/>
</xsl:template>
<xsl:template match="processing-instruction('line-break')">
<fo:block/>
</xsl:template>
<xsl:template match="processing-instruction('hard-linebreak')">
<fo:block break-before='page'/>
</xsl:template>
to get one linefeed
You might also need to direct page throws as well
<xsl:template match="processing-instruction('pb')">
<fo:block break-before='page'/>
</xsl:template>
<xsl:template match="processing-instruction('page-break')">
<fo:block break-before='page'/>
</xsl:template>
<xsl:template match="processing-instruction('hard-pagebreak')">
<fo:block break-before='page'/>
</xsl:template>
> Are there some other ways to produce white spaces between two lines in XEP? (The position and the length of the white spaces are not regular.)
>
>
> Thanks for any help!
>
>
> Lily
>
>
--
Ron Catterall, Phd, DSc
ron@catterall.netProlongacion de Hidalgo 140
http://catterall.net/San Felipe del Agua tel: +52 951 520 1821
Oaxaca 68020 Mexico fax: +1 530 348 8309