Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues with the environment thebibliography #930

asmaier opened this issue Jan 16, 2018 · 2 comments


Copy link

@asmaier asmaier commented Jan 16, 2018

When using the simple environment for bibliography entries \begin{thebibliography}...\end{thebibliography} there are some issues, which don't occur with a bibliography generated by bibtex.To test this consider the following example document testbib.tex:

\title{Test document}
Lorem ipsum.\cite{mh}
Boring \cite{wie} test.
\bibitem{ac} A.Ahmad and L. Cohen. Journal of Computational Physics \textbf{12},
389-402 (1973)
\bibitem{mh} J. Makino and P.Hut. Performance Analysis Of Direct N-Body
Calculations. \textit{ApJS}, 68:833-856, December 1988
\bibitem{wie} R. Wielen, Veröffentlichungen Astr. Rechen-Institut Heidelberg
Nr. \textbf{19} (1967)
\bibitem{ars} J. Makino and S. Aarseth. On a hermite
integrator with ahmad-cohen scheme for gravitational
many-body problems. \textit{PASJ}, 44:141-151, April 1992
\bibitem{ars3} S.Aarseth. NBODY2: A direct N-body integration code. New
Astronomy 6 (2001) 277-291
\bibitem{gang}  E. Gamma, R. Helm, R. Johnson, J. Vlissides. Design Patterns,
Elements of Reusable Object-Oriented Software, Addison-Wesley, 1994
\bibitem{eff2} Scott Meyers. More Effective C++, Addison-Wesley, 1996
\bibitem{stl} Nicolai M. Josuttis. The C++ Standard Library, Addison-Wesley,

After running

latexml testbib.tex --dest=testbib.xml
latexmlpost --format=html5 --javascript='' --dest=testbib.html testbib.xml --splitat=chapter

the output HTML bib.html looks like

Compared to the PDF output the HTML has the following issues:

  1. The title "Bibliography" is too small. It should be of the same size as the other chapter titles. But the fontsize is set to 100% instead of 200% and the fontweight should be bold, not just normal.
  2. The reference numbers should not be bold, but instead be in squared brackets like [1], [2], [3], ...
  3. The backlinks to the place of the citation are missing from the bibliography entries.
@dginev dginev added this to the LaTeXML-0.8.4 milestone Jan 16, 2018

This comment has been minimized.

Copy link

@dginev dginev commented Jan 16, 2018

Thanks for the detailed issue, much appreciated!


This comment has been minimized.

Copy link

@brucemiller brucemiller commented Feb 14, 2018

I just fixed (2); I think (1) got fixed by a CSS correction in the meantime; and if you mean the "free" backlinks you get when you use a .bib files, they're not so free with a preformatted bibliography (sorry).

Thanks for the report!

@dginev dginev modified the milestones: LaTeXML-0.8.4, LaTeXML-0.8.3 Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.