From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sKOhMr2dFWWvbAAAauVa8A:P1 (envelope-from ) for ; Thu, 28 Sep 2023 17:37:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sKOhMr2dFWWvbAAAauVa8A (envelope-from ) for ; Thu, 28 Sep 2023 17:37:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8DA0E60E89 for ; Thu, 28 Sep 2023 17:37:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695915453; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=+uHZ4l0XTcP0pF97mAVpKAZVCJuqka70P6gDz28Nbtw=; b=KfWmMAFNd50PnRzLb7f58wGAicRSZ0sat69tSsjnFAvQqjDMYNYpNouA2oI/vUykDynF9l bUEUK9F0FhvlH0vl3Vr5iA5eizfRkFjDMiGVzc4DQo6u36ECxRcdEYzFr6u8MCPSleudV7 59lJie3WcdvPzelA4v9ofZIBQ1Adb6+s3vRkuwG2dgisG7xha88TQxVzbVqd7UNh8ifiFU t1lORiOFa6u7aFiueNmSE4cepv3s3eHEMSllXK8myPnFDFB9pk88d8LUosuLxrU5oL59yX 5nPeiyhS9+WYRkmkABXUQiEPbg1M5fMH8RS/3f9rbjgUYid3ozIbbIiKBVNjdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695915453; a=rsa-sha256; cv=none; b=sXjmhw5/bzBBwXj1xbYLejqJ2OsajJZstBrUsP0l1lleky5c/pULPF/JLZyzrSXoWAnCOo TyNUkBTyJwW/2417ctaRerJD4dprKSFXMyzCG3QN0uehAWxn6t6eoGslfg9hPkuuU30yax R50LVZ21ZucMGG4Gsg7FTnfq+uiIeKsy+X3dVFFUrd2UBgHBdWVHp/7TeHQKuTqhpOsPVO JRJ1KRbcN5FiplNJ1IaX344/h4HYkVH5ySHYtwKvgfJ108P1XKf/R+o+sy0L5ZgWgj2egT KkmXyKx0kGRJPjQAYafivtz+pL03VLyYLsUPAZqVsIyjbpvK6M1TdJ+0BklDNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlt4h-0001M1-9j; Thu, 28 Sep 2023 11:37:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlt4e-0001La-Gh for emacs-orgmode@gnu.org; Thu, 28 Sep 2023 11:37:08 -0400 Received: from mailout02.t-online.de ([194.25.134.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlt4b-0000hi-Le for emacs-orgmode@gnu.org; Thu, 28 Sep 2023 11:37:08 -0400 Received: from fwd85.aul.t-online.de (fwd85.aul.t-online.de [10.223.144.111]) by mailout02.t-online.de (Postfix) with SMTP id 025E9216F7; Thu, 28 Sep 2023 17:37:02 +0200 (CEST) Received: from linux.fritz.box ([217.85.237.78]) by fwd85.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1qlt4T-0IDLrV0; Thu, 28 Sep 2023 17:36:58 +0200 From: AW To: emacs-orgmode@gnu.org Cc: Max Nikulin Subject: Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword Date: Thu, 28 Sep 2023 17:36:37 +0200 Message-ID: <2240064.iZASKD2KPV@linux.fritz.box> In-Reply-To: References: <874jjuj8vu.fsf@posteo.net> <87lecsvjdd.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1943115.PYKUYFuaPT"; micalg="pgp-sha1"; protocol="application/pgp-signature" X-TOI-EXPURGATEID: 150726::1695915418-D54C4D18-7B9575FB/0/0 CLEAN NORMAL X-TOI-MSGID: 81dd8341-b36a-4413-a9a5-c461857142b7 Received-SPF: none client-ip=194.25.134.17; envelope-from=alexander.willand@t-online.de; helo=mailout02.t-online.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.37 X-Migadu-Spam-Score: -5.37 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 8DA0E60E89 X-TUID: B+I90snMAIV/ --nextPart1943115.PYKUYFuaPT Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: AW To: emacs-orgmode@gnu.org Cc: Max Nikulin Subject: Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword Date: Thu, 28 Sep 2023 17:36:37 +0200 Message-ID: <2240064.iZASKD2KPV@linux.fritz.box> In-Reply-To: MIME-Version: 1.0 Am Donnerstag, 28. September 2023, 12:07:41 CEST schrieb Max Nikulin: > More I read about .xmpdata, more it looks similar to an ugly kludge from > my point of view. Exporting from orgmode to LaTeX needs a high level approach: don't do=20 complicated things, just use the appropriate LaTeX API.=20 Unfortunately adding XMP metadata is the largest construction site in the=20 LaTeX world: https://tug.org/TUGboat/tb43-3/tb135fischer-xmp.pdf=20 The LaTeX Project Team developed a new pdf management, see here: https:// ctan.org/pkg/pdfmanagement-testphase :=20 "The new PDF management code offers backend-independent interfaces to centr= al=20 PDF dictionaries, tools to create annotations, form Xobjects, to embed file= s,=20 and to handle PDF standards." The most important command is `\DocumentMetadata{}` and it needs to be plac= ed=20 before `\=E1=B8=91ocumentclass{}` The idea to have a LATEX_PRE_HEADER to insert `\DocumentMetadata{}` is exac= tly=20 what you need right now, if you export from orgmode to current LaTeX. With= =20 `\DocumentMetadata{}` you can add most of the necessary xmp data -- and I=20 write most, because I'm using it on a daily basis, but haven't checked if=20 really everything is included yet.=20 =2D-=20 Regards, Alexander=20 --nextPart1943115.PYKUYFuaPT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRRJehJECo2UVtvxhLEjYmjIyn58AUCZRWdhQAKCRDEjYmjIyn5 8OubAJkBNk9pTyV1dCz0z+STTfi1CDvMWQCeO+4nWovUNP/Azg9C9wFaX3EYJJs= =Fqds -----END PGP SIGNATURE----- --nextPart1943115.PYKUYFuaPT--