From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: Export / LaTeX / suggestion Date: Tue, 7 May 2013 23:34:56 +0200 Message-ID: References: <87wqrapk29.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a7fe6d79c7704dc2797b4 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZpXd-0002ns-V3 for emacs-orgmode@gnu.org; Tue, 07 May 2013 17:35:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZpXZ-0004UC-Al for emacs-orgmode@gnu.org; Tue, 07 May 2013 17:35:21 -0400 Received: from mail-ee0-f47.google.com ([74.125.83.47]:50934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZpXZ-0004U7-3c for emacs-orgmode@gnu.org; Tue, 07 May 2013 17:35:17 -0400 Received: by mail-ee0-f47.google.com with SMTP id b47so575561eek.34 for ; Tue, 07 May 2013 14:35:16 -0700 (PDT) In-Reply-To: <87wqrapk29.fsf@gmail.com> 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: Fabrice Popineau , "emacs-orgmode@gnu.org" --047d7b3a7fe6d79c7704dc2797b4 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable > I don=92t think you want to do that =96 each backend (latex, html, etc.) > could have its own incompatible keywords. You are right. I was thinking of dropping them if they were unkown to the current backend, but it is not exactly a solution. > (I=92ve got a solution to this that I=92ve been using for the past severa= l > weeks, but it involves several interlocking pieces and is too messy to > be shared still. In brief, it comprises extending the parser to handle > :keywords on a #+begin_foo line, and extending the exporter backends to > allow different types of block (definition, quote, etc.) to be formatted > using that information. I=92m busy with exams at the moment, but in a > week or so I hope to have some free time to work on it, among other > org-related projects.) LaTeX (and worse beamer) are known to require lots of markup (sometimes more than actual text). The real org-mode asset is to remove lots of markup. Maybe we should just avoid to reintroduce too much of this markup, even if it is hidden in drawers and so on. This was a general remark. I'm very interested in reading what you have been able to achieve. My primary concern was to be able to fold the #+begin_environment and to be able to copy/paste it without having to mark the #+attr_ previous line. Best regards, Fabrice --047d7b3a7fe6d79c7704dc2797b4 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

=
I don=92t think you want to do that =96 each= backend (latex, html, etc.)
could have its own incompatible keywords. =A0

You are right. I was thinking of dropping them if they were unkown= to the current backend,
but it is not exactly a solution.<= /div>
=A0
(I=92ve got a solution to this= that I=92ve been using for the past several
weeks, but it involves several interlocking pieces and is too messy to
be shared still. =A0In brief, it comprises extending the parser to handle :keywords on a #+begin_foo line, and extending the exporter backends to
allow different types of block (definition, quote, etc.) to be formatted using that information. =A0I=92m busy with exams at the moment, but in a week or so I hope to have some free time to work on it, among other
org-related projects.)

LaTeX (and wor= se beamer) are known to require lots of markup (sometimes more than actual = text).
The real org-mode asset is to remove lots of markup.=
Maybe we should just avoid to reintroduce too much of this marku= p, even if it is hidden in drawers and so on.

This was a general remark. I'm very interested in reading what = you have been able to achieve.

My primary concern was to be able to fold t= he #+begin_environment and to be able to copy/paste it
with= out having to mark the #+attr_ previous line.

Best regards,

Fabrice
=
--047d7b3a7fe6d79c7704dc2797b4--