On Tue, Dec 06, 2011 at 01:20:31AM +0000, Hin-Tak Leung wrote:
> --- On Mon, 5/12/11, Theppitak <[email protected]> wrote:
> 
> > I can't understand this. So, all software should be
> > monolithic and should
> > not be splitted into library modules, as the libraries are
> > not functional
> > by themselves?
> 
> No, I mean this - the fonts are useful by themselves (for display and
> for other packages), thailatex is not useful without the fonts. So the
> dependencies should be like this:
> 
> - fonts optionally depends on *core tex font tools*, and bundles the enc
> files to build the optional tex support files.
> 
> - thailatex should depends on the fonts (or one core set of such).

One issue that should be mentioned: the ENC file is not trivial for Thai.
It provides complicated LIGKERN rules which even worth a paper.  (Werner
has done at least one for it.)  It's easier to adapt fonts to the rules
than to create ENCs for individual fonts.  That's why I try to ship the
ENC file in a single place.

To achieve this, one possible design is:

- A dedicated package for ENC
- Fonts build-depends and depends on ENC
- thailatex only ships a few Babel stuffs and alternatively depends
  on fonts

But the common use case for Thai LaTeX document preparation is to use
Babel anyway.  So, it can be said the Thai LaTeX font stuffs are not
useful without the language definition from thailatex.  And if the
fonts should depend on thailatex anyways, merging the ENC into it
makes some sense.

Note that XeTeX argument is not the case here, as users can build the
fonts as normal desktop fonts for it without the needs of LaTeX
specialties anyway.

Neither are the desktop fonts argument, as the source can already be
configured to build without LaTeX support, and thus without dependency
on LaTeX.

thailatex can depend on a font package, but that would put some
preference of the developer upon users.  There are at least two common
practices for Thai fonts in official/academic documents nowadays, both
equally official, one is traditional and the other is newly enforced by
the government.

So, I put it this way: let the user decide which font set they want,
and the advanced packaging systems (apt, yum, etc.) should pull other
dependencies for them.  And thailatex may point to some fonts with
weaker dependencies, such as Recommends or Suggests, to prevent the
circular dependencies.

 
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/

_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to