emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Best way to include references/license


From: Jacob Gerlach
Subject: Re: [O] Best way to include references/license
Date: Wed, 5 Nov 2014 09:38:26 -0500

On Wed, Nov 5, 2014 at 9:11 AM, Sebastien Vauban <address@hidden> wrote:
Jacob Gerlach wrote:
> On Wed Nov 05 2014 at 4:22:06 AM Julien Cubizolles wrote:
>
>> Bracket links (like <<link>>) 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]