On Wed, Nov 5, 2014 at 9:11 AM, Sebastien Vauban wrote: > Jacob Gerlach wrote: > > On Wed Nov 05 2014 at 4:22:06 AM Julien Cubizolles wrote: > > > >> Bracket links (like <>) create a \texttt{} \hypertarget{} pair > >> instead of a \label{} \ref{} pair in the latex file. Should I go with > >> explicit \label{} \ref{} in the org file ? > > > > The \texttt{} is probably because org could not resolve a target from > > your link. I can't help much with your problem, but see C-h > > v org-latex-link-with-unknown-path-format RET for an idea of where the > > \texttt{} comes from. > > FWIW, the value I set in my .emacs file is "\\colorbox{red}{%s}", so > that it stands out in the exported document. > I take it one step further and use \BADLINK. This causes pdflatex to complain, so the export fails. No need to then try to catch it in the exported document. There was some recent discussion of patching the exporter to report errors on unresolved links: http://lists.gnu.org/archive/html/emacs-orgmode/2014-09/msg00880.html Jake