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 cE7mKIH43V+zbgAA0tVLHw (envelope-from ) for ; Sat, 19 Dec 2020 12:56:33 +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 wA7BJIH43V/FHgAAB5/wlQ (envelope-from ) for ; Sat, 19 Dec 2020 12:56:33 +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 320E49403A6 for ; Sat, 19 Dec 2020 12:56:33 +0000 (UTC) Received: from localhost ([::1]:50120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqbmh-0002bj-CY for larch@yhetil.org; Sat, 19 Dec 2020 07:56:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqbm7-0002ZT-GL for emacs-orgmode@gnu.org; Sat, 19 Dec 2020 07:55:55 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:35014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqbm2-0004t6-RK for emacs-orgmode@gnu.org; Sat, 19 Dec 2020 07:55:55 -0500 Received: by mail-wr1-x42c.google.com with SMTP id r3so5956989wrt.2 for ; Sat, 19 Dec 2020 04:55:49 -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=LZ0tD/RKC+Y/y7UxCjBHcxaMx94QBqOjTFvBPQoJspo=; b=A2jp8gTZh8QD/qyC/t1ltpnKc/v9RbpJwgXQxHNmrv440Jkcise96PCFxuG2CHZaXz g81tsMf7wRMqCsPpWn/Zfxh6TJru4S9wZamcB6MmFo2AH0XqEw0faaEdc0xrDCYCBdBy QUQEvbLYIdigdRK3uOKVAZnLoF7ylbbLX1+H2gJRP7nWMD9WW261wu/YsXh8L/ChSxHq Q54UK5njeBqkANqRzxXoSk17rsOx8VNFchpOJxD2RB84wcYZ4hb1wJ6vsK2nODyyl7Hh kbUfQs0Z+SrrvPhgdD6kE8dyPy4xBl+92MdE2NxX1dQYmEvBImE67dirLryvFZEGCrD6 29vA== 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=LZ0tD/RKC+Y/y7UxCjBHcxaMx94QBqOjTFvBPQoJspo=; b=Tbv5HDJU3h9T5chWLsnN6pCTluTVGC15pKtyrVwh97uGvwLDO1+eYBtOxiBL53dHvP PvizN7crZvNWnw5qLNLbSnzLxeqDwlm7C4Y/m9INUdTghOPB01EcjgWUNzmn7roZupqu qaTKY29a99t7yNGrUFDZFplnMepDEVm873cRFr8Z0frL5oWrk0f0PqbfQU378aGv/RGK zFXklTSrArmffgxCdQ31MJ3oW+TBPjvz7mDg3fClG62XujEAobqKbQ2zj+Dsrf3gTD0o slk+oXoZow7czygOiGdzHPEmujQQCXl5tOKdHATE7/xGKZyqnXeQ0+B+Y2GRfxPRyF/Z Rd5Q== X-Gm-Message-State: AOAM531bK6belNFH+/FknI8juiLFMYsvwLn3lFDrhpyZbsTkakG3eEMB lFe1Q06PjJiWiqgc+r1ZKCzmAF4aFqsFdw== X-Google-Smtp-Source: ABdhPJxvywrtRM883vT+Z+dNFg/NOM5w3zMw8aoP/oROT4FV6qzFYsD6jx14fREVLgyiM2IFyrL7pg== X-Received: by 2002:adf:ef06:: with SMTP id e6mr9191987wro.231.1608382548063; Sat, 19 Dec 2020 04:55:48 -0800 (PST) Received: from freegnu (91-170-171-121.subs.proxad.net. [91.170.171.121]) by smtp.gmail.com with ESMTPSA id s1sm18265094wrv.97.2020.12.19.04.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Dec 2020 04:55:47 -0800 (PST) From: Jeremie Juste To: Thibault Marin Subject: Re: LaTeX fragments not being generated due to extra * in tikz env References: <87im9akfpo.fsf@gmail.com> <87h7ok3qi2.fsf@dell-desktop.WORKGROUP> Date: Sat, 19 Dec 2020 13:55:44 +0100 In-Reply-To: <87h7ok3qi2.fsf@dell-desktop.WORKGROUP> (Thibault Marin's message of "Thu, 17 Dec 2020 19:30:13 -0500") Message-ID: <87wnxe7y5r.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::42c; envelope-from=jeremiejuste@gmail.com; helo=mail-wr1-x42c.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, 10cadr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.28 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=A2jp8gTZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 320E49403A6 X-Spam-Score: 0.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: +zAAqn7bmODM Hello Thibault, Many thanks. This looks like a reasonable trade off for me. Best regards, Jeremie On Thursday, 17 Dec 2020 at 19:30, Thibault Marin wrote: > Hi, > > I introduced the change that broke the behavior. The attached patch > seems to fix the issue for me, does it look reasonable? > > Thanks, > > thibault > > On 2020-12-09T13:16:19-0500, Jeremie Juste wrote: > > 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 > > > -- Jeremie Juste