From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Hollerweger Subject: org-latex-export: Name sections by CUSTOM_ID (rather than %s)? Date: Sat, 1 Sep 2018 21:30:19 -0500 Message-ID: <85592025-5d71-449b-6b7e-7a51e3f73194@colum.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PQzigEg8RTyNjg45i2S1z5GFPZvGkugDT" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwIL8-0002nc-Pj for emacs-orgmode@gnu.org; Sat, 01 Sep 2018 22:42:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwIA9-0007hz-7l for emacs-orgmode@gnu.org; Sat, 01 Sep 2018 22:30:57 -0400 Received: from mail-eopbgr690119.outbound.protection.outlook.com ([40.107.69.119]:32064 helo=NAM04-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwIA8-0007Zd-Qj for emacs-orgmode@gnu.org; Sat, 01 Sep 2018 22:30:53 -0400 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: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PQzigEg8RTyNjg45i2S1z5GFPZvGkugDT Content-Type: multipart/mixed; boundary="RY0y6V8kPY00LCvGtW1UtDoMNSy4WpO0y"; protected-headers="v1" From: Florian Hollerweger To: emacs-orgmode@gnu.org Message-ID: <85592025-5d71-449b-6b7e-7a51e3f73194@colum.edu> Subject: org-latex-export: Name sections by CUSTOM_ID (rather than %s)? --RY0y6V8kPY00LCvGtW1UtDoMNSy4WpO0y Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi everyone, When exporting an .org file to LaTeX, is it possible to name the sections= in the exported .tex file *not* according to the corresponding headlines= in the .org file, but instead according to the respective sections' CUST= OM_ID ? For example, there might be an equivalent to the %s operator (which is re= placed by the headline string; see https://orgmode.org/worg/org-tutorials= /org-latex-export.html), only for the section's CUSTOM_ID? To clarify, I'd like the .org code * My section :PROPERTIES: :CUSTOM_ID: foo :END: to result in the following .tex code when exported via C-c C-e C-b l L: \section{foo} \label{sec:orga20100d} and *not* in the following (which is the default behavior): \section{My section} \label{sec:orga20100d} For the record, I have also posted this question to StackExchange (https:= //emacs.stackexchange.com/questions/44497) and would be more than happy t= o provide credit for an answer there. Best wishes, Florian --RY0y6V8kPY00LCvGtW1UtDoMNSy4WpO0y-- --PQzigEg8RTyNjg45i2S1z5GFPZvGkugDT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE1ZiKwIz8/Ki9F9gk5yV68P4p3noFAluLSzsACgkQ5yV68P4p 3nqAwQ/+LP2LaN95+6+pVbazj4a0c4kt+VYBc6fUuUgXA9z0QziseHZSbY5sk1Tr afGypQdwtCUPKz3BX4qHwwvItLcx7nwSAfolPxWl7ojfpTD9c6fI0CIpbaN7W7A/ okKpqKzKJkPjn15ZPCXB4rzDztSWAQRqT5SG3KOUB429wDzI9XAZL82G8oJ52cW8 6S88KJapHRDZJXUDSufyCExPR98mL0Z1qDFkNHsQOzHpUSpQ4Hb5EgcTisNfMhvh j5GOQ4aoEUqL+KQkp8smF8eWoXjJYuYQau2rz4fpj43IPseBNo4ylnFbUPji+u2s QhCzx18zLGiOMmQbRgs7QuUKczUTIbyNWA0RnjRXV8hPZ9EL2M/RdIEZ3jkgqEJN v2dAwT9TYrz60jZQ4uW7+AKMbFsc8vACKWYzXO2SpK6y0UOu+nuG+93q8JPvROtL 2ftruTfsWC9NnPX8cf5D4jEC5Yb1S/tWkBt6nD+LikWZtWMci+zcQIE3BHgjH9i6 p66b/n1u/Ft3kKUviBvGdokJtUc51wwyI46DKLcI7P0ogCERzlZ2+3EVsQhj2qs9 5yfxH3L0BwTkhqurLUtrthhLHIhgvln+cAcZw24T1/5sLuaHJDqXxqR5L9flmvHT 7HU0UtkhvkizdjQFxDPC5inKnq1NZUUubB/KR9QNwwvAfu7kewU= =55O9 -----END PGP SIGNATURE----- --PQzigEg8RTyNjg45i2S1z5GFPZvGkugDT--