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

Disappearing parent with context toc #1003

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

Disappearing parent with context toc #1003

teepeemm opened this issue Jun 2, 2018 · 1 comment
Assignees
Milestone

Comments

@teepeemm
Copy link
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?

@brucemiller
Copy link
Owner

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
Projects
None yet
Development

No branches or pull requests

3 participants