From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Problem with org-entities-user Date: Wed, 19 Sep 2012 19:00:47 +0200 Message-ID: <874nmuhrr4.fsf@bzg.ath.cx> References: <87k3vtgnhy.fsf@gmail.com> <87sjaeduh5.fsf@gmail.com> <7CC1FB98-B071-429C-A230-B91D461104FD@gmail.com> <87d31idn1v.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TENdu-0004Bn-3w for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 13:00:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TENdq-00006D-0V for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 13:00:54 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:39285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TENdp-00005z-Ob for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 13:00:49 -0400 Received: by weys10 with SMTP id s10so777503wey.0 for ; Wed, 19 Sep 2012 10:00:48 -0700 (PDT) In-Reply-To: <87d31idn1v.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 19 Sep 2012 17:55:56 +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: Nicolas Goaziou Cc: Org-mode , "Thomas S. Dye" , Carsten Dominik Hi, Nicolas Goaziou writes: > My point is not about removing anything related to LaTeX syntax. I'm > fine with a \cite{...} (although I think [[cite:...]] may be cleaner) as > long as it really is accepted by most major export back-ends. > > But I think accepting raw commands like \vspace, \hfill and al. is not > necessary (as long as there's still a way to send them to the export > back-end). We shouldn't trick users into thinking these commands will be > obeyed in any situation. The contrast between \cite{...} and \hfill is interesting: the former has an intuitive meaning in non-LaTeX backends too, so I agree [[cite:...]] would be better here, but \hfill is a pure LaTeXism (as are inline $...$ formulas for example.) If we had a general syntax like [[cite:...]], then allowing the \cite{...} latexism would be convenient but redundant, and we could safely advise against using it. But pure latexisms like \hfill have no intuitive equivalent in other backends, and there is no ambiguity on what the user expects when he uses this -- so accepting them is convenient. Forcing #+LATEX: before these constructs would slow down editing the buffer. So here is the Occam's razor I suggest: let's generalize as much as possible, and let's handle as much latexisms as possible. -- Bastien