emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: Orgmode export takes "AC:" as a link keyword [9.5 (nil @ /Users


From: Junwei Wang
Subject: Re: Bug: Orgmode export takes "AC:" as a link keyword [9.5 (nil @ /Users/junwei/.emacs.d/.local/straight/build-27.1/org-mode/)]
Date: Sun, 13 Dec 2020 18:24:36 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.5.1

Thank you very much for your quick reply.


How can I let orgmode disable some built-in links if it allows? (The escape character solution sounds not ideal.)

On 13/12/2020 07:05, Kyle Meyer wrote:
Junwei Wang writes:

When exporting orgmode file into HTML file, the exporter "mistakely"
consider "AC:" as some keyword for linking and the string following
"AC:" would be something link to.
It looks like org-ref is setting up these links for you. Here's the
relevant bit from the configuration you included:

    org-link-parameters '([...]
    ("Ac" :follow or-follow-acronym :face org-ref-acronym-face :help-echo
    or-acronym-tooltip :export
    #[771 "\211\301>\203\302\303\300A#\207\302\304\226\"\207"
    [("Ac" . "Gls") (latex beamer) format "\\%s{%s}" "%s"] 7
    "\n\n(fn PATH _ FORMAT)"]
    )
    ("ac" :follow or-follow-acronym :face org-ref-acronym-face :help-echo
    or-acronym-tooltip :export
    #[771 "\211\301>\203\302\303\300A#\207\302\304\226\"\207"
    [("ac" . "gls") (latex beamer) format "\\%s{%s}" "%s"] 7
    "\n\n(fn PATH _ FORMAT)"]
    [...]

I suspect the uppercase "AC" being treated as a link despite it not
appearing in org-link-parameters is a case-related bug somewhere in
Org's link handling.  While that's worth looking into, it just shifts
things as far as your original example is concerned: replace "AC" with
"ac", and you have the same issue that you reported.

One way to make Org not treat "ac:foo" as a link is to insert a
zero-width space (with, e.g., <C-x 8 RET 200B>) between "ac" and ":".

   (info "(org)Escape Character")




reply via email to

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