emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Removing the date in a subtree export using the new exporter
Date: Fri, 09 Nov 2012 19:16:15 +0100	[thread overview]
Message-ID: <m2sj8iabgw.fsf@top.irisa.fr> (raw)
In-Reply-To: <87390iwv3y.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 09 Nov 2012 18:21:05 +0100")

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Alan Schmitt <alan.schmitt@polytechnique.org> 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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-export-Output-date-in-LaTeX-export-when-with-dat.patch --]
[-- Type: text/x-patch, Size: 1201 bytes --]

From f11683e9de7b1073c6f474fd2236f584c44299e1 Mon Sep 17 00:00:00 2001
From: Alan Schmitt <alan.schmitt@polytechnique.org>
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)


  reply	other threads:[~2012-11-09 18:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-08 10:06 Removing the date in a subtree export using the new exporter Alan Schmitt
2012-11-09  0:43 ` Nicolas Goaziou
2012-11-09 16:30   ` Alan Schmitt
2012-11-09 17:01     ` Nicolas Goaziou
2012-11-09 17:17       ` Alan Schmitt
2012-11-09 17:21         ` Nicolas Goaziou
2012-11-09 18:16           ` Alan Schmitt [this message]
2012-11-09 19:29             ` Nicolas Goaziou
2012-11-13 22:14               ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2sj8iabgw.fsf@top.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).