From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Override the default class name with a new one. Date: Fri, 14 Jun 2013 15:36:20 +0200 Message-ID: <87k3lw24rv.fsf@gmail.com> References: <87hah2wn8y.fsf@news.tumashu-localhost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnUAs-0005DA-Re for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 09:36:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnUAr-0004HR-MN for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 09:36:18 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:53899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnUAr-0004HI-G4 for emacs-orgmode@gnu.org; Fri, 14 Jun 2013 09:36:17 -0400 Received: by mail-we0-f182.google.com with SMTP id p60so503504wes.41 for ; Fri, 14 Jun 2013 06:36:16 -0700 (PDT) In-Reply-To: <87hah2wn8y.fsf@news.tumashu-localhost.org> (Feng Shu's message of "Thu, 13 Jun 2013 14:14:37 +0800") 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: Feng Shu Cc: orgmode Hello, Feng Shu writes: > #+LATEX_CLASS: article > > %%output: > > \documentclass[11pt]{article} > > ... > > -------------------------------------- > > #+LATEX_CLASS: article > #+LATEX_CLASS_NAME: ctexart > > %%output: > > \documentclass[11pt]{ctexart} > > .... Thanks for your patch. Though, it adds another keyword and another defcustom without providing any new functionality. I understand it is a shortcut, but the cons, IMO, outweigh the pros : adding a new class to `org-latex-classes' is a bit more tedious, but needs to be done only once. Therefore, unless you convince me this feature brings something new, or clearly eases a process, I'll stand on my ground. Regards, -- Nicolas Goaziou