From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aLHYDWkm0V/+XwAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 19:32:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oNWjCWkm0V9CcAAAB5/wlQ (envelope-from ) for ; Wed, 09 Dec 2020 19:32:57 +0000 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 AEA4E9403A7 for ; Wed, 9 Dec 2020 19:32:56 +0000 (UTC) Received: from localhost ([::1]:46388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn5Cp-000719-Hj for larch@yhetil.org; Wed, 09 Dec 2020 14:32:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn40n-0000b1-J2 for emacs-orgmode@gnu.org; Wed, 09 Dec 2020 13:16:26 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:35563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn40m-0002GL-0m for emacs-orgmode@gnu.org; Wed, 09 Dec 2020 13:16:25 -0500 Received: by mail-wr1-x429.google.com with SMTP id r3so2797255wrt.2 for ; Wed, 09 Dec 2020 10:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=udVVbu1aRh6EHerIlLiCmNIeRolQayJjQrnbxMa5y3o=; b=oIAN0GXGDIAUCSaorGrWtvqddlK++eC5O1VCf2/zug5krH7dxSRAx0mFFyrFfLFY5e A80Cue1wl4tmnM9CydZXMbcAI/DKjZ62ji9HrvjCe92o4YS9sXFOnBuTasI+vCCfCNKz JSQSjOpKe4168aFpQEpXvrrNFW9JuT2z8edQyHWYNq4eeU7K4uex45KrbDhWNVmGjN7P odvFLvFk907bar69y6DDHAwHUDknEgOy/zhm+bWwvk6PN4V4XWhE1oJgRoSFds2lCsYw nrzHGiTyKSqa0r7MuFHQrQ4V8wqpbn9JESASvgci5vmJncgCBC1aZcOwSmbsUKw9VLmk 2neA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=udVVbu1aRh6EHerIlLiCmNIeRolQayJjQrnbxMa5y3o=; b=XLOlWTgxgCN7TQ2O1d8P6jBJvd7hOUcvFQe5rg1lg+CEtgmSCaZhk4g8hyFBFNAEI8 SLedzMQJEjE/bvnxyh3rcUH0BvwNdAgOmsx8CCCGD3locF1x1i91ghfvXR6Itm7+9WBg s/HjVRVto4JNbDjSOAy3RRoXJA5/mvHQ6xtIFCT9/nWgNqYkuiih4pGOwjCpKoe2chuZ EYuWGgcZIy1rzXOXMHuB+8HdGjWRMHaTqMdqgEzXlCwxsscaa/gau7mQINIb3GM0Kpdx Px0NgzSx2+Na5GwL662DUesYyfe1t/41a72rH8Qb83+L7xKMwgK6+Bsax/x4TA4iTvET 668Q== X-Gm-Message-State: AOAM530+opTBg8Lo5RGEMkxv3HDZW7nCYrTWCpEnj9jlu+bWMnxLtLmx WPX5apEXlIu1mZ3/O/68G1Wvqs/ufK8= X-Google-Smtp-Source: ABdhPJzqhSb1H1pKw2vzdF9ejuII5GiTFb+p+/N8odNMcFW8C2XbC5/Z1jx5AXlI6pV0UKuph3qrmQ== X-Received: by 2002:a5d:5401:: with SMTP id g1mr4046586wrv.93.1607537781930; Wed, 09 Dec 2020 10:16:21 -0800 (PST) Received: from freegnu (24.183.22.109.rev.sfr.net. [109.22.183.24]) by smtp.gmail.com with ESMTPSA id m8sm4990352wmc.27.2020.12.09.10.16.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 10:16:21 -0800 (PST) From: Jeremie Juste To: 10cadr Subject: Re: LaTeX fragments not being generated due to extra * in tikz env References: Date: Wed, 09 Dec 2020 19:16:19 +0100 In-Reply-To: (cristianrauber@gmail.com's message of "Tue, 8 Dec 2020 20:57:34 +0000") Message-ID: <87im9akfpo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=jeremiejuste@gmail.com; helo=mail-wr1-x429.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=oIAN0GXG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: AEA4E9403A7 X-Spam-Score: -1.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: bN20GxWxMXFJ Hello, Thanks for reporting. Indeed this is an issue that hasn't been fixed yet. This is the case for most latex environments My solution is here https://www.mail-archive.com/emacs-orgmode@gnu.org/msg129974.html but consider also the idea behind the star https://www.mail-archive.com/emacs-orgmode@gnu.org/msg129976.html I will try to submit a patch soon. Best regards, Jeremie On Tuesday, 8 Dec 2020 at 20:57, 10cadr wrote: > I was trying out the new option tex:dvipng. The HTML result was a image > with the tikz code. > > Turns out, debugging and telling the fragment processor not to delete the > files, what org generates for the tikz fragment is: > > \begin{tikzpicture*} > > Removing the astherisk would make it work without any workarounds. > > How I got around this was > > #+LATEX_HEADER: \usepackage{environ,amsmath,multicol} > #+LATEX_HEADER: > \NewEnviron{tikzpicture*}[1][]{\begin{tikzpicture}[#1]\BODY\end{tikzpicture}} > > Possibly fixing this issue, will make cross formats much easier. -- Jeremie Juste