Re: DB2LATEX 0.8pre1 bugs?
James Devenish <[email protected]> Wed, 24 Mar 2004 16:05:29 +0800
| Newsgroups | gmane.text.docbook.db2latex.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, In message <[email protected]> on Tue, Mar 23, 2004 at 05:19:22PM +0100, Petr Jane?ek wrote: > The conversion from docbook to latex works fine, but than pdflatex shows > many errors. It seems to me, they are not lanaguage related. I use MikTex > 2.4 with Czech language support. I had a look at your sample file, and I see that you are using the "Windows-1250" character encoding. I am not familiar with it, so I chose to use ISO-8859-2 (latin2) encoding. (I am using teTeX on UNIX systems.) After doing that, I found that the ogonek was not supported with the default LaTeX fonts. To solve this, I needed to use the 'ae' package (for Computer Modern fonts) or specify T1 encoding with PostScript fonts. The relevant lines for your customisation file are below: Computer Modern fonts: <xsl:output encoding="iso-8859-2"/> <xsl:param name="latex.inputenc">latin2</xsl:param> <xsl:param name="latex.document.font">ae</xsl:param> PostScript fonts (e.g. Bitstream Charter or Times): <xsl:output encoding="iso-8859-2"/> <xsl:param name="latex.inputenc">latin2</xsl:param> <xsl:param name="latex.fontenc">T1</xsl:param> <xsl:param name="latex.document.font">charter</xsl:param> <!-- <xsl:param name="latex.document.font">times</xsl:param> --> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click