You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.
Thanks for your help, however using your filter I get the following error: Chapter 1. ! Undefined control sequence. \addcontentsline #1#2#3->\oldaddcontentsline {#1}{#2}{#3} l.327 \chapter{Introduction}\label{introduction}} . Do you have an idea what the problem could be here? See here for my full build command. – Anton Mar 31 at 16:01
The text was updated successfully, but these errors were encountered:
So in you want to use the pandoc-latex-unlisted filter and the -H option, you have to define \let\oldaddcontentsline\addcontentsline in your latex file
I'm using Pandoc with LuaLaTeX.
pandoc
options contain-H header.tex
andmetadata.yaml
as one of the input files.metadata.yaml
and input files don't containheader-includes
.But the LuaLaTeX compiler says
This issue may be caused by the
finalize
function onpandoc_latex_unlisted.py
.My workaround works appending:
\let\oldaddcontentsline\addcontentsline
to
header.tex
directly.Related Issue
The text was updated successfully, but these errors were encountered: