From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: BEGIN_LATEX_HEADER [cont] Date: Sat, 21 Jun 2014 10:16:05 +0200 Message-ID: <87simyk796.fsf@nicolasgoaziou.fr> References: <87wqccbgvj.fsf@gmail.com> <864mzghvcl.fsf@somewhere.org> <87ppi4t15s.fsf@nicolasgoaziou.fr> <87simzu6f4.fsf@nicolasgoaziou.fr> <87mwd624xg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyGSY-000774-6I for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 04:15:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyGSM-0007s8-KJ for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 04:15:38 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:57625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyGSM-0007qb-EQ for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 04:15:26 -0400 In-Reply-To: <87mwd624xg.fsf@gmail.com> (Aaron Ecay's message of "Sat, 21 Jun 2014 01:43:39 -0400") 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: Ken Mankoff Cc: emacs-orgmode@gnu.org Hello, Aaron Ecay writes: > The first is that editing non-trivial latex code embedded in an elisp > string quickly becomes tedious, whereas it=E2=80=99s much pleasanter in o= rg > using org-edit-special, syntax highlighting of src blocks, etc. This is a no-op since you only do it a limited number of times, i.e. once for each document type. > The second is that it=E2=80=99s impossible to share without distributing = elisp > code. From the twin standpoints of reproducible research and security, > I think org ought to maximize the degree to which export use cases are > sharable without resorting to executing elisp code. This is also a no-op. You cannot be serious about reproducible research if you don't share `org-export-async-init-file' anyway. Eventually, if you insist on writing your full preamble within the document, you can start to write it in a LaTeX-mode buffer, copy it in your Org document and add "#+LATEX_HEADER: " in front of each line. This last step is done easily with `string-rectangle' (C-x r t). Regards, --=20 Nicolas Goaziou