Re: [O] org-export-current-backend variable and org-mode 8

2013-08-02 Thread Christophe Rhodes
Christophe Rhodes cs...@cantab.net writes: The `by-backend' macro in Brett Viren's message upthread? Personally I don't consider that sufficient, because it feels very fragile: a simple renaming of org-mode internal variables, or turning on lexical binding, and the macro will no longer work

[O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Christophe Rhodes
Hi, In org-mode 7, I was able to use the (documented) variable org-export-current-backend to test what the current backend is, allowing me to dynamically produce and include images of different formats depending on whether I was exporting to latex (tikz) or html (png). In org-mode 8, I cannot

Re: [O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Christophe Rhodes
Brett Viren b...@bnl.gov writes: Christophe Rhodes cs...@cantab.net writes: In org-mode 7, I was able to use the (documented) variable org-export-current-backend to test what the current backend is, allowing me to dynamically produce and include images of different formats depending

Re: [O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Christophe Rhodes
Nicolas Goaziou n.goaz...@gmail.com writes: Christophe Rhodes cs...@cantab.net writes: so that if (as I hope) org-export-current-backend makes a later reappearance, my documents can work with both org-mode 7 and 8, and maybe 9? I'm hoping that the disappearance of the variable

Re: [O] [PATCH] customize latex table export

2011-12-14 Thread Christophe Rhodes
Christophe Rhodes cs...@cantab.net writes: Christophe Rhodes cs...@cantab.net writes: Carsten Dominik carsten.domi...@gmail.com writes, a long time ago: would it be better to be able to set these parameters on a per-table basis with ATTR_LaTeX ? Would you like to try to prepare a patch

Re: [O] [PATCH] customize latex table export

2011-12-07 Thread Christophe Rhodes
Hi, Christophe Rhodes cs...@cantab.net writes: Carsten Dominik carsten.domi...@gmail.com writes, a long time ago: would it be better to be able to set these parameters on a per-table basis with ATTR_LaTeX ? Would you like to try to prepare a patch to this effect? Find attached a patch

Re: [O] [PATCH] customize latex table export

2011-12-02 Thread Christophe Rhodes
Niels Giesen niels.gie...@gmail.com writes: Could you provide us with a minimal example of how this new functionality can be used? Sure, sorry. Here we go: --- start here --- #+TITLE: Example of using hfmt #+AUTHOR: Christophe Rhodes * Introduction This document shows the use of the =hfmt

Re: [O] [PATCH] customize latex table export

2011-11-29 Thread Christophe Rhodes
Carsten Dominik carsten.domi...@gmail.com writes, a long time ago: On May 19, 2011, at 2:34 PM, Christophe Rhodes wrote: To produce documents in something approaching my organization's house style, I need to be able to style the headers of tables. It's nice that orgtbl has the functionality

[O] [bug] latex export of link in footnotes

2011-11-15 Thread Christophe Rhodes
Hi, The below org file in 7.7 and today's git, when exported through LaTeX, results in an invalid link in the footnote, pointing to an undefined label named Foo. The link in the body is correctly exported to the automatically-generated sec-1 label; HTML output seems correct in both cases. * Foo

[O] [patch] Re: LATEX_CLASS_OPTIONS in SETUPFILE

2011-10-26 Thread Christophe Rhodes
Christophe Rhodes cs...@cantab.net writes: I believe that the reason is that LATEX_CLASS_OPTIONS is not handled within org-infile-export-plist in org-exp.el. Please find a patch attached addressing this issue. From 1f92aed1a882f93af78c57c67bd6f12401db877e Mon Sep 17 00:00:00 2001 From

[O] LATEX_CLASS_OPTIONS in SETUPFILE

2011-10-20 Thread Christophe Rhodes
Hi, When using #+SETUPFILE and exporting via LaTeX, the LATEX_CLASS_OPTIONS provided in the included file are ignored. With the following two files in the same directory, doing C-c C-e L (org-export to a temporary LaTeX buffer) produces a documentclass with class report (good, as expected) and

[O] org-babel R, export, and :result value raw

2011-09-15 Thread Christophe Rhodes
Hi, Consider the following org-mode file, assuming that org-babel support for emacs lisp and R is active: --- begin --- #+TITLE: Foo #+begin_src emacs-lisp :exports results :results value raw [[file:foo.png]] #+end_src #+results: [[foo.png]] #+begin_src R :exports results :results value raw

[O] [patch] race condition in org-babel R

2011-05-20 Thread Christophe Rhodes
. write.table() creates its output file 2. emacs notices its existence, and reads it 3. write.table() gets round to writing .Last.value to the file. The attached patch has made exporting much more reliable for me. From 62aa24a7979d687dd5136775004ff7ff5584564a Mon Sep 17 00:00:00 2001 From: Christophe

[O] [PATCH] References header in org-exp-bibtex

2011-05-19 Thread Christophe Rhodes
804e8f45357a3e877e10af8680023f64ab4690b2 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes cs...@cantab.net Date: Thu, 19 May 2011 13:17:15 +0100 Subject: [PATCH 1/2] provide References header in html export using org-exp-bibtex * contrib/lisp/org-exp-bibtex.el (org-export-bibtex-preprocess): include hard-coded

Re: [O] Options for HTML PDF export

2011-05-19 Thread Christophe Rhodes
ken.willi...@thomsonreuters.com writes: On 5/18/11 4:19 PM, Nick Dokos nicholas.do...@hp.com wrote: What is the problem with PNG exactly? I've never had any problems incorporating them into a PDF. It is a bitmap format, so it will not suffer extreme changes in magnification without some ugliness

[O] [PATCH] customize latex table export

2011-05-19 Thread Christophe Rhodes
of doing things; while this solves my immediate problem there is likely to be a more general way of doing things. From 68160f0c7c54309e76d882f871ad01a019e9acab Mon Sep 17 00:00:00 2001 From: Christophe Rhodes cs...@cantab.net Date: Thu, 19 May 2011 13:20:43 +0100 Subject: [PATCH 2/2] allow