-
Notifications
You must be signed in to change notification settings - Fork 81
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
Internally reference citations #51
Comments
Could you give an example of what this would look like? |
Yes, it basically just means putting a label in the markdown code that inserts a different bit of text in the compiled document. So for references in latex you basically enter the citation information in a separate document (not unlike the references.md file). The format of that references file looks like so (I just copied this from a manuscript of mine):
Then, when you want to cite an first article, you simply put a tag in the text to indicate that is the citation you want. In latex, the tag is \cite{label1} or \cite{label2}. In a sentence in the manuscript, it would look like:
Or you could cite two papers like:
Then, when the paper is typeset, the typesetting program makes it look like so:
Or like this for two:
In addition, the typesetting program adds the cited paper or papers to the references section as:
Or for two:
The numbering and appearance in the references section, happens in order of appearance in the manuscript. I know it sounds complicated, but I think it is relatively simple to implement. It is conceptually the same thing for internal reference to sections and figures. You could just have some sort of label tag in the markdown that means you don't have to keep track of figure numbers when you're referencing them. Here is a huge document on them. http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing |
This has already been implemented in Markdown (and in a very clever way) with pandoc-citeproc. It would be fantastic if it could be integrated here somehow. |
It would be really nice to internally reference citations that get automagically formatted. For example, the latex internal references.
For that matter, having internal references to sections and subsections would be nice as well.
The text was updated successfully, but these errors were encountered: