On 31/07/2022 09:38, Ihor Radchenko wrote:
Max Nikulin writes:
All the above makes sense. Do I miss something?
To be precise, \date is not exported to LaTeX file, but current date
appears in PDF. That is why I consider the change as a breaking one.
Try to export to PDF the following document.
---- >8 ----
#+options: title:t
# #+options: date:nil
# #+date:
#+title: Title
test
---- 8< ----
PDF file is produced with current date. Before the patch it was possible
to suppress date in PDF file by removing comment for either "#+options:
date:nil" or for "#+date:". With current main branch HEAD some other
workaround is required. I think, it is not what is expected from the
description of the #+options: keyword:
Agree. I did not know about this LaTeX default.
Bob, do you have any ideas? I am inclined to revert the patch.
We may ask the maintainer of ox-latex Daniel Fleischer if a better way
to handle \date exists.
Bob, could you, please, provide more detail concerning your use case and
the purpose of the patch?