[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hyphenation in non-English languages

From: Werner LEMBERG
Subject: Re: hyphenation in non-English languages
Date: Thu, 02 Oct 2008 16:23:08 +0200 (CEST)

> > Do you want to?
> Will have a look, but I can't promise anything due to time
> constraints.

To get some basic non-English hyphenation support, almost nothing has
to be changed if you use the current TeXLive.  Here I demonstrate what
to do for German.

  . The basic trick is to process the texinfo file with `eplain'
    instead of `tex'.  With TeXLive, this gives access to all
    configured hyphenation patterns.  `bplain' would do the same, but
    there is (currently) no soft link to the `tex' binary.

  . In txi-de.tex, add the following lines at the very beginning:

      \global\lefthyphenmin 2
      \global\righthyphenmin 2

That's it.  Add, for example, the following at the beginning of your
texinfo file:

  @documentlanguage de
  @documentencoding UTF-8

Other languages can be handled similarly.  You can use any input
encoding -- since texinfo has hardcoded support for CM fonts only,
words with accented letters aren't hyphenated anyway.

A minor problem is that there is no `pdfeplain' command in TeXLive
yet, but this is very easy to fix.

How shall we proceed?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]