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

2013-08-02 Thread Christophe Rhodes
Christophe Rhodes 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 wi

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

2013-07-31 Thread Christophe Rhodes
Nicolas Goaziou writes: > Christophe Rhodes 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 i

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

2013-07-31 Thread Christophe Rhodes
Brett Viren writes: > Christophe Rhodes 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 >&

[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 fin

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

2011-12-14 Thread Christophe Rhodes
Christophe Rhodes writes: > Christophe Rhodes writes: > >> Carsten Dominik 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 pa

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

2011-12-07 Thread Christophe Rhodes
Hi, Christophe Rhodes writes: > Carsten Dominik 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 attach

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

2011-12-02 Thread Christophe Rhodes
Niels Giesen 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 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 h

[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 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: Chris

[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 op

[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
:00 2001 From: Christophe Rhodes Date: Fri, 20 May 2011 12:12:45 +0100 Subject: [PATCH] fix race condition in ob-R write-object-command * lisp/ob-R.el (org-babel-R-write-object-command): write the object to a temporary file, then move that temporary file in place to transfer.file --- lisp/ob-R.el |

[O] [PATCH] customize latex table export

2011-05-19 Thread Christophe Rhodes
not the optimal way 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 Date: Thu, 19 May 2011 13:20:43 +0100 Subject: [PATCH 2/2] allow

Re: [O] Options for HTML & PDF export

2011-05-19 Thread Christophe Rhodes
writes: > On 5/18/11 4:19 PM, "Nick Dokos" 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 of course, >>but other than that I don't kn

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

2011-05-19 Thread Christophe Rhodes
>From 804e8f45357a3e877e10af8680023f64ab4690b2 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes 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-cod