[O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello, I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as self-contained as possible (I don't want them to have to change their emacs configuration file). To change the documentclass name of the exported article, I

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Feng Shu
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as self-contained as possible (I don't want them to have to change their emacs configuration file).To

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Fabrice Niessen
Feng Shu wrote: Alan Schmitt alan.schm...@polytechnique.org writes: I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as self-contained as possible (I don't want them to have to change their emacs configuration

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Feng Shu tuma...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as self-contained as possible (I don't want them to have to change

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello Fabrice, Fabrice Niessen fni-n...@pirilampo.org writes: You could have a look at Orgmk [1], a suite of shell scripts I wrote with the following goals in mind: - to be more productive, by running the export only when the source Org files are updated. - *to share some common Emacs

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Nicolas Goaziou
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as self-contained as possible (I don't want them to have to change their emacs configuration file). To

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: My questions are: - is there a way to do this without an emacs-lisp block? Yes there is, with a BIND keyword, e.g.: #+BIND: org-latex-classes ((article \\documentclass{llncs} (\\section{%s} . \\section*{%s}))) Though you need

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Nicolas Goaziou
Alan Schmitt alan.schm...@polytechnique.org writes: It is in a :noexport: section already. Here is a quick test. Exporting * Test :noexport: #+begin_src sh echo date 1 ~/tmp/results echo `date` ~/tmp/results #+end_src #+begin_src sh :exports results :results silent echo date 2

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: It is in a :noexport: section already. Here is a quick test. Exporting * Test :noexport: #+begin_src sh echo date 1 ~/tmp/results echo `date` ~/tmp/results #+end_src #+begin_src sh

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Thomas S. Dye
Alan Schmitt alan.schm...@polytechnique.org writes: I usually export in offline mode, so I can keep editing while the export is going on. If you and your colleagues export asynchronously, then the document class (and other environment changes) can be placed in an initialization file for the

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello Tom, t...@tsdye.com (Thomas S. Dye) writes: Alan Schmitt alan.schm...@polytechnique.org writes: I usually export in offline mode, so I can keep editing while the export is going on. If you and your colleagues export asynchronously, then the document class (and other environment

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Richard Lawrence
Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: Feng Shu tuma...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as