* Sylvain ROUSSEAU <[email protected]> wrote: > hi, Hi!
> apparently, reftex-format-citation needs a string as a format. I thought so. > Advising that function seems to work! > > (defadvice reftex-format-citation (before eval-citation-format) > (setq format (eval format))) > > and just drop the lambda insert thing ;) > > (?h . (concat "* %l - %t\n:PROPERTIES:\n:Created: " > (format-time-string (org-time-stamp-format t t)) > "\n:Custom_ID: %l\n:END:\n[[papers:%l][%l-pdf]] [[bib:%l][% > l-bib]]")) Wow, this works actually. Thank you! Although there is one small issue with the solution above: it results in a so called »inactive timestamp« which is surrounded by square brackets »[...]«. See also [1]. My world would be perfect if there would be an »active timestamp« surrounded by inequality signs »<...>« Is this a major hack or do you know this change too? Thanks again! 1. http://orgmode.org/manual/Timestamps.html#Timestamps -- Karl Voit Hallo, mein Name ist Web 2.0. Gib mir dein Adressbuch und lass mich Emails lesen _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
