From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sE+lClAya2NzOgAAbAwnHQ (envelope-from ) for ; Wed, 09 Nov 2022 05:53:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sJ2YClAya2MMOgEA9RJhRA (envelope-from ) for ; Wed, 09 Nov 2022 05:53:36 +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 08AAC353C7 for ; Wed, 9 Nov 2022 05:53:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osd58-0004Ur-R9; Tue, 08 Nov 2022 23:52:58 -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 1osd57-0004Ui-NW for emacs-orgmode@gnu.org; Tue, 08 Nov 2022 23:52:57 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osd55-0005jA-Tf for emacs-orgmode@gnu.org; Tue, 08 Nov 2022 23:52:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 294D5240103 for ; Wed, 9 Nov 2022 05:52:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667969573; bh=10MRq0ZR2B1Utb8Mwjulm+McgBi18Sd4HpcekUleBsE=; h=From:To:Cc:Subject:Date:From; b=bW4S45qcJsbUi4lkNIH3Gym/2K9BjPs/jdl3ap1Dud5eEL/JCPX7vUw4dEfq5UkSo QWM1BfcDZBdeLm1QTrsKn9DNxw1tmi14SL9zXLDtEnCQMq1j3/u5tv7SQFjCsFkmbA R2p/k+DZKK3sklYK1in1wiqqUuoITAd5c56zJjc2WSkHbswzw9zIrbQufUbhBHjO3K 81RHnyfa7o6fMpQwfqsPXS8xwC3kJwKJJ+TENyNEurI4byv16U/97Px+z3/RxfK6nO MEOlApVctKEi1V0ClWXY7pVmS907t0e9JCQsyBXYo4rWEqUugR8KEkRW5r8tN0M0v1 G7yUrbFD990+Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N6Xds1tTMz6tmd; Wed, 9 Nov 2022 05:52:48 +0100 (CET) From: Ihor Radchenko To: hugo@heagren.com, Timothy Cc: emacs-orgmode@gnu.org Subject: Re: Can :packages and :headers arguments in latex SRC blocks be made affect EXPORT blocks of results? In-Reply-To: References: Date: Wed, 09 Nov 2022 04:53:26 +0000 Message-ID: <87bkpgbuex.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667969616; 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=3jx8BGblXYkFVEhl/Rc63y6yctnM2fPStfB31kOSIes=; b=r6cWSg7NmZGfHNqshn5BfR4DcVeK3FZ7BqV2FoNMlr0kNqrMw+N+bRcIw4XI06Jwfm/4aH 0iGebAQpBlZlT48OvdSvS/UOMPzVV2Sux8TZ6UyquTaCozmlOYd+p7pe8ufCUTps0g8z8Y gFBL4VnxXqU30nEvCdTkfYuqSE+TQqVfPkfIBFDKWmJSbuWutUO/htCKyZAuX8rmezRBVK a07gsjPzdm75eYbX2+tbKOux3emyuxMT0oB+bH3F93aL3edOU/GcwAIDulT+clw0Uo/A7r MUmHAMKsBvaS2VjgvBCXIkWZymgsbju60qfINVcmVaz3y1ssgvN/s/ggxNzE/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667969616; a=rsa-sha256; cv=none; b=aH2SXt2gGOFQh+lMIWZiC/PHYPEiYC6NjzeTz8gzG/NUFNUuVvazzevN8PqGUHGvseVPOv 6vJvgaV4SvGDi4aX6wcyjyTvfoNS9Y2qYTaYZRv1mOG/7t1KuVmLJzbxUjrLr+O31DMoMn Yc4E68FRtUSR+YXRBdhod/JvIe/ihZgrgN+q+7wS3E65IaNuoPbd4eyo5xC2rbMPOpNtWu 8dEeWZWgwBULFWngkSh3gE4CzjFJjKUN4nm7/QH6HM0MI+nbT3JnULoIO3af730rgzxmnE WxkrUga1qpazTjCau/oELjbQd9rWihFP6RcXex56bCKI2TXk9UlZ5RbjJ3JQ3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bW4S45qc; 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" X-Migadu-Spam-Score: -7.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bW4S45qc; 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" X-Migadu-Queue-Id: 08AAC353C7 X-Spam-Score: -7.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: oYuI6lYS6sth hugo@heagren.com writes: > tl;dr: can I have `:packages' and `:headers' arguments from LaTeX src > block take effect, when I export those blocks as export blocks? > > I wanted a way to write tikz snippets inside org documents, preview them > in the document as images, but have the tikz /code/ appear when I > exported to LaTeX. So far I have this: AFAIK, proper code integration is currently not supported by ob-latex. Maybe something to include in Timothy's auto-preamble effort. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at