-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
citation support? #134
Comments
Maybe you should use this Markdown syntax > Your citation and the result will be like this:
The citation in the example is an Einstein's quote I Hope that this comment help you.. |
Oh sorry if I wasn't clear. By citation, I didn't mean inset quotes. I meant bibliography citation, like "Powell (2000)" in the text, usually with a list of references in the end. |
This article might be a nice place to begin thinking about this: http://blog.martinfenner.org/2013/06/19/citations-in-scholarly-markdown/ |
This discussion could be of interest benweet/stackedit#20 |
Maybe this issue should be sent to Markdown developers or Marked developers, Marked is used by Gitbook to render Markdown, to integrate this feature to Markdown and to Gitbook after... |
Ah right, so gitbook uses marked and marked does not support citations - and they might not want to if their aim is speed and efficiency. Though see markedjs/marked#35. But marked does support footnotes, which are simpler, but even footnotes aren't working for me in gitbook. So this does not work at the moment: Here is some text containing a footnote.1 Footnotes
|
Just want to chime in that this (along with some other scholarly typesetting niceties academic are used to from LaTeX) is really important to make this a viable product to scientists. Still, this might need some more features to work. |
I agree with maxheld83. But for now, it would be great to get even footnotes / endnotes working as they are a markdown standard and should be pretty easy, and they could be hacked to make a kind of substitute for proper citations. |
If you are using R and/or R Markdown, I have written a package ( For now you just use inline knit code and call the Admittedly this isn't the most elegant solution, but seems to work for me. |
that's a great starter @jbryer thanks for the pointer. |
@jbryer Yes I already installed Rgitbook (in fact I found out about gitbook via your post on R-bloggers) and am finding it useful. And yes, the citation support is very useful for R users. |
+1 for citations. As another scientist, I'd love to use this in an upcoming write up heavy on data structures and visualization but right now it looks like I can't without citation/bibliography support. |
For now I am just using the following hack so I can write my book with gitbook but use citations and r code too: Create a gitbook repository and edit as usual, but use r code blocks and inline quotes like
This is the two-line R script, script.R then I just run R CMD BATCH script.R in a terminal. Really hacky but it works. |
+1, epic one. |
+1 on footnotes! |
+1 on footnotes |
+1 I'm using for footnotes at the moment (example:1), but this is obviously less than ideal... |
@maxheld83 @charlieroberts @stevepowell99 @colabug @octowombat This is coming with GitbookIO/kramed#2. P.S: (We ended up forking |
* Add classname * Start applying it * reset existing style changes in favor of global setup * setup v1 plain mode * fix name clash * move light/dark bases as vars * side image render fix * customize individual light tiers for light mode * Add comment about primary and base * remove style prop from image * w-unset not needed on image --------- Co-authored-by: sebastiangraz <graz@live.se>
will you be adding support for citations e.g. like http://johnmacfarlane.net/pandoc/demo/example19/Citations.html? It is hard to imagine writing a scientific book without citation support. Exciting package by the way, thanks.
The text was updated successfully, but these errors were encountered: