slatex / LaTeXML-Plugin-sTeX

A LaTeXML Plugin for Semantic LaTeX (sTeX)
LaTeX Project Public License v1.3c
2 stars 3 forks source link

latexml postprocessing wrong path #83

Closed kohlhase closed 8 years ago

kohlhase commented 8 years ago

see https://github.com/KWARC/MMT/issues/146, We have a path problem.

kohlhase commented 8 years ago

I wanted to keep the issue on MMT open, so cc: @tkw1536

kohlhase commented 8 years ago

I see more clearly now. Somehow, an old version of the file stex-smglom-module.opt has been installed. Maybe that has something to do with @angerhang's new cpan method?

angerhang commented 8 years ago

Yes you are right the plugin should allow us to not include the path and the correct path should really be

ext/perl5lib/lib/perl5/LaTeXML/resources/XSLT/omdocpost.xsl
angerhang commented 8 years ago

Hmm there is probably something wrong with your setup. After lmh setup --update, docker seems to be loading the right profile (Loading profile /mounted/lmh/ext/perl5lib/lib/perl5/LaTeXML/resources/Profiles/stex-smglom-module.opt... ) which has the right stylesheet

Hangs-MBP:localmh Hang$ cat ext/perl5lib/lib/perl5/LaTeXML/resources/Profiles/stex-smglom-module.opt
comments =
format = xml
whatsin = fragment
whatsout = document
post =
xmath =
openmath =
pmml =
includestyles =
stylesheet = omdocpost.xsl
nodefaultresources =
preload = [mh]smglom.cls
preload = amsmath
preload = amssymb
#preload = tikz
preload = eurosym
preload = wasysym
preload = multirow
preload = paralist
preload = lststex
preload = lstomdoc
preload = ded
preload = calbf
preload = url
preload = wrapfig
preload = colortbl
preload = [show]ed

There are two things we can do:

angerhang commented 8 years ago

I am not sure which old version of stex-smglom-module.opt you are referring to, do you mean the one with stylesheet = $STEXSTYDIR/../xsl/omdocpost.xsl in place?

kohlhase commented 8 years ago

yes, that. I am currently re-installing completely, and try to see what happens

kohlhase commented 8 years ago

hmmmm, that made the problem go away. I wonder what it was, ... sorry for troubling you