From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kEKXDrKBFWIxBwEAgWs5BA (envelope-from ) for ; Wed, 23 Feb 2022 01:37:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qNMoC7KBFWI5BQEAauVa8A (envelope-from ) for ; Wed, 23 Feb 2022 01:37:06 +0100 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 934AC3BA1C for ; Wed, 23 Feb 2022 01:37:05 +0100 (CET) Received: from localhost ([::1]:36012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMfeR-0000S3-Om for larch@yhetil.org; Tue, 22 Feb 2022 19:37:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMZY4-0006S0-Tc for emacs-orgmode@gnu.org; Tue, 22 Feb 2022 13:06:04 -0500 Received: from [2607:f8b0:4864:20::d2b] (port=37811 helo=mail-io1-xd2b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMZY2-0001Aw-AN for emacs-orgmode@gnu.org; Tue, 22 Feb 2022 13:06:04 -0500 Received: by mail-io1-xd2b.google.com with SMTP id c23so16516179ioi.4 for ; Tue, 22 Feb 2022 10:06:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=WpJ3dRfebKjFLdDBmY0lGkh++9y7lhJ06Oh5wgLgpHg=; b=PaIsoR4eLgYAj0N+UYleIujNhN6evGb1Z/0A//LmjATYcF+y6DdjiL257Qf1i9OuMq wHi5e+L17D4L2bzhddX4l7zn628IwWuPwWRVG3Kpe/hxVKXqvHYCGr+cs2IZ3cUXivPT XoMNhNVWS3c8yJ92yamwqlA0eoGwcZgGb5bW43H6jCZKeLHfqR1OayDmJStyaO3ZJeLz GstEhUObPiSxCQneDh54ZuyG5zQpSPPRNNiO3DGwGTD7N356XZiEClc8l1OQgFk7c0AY 9vuDGizvXwydWCIhz+x+MuMpY0HwwCixjnFrUutH4Sx4SXzqeU18/Am2JECZ/87xuzsw KQHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WpJ3dRfebKjFLdDBmY0lGkh++9y7lhJ06Oh5wgLgpHg=; b=zxK6klbjNGIYmWT52z2zutrjr6ycJXlJr5tcrG2MNiMNbezYJTLvrbN+gmBeMaB6ee oF9qEMPOMfLbMycDIhs8UwmBYDtECRgcMjRe8+CMK4FN1NlYu/Qy3tFIt8AqxJMKDJgt gGDr+ISnYS2nnmG4PEaqDST5IzfHRsaDlbmWtYLu3eRKQ9Tf9iMP44pq6iOsJ2jTGq6p +wi9z0LT15xQDp0geiB4DV9GeGOhHaX3JvFKT4YYxsaXMoWM/Q9jAqpYET/g7Poev57J zQOmQCnuaAGV+/px8vpa9FSlThuCFT1HX1GDlQLPhYa/JG4QgZuDq+/3uz7hIfBPDZyJ 1XDw== X-Gm-Message-State: AOAM533A9gH7UgEqijasmg8bULIf4nFqBT/1bci02EYKX7xCsX3Cl3xi uAuFae0Xcqz+8DJXBSmeL9XswIwnmgNqVDPIWUeGut+Rkb4= X-Google-Smtp-Source: ABdhPJwgbjaH8hUusMCmO7IEGANa3zux0QaU+iQBHd/xPI5L2g1vYpAuUnJcxP4AOAjId2NQd7IYzqa2nfaTE6m20m0= X-Received: by 2002:a05:6638:3713:b0:30d:898d:326a with SMTP id k19-20020a056638371300b0030d898d326amr19555446jav.198.1645553159704; Tue, 22 Feb 2022 10:05:59 -0800 (PST) MIME-Version: 1.0 From: "Lucas V. R." Date: Tue, 22 Feb 2022 15:05:53 -0300 Message-ID: Subject: [PATCH] Fix date in org-latex--format-spec To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="0000000000008b278405d89f3394" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d2b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d2b; envelope-from=lvreis.mail@gmail.com; helo=mail-io1-xd2b.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 22 Feb 2022 19:35:23 -0500 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645576626; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oJZ9eRPmo4c8+w+AD9S8pQuloSbRb2wfjmMpzKEYH4A=; b=Ksx062Il5KDlweBtUhMUB1Wb0fsLOkCrEER8unnQazhvldlfcCYVg0O0X2DP62bOAlGmBA pb9K6BvvI4i+0nDnfccrnKwH/hSc60CetVl3ODAyZve6HNyCSQ+IP4eD/HgZRM/Ua2w3Ln Ot9U8sv4evjNbtUpBLa1dLq++PJPi/umsP+9yGvwa0sSR1X+ScUSHG5jj5qaxZLlXm+/Ju 59bgrKncvSvTwGHHefQ50tphSkd5/ziTvz62o+TaKq+4UtjMXIlE0eL16MvsymiiAA1gDk NXHwjP7LGJws1WCjh8cye3fJd2i5klvJEYwuwHjx0ktcuKYFpKUyhUpb964csw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645576626; a=rsa-sha256; cv=none; b=Q29gRU/33WHkpJuyboVFhjxEkyViEZ0IZ0+WxUw4Ir7mB6E8NlFzxBR1PQbIz38SauA88e Jg50gx4g/eBNlqVsu+oxvFdbkfk59tK8L52n7ZaJJ7JJe/6l2UNoBZLqFqwxr6HAmrWg2u uR5+MJc7ihdfhR4MF/slgrpeSMudeAMFBIyB6uGlgQjN77JL2uKqlwfvMMfHStf7eiZ7we SNzUnMlRzJS7mvjaJzahqFpPFvTLy+VbqoJUD4eseDok3ed9jopyUz6pDx46HMTOl5Qiyd t/6MGMBpFD0TLPrzN+OZsop4n8iABeMfJWn/s8CfPOFA3UN+AquSzrAo3rS/+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=PaIsoR4e; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=PaIsoR4e; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: 934AC3BA1C X-Spam-Score: -0.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6Zz+8PW6ffnF --0000000000008b278405d89f3394 Content-Type: multipart/alternative; boundary="0000000000008b278305d89f3392" --0000000000008b278305d89f3392 Content-Type: text/plain; charset="UTF-8" Hi all, This is my first time posting here. Sorry in advance if I did something wrong. I tried customizing org-latex-title-command with a "%D" placeholder but the LaTeX was not compiling since this placeholder was being replaced by the string ((latex-fragment (:value \today :begin 1 :end 7 :post-blank 0 :parent #0))) I could not find this in previous issues and the code in the main branch still reproduced this error. The problem seems to be a missing call to org-export-data in the function org-latex--format-spec. Perhaps it is not necessary but I'm attaching the one-line patch that fixed things for me. --0000000000008b278305d89f3392 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

This is my first tim= e posting here. Sorry in advance if I did something wrong.
I trie= d customizing org-latex-title-command with a "%D" placeholder but= the LaTeX was not compiling since this placeholder was being replaced by t= he string

((latex-fragment (:value \today :begin 1= :end 7 :post-blank 0 :parent #0)))

I could not fi= nd this in previous issues and the code in the main branch still reproduced= this error. The problem seems to be a missing call to org-export-data in t= he function org-latex--format-spec. Perhaps it is not necessary but I'm= attaching the one-line patch that fixed things for me.

--0000000000008b278305d89f3392-- --0000000000008b278405d89f3394 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-ox-latex-date-should-not-be-a-property-list.patch" Content-Disposition: attachment; filename="0001-ox-latex-date-should-not-be-a-property-list.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kzyfuh9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