pandoc-reference-filter icon indicating copy to clipboard operation
pandoc-reference-filter copied to clipboard

Number tables

Open bwhelm opened this issue 10 years ago • 1 comments

As the first commit indicates, this allows for table captions with attributes. It seems to work reasonably well for LaTeX, html, and docx.

Notice that latex_table() is a big hack. I'd appreciate better ideas for how to insert an appropriate \label{id} command into the LaTeX generated by pandoc.

bwhelm avatar Sep 05 '15 21:09 bwhelm

Table referencing was something that I meant to add, but didn't get round to.

This solution is a great hack and makes sense given the current limitations of the code. However, it might be possible to do some higher level restructuring to make this a bit more maintainable.

Also, would be good to keep compatibility with pandoc-crossref tables in terms of syntax.

aaren avatar Apr 13 '16 19:04 aaren