-
Notifications
You must be signed in to change notification settings - Fork 78
Description
I can't get pairDelim or lastDelim to have any effect when compiling pdfs via tex.
For example, I am copying the contents of https://github.com/lierdakil/pandoc-crossref/blob/7aa8e9eccaff0c457b28e4a30b290699fb922518/test/m2m/delim/input.md and compile it on my Mac with pbpaste | pandoc --filter pandoc-crossref with either --output ~/tmp/test.tex or --output ~/tmp/test.md.
When I compile to markdown, I see the pairDelim value on certain lines, e.g.,
References with `-` prepended won't have prefix at all: 1pair2,
eqns. 3pair4
But when I compile to tex, the pairDelim value seems to be absent:
References with \texttt{-} prepended won't have prefix at all:
\ref{eq:0}, \ref{eq:1}, eqns.~\ref{eq:2}, \ref{eq:3}
I can see from https://github.com/lierdakil/pandoc-crossref/blob/7aa8e9eccaff0c457b28e4a30b290699fb922518/test/m2m/delim/expect.tex that this seems to be the expected behavior, but it seems like a bug. I note that the documentation says "none of the *Delim options are honored with cleveref output. Use cleveref’s customization options instead", but I don't believe I am using cleveref here.
Is this actually the intended behavior? If so, do the docs need to be updated? Is there a way we can use pairDelim in tex output? Thanks!