[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: hyphenation-character not inserted when there are line break
Hi,
I have been trying to insert a character to show that
there is a line break within <programlistling> but in
vain.
I used xsltproc.exe to generate fo file and used
fop.exe to create PDF file. There is no font added,
everything is default.
Version of fop = 0.91beta
Version of xsltproc.exe:
Using libxml 20619CVS2426, libxslt 10114CVS1012
and libexslt 812CVS1012
xsltproc was compiled against libxml 20619,
libxslt 10114 and libexslt 812
libxslt 10114 was compiled against libxml 20619
libexslt 812 was compiled against libxml 20619
My Cutomization layer:
==================
<xsl:attribute-set
name="monospace.verbatim.properties"
use-attribute-sets="verbatim.properties">
<xsl:attribute
name="wrap-option">wrap</xsl:attribute>
<xsl:attribute
name="hyphenation-character">\</xsl:attribute>
</xsl:attribute-set>
Messages shown when processing:
============================
xsltproc.exe:
xsl:attribute-set : use-attribute-sets recursion
detected
Making portrait pages on A4 paper (210mmx297mm)
fop.exe:
Couldn't find hyphenation pattern en
Output:
======
This is a test. This is a very long 1-liner code.
Expected line break at the end of page. Line break
character should be backslash.
The output wraps after the word "break" but backslash
is not inserted after the word "break". I tried to add
<xsl:param name="hyphenate.verbatim" select="1"/>, it
still doesn't work. It added a hyphen for every space
character encountered.
Can someone help!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]