Max Nikulin <maniku...@gmail.com> writes:

>>       (let ((date (and (plist-get info :with-date) (org-export-get-date 
>> info))))
>> -       (format "\\date{%s}\n" (org-export-data date info)))
>> +       (cond date
>
> I would consider (plist-get info :with-date) instead of date here to 
> allow to suppress date in the title by
>
> #+options: title:t date:t
> #+date:
>
> With such approach to avoid \date{} in the latex file date:nil can be 
> used in the options line.
>
>> +             (format "\\date{%s}\n" (org-export-data date info))))

I am sorry, but I do not understand.

I tried

#+options: title:t date:nil

No \date is exported.

#+options: title:t date:t

\date is exported

#+options: title:t date:t
#+date:

No date is export.

All the above makes sense. Do I miss something?

Best,
Ihor

Reply via email to