emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [PATCH 3/5] ob-R: change the file extension for tikz figures


From: Aaron Ecay
Subject: [O] [PATCH 3/5] ob-R: change the file extension for tikz figures
Date: Wed, 20 Feb 2013 23:02:24 -0500

Because figures are included for export for a link, it is not desirable
to have R-generated tikz figures have the extension .tex.  Links to .tex
files should (and currently are) inserted as a hyperlink in the LaTeX
output.  Links to .tikz files should be \input so that they draw as
graphics.  (A following patch implements this functionality.)

This could also allow other backends (e.g. HTML) to compile .tikz files
to images for inclusion, while retaining links to .tex files as links.
---
 lisp/ob-R.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ob-R.el b/lisp/ob-R.el
index 8db0853..9875f81 100644
--- a/lisp/ob-R.el
+++ b/lisp/ob-R.el
@@ -237,7 +237,7 @@ current code buffer."
         '((:bmp . "bmp")
           (:jpg . "jpeg")
           (:jpeg . "jpeg")
-          (:tex . "tikz")
+          (:tikz . "tikz")
           (:tiff . "tiff")
           (:png . "png")
           (:svg . "svg")
-- 
1.8.1.4




reply via email to

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