[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [bug] links in macros comments are fortified
From: |
Rasmus |
Subject: |
[O] [bug] links in macros comments are fortified |
Date: |
Tue, 24 Feb 2015 18:48:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
Consider the following macro that I'm employing hoping to export a
document as a odt (the document is optimized towards latex).
#+MACRO: tikzgraph (eval (format "[[file:$1.%s]]" (if
(org-export-derived-backend-p org-export-current-backend 'latex) "tikz" "png")))
In org this was displayed as
#+MACRO: tikzgraph (eval (format "file:$1.%s" (if
(org-export-derived-backend-p org-export-current-backend 'latex) "tikz" "png")))
Which let me to type
#+MACRO: tikzgraph (eval (format "[[[[file:$1.%s]]]]" (if
(org-export-derived-backend-p org-export-current-backend 'latex) "tikz" "png")))
Which gave a funky output that I fortunately found. At least in macros,
links should not be formatted IMO.
—Rasmus
--
However beautiful the theory, you should occasionally look at the evidence
- [O] [bug] links in macros comments are fortified,
Rasmus <=