"Fraga, Eric" writes: > but also happen to have a code block > > #+name: model > #+begin_src ... > > exporting to texinfo, asking to refer to [[model]], creates a reference > to an non-existing target ("model") because (a) org appears to assume > that you wish to reference the src block, not the headline, and (b) the > src block (/@example/ in texinfo) is not labelled in the .texi output. > See attached minimal example. > ... Thanks for reporting! I tried to add support for #+name'd elements in ox-texinfo. See the attached patch. I simply prepended an @anchor to all paragraph level Org markup elements. However, I am not 100% sure if it is always safe to do. May you please test the patch on your side to make sure that things are not going to be broken? (they are not on Org manual, at least)