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

citations with chapterbib and multiple input files #2487

Open
NemesMarcus opened this issue Jan 14, 2025 · 0 comments
Open

citations with chapterbib and multiple input files #2487

NemesMarcus opened this issue Jan 14, 2025 · 0 comments

Comments

@NemesMarcus
Copy link

I would like to split a report of multiple chapters at the chapter level into html files, where each chapter has its own bibliography as a section at the end of the chapter. For this \usepackage[sectionbib]{chapterbib} is included.
From the "test" example in mwe.zip
you can see, that
latexmlc --dest=test.html --splitat=chapter test.tex
principially works (the Bibliography is of Chapter style, even with pdfLaTex, but this is fine for me).
However, when the chapters are moved to separate files as in the "test2" example (the actual structure of the report), then the pdfLaTeX output is as expected (the Bibliography is of Section style and no page preak occurs before) but
latexmlc --dest=test2.html --splitat=chapter test2.tex
leaves broken citations

Warning:expected:ids Missing Entry for citation: bib_label2,bib_label

This can be fixed by removing \usepackage[sectionbib]{chapterbib} but in this case I get every bibliography as a separate chapter and thus as a separate html page, which is not the intention.

Contrary to the issue #1236 the problem of the broken citations remains also when the --splitat option is not used with latexmlc.

I run LaTeXML 0.8.8 under Windows 11 with Strawberry PERL (perl v5.32.1) and MikTeX 23.5 with pdfLaTeX. In the zip file I packed the *.tex files and both the latexmlc and the pdflatex outputs.

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

2 participants