Hello,

Often when I write ORG files, I use the exact same content for TITLE and 
DESCRIPTION, and almost the same thing for KEYWORDS:
#+TITLE: My Great Title
#+DESCRIPTION: My Great Title
#+KEYWORDS: My, Great, Title

I discovered recently that I could use pre-defined macro to fill the 2 extra 
fields automatically, like this (not exactly what I want for KW, but it's OK 
for the moment) [see attached MWE]:
#+TITLE: My Great Title
#+DESCRIPTION: {{{TITLE}}}
#+KEYWORDS: {{{TITLE}}}

When I export to PDF using LaTeX exporter, the "Properties" of the file get set 
correctly. See 2nd attached image.

However, when I export with ODT, the "SUBJECT" and "KEYWORDS" elements receive the raw 
string "{{{TITLE}}}" instead of the evaluation of the macro.

I think this is a small bug in the ODT export...

Thanks

Guillaume
#+TITLE: My Great Title
#+AUTHOR: Guillaume MULLER
EMAIL: guillaume.mul...@emse.fr
#+DATE: {{{time(%Y-%m-%d %a %H:%M)}}} C-c .
#+DESCRIPTION: {{{TITLE}}}
#+KEYWORDS: {{{TITLE}}}

* test

Attachment: OpenPGP_0xF3BCAD9F46F5FADC.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to