[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: |
Nicolas Goaziou |
Subject: |
Re: [O] Removing the date in a subtree export using the new exporter |
Date: |
Fri, 09 Nov 2012 18:01:45 +0100 |
Alan Schmitt <address@hidden> writes:
> I wanted to fix this and saw that you already did. However it seems that
> LaTeX still adds a date when a "\maketitle" happens with no date
> specified. This small patch should fix this.
>
> 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.
>
>
> (Please let me know if it's not the good format to send the patch.)
It's better if you can provide a changelog entry and send it with "git
format-patch". Also, if you did not sign FSF papers, you will have to
add "TINYCHANGE" at the end of the change log.
Thank you.
Regards,
--
Nicolas Goaziou
- [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 <=
- 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, Bastien, 2012/11/13