Re: [O] Incorrect references to LaTeX Listings

2018-01-10 Thread James Harkins
On Tue, 09 Jan 2018 20:35:37 +0800 Eric S Fraga wrote > Check org-latex-prefer-user-labels. OK, this works for me, thanks. FWIW, org-latex-prefer-user-labels eluded me in the documentation. Now that you pointed me to it, I see the reason for the change, but I wouldn't have guessed

Re: [O] Incorrect references to LaTeX Listings

2018-01-09 Thread Nicolas Goaziou
Hello, James Harkins writes: > I have several org documents containing source code listings, with references > such as the following: > > ``` > * Section > > #+name: codeblock > #+caption: Hello, world. > > #+BEGIN_SRC C > // Hello, world > #+END_SRC > > Reference to [[codeblock]]. > ``` > > I'

Re: [O] Incorrect references to LaTeX Listings

2018-01-09 Thread Eric S Fraga
On Tuesday, 9 Jan 2018 at 18:58, James Harkins wrote: > I have several org documents containing source code listings, with > references such as the following: [...] > Well, there is no label orgsrcblock1, so the exported document shows > "??" instead of a listing number. Check org-latex-prefer-

[O] Incorrect references to LaTeX Listings

2018-01-09 Thread James Harkins
I have several org documents containing source code listings, with references such as the following: ``` * Section #+name: codeblock #+caption: Hello, world. #+BEGIN_SRC C // Hello, world #+END_SRC Reference to [[codeblock]]. ``` I've been doing this for years, never had any problem. Today, I