From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Portable formatting of export? Date: Mon, 21 Oct 2013 13:55:28 -0600 Message-ID: <87sivus8jz.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYLZv-0000tR-46 for emacs-orgmode@gnu.org; Mon, 21 Oct 2013 15:55:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYLZp-0003tt-Qi for emacs-orgmode@gnu.org; Mon, 21 Oct 2013 15:55:51 -0400 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:50229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYLZp-0003te-Ik for emacs-orgmode@gnu.org; Mon, 21 Oct 2013 15:55:45 -0400 Received: by mail-pa0-f48.google.com with SMTP id bj1so8547120pad.21 for ; Mon, 21 Oct 2013 12:55:44 -0700 (PDT) In-Reply-To: (Klaus-Dieter Bauer's message of "Mon, 21 Oct 2013 21:39:54 +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: Klaus-Dieter Bauer Cc: org-mode mailing list This can be done with file local variables. See the following page of the Emacs manual. (info "(emacs)Specifying File Variables") Klaus-Dieter Bauer writes: > Hello! > > I have customized org export to both html and latex extensively since I > disliked many of the defaults (e.g. the use of article vs scrartcl, red > borders around pdf hyperlinks). > > 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). > > 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). > > 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? > > - Klaus -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D