[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Removing the date in a subtree export using the new exporter
From: |
Alan Schmitt |
Subject: |
Re: [O] Removing the date in a subtree export using the new exporter |
Date: |
Fri, 09 Nov 2012 19:16:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) |
Nicolas Goaziou <address@hidden> writes:
> Alan Schmitt <address@hidden> 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 address@hidden
I'll look into it.
Alan
>From f11683e9de7b1073c6f474fd2236f584c44299e1 Mon Sep 17 00:00:00 2001
From: Alan Schmitt <address@hidden>
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)
- [O] Removing the date in a subtree export using the new exporter, Alan Schmitt, 2012/11/08
- Re: [O] Removing the date in a subtree export using the new exporter, Nicolas Goaziou, 2012/11/08
- Re: [O] Removing the date in a subtree export using the new exporter, Alan Schmitt, 2012/11/09
- Re: [O] Removing the date in a subtree export using the new exporter, Nicolas Goaziou, 2012/11/09
- Re: [O] Removing the date in a subtree export using the new exporter, Alan Schmitt, 2012/11/09
- Re: [O] Removing the date in a subtree export using the new exporter, Nicolas Goaziou, 2012/11/09
- Re: [O] Removing the date in a subtree export using the new exporter,
Alan Schmitt <=
- Re: [O] Removing the date in a subtree export using the new exporter, Nicolas Goaziou, 2012/11/09
- Re: [O] Removing the date in a subtree export using the new exporter, Bastien, 2012/11/13