MathHubInfo / Legacy-localmh

DEPRECATED - A cross-repository administration tool for the local authoring in MathHub.info
1 stars 0 forks source link

mmt call #244

Closed cmaeder closed 8 years ago

cmaeder commented 9 years ago

In https://github.com/KWARC/localmh/blob/master/lmh/lib/modules/compile/targets.py I see that PERL5LIB is set using "envvar". This is not respected by MMT. PERL5LIB (if set at all) must be set in the environment that calls MMT. (Maybe nothing special needs to be done for this to happen.)

In any case MMT always extends/sets PERL5LIB by/to the paths /path/to/localmh/ext/perl5lib/lib/perl5:/path/to/localmh/ext/LaTeXML/blib/lib.

For pdflatex PERL5LIB should be irrelevant.

cmaeder commented 9 years ago

All other environment variables should become options for the rbuild target. You need to pass the options --force (before the target) and --pipe-worker-output (after the target) if applicable.

cmaeder commented 9 years ago

P.S. MMT does not emit any output if nothing needs to be rebuild. Should this be changed?

cmaeder commented 9 years ago

P.P.S MMT does now emit result messages on --clean and --onChange (the default), too. (--onChange even shows a ? if the up-to-file has associated errors.)

tkw1536 commented 8 years ago

No longer applies since lmh gen directly forwards to MMT now.