Re: [O] Problem with references to babel source blocks (possible bug).

2018-12-21 Thread Emmanuel Charpentier
Dear John, dear list, Indeed using minted works (at least when using labels. I have not yet tried to use #+NAME:s). See a few remarks below. Le jeu. 20 déc. 2018 à 21:47, John Kitchin a écrit : > > I guess there is some subtle point missing. For the source blocks I > usually use the minted packa

Re: [O] Problem with references to babel source blocks (possible bug).

2018-12-20 Thread John Kitchin
I guess there is some subtle point missing. For the source blocks I usually use the minted package, which I think makes code blocks as a listing float. In your tex file, they are verbatim environments, and you have \captionof{figure} under them which is presumably why they are labeled as figures.

[O] Problem with references to babel source blocks (possible bug).

2018-12-19 Thread Emmanuel Charpentier
I wish to be able to reference (i. e cross-references, lists) both some tables or figures AND the code producing the objects. To this effect, I added (distinct) #+caption:s to the source blocks AND to the results, adorned with (distinct) org-ref's labels. An example ( Min-Ref.org) is included in