Hi,
I uploaded a new version.
I'm still pruning some mkiv lua code to mkxl lmt code. This involves a
bit more rigorous checking of file and direcoty properties (reading and
writing).
I also look at some utf aspects. This was already ok for files and other
system things but we also have fonts and there we do some normalization
for the sake of lookups. So I have a question: are there fonts on your
machines that have utf names? For instance:
knäckebröd-regular -> knäckebrödregular -> knackebrodregular
knäckebröd-math -> knäckebrödmath -> knackebrodmath
(We're talking mtxrun --script fonts as well as the select mechanism.)
So, do we keep the middle one or go for the last one? Are there
situations where you got unexpected side effects from lower/upper casing?
Anyway, a stepwise lua/lmt split will reduce the codebase bit as lmt
files don't need to run on luatex. For instance, at some point we will
default to char-def.lmt in mkxl which saves some 500K on the format file
and then also saved about that amount of memory. It's already on my
machine for while (pet project / fun programming game).
Then there are a few new features script-wise. We always had the option
to unzip files (or mount them), e.g. there is
mtxrun -script unzip
so that were independent of unzip which for some reason is not always
installed. Of course dealing with gz files has also always been
possible. We also have already for while ways to deal with tar balls and
I made a script:
mtxrun -script untar
This is a side effect of something newer: decompressing xz files, a
compression used in texlive, probably because the files are slightly
smaller than with gz although the difference in size (some 10pct)
gives 5 times more decompression time while dnwnloading and using gz
instead is noawadays faster. All these decompressors are fast and
independent of runtime libraries.
We can have smaller archives in the distribution (cont-tmf.tar.gz or
cont-tmf.tar.xz) where gz makes more sense in the end.
However, the reason xz is that we can then grab fonts from tex live.
This is handled by
mtxrun --script ctan --texlive
and we need that because this (older) script can get info from ctan
about packages (there is an api) but not download because the location
is unknown while the tl archives are in a known spot. So for instance
mtxrun --script ctan --texlive pennstander
gives some info and --download [--force] [--all] then wil fetch the
files. You're responsible for doifn that in
texmf-font/fonts/data/someplace and in this case it's bad action because
we already hav pennstander installed which is reported with the first
invocation.
This might evolve but we (Mikael and I) think only fonts make sense (otf
and ttf files) so that is what you get, not all the other stuff in these
archives that serves us no purpose. We will use it when we need to test
(so in texmf-font/fonts/data/testonly that we can wipe afterwards)
Maybe the wiki at some point can have a list of usefull font packages
(as it is not always intuitive). I'll also make a fetcher for google fonts.
Of coure you're welcome to report issues. If it's something worth adding
to the test suite (crash test), provide simple files names foo-001.tex
(best check first what we already have in the 2200 suite) and start with
\continuewhenlmtxmode when it's only for mkxl.
I also like to know where one hits a performance bottleneck, not that
there's is much room left for improvement but one never knows.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________