phd_thesis_markdown icon indicating copy to clipboard operation
phd_thesis_markdown copied to clipboard

Why not using pandoc-crossref?

Open sbacelar opened this issue 7 years ago • 6 comments

To cross-reference figures, display equations, tables and sections.

sbacelar avatar Mar 16 '17 12:03 sbacelar

I'm not familiar with pandoc-crossref. Please could you explain a little more about how it will help?

tompollard avatar Mar 17 '17 05:03 tompollard

It's a very useful pandoc filter. You can read all the information about it in https://github.com/lierdakil/pandoc-crossref

sbacelar avatar Mar 17 '17 10:03 sbacelar

@sbacelar I had a look at it considering whether I could need it for my thesis, but don't really get the benefits to just referencing via Latex-commands. Am I missing something?

FlxVctr avatar Jun 12 '17 06:06 FlxVctr

https://github.com/Fankbai/Science.md @sbacelar

Fankbai avatar Mar 26 '18 06:03 Fankbai

@sbacelar I had a look at it considering whether I could need it for my thesis, but don't really get the benefits to just referencing via Latex-commands. Am I missing something?

If you're only interested in generating pdf, then no. If you want to generate thesis.html, none of the \latex you put in the *.md files will render.

At the moment, I don't think we can reference listings and other stuff like that. So pandoc-crossref may be a good option to look into in future to minimise dependencies. I'll have a look if I get time.

JamesOwers avatar Jan 16 '21 14:01 JamesOwers

Ah, and, unless I'm missing something, I think we can't refer to sections by number just now, other than using \ref{name-of-header} (which only works when rendering pdf), or using [manually written header name](#name-of-header). So this may be the reason to switch to pandoc-crossref http://lierdakil.github.io/pandoc-crossref/#section-labels.

I've fixed the travis build in #100, so this should be easy to test.

JamesOwers avatar Jan 16 '21 14:01 JamesOwers