From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Removing the date in a subtree export using the new exporter Date: Fri, 09 Nov 2012 19:16:15 +0100 Message-ID: References: <87fw4jli5t.fsf@gmail.com> <87bof6ww06.fsf@gmail.com> <475910C9-2188-4BF8-8CD7-06D8535391AA@polytechnique.org> <87390iwv3y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWt7s-0004LN-Hd for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 13:16:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWt7r-00036H-6C for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 13:16:20 -0500 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:18233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWt7q-000368-Vk for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 13:16:19 -0500 In-Reply-To: <87390iwv3y.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 09 Nov 2012 18:21:05 +0100") 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: emacs-orgmode --=-=-= Content-Type: text/plain Nicolas Goaziou writes: > Alan Schmitt writes: > >> I'll do this when I get back near a computer. > > Great. Attached. With another question: should the patch be sent to the list, or just to you (or any other process)? >> Also, about the FSF papers, is there a link for this procedure? > > Certainly: http://orgmode.org/worg/org-contribute.html (in particular > the second section, but the whole page in interesting). > > It basically boils down to sending a text form to assign@gnu.org. I'll look into it. Alan --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-org-export-Output-date-in-LaTeX-export-when-with-dat.patch >From f11683e9de7b1073c6f474fd2236f584c44299e1 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Fri, 9 Nov 2012 19:12:37 +0100 Subject: [PATCH] org-export: Output "\date{}" in LaTeX export when :with-date is nil * contrib/lisp/org-e-latex.el (org-e-latex-template): output "\date{}" instead of nothing when :with-date is nil TINYCHANGE --- contrib/lisp/org-e-latex.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el index 64908b9..9534a79 100644 --- a/contrib/lisp/org-e-latex.el +++ b/contrib/lisp/org-e-latex.el @@ -1026,9 +1026,10 @@ holding export options." (format "\\author{%s\\thanks{%s}}\n" author email)) ((or author email) (format "\\author{%s}\n" (or author email))))) ;; Date. - (when (plist-get info :with-date) + (if (plist-get info :with-date) (let ((date (org-export-data (plist-get info :date) info))) - (and date (format "\\date{%s}\n" date)))) + (and date (format "\\date{%s}\n" date))) + "\\date{}\n") ;; Title (format "\\title{%s}\n" title) ;; Hyperref options. -- 1.7.9.6 (Apple Git-31.1) --=-=-=--