Weave.jl icon indicating copy to clipboard operation
Weave.jl copied to clipboard

Add support for citations

Open mpastell opened this issue 5 years ago • 9 comments

I'm looking into adding support for citations in m2html and md2pdf formats (#144). Current state and plans:

  • [x] Parse citations from Markdown
  • [x] Format citations for output as numbers (html)
  • [ ] Add list of references (html)
  • [x] Convert citations to latex
  • [x] Run bibtex when converting to pdf if needed

mpastell avatar Mar 01 '19 14:03 mpastell

@pfitzseb this seems like it's pretty far along, and mostly stalled because the HTML doesn't add the list of references? It would be nice if this got rebased and merged even if that HTML part isn't fully complete yet, since this would likely be mostly used with PDFs.

@jlperla how did you it with https://julia.quantecon.org/ ?

Xref @strangeli

ChrisRackauckas avatar Oct 31 '19 18:10 ChrisRackauckas

@ChrisRackauckas The QE is built around a very flexible but complicated RST/sphinx based tool: https://github.com/QuantEcon/jupinx and I think (but am not entirely sure) that the latex stuff comes out of sphinx. Not many lessons that can be learned from it for Weave, I fear.

jlperla avatar Oct 31 '19 19:10 jlperla

Is anyone still working one this?

Tokazama avatar Apr 16 '20 18:04 Tokazama

Just dropping by to say this feature would be very cool. Being able to drop in bibtex citations in .jmd files then weave that into pdf's would unlock the door to writing journal papers in .jmd. In my humble opinion, this would be a really really cool addition to the Julia ecosystem.

drbenvincent avatar Mar 11 '21 16:03 drbenvincent

Just dropping by to say this feature would be very cool. Being able to drop in bibtex citations in .rmd files then weave that into pdf's would unlock the door to writing journal papers in .rmd. In my humble opinion, this would be a really really cool addition to the Julia ecosystem.

I agree, looking forward to it. Did you mean .jmd?

storopoli avatar Mar 11 '21 16:03 storopoli

I agree, looking forward to it. Did you mean .jmd?

Yes! Thanks for spotting that. I've corrected the mistake.

drbenvincent avatar Mar 11 '21 16:03 drbenvincent

Just dropping by to say this feature would be very cool. Being able to drop in bibtex citations in .jmd files then weave that into pdf's would unlock the door to writing journal papers in .rmd. In my humble opinion, this would be a really really cool addition to the Julia ecosystem.

Agreed! This would be a brilliant addition.

EvoArt avatar Mar 22 '21 08:03 EvoArt

Has this been deserted? 😊

Just so I don't try too deep into using it

AhmedSalih3d avatar Oct 21 '23 10:10 AhmedSalih3d

Has this been deserted? 😊

Just so I don't try too deep into using it

It more or less works and you can always fork it by yourself. But I agree it is a bit disheartening to see so many pull requests remain unmerged as a Weave user.

newptcai avatar May 02 '24 03:05 newptcai