From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julius Dittmar Subject: Q: add contents of a property to LaTeX export? Date: Wed, 30 Oct 2019 12:44:54 +0100 Message-ID: <007cbf7a-60ea-30bd-4f18-d9493a465812@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55768) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPmPT-0007OH-Lg for emacs-orgmode@gnu.org; Wed, 30 Oct 2019 07:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPmPS-0006On-Jp for emacs-orgmode@gnu.org; Wed, 30 Oct 2019 07:45:07 -0400 Received: from mout.gmx.net ([212.227.15.15]:51163) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPmPS-0006Kv-5q for emacs-orgmode@gnu.org; Wed, 30 Oct 2019 07:45:06 -0400 Received: from [192.168.175.209] ([87.139.53.30]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MPGRz-1ibWOU3rht-00Pd4F for ; Wed, 30 Oct 2019 12:44:59 +0100 Content-Language: en-GB List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode Hi folks, I would like the org export to add a line containing one property entry (ID for example) to the LaTeX export for every heading. Ideally I'd like this to be added to the org-latex-classes configuration. I'd like to call a macro \mysection{..content of ID property..}{..heading line content..} there (instead of \section{..heading line content..}. Alternatively something like \renewcommand{\ID}{...contents of ID property...} immediately before or after the sectioning command would work, too. My elisp skills are still near to non-existent, so I would not even know where to start looking for something like that. Any pointers? Thanks in advance, Julius