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

LaTeX table in pandoc markdown, can't reference \label{tbl:mylabel} using @tbl:mylabel #34

Open
LunkRat opened this issue Jun 16, 2022 · 0 comments

Comments

@LunkRat
Copy link

LunkRat commented Jun 16, 2022

Because I want table formatting that isn't possible with Markdown, I am pasting LaTeX tables into my pandoc Markdown. Works great. However, xnos doesn't pick up my in-text table reference when I try to reference \label{tbl:mylabel} using @tbl:mylabel

Here's my table right in the markdown:

\begin{table}
\caption[My short caption]{My Longer caption.}
\label{tbl:mylabel}
\begin{tabular}
[...]

And then when I try to reference the table with "See Table @tbl:mylabel for results", pandoc returns an error:

pandoc-tablenos: Bad reference: @tbl:mylabel.

Is it supported to reference a raw latex table from pandoc markdown with tablenos using the \label{tbl:mylabel} in the LaTex table? If yes, What am I doing wrong?

PS: The table is numbered correctly regardless of if I have a label in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant