MathHubInfo / Legacy-localmh

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

lmh not generating *.ltxlog #258

Closed angerhang closed 8 years ago

angerhang commented 8 years ago

No .ltxlog is generated by lmh. Maybe @tkw1536 and/or @cmaeder can help?

MacBook-Pro:MiKoMH yuancalvin$ pwd
/Users/yuancalvin/lmh/localmh/MathHub/MiKoMH
MacBook-Pro:MiKoMH yuancalvin$ time lmh omdoc  --timeout=900 GenCS/source/SML/en/SML-rtfm.tex 
error: latexml: no omdoc created
latexml-result: failure /path/to/localmh/MathHub/MiKoMH/GenCS/latexml/SML/en/SML-rtfm.omdoc
MacBook-Pro:MiKoMH yuancalvin$ cat GenCS/latexml/SML/en/SML-rtfm.ltxlog
cat: GenCS/latexml/SML/en/SML-rtfm.ltxlog: No such file or directory
cmaeder commented 8 years ago

It works for me as follows:

maeder@lati:/var/data/localmh/MathHub$ lmh omdoc --force MiKoMH/GenCS/source/SML/en/SML-rtfm.tex
latexml-result: success /path/to/localmh/MathHub/MiKoMH/GenCS/latexml/SML/en/SML-rtfm.omdoc
error: latexml-compiler: malformed: \inlinedef outside a statement!
cmaeder commented 8 years ago

after lmh setup --update in localmh (and lmh pull in MathHub)

kohlhase commented 8 years ago

error: latexml-compiler: malformed: \inlinedef outside a statement!

and that is an sTeX issue already :-)

angerhang commented 8 years ago

Thanks I think I forgot to do a lmh pull in MathHub.

latexml-result: success /path/to/localmh/MathHub/MiKoMH/GenCS/latexml/SML/en/SML-rtfm.omdoc
error: latexml-compiler: malformed: \inlinedef outside a statement!

real    2m7.834s
user    0m0.736s
sys 0m0.169s

But the generation takes about 2 mins for one document. Is there any way we can optimize this?

kohlhase commented 8 years ago

But the generation takes about 2 mins for one document. Is there any way we can optimize this?

you are seeing the startup overhead. The second document will be much faster.

angerhang commented 8 years ago

Thanks for the clarification! Closing...