Date: Wed, 18 Jun 2008 15:30:45 +0300 From: Giorgos Keramidas <keramida@freebsd.org> To: Hiroki Sato <hrs@freebsd.org> Cc: freebsd-doc@freebsd.org Subject: Re: Language support in jadetex? Message-ID: <87y753x6ve.fsf@kobe.laptop> In-Reply-To: <873anb0wjh.fsf@kobe.laptop> (Giorgos Keramidas's message of "Wed, 18 Jun 2008 15:14:58 %2B0300") References: <87wskptbb2.fsf@kobe.laptop> <20080618.144751.42861091.hrs@allbsd.org> <873anb0wjh.fsf@kobe.laptop>
index | next in thread | previous in thread | raw e-mail
> A good way to start making changes to support Greek would be to:
>
> * Make sure that jadetex adds the two preamble commands shown above:
>
> \usepackage[english,greek]{babel}
> \usepackage[iso-8859-7]{inputenc}
>
> * Find a way to 'filter' the text and replace non-command sequences of
> English text with `\selectlanguage{english} ... \selectlanguage{greek}'.
An alternative, would be to preprocess the ISO 8859-7 text at build
time, replacing ISO 8859-7 Greek text with latin characters, and avoid
using the {inputenc} package with the [iso-8859-7] option.
This way, if we can find a way to filter text, replacing Greek like this:
καλημέρα -> kalhm'era
Then it may be easier to do the filtering, because it's far easier to
detect ISO 8859-7 Greek bytes in a stream of text, instead of trying to
understand what is English text vs. TeX command input.
This may actually work better, now that I think a little more about it :)
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87y753x6ve.fsf>
