This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Hyphenation of a German text
- From: Karl Eichwalder <ke at gnu dot franken dot de>
- To: Jirka Kosek <jirka at kosek dot cz>
- Cc: Stefan Wintermeyer <stefan at wintermeyer dot de>, docbook at lists dot oasis-open dot org
- Date: Wed, 14 Nov 2001 20:04:05 +0100
- Subject: DOCBOOK: Re: Hyphenation of a German text
- List-id: <docbook.lists.oasis-open.org>
- References: <20011114163429.D27095@wintermeyer.de> <3BF28EF6.CA8233CB@kosek.cz>
- Reply-to: Karl Eichwalder <keichwa at gmx dot net>
Jirka Kosek <jirka@kosek.cz> writes:
> Stefan Wintermeyer wrote:
>
>> simple Problem: I have a German written document. I uses <book
>> lang="de"> for declaring it (is that the mistake?). How can I create a PDF
>> with a correct hyphenation? Evertime I create PDFs it has no
>> hyphentation at all.
Hello Stefan,
I forgot to tell you that "quadding" is required. Please, in
suse-both.dsl use:
(define %hyphenation% #t)
(define %default-quadding% 'justify)
You can copy suse-both.dsl in you working directory change it and say:
db2pdf --style suse-both.dsl document.sgml
This time I tested my proposal (with an English document).
> You must turn on hyphenation in stylesheet. There is parameter for doing
> it in both XSL and DSSSL stylesheets, look for it in documentation.
Isn't that easy to find. At http://jadetex.sourceforge.net/ you can
read:
Why doesn't hyphenation work?
Remember that your text must be fully justified (quadding: #t),
hyphenation must be on, hyphenation?: #t, and a current language
must be selected (e.g., language: 'EN) for JadeTeX to perform
hyphenation.
I've got to write an SDB article.
> Second issue is support for hyphenation in formating tools. If you are
> using JadeTeX or PassiveTeX you shouldn't have problems as your TeX
> setup probably comes with German hyphenation patterns.
Yes, pattern are dumped in (AFAIK). Otherwise use `texconfig' or adjust
/etc/texmf/language.dat and call fmtutil manually:
fmtutil --byfmt jadetex
> http://www.kosek.cz/xml/dboscon/ucel/frames.html
>
> It is primary focused for Central and Eastern European languages, but
> many informations are usable for other languages as well.
Thanks for this info!
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>