This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] db2latex hyphenation in tt font
- From: Michael Wiedmann <mw at miwie dot in-berlin dot de>
- To: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Cc: Brian McGurk <brian at corvil dot com>
- Date: Tue, 9 Dec 2003 20:40:17 +0100
- Subject: Re: [docbook-apps] db2latex hyphenation in tt font
- References: <200312091805.hB9I5u27012413@move.local.corvil.com>
* Brian McGurk <brian@corvil.com> wrote [031209 18:05]:
> Does anyone know how to enable hyphenation in typewriter fonts in
> LaTeX? My document has a lot of long API function names which db2latex
> formats using \texttt{ReallyLongFunctionName}. Many of these end up
> spilling over the end of the line and LaTeX refuses to hypehenate and
> break them.
Did you try to set:
<xsl:variable name="latex.hyphenation.tttricks">1</xsl:variable>
This usually works great for filenames and URLs by redefining the
hyphenation character to "/". Because you certainly don't have slashes
in your function names, this might unfortunately not work in your case.
Another possibility is to set directly a hyphenation character for
"typewriter" fonts (for these fonts usually there is no hyphenchar
defined). But this is a difficult issue and you should consult the UK
TeX FAQ or something similar before doing this.
Another possibility might be the usage of the package "hyphenat".
Consult it's documentation for usage.
Michael
--
mw@miwie.in-berlin.de http://www.miwie.org
mw@miwie.org
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.