New ConTeXt and chinese module
Hi Hans, hi all, the latest ConTeXt Version (21.07.05) doesn't automatically process font-chi.tex after "\usemodule[chinese]" i have to add "\input font-chi" to every ConTeXt file. Is this a bug or a feature? Greetings Lutz
Hi Lutz, This is surely a bug. My analysis: The macro \doreadfontdefinition file is re-implemented to handle the newer typescript classs (in type-ini.tex), but the new definition does not take care of the old font-XXXX style filenames (like the original macro in font-ini.tex did). I will not supply a hack because there are multiple options to solve this and Hans will likely prefer a single one over the others. Taco Lutz Haseloff wrote:
Hi Hans, hi all,
the latest ConTeXt Version (21.07.05) doesn't automatically process font-chi.tex after "\usemodule[chinese]" i have to add "\input font-chi" to every ConTeXt file. Is this a bug or a feature?
Greetings Lutz _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Taco Hoekwater wrote:
Hi Lutz,
This is surely a bug.
My analysis:
The macro \doreadfontdefinition file is re-implemented to handle the newer typescript classs (in type-ini.tex), but the new definition does not take care of the old font-XXXX style filenames (like the original macro in font-ini.tex did).
I will not supply a hack because there are multiple options to solve this and Hans will likely prefer a single one over the others.
in type-pre.tex: replace the \endinput by: %D Special scripts: \unprotect \starttypescriptcollection[special scripts] \starttypescript[chi] \readfile{\f!fontprefix chi}\donothing\donothing \stoptypescript \starttypescript[arb] \readfile{\f!fontprefix arb}\donothing\donothing \stoptypescript \starttypescript[heb] \readfile{\f!fontprefix heb}\donothing\donothing \stoptypescript \stoptypescriptcollection \protect \endinput -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Lutz Haseloff
-
Taco Hoekwater