l10n problems in JadeTeX and Jade/OpenJade TeX backend

Subject: l10n problems in JadeTeX and Jade/OpenJade TeX backend
From: Adam Di Carlo <adam@xxxxxxxxxxx>
Date: 20 Sep 1999 10:50:21 -0400
Debian users have pointed out that the languages supported by JadeTeX
are fixed ahead of time by JadeTeX.  As of JadeTeX 2.7, jadetex.dtx
contains:

  \RequirePackage[german,frenchb,english]{babel}[1997/01/23]

This hardcodes the JadeTeX language support.  You cannot just add
languages to Jade-produced (intermediate) TeX file, since that would
conflict with the settings in jadetex.{dtx,ltx,...}.

A helpful user wrote:

| The best fix is to have Jade output the correct \usepackage line for
| babel to the intermediate jadetex file.  I'd guess it needs to
| gather the list of all lang attributes used in the sgml file and
| output \usepackage[the-list]{babel} at the start of things.  NOTE:
| this will make the new patched Jade's output incompatible with
| current jadetex (which must *not* require babel).

This solution seems rather cumbersome, but I'm having a hard time
deciding whether it's better to hardcode maximal language support in
jadetex.dtx, or whether and how Jade's TeX backend could possibly know
what language the document was being written in, in a standard way.

Thoughts?

--
.....Adam Di Carlo....adam@xxxxxxxxxxxxxxxx<URL:http://www.onShore.com/>


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread