Skip to content

References in additional includes cannot be found #10068

Answered by jgm
yakatz asked this question in Q&A
Discussion options

You must be logged in to vote

citeproc only runs over the document's body, so it won't affect things you put in include-after.

Since pandoc can pass through raw latex content in a markdown file, you could just put this at the beginning of your first appendix file.

```{=latex}
\chapterstyle{myappendix}
\renewcommand{\chaptername}{Appendix}
\renewcommand{\thechapter}{\Alph{chapter}}
%\cftaddtitleline{toc}{chapter}{Appendices}{}
\appendix
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
```

And then put the appendix files on the command line as arguments, after mypaper.md.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yakatz
Comment options

Answer selected by yakatz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants