From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Niessen Subject: Re: Better way to specify the latex documentclass of an exported file without changing my configuration? Date: Wed, 26 Mar 2014 13:38:46 +0100 Message-ID: <8661n1w2w9.fsf@somewhere.org> References: <87ob0tjorv.fsf@news.tumashu-localhost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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 documentclass name of the >> exported > > Maybe you can write a Makefile to change their emacs configure... 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 configuration inside your team*, separately of what you have in your personal Emacs configuration file. - to offload compilation into an external batch Emacs process, allowing you to go on editing or working while exporting the documents. You just need to install it, and then using it is a simple as: --8<---------------cut here---------------start------------->8--- org2html [OPTION] FILE org2latex [OPTION] FILE org2pdf [OPTION] FILE org2beamerpdf [OPTION] FILE org2odt [OPTION] FILE org2txt [OPTION] FILE orgmk [OPTION] orgmk [OPTION] [html | pdf] orgmk [OPTION] [FILE] --8<---------------cut here---------------end--------------->8--- Best regards, Fabrice [1] https://github.com/fniessen/orgmk -- Fabrice Niessen Leuven, Belgium http://www.pirilampo.org/