From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: BEGIN_LATEX_HEADER [cont] Date: Sat, 21 Jun 2014 20:42:39 -0400 Message-ID: <87tx7dbwqo.fsf@gmail.com> References: <87wqccbgvj.fsf@gmail.com> <864mzghvcl.fsf@somewhere.org> <87ppi4t15s.fsf@nicolasgoaziou.fr> <87simzu6f4.fsf@nicolasgoaziou.fr> <87mwd624xg.fsf@gmail.com> <87simyk796.fsf@nicolasgoaziou.fr> 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]:51146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyVru-0001eQ-UC for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 20:42:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyVrl-0004Nr-Sm for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 20:42:50 -0400 Received: from mail-qc0-x22e.google.com ([2607:f8b0:400d:c01::22e]:40268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyVrl-0004Nn-OD for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 20:42:41 -0400 Received: by mail-qc0-f174.google.com with SMTP id x13so4887478qcv.33 for ; Sat, 21 Jun 2014 17:42:41 -0700 (PDT) In-Reply-To: <87simyk796.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou , Ken Mankoff Cc: emacs-orgmode@gnu.org Hi Nicolas, 2014ko ekainak 21an, Nicolas Goaziou-ek idatzi zuen: >=20 > Hello, >=20 > Aaron Ecay writes: >=20 >> 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 = org >> using org-edit-special, syntax highlighting of src blocks, etc. >=20 > This is a no-op since you only do it a limited number of times, i.e. > once for each document type. If you do it once, then it=E2=80=99s not a no-op, by definition. I think y= ou mean that you disagree in the amount which you weight this as a concern, which is a reasonable opinion to have. But phrasing it in the way you did is inaccurate and rather curt. FWIW, in my experience latex (or any) code rarely flows from mind to keyboard perfectly in the first attempt; there is some period of revision, during which convenient editing matters. >=20 >> 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. >=20 > This is also a no-op. You cannot be serious about reproducible research > if you don't share `org-export-async-init-file' anyway. This is also not true (or it=E2=80=99s some kind of value judgment). Org= =E2=80=99s default settings + #+bind + local variables can do quite a bit. >=20 > 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). This is basically making the user do (something like) org-edit-special manually. It can probably be automated somewhat =E2=80=93 I=E2=80=99ll wor= k on a patch. Thanks, --=20 Aaron Ecay