Hi Bruce,
Version 0.8.2 works great for me with one minor error-generating flaw, which breaks my scripts, unfortunately. The texlive babel package (2017.20180110-1), with either the english or french option, induces an \ifcase incompletion.
Here's the MWE:
\documentclass{article}
\usepackage[english]{babel}
\begin{document}
This is a test.
\end{document}
And here's the latexml output:
walter@mba:/home/pub/test$ latexml babel-mwe.tex
latexml (LaTeXML version 0.8.2; revision 35ba0794)
processing started Thu Mar 1 17:21:48 2018
(Digesting TeX babel-mwe...
(Loading /usr/local/share/perl/5.26.1/LaTeXML/Package/TeX.pool.ltxml...
(Loading /usr/local/share/perl/5.26.1/LaTeXML/Package/eTeX.pool.ltxml... 0.01 sec)
(Loading /usr/local/share/perl/5.26.1/LaTeXML/Package/pdfTeX.pool.ltxml... 0.00 sec) 0.12 sec)
(Processing content /home/pub/test/babel-mwe.tex...
(Loading /usr/local/share/perl/5.26.1/LaTeXML/Package/LaTeX.pool.ltxml... 0.12 sec)
(Loading /usr/local/share/perl/5.26.1/LaTeXML/Package/article.cls.ltxml... 0.01 sec)
(Loading /usr/local/share/perl/5.26.1/LaTeXML/Package/babel.sty.ltxml...
(Processing definitions /usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty...
(Processing definitions /usr/share/texlive/texmf-dist/tex/generic/babel/switch.def... 0.05 sec)
(Processing definitions /usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf...
(Loading /usr/local/share/perl/5.26.1/LaTeXML/Package/babel.def.ltxml...
(Processing definitions /usr/share/texlive/texmf-dist/tex/generic/babel/babel.def...
(Processing definitions /usr/share/texlive/texmf-dist/tex/generic/config/language.def... 0.02 sec)
(Processing definitions /usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def... 0.00 sec) 0.54 sec) 0.55 sec) 0.75 sec) 1.19 sec) 1.64 sec) 1.83 sec)
Error:expected:\fi Input ended while conditional \ifcase was incomplete
at Anonymous String; line 1 col 0
started at at /usr/share/texlive/texmf-dist/tex/generic/babel/babel.def; line 1260 col 7
1.97 sec)
(Building...
(Loading compiled schema /usr/local/share/perl/5.26.1/LaTeXML/resources/RelaxNG/LaTeXML.model... 0.01 sec). 0.05 sec)
(Rewriting... 0.00 sec)
(Finalizing... 0.00 sec)
Conversion complete: 1 error.
processing finished Thu Mar 1 17:21:50 2018
<?xml version="1.0" encoding="UTF-8"?>
<?latexml searchpaths="/home/pub/test"?>
<?latexml class="article"?>
<?latexml package="babel" options="english"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML">
<resource src="LaTeXML.css" type="text/css"/>
<resource src="ltx-article.css" type="text/css"/>
<para xml:id="p1">
<p>This is a test.</p>
</para>
</document>
As you can see, the latexml output is fine; the only problem that I can see is that latexml throws an error on the incomplete \ifcase in babel.def. Do you see what's going on?
Best,
Scott
Hi Bruce,
Version 0.8.2 works great for me with one minor error-generating flaw, which breaks my scripts, unfortunately. The texlive babel package (2017.20180110-1), with either the english or french option, induces an
\ifcaseincompletion.Here's the MWE:
And here's the latexml output:
As you can see, the latexml output is fine; the only problem that I can see is that latexml throws an error on the incomplete
\ifcaseinbabel.def. Do you see what's going on?Best,
Scott