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 ms5.migadu.com with LMTPS id gOwuMtoGWWMfrAAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 12:07:22 +0200 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 mBT+MdoGWWORyAAAauVa8A (envelope-from ) for ; Wed, 26 Oct 2022 12:07:22 +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 608323BF96 for ; Wed, 26 Oct 2022 12:07:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ondFn-0002W8-8W; Wed, 26 Oct 2022 06:03:19 -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 1ondFh-0002Ms-5d for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 06:03:13 -0400 Received: from mail-db3eur04on070d.outbound.protection.outlook.com ([2a01:111:f400:fe0c::70d] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ondFb-0003ZM-NA for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 06:03:12 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GRd5erXL7MgOzp4EjAVHpJ8P4mUPjoNBtGaqxLwwehtWGhn/9YrNEitad5ENfHHWClnojGUsCRHjybTsMeOL0FdpiPXCECIxOBCdtx62Rb5vdGWvFZwF0MhWrATI846HLQvwPRG4FICGPmWfFPlZP/aEeybVo9AiN3J3nP9Sw8V+IcD4rBVwXIlhrylBkju/CZTPkHwfs0l1bFDEio1JBHb+I/maLTSJB84BhEFFBcT6b9+AL9/j8XGhPAf4bY/hnYLhjno7drS+2/5+4zubsIjQWLCjzuOYFkkMeWBKJd2ek/gE12cpWQGKpSbQNdbjxfqJ8Fotv2jtkBq+VIsueQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cPiXiLaQAm++XAg7YkQieyVY5TiZ7B5jS/JiIMW7io0=; b=Iuz1r+N0GemOd5lTfT8F41A/mlIQitknsaghZdSflRGLtYxWfs1AdkBUcv7DofimHm9pQM/zlFTlCh3PSVjFwBkL5AY6iaLt3m1XQ9nwLmYsW8fIyVASzDkyd1tVaMr+Jr0VTTPfoxQwdYvvlLN3d/knUHOC53deVNbxqTt7bf6o1UbubKwEkEaM8bHtzyJpSU/xp9TXB+y8pEMyoC0kSpcv2v+yNez9EEN6ur2wWQ2aZhMFkoIkufvYgMIhfTZQWZql9TkPT+P42fonTuVsOnZhVTgzYSAqezlcXFCZ9kdiQLCUd2MSILE5BrstX/y01HRKDHw+e87V/3KeHtxjtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cPiXiLaQAm++XAg7YkQieyVY5TiZ7B5jS/JiIMW7io0=; b=nxvPaPnl/Klo69DoL1EYrCojarA95HzzkTYHbmGsTzgd13qx6xoMuWmCqG/FxsZ1g2zrMtsp77Yv+9v/opOfcSworIPilU2IpMyYycMDsnP54GpSnmPK2VO3xWJ2YkLZIYj5V7XDvcxD1e+IZe8YXbNpsRe3rHubamX4k1cVPZg= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by AM7PR01MB7012.eurprd01.prod.exchangelabs.com (2603:10a6:20b:1be::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Wed, 26 Oct 2022 09:58:02 +0000 Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::e7eb:8ee5:5ec1:2673]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::e7eb:8ee5:5ec1:2673%8]) with mapi id 15.20.5746.021; Wed, 26 Oct 2022 09:58:02 +0000 From: "Fraga, Eric" To: edgar CC: "emacs-orgmode@gnu.org" Subject: Re: Tikz ugly hack Thread-Topic: Tikz ugly hack Thread-Index: AQHY6RjNcK6xgrBX/kOwoIts40v8CA== Date: Wed, 26 Oct 2022 09:58:02 +0000 Message-ID: <8735banbyu.fsf@ucl.ac.uk> References: <2f3d4e17ac5e246f355ab9039943c269@cryptolab.net> In-Reply-To: <2f3d4e17ac5e246f355ab9039943c269@cryptolab.net> (edgar's message of "Wed, 26 Oct 2022 08:52:35 +0000") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Gnus/5.13 (Gnus v5.13) x-url: http://www.ucl.ac.uk/~ucecesf/ mail-followup-to: Org Mode List x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR01MB10249:EE_|AM7PR01MB7012:EE_ x-ms-office365-filtering-correlation-id: 1279e37a-ed69-470e-6b5f-08dab7389203 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pj8w9UrC/7in4I02QsdHbedmqWFVQ7tlUEj2sRDztR4VTvZiwismmUnhEA5cmmHrfrg5NKVz7KdNx9iwhf3XIKo/bv0GDrSB0+Q3a6+C+O4BZKcA8FyjRe4ze91gng+LCFNOD8fYqBPYoKvM3KnX8Xa4xqNrPMIGwNFLFw+iovfnqjfP+u9LQ0Adi3AzkToZ+1SSxPa7GEyL2s8icn/s4QZAcXykcfTzK6Kp922L5fu0DeZbgqGCY9mM9+qIehAzUReBdpdYyqUPCYVYYM24auqDudfVCdHl+PCeut6ksfC5CVlvGcLXo4SR0sdWgdXOqBpeRTC+C4KWRFuZvUaSq8hCKga609aF25QSZRqHmn6/RogMq1pwTObitIz8AdwmnX7IEM+haho6vFgsOvXs/C975TCjNu0ITGDt2G+SDalvz98/Yyp9Zq05QGI12hgfTXX2JVCqJGUVg79vtDJe1R7dlE/+3Ywm2/qWAKriKy4v7jeADSMvSgKsniYI5mOW28iaA0xAxhmsimtDZDOrxamIUuEcJCcT1DURXuJdMcXTNCK1P3S41ve6+JzQ+g9bvff27I0TYFSCcu16CECrMZYoUZ0wqvj5Tl66RU2nuoEFfpDGCX5fgyoSQTgGxX7NunHgB4B5+MUxKq5PZXwZI7zb/w63hmPJ7O/BqwsZhrpDUWVxCviSXIBqTkScQsXVwwkQyfF+R6ZQPLBEuGVF2aDoOFGA+sYafFEkmQBGeW8Ms4ZfERdaBPJbQkjqkfrhU1a/XlfA86s47ykg6zav6w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR01MB10249.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(136003)(39860400002)(346002)(396003)(376002)(451199015)(86362001)(38100700002)(6486002)(786003)(6916009)(316002)(83380400001)(2906002)(71200400001)(8936002)(478600001)(41300700001)(38070700005)(66446008)(64756008)(66556008)(8676002)(4744005)(66476007)(66946007)(4326008)(91956017)(76116006)(7116003)(5660300002)(186003)(3480700007)(6506007)(2616005)(6512007)(122000001)(26005)(36756003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?c2RHAWHvaNVidaCFGBzn2JqQ1JBEyLBFDmO0dKHbbEuw48qeDcGzstaaCz?= =?iso-8859-1?Q?fsW3FjoIKU4+26AcdC9W4UD6bA/WAReyKImb2QsYQu9B86roVp2O22Yqfh?= =?iso-8859-1?Q?6fTTTKVKMPJqZF7/PnYDpW9p7gdjun3Om7SuBmGePk9XCYuRxnEDuQDLFp?= =?iso-8859-1?Q?kQqB0H9tx3W0rdtaOgJt/SOccu1x/Uq171242d0gLS6UK8qedgUONyUInL?= =?iso-8859-1?Q?5EtR0yicWhBPOInJmSiEb/peKKze/G5XonFzsulVKdbJ696SY8ZN/3s/wB?= =?iso-8859-1?Q?UW+qjZG1lmhiCG5sLOibbb1SaXDubxSl3mO46GzHYkJLTkp3UwjCb2NmIm?= =?iso-8859-1?Q?q7ugDE6uwr0qPKcvuQ2T3XuFNIFGojv7FwosoJAsmu9SOCfHYajWyFF8Kg?= =?iso-8859-1?Q?51MygeB6+iyrvJO22GcXN2dIQLIj5lB+8GgalRpve7mIuhRv27YPFNtC+l?= =?iso-8859-1?Q?/4Mx83j/yBp5iEdO4OTOaG4K232HOYfPojD8YLVUsFP9931ntVf3FS5rLk?= =?iso-8859-1?Q?w1D4ySeijzn2aBOUggd3TizvUzxcFOvkrNGc5+eLzNr476nzHzMuesWM4b?= =?iso-8859-1?Q?ihjBuGsV3JntdR361kZoWgN4Bb2C7Np0EyrLuz9wEYVRP4mLmI7849Ld0t?= =?iso-8859-1?Q?2fAx7JAISaIhwikdOFtp+fGZrGGw29ALKvndCfdpoMW+0lzlZlmE20pu7o?= =?iso-8859-1?Q?pyroLo3tFszTfN4SGU89w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1?Q?r4tmopGDTN78ay+xrhX/QKyegzM/Oc16OB?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR01MB10249.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1279e37a-ed69-470e-6b5f-08dab7389203 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2022 09:58:02.1470 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: m+TJxYPPNsDKrNnHMpoYlLK7sJ84C2Pm5MWjjo9cVpbFE8B2A59oYaiW49eZpdy5ekpXmXHpPR4PwpyJR9aAjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR01MB7012 Received-SPF: pass client-ip=2a01:111:f400:fe0c::70d; envelope-from=e.fraga@ucl.ac.uk; helo=EUR04-DB3-obe.outbound.protection.outlook.com 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, SPF_HELO_PASS=-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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666778842; 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=cPiXiLaQAm++XAg7YkQieyVY5TiZ7B5jS/JiIMW7io0=; b=nysQYJEUzeZNmuhB47t3vK00pZ6VgDLG7A1shcyLvY+ezbTybTFjIhVHWWmFtTpInI/Uwz SzWJTxQqXi+UlexuL3SR4GRRJ3p2JH8AA1JmPuM+GXIy9bMOyK3rnoQm4CV2hzMLPZh699 qKW/5tkqeKxnXR8VEGf2WaXGUOS8OvKIu0FdEqICKG9EwmiGc6+2kKG0Cl+1s21lzb186F lg6DvbTmgjf4eFXerwvc5Acxgf+Dxl2Gk9r94VpDoBjZB6bpWyy6Wdro2EF41q9+TU3xKQ 1ST9wpxqnXxNL219WD5w6B1EgUczl1xiEkOtweeSsNp3KoGsa00bWH2bbNTIMQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1666778842; a=rsa-sha256; cv=pass; b=fn/Q2MGEgFSHqICtus7K2KkCAgY2pIQuwu6ql9QBLHoWwa3K1ieifRsQ8tO/4jMcJioO8I /9tWoDGK0+HWbmcXhm8nKtOIMarFxsaBSfaM61vEfuLmKlhlNFTro7pgWc4ISbjadHDEl7 4UJbLepqn1spiG39dHfrm/OPGNbF8ZiM/lVoGK+jMhdh9mON8mripbDXQQZ3cPL3SJJMyr WhTdoASHaMWc2eegS3g/JA6E59PtyuUPGwRNwpSQgbMhz+c9lXYSJoZXfFkllQMW09GJ0l lJqFXEe2anwHR89oNrZaSIKGdyb+NWAT+wxcx/zsTlncEItURk9ZD303BmwiDg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=nxvPaPnl; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: -4.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=nxvPaPnl; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: 608323BF96 X-Spam-Score: -4.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8YmGl72Tpoal On Wednesday, 26 Oct 2022 at 08:52, edgar wrote: > I just want to share a way to combine Tikz (LaTeX) with figures (svg, > png...). I wonder if, instead of a new LaTeX command you create a new environment which you can then invoke using org special blocks? For instance, #+begin_BoundingBox #+attr_latex: :height 1cm [[image file]] #+end_BoundingBox where you have #+latex_header: \newenvironment{BoundingBox}{ #+latex_header: % commands before the body of the environment #+latex_header: \begin{tikzpicture} #+latex_header: } #+latex_header: { #+latex_header: % command after the body of the environment #+latex_header: \end{tikzpicture} #+latex_header: } --=20 : Eric S Fraga, with org release_9.5.5-1028-gcd835d in Emacs 29.0.50=