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 writes: > Feng Shu writes: > >> Alan Schmitt 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 cha

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

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 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 asynchronous process. An appro

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 writes: > Alan Schmitt 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 :resu

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 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" >> ~/tmp/resul

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 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
Hello, Alan Schmitt 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 change the documentclass name o

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 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 and Org configura

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 writes: > Alan Schmitt 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 c

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 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 change the docum

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 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 change the documentclass name

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