brucemiller / LaTeXML

LaTeXML: a TeX and LaTeX to XML/HTML/ePub/MathML translator.
http://dlmf.nist.gov/LaTeXML/
Other
957 stars 101 forks source link

JATS: article title appears at end of body of text #2348

Open castedo opened 7 months ago

castedo commented 7 months ago

REPRO STEPS: For intput.tex:

\documentclass[]{article}
\title{A Test Case}
\begin{document}
\maketitle
\section{Introduction}
Here is some of the main text.
\end{document}

with latexmlc --format=jats input.tex GOT:

...
  <front>
...
      <title-group>
        <article-title>A Test Case</article-title>
      </title-group>
...
  </front>
  <body>
    <sec id="S1">
      <title>1 Introduction</title>
      <p id="S1.p1">Here is some of the main text.</p>
    </sec>
    <title>A Test Case</title>
  </body>
...

EXPECTED:

No <title>A Test Case</title> at the end of the body.

VERSION: 0.8.8