On 2014-02-03, Jürgen Spitzmüller wrote:
> Jean-Marc Lasgouttes wrote:
>> Here is a simple plan: in chkconfig.ltx add the line
>>    \InputIfFileExists{instpkg.ltx}{\message{^^J\prefix reading file 
>> intpkg.ltx}}{}
>> and then move all the useless tests (some grepping should allow to make 
>> the list) to a new file instpkg.ltx which is not in the lib/ git 
>> directory, but is packaged by by the windows installer.

>> There a a few details to handle:
>> * make sure that the \input@path is correct and that latex can find the file

>> * maybe rename instpkg.ltx to a better name like pkg-dist.ltx or 
>> whatever seems nice

>> * create the list of the convenience \TestPackage calls.

>> What do you think about this? It is just a stopgap measure until someone 
>> finally implements this properly in the installer.

> Sounds good. There are still some other things to handle, though: Many
> layouts contain endless requirements (in the optional argument of the 
> \DeclareLaTeXClass call) for the same sake of this MikTeX on-the-fly
> "feature" only.

> In the long term, these should be removed as well (or moved to a better
> place; maybe we could just split the optional argument into two).

I don't understand this is IMO not a Windows-only problem:

* These packages are required for typesetting all that LyX supports in
  the respective layout in *any* OS.

* cbgreek is a requirement for typesetting Greek with ComputerRoman or
  LatinModern fonts and 8-bit LaTeX on *any* OS.

LyX users are (IMO rightly) come to expect that if something works without
warning in LyX, the LaTeX compilation should run OK, too.

I see the problem of optional extensions: stuff that is not needed by all
(like Greek text). LyX should not stop working without these packages. But a
warning at the right place is appropriate.

Günter



Reply via email to