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

Disappearing parent with context toc #1003

Closed
teepeemm opened this Issue Jun 2, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@teepeemm
Contributor

teepeemm commented Jun 2, 2018

I'm compiling the following tex file via latexml and then latexmlpost --split.

\documentclass{book}

\usepackage{latexml}
\lxDocumentID{DocID}

\begin{lxNavbar}
\lxContextTOC
\end{lxNavbar}

\begin{document}

\chapter{Title One}

\section{Title One One}

\chapter{Title Two}

\end{document}

The file DocID.Ch1.html has the local context toc that I would expect:

1 Title One
1.1 Title One One
2 Title Two

The file DocID.Ch1.S1.html, on the other hand, has a different local context toc:

1.1 Title One One
2 Title Two

Here, the entry for Chapter 1 has disappeared, and the entry for the section is no longer indented. Shouldn't I have the same local toc, only with a different entry no longer hyperlinked? Or am I overlooking something?

@dginev dginev added this to the LaTeXML-0.8.4 milestone Jun 2, 2018

@brucemiller

This comment has been minimized.

Owner

brucemiller commented Jun 16, 2018

Indeed, a leftover from previous changes. Should work now. Thanks for the report!

@dginev dginev added bug and removed question labels Jun 16, 2018

@dginev dginev modified the milestones: LaTeXML-0.8.4, LaTeXML-0.8.3 Jun 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment