From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Shu Subject: Re: [PATCH] Override the default class name with a new one. Date: Fri, 14 Jun 2013 17:55:56 +0800 Message-ID: <87vc5hc8yb.fsf@news.tumashu-localhost.org> References: <87hah2wn8y.fsf@news.tumashu-localhost.org> <8761xhftwi.fsf@news.tumashu-localhost.org> <87d2rp8370.fsf@pank.home> 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]:34312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnRym-0000zh-At for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 07:15:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnRyk-0004vX-9l for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 07:15:40 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:44990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnRyj-0004v9-Ra for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 07:15:38 -0400 Received: by mail-pa0-f46.google.com with SMTP id fa11so552575pad.33 for ; Fri, 14 Jun 2013 04:15:37 -0700 (PDT) In-Reply-To: <87d2rp8370.fsf@pank.home> (rasmus@gmx.us's message of "Fri, 14 Jun 2013 11:13:55 +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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Feng Shu writes: > >> #+LATEX_CLASS: article >> #+LATEX_CLASS_NAME: ctexart > > I'm not sure this is the right approach. . . I can certainly see the > value of generating classes on the fly, though. But somehow the > proposed syntax just seems to counter-intuitive. I'm not sure how to > overcome this, but perhaps it would be better to allow for an argument > to LATEX_CLASS, e.g. > > (*) #+LATEX_CLASS: myclass :class-name ctexart. CLASS and class-name are confusing, I think LATEX_CLASS should rename to LATEX_CLASS_FORMAT or LATEX_CLASS_TEMPLATE, but this will break=20 compatibility. > > as e.g. the INCLUDE command. Of course (*) is somewhat different from > how stuff like this is usually handled, cf. e.g. LATEX_CLASS_OPTIONS. > > =E2=80=93Rasmus --=20