From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Portable formatting of export? Date: Tue, 22 Oct 2013 09:49:35 +0200 Message-ID: <87li1l7njk.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYWgM-0002nY-0x for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 03:47:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYWgE-0001me-Lz for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 03:47:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:51623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYWgE-0001mV-FI for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 03:47:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYWgC-0007Gg-Mv for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 09:47:04 +0200 Received: from dynamic-adsl-94-34-254-188.clienti.tiscali.it ([94.34.254.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Oct 2013 09:47:04 +0200 Received: from rasmus by dynamic-adsl-94-34-254-188.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Oct 2013 09:47:04 +0200 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Klaus, Klaus-Dieter Bauer writes: > This left me wondering however, if it is possible to create org files that > will produce the same output on every machine, regardless of the local > emacs customizations (of course assuming that no hacks of the export engine > are part of the configuration). The authority on fully reproducible exports on this list is Thomas S. Dye. You might be able to find his posts searching for "Aloha". I believe he has a per-project .el file with settings. You could also have settings in a Babel emacs-lisp block. I do that sometimes. Then use e.g. org-babel-load-file. > In order to make the files more portable I have been trying to make changes > affecting export with things like #+LATEX_HEADER: but e.g. changing the > documentclass to scrartcl seems to be possible only by changing a > customization variable (org-latex-classes). Customizatoins through org-latex-classes are a lot more comfortable than adding all those LaTeX headers IMO. > Is it possible to make the export engine assume defaults for all > customization variables for a file (preferably through an in-file setting) > and to specify those customization inside the file? Yes. And you can always check that it works as expected with emacs -q. –Rasmus -- May the Force be with you