From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MAMpJhcumWdONgEAqHPOHw:P1 (envelope-from ) for ; Tue, 28 Jan 2025 19:20:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MAMpJhcumWdONgEAqHPOHw (envelope-from ) for ; Tue, 28 Jan 2025 20:20:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=antr.me header.s=zmail header.b=mmt07YRF; dmarc=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"; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1738092055; 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:dkim-signature; bh=5ZwDhdlX+/WzWUxPMpgWN6GRE7iZWQPxB0QTWGNapi0=; b=aLrB6ug5H80ecSVOdypNHGXKucRv3+/4emja5xJpw2wPfpt5+3ehou63DL/mee71olmL3f eB/fHF7P3eHl3fVWivOzIGJGEGZw9omiOOOOHgwC4Z77ijxZQmZBWlgxf9RFywRk8tKkO8 U8Qnl0Q9vw7MJAnayQh5dNTOFa5qvR6P5XceFvkLBa+vb5dipdF9wiJI6rBUfuicZKKL3S HW6z1KUz1FCrqUJwNyg/3V9NDpfTcLVOsAu/S/pv3UKaJRcOtJDu10bcdvi04QiZge0oww /HbJwweDb+1kyitwBbHRtLj4tGrcXF15fpmEv71qELxbS3uJ59vYWIe1INicHA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=antr.me header.s=zmail header.b=mmt07YRF; dmarc=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"; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1738092055; a=rsa-sha256; cv=pass; b=RmqBFEVrCkWvxlyWjwzOQSKFtC4lrAW8ia1wSV9KO2NjVFJEbYfBYqze7ATPCGUATLIkbf wUtQK2CkomKMnxdOYUPDVmTsd7YEsALmxdseLX0jToLL5gIUQaqqPVdIMXoV1qKqH6ufRR 8IaP3R/4fA5nIR+gYbptAZNqZ45D8DPzyScrpDRCmr1gHg0k046eo4qtM86MboFp+kJ3gN fuG8m1v1NBJbXm+CFjHxpTAysyc6gKWnXVW0OjXR4d0CMiwcNc0v0+Fc6pxAJiqjG1PGlP 8nPYK7522fzR9mZSeg9UOxj9h8/LJpS2WmSFzasaI1vzSj+CXYhrNPeO4T05sw== 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 6890885FC6 for ; Tue, 28 Jan 2025 20:20:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tcr86-0000Mp-KE; Tue, 28 Jan 2025 14:20:10 -0500 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 1tcr84-0000Mc-4f for emacs-orgmode@gnu.org; Tue, 28 Jan 2025 14:20:08 -0500 Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tcr80-0003Dr-Ke for emacs-orgmode@gnu.org; Tue, 28 Jan 2025 14:20:07 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1738092001; cv=none; d=zohomail.com; s=zohoarc; b=kiIe2sQt39uLnhNHFRh0o61D/+FR3XkWE7ep7asKXkgaY5Ixv2jxYsw+501Cza4BTw88hIrHurD9HjG8PD3XXh17RVf73mBFLWmvk1bQM4g996Vy+Qdm1+ZgD2KDgVdaRnxboXQcEXmFFowWtm8gXqJhnr36x/GccQZu+zXlPRA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1738092001; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=5ZwDhdlX+/WzWUxPMpgWN6GRE7iZWQPxB0QTWGNapi0=; b=jiF26rZ/O6RUiy1j3zD+okI/5C+6TyKagPUpxmCRuQlCOhtV7YEc07hbCEUTea8cnylUPgo/iWBd6rdJCPzzoglZ8uxuCJz7b/0AFNN6qx7tlKeF2b8LX4/vYafkDWMGqGwBFTcYrCFcyxjDnp+iLcrnbku0RlmaQi4TB9lGUKo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=antr.me; spf=pass smtp.mailfrom=mail@antr.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1738092001; s=zmail; d=antr.me; i=mail@antr.me; h=From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=5ZwDhdlX+/WzWUxPMpgWN6GRE7iZWQPxB0QTWGNapi0=; b=mmt07YRFZBDefySNsKcuPd1wnbywmx2CpVgOOFok4EBf30kdm2xlqW2cSpi7miwf +6AKiUnBMPcBIiIK9E0X419R80HB6NmdVF8wM9JMcO9jGrxbSqrg5EZmd+yeWZ2TQJp EhrvvDSAQMNebC/2MotluDTn0wwe0q1zBKY00Qwo= Received: by mx.zohomail.com with SMTPS id 1738091980596759.2245307332364; Tue, 28 Jan 2025 11:19:40 -0800 (PST) From: Antero Mejr To: Pedro Andres Aranda Gutierrez Cc: Org Mode List Subject: Re: [BUG] Latex exporter should consider export settings [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)] In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Tue, 28 Jan 2025 13:59:44 +0100") References: Date: Tue, 28 Jan 2025 14:19:39 -0500 Message-ID: <87plk6rbjo.fsf@antr.me> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.4.1/238.86.27 X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.15; envelope-from=mail@antr.me; helo=sender4-op-o15.zoho.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.43 X-Spam-Score: -5.43 X-Migadu-Queue-Id: 6890885FC6 X-Migadu-Scanner: mx11.migadu.com X-TUID: ienLHmPamCJp --=-=-= Content-Type: text/plain Pedro Andres Aranda Gutierrez writes: > attached is a fix for the reported BUG, including a couple of test cases That seems to work, thanks. I attached a patch that handles org-export-with-creator too. It would be good if these fixes were also ported over to org-beamer, since the same problem happens there. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-lisp-ox-latex.el-Obey-with-creator-when-exporting.patch >From 81106718ffd0c5341a5de03d0f0a615832d7d504 Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Tue, 28 Jan 2025 14:13:35 -0500 Subject: [PATCH] lisp/ox-latex.el: Obey :with-creator when exporting * lisp/ox-latex.el (org-latex-template) Do not fill pdfcreator hypersetup field when :with-creator is nil. --- lisp/ox-latex.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 409fa98cb..8884cf786 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -2061,6 +2061,9 @@ holding export options." (unless (plist-get info :with-title) ;; Replace title *and* subtitle (setq template (replace-regexp-in-string "%[ts]" "" template))) + (unless (plist-get info :with-creator) + ;; Replace creator + (setq template (replace-regexp-in-string "%c" "" template))) (format-spec template spec))) ;; engrave-faces-latex preamble (when (and (eq (plist-get info :latex-src-block-backend) 'engraved) -- 2.43.0 --=-=-=--