From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UHGgNCSlx2WfdgAA62LTzQ:P1 (envelope-from ) for ; Sat, 10 Feb 2024 17:32:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UHGgNCSlx2WfdgAA62LTzQ (envelope-from ) for ; Sat, 10 Feb 2024 17:32:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LH5Bf1LZ; dmarc=pass (policy=none) header.from=posteo.net; 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-Seal: i=1; s=key1; d=yhetil.org; t=1707582756; a=rsa-sha256; cv=none; b=ckn5k38g7BDJHJVwaxQvDVBJPogQfm7c/U+Fq7/Cg+wptrKqqarFRIlyOl8man5rMq7Ifp 3hEC6nZdYYyZLS4sIO6Mh0T7Edx3Q87sEe8fpOzxqxTt77TilmYjBdm36uPNyymFqdWWej LqroFxIVPgtlObE2zj4cP3MLzlybGnpmT76WbLp9tOiQw8K77Q3I9wocIOeYvm/Nk8sPjB h5SmAjVQJ5k8xGr4HdiogVLRjZCjtZ4XEOebGeR0vumVI3bLZ+XFsS13HRvOINV3MgVUz/ gJpz5wqp4X+o8NI3VRLL0ldKEBn21ycqDkr8lDcgbFicPEWZclTjLUPNmoC/rQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LH5Bf1LZ; dmarc=pass (policy=none) header.from=posteo.net; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707582756; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yVzPN+OS8PF7K7QuW7MFcElYv4oM9t+Kanwmte6XolQ=; b=uvOw0zHWjOwPf9sUrsWiCNQlJtMJ2CIbj3tNT8UIx7k/BN02pcj9V3VspMy7p7+es/qzBy U166ky/Axk8bImb4XHBhsVRV1HKrOSHxYS6HHLzyGxQ+f1+sew+IcBEMlU0y2von1+LkNj lz37DCeXNqF/g6ZRiqkErRQaAkyNJzQWiw3RzUdoKp+HCh9KWFVSlNS5zjRBZdcEoziPVR giogFDup4L6IeFjZK9wBe5XGKQVHgb9nPR4p8ptgYEtEd5JU8Q90S3mvGEZbyJlgwPrGTb o1fgbos08cgUBHkQbbEoZSdxVxXXy7FpyDgIciVvPV1mMIyRkZaScaEAjJ55MQ== 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 985A126F0F for ; Sat, 10 Feb 2024 17:32:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYqGN-0001AU-AT; Sat, 10 Feb 2024 11:31:35 -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 1rYqGL-0001AK-P9 for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 11:31:33 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYqGJ-0003Ve-Gv for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 11:31:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1EC51240029 for ; Sat, 10 Feb 2024 17:31:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707582690; bh=yVzPN+OS8PF7K7QuW7MFcElYv4oM9t+Kanwmte6XolQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=LH5Bf1LZ6A+yYjVa6Mk4W8KmTpmI1n/vwwHRFsr1aEperNWsCYaA+c4ERkiw/i/yN omo4xhT2TpL7RInyQoABbY3HYzcsbaBFVY9E8LpO7Nsa+6OXWvJaxVCZO2SApNfUuf 09mHx9KjBMQMRtx5VJxgiG1Hti+mdd7l7sfVpI8jidWoBWnNC5RUok1L+Yv/NqhwK/ eUbroV2BypOcX7Mj5hPj57UFVL10rzGSsMHbXxefmi6lbbZR2kRxQ9Wt4FQ2xtWVaE 1GhdkR6N+tLPYmPGRcDScIkfk9e+FlcxldTtCDRl0NCyzyN16GWhORsL3cwlYkPB3U 578CVvsv1tkWg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TXGSc648xz9rxL; Sat, 10 Feb 2024 17:31:28 +0100 (CET) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [patch] Add two new header args to LaTeX block In-Reply-To: <875xyw9wic.fsf@posteo.net> References: <87zfw9yt9m.fsf@posteo.net> <87wmrcpepp.fsf@localhost> <875xyw9wic.fsf@posteo.net> Date: Sat, 10 Feb 2024 16:35:05 +0000 Message-ID: <87le7se0qu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Scanner: mx10.migadu.com X-Spam-Score: -6.91 X-Migadu-Queue-Id: 985A126F0F X-Migadu-Spam-Score: -6.91 X-TUID: +KKGSABKLJPv Juan Manuel Mac=C3=ADas writes: >> May you please explain in more detail how these new header arguments fit >> into other available LaTeX code block parameters? In particular, when >> exporting to .png/.svg/.html or when :imagemagick header argument is pro= vided. > > Sure! `:pdf-process' simply applies a local value to > org-latex-pdf-process. It does not affect the export to png in its > version without imagemagick process, since this option depends on > org-create-formula-image, which in turn depends on > org-preview-latex-default-process. It also does not affect the export to > html, which depends on org-babel-latex-htlatex. It should work in all > other cases, including imagemagick, which ultimately depend on > org-latex-pdf-process. Would it make sense to make :pdf-process work for png previews as well? > As for `:full-to-pdf' (I don't know if standalone-to-pdf would be a > better name), the expected result is a pdf file. Therefore it is > incompatible with exporting to png, svg or conversion with imagemagick. > For it to work, it is enough to provide these 2 args: ":file foo.pdf > :full-to-pdf yes." Maybe just :standalone? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at