emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: `#+OPTIONS: <:nil' has no effect when exporting to LaTeX [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)]
@ 2019-08-13  9:08 Jakob Rosenblattl via Emacs-orgmode
  2019-08-13 12:31 ` Fraga, Eric
  0 siblings, 1 reply; 2+ messages in thread
From: Jakob Rosenblattl via Emacs-orgmode @ 2019-08-13  9:08 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

When I export to LaTeX, the created LaTeX file contains \date{\today}.
However, I don't want it to show the date.  Using #+OPTIONS: date:nil
the LaTeX result will contain \date{} instead, which indeed hides the
date, but now there's empty space in place of the date when compiled to
a PDF document, which is undesirable.  As per the manual the argument <
to the OPTIONS keyword is supposed to "[t]oggle inclusion of time/date
active/inactive stamps (org-export-with-timestamps)".  Putting
#+OPTIONS: <:nil, however, has no effect at all; \date{\today} will
still end up in the LaTeX export.

Do I misunderstand the meaning of the argument <?  How can I prevent the
awkward space in the final PDF where the date would normally be?

Thank you!

Emacs  : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8)
of 2019-04-12
Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)

[-- Attachment #2: Type: text/html, Size: 1227 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: `#+OPTIONS: <:nil' has no effect when exporting to LaTeX [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)]
  2019-08-13  9:08 Bug: `#+OPTIONS: <:nil' has no effect when exporting to LaTeX [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)] Jakob Rosenblattl via Emacs-orgmode
@ 2019-08-13 12:31 ` Fraga, Eric
  0 siblings, 0 replies; 2+ messages in thread
From: Fraga, Eric @ 2019-08-13 12:31 UTC (permalink / raw)
  To: Jakob Rosenblattl via Emacs-orgmode; +Cc: Jakob Rosenblattl

On Tuesday, 13 Aug 2019 at 09:08, Jakob Rosenblattl via Emacs-orgmode wrote:
> Do I misunderstand the meaning of the argument <?  How can I prevent the
> awkward space in the final PDF where the date would normally be?

Yes, I think you misunderstood the meaning of the <: option.  It affects
timestamps, not the document's date.  If you want to remove the
document's date, I suggest this line:

#+date:

i.e. a date line with no actual date.  I believe this works fine.  Try
it and see.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-399-g4e6222

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-13 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13  9:08 Bug: `#+OPTIONS: <:nil' has no effect when exporting to LaTeX [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)] Jakob Rosenblattl via Emacs-orgmode
2019-08-13 12:31 ` Fraga, Eric

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).