From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YI/+Lw4tr2KhKQEAbAwnHQ (envelope-from ) for ; Sun, 19 Jun 2022 16:05:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WKnsLw4tr2LZkAAA9RJhRA (envelope-from ) for ; Sun, 19 Jun 2022 16:05:02 +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 805FF129ED for ; Sun, 19 Jun 2022 16:05:02 +0200 (CEST) Received: from localhost ([::1]:56034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2vXx-0000mc-MW for larch@yhetil.org; Sun, 19 Jun 2022 10:05:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2vWD-0000lO-4w for emacs-orgmode@gnu.org; Sun, 19 Jun 2022 10:03:13 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:40560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2vWB-0004kv-NX for emacs-orgmode@gnu.org; Sun, 19 Jun 2022 10:03:12 -0400 Received: by mail-wr1-x42e.google.com with SMTP id w17so11342325wrg.7 for ; Sun, 19 Jun 2022 07:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=UHglOEmw77Gf+htni9K9Ogp9P2cE8Qa1RQd0FI20Kw0=; b=UoKJzPr65ZtLVXFck/8Of+abOpBScRZwpPhZaJLb5llspgT+wiaGZOy6PvwKkREcB1 OweCw+OrrSt0N2c7ZtCLe1E+55jX7FYewyCYDxZi8uqLdp6EdNY/bizC1TGt7jrT+TZx E3hShlDIeQxXg5VYT9nPXVLtC/4gi0RUspiUNc3Po+OzEIEYNxcREjLOFHHfHhjKojAd 6jUE4v0pDya4E8CgeFrc9mhj09cE8tXEv428iTkH3NhF43iboulWJC4oe8aHF0IDzpsy 2c2Wjd4mJZmhsaYTrR4l1UQjbcN7dKIfK5pwOJ7g4TNteJ7Jnfbg7xI5Znl3rSjINvtn TPtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UHglOEmw77Gf+htni9K9Ogp9P2cE8Qa1RQd0FI20Kw0=; b=6Bag5e3WPeoPkZlqKYSPVGfg+kZL1cFEcm65ZVcd51wO0GoxPM0+wBbEW52xfHXWFN GeiV8Ump8jh3Axvz4ztYqltXHOqGEbTRTyILN/FCmvOxnM6p4RsV5ulII0W5IZkkozXr akREAD+J4+hfTBi3GO/qLY9EP+wHqbIekceNf1WhJrO93m19YyB+6Y4FxjuqREQlwl9C KPop6lLkh/3CaglX61LK4oW+0K8p6yYyiPkXxfPINWEm9cjkL8DCcnujSjDBdVABVNT/ 4KYdfLRZOVYcXLRD3xIkPzBTEPm9suTFh9XU0jvNgl3W8KGqObSehj/wmtubg0HTmYhm 2ZUw== X-Gm-Message-State: AJIora/0rGFl3lQBkXwibNER0fiMqPg3T2qBNk9UHhY7f1amRWXTa7J1 MuxsO80Yy5lO/9ww+AslKg8RtFWbj4kb8A== X-Google-Smtp-Source: AGRyM1sFqWfnbRfwgg5JLooIySBM2HwRgmBUJMSZdKRs6g+qWlRQxLAFFQaTfGRGBsGOs/2L3a6gjA== X-Received: by 2002:a05:6000:1f8d:b0:219:f3c7:fd27 with SMTP id bw13-20020a0560001f8d00b00219f3c7fd27mr18134152wrb.324.1655647390164; Sun, 19 Jun 2022 07:03:10 -0700 (PDT) Received: from paquerette (176-136-230-16.abo.bbox.fr. [176.136.230.16]) by smtp.gmail.com with ESMTPSA id s6-20020a05600c29c600b0039c948dbb61sm11591934wmd.26.2022.06.19.07.03.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 07:03:09 -0700 (PDT) From: Edouard Debry To: Org Mode List Subject: Re: Creating animated gif from latex src blocks References: <87h74j4d8t.fsf@ucl.ac.uk> <86sfo3gc4e.fsf@gmail.com> <877d5emjbs.fsf@ucl.ac.uk> Date: Sun, 19 Jun 2022 16:03:09 +0200 In-Reply-To: <877d5emjbs.fsf@ucl.ac.uk> (Eric Fraga's message of "Sat, 18 Jun 2022 09:06:47 +0000") Message-ID: <86o7yo92ea.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=edouard.debry@gmail.com; helo=mail-wr1-x42e.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, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655647502; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=UHglOEmw77Gf+htni9K9Ogp9P2cE8Qa1RQd0FI20Kw0=; b=aBo01ViApTT36hP7FJVl3QPfqKbEFl2WHv73N/tRbOLMDGlyiW236rb94346rvMAvFQmpy w2sRCQc+hwiQbj+lR0rUP2jS15aoO4WgqEoEHrDBfbfOkrprpGLjfaoKmY2uNLfxXmGxzY Z4NhhwbSGj3abIIbQ4tfLmyg5LdNge03c0i/O0fexUvz7l1IXTh/CI/BdTfOYNxsdFAKu1 nt4IQ5ew3P+pC2PQ2fXes/z7WkGHpecChoRjsM1iwlg7SJaQzecG+Hkp0gxZJVWIUjCLob ZuMQz0Ntic2eqsQWf9VIJ0EFRyiqJwc0FOzSOVL7m+iZQ78g73bFBWrH3bfjGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655647502; a=rsa-sha256; cv=none; b=uUnzdIMAZJT+ReuGYrYEQa2qpTXnA4JoB41hok+w6U6jy9CcyGBaKZT9+WlB+iyb+lHNCa bwPFcUUA+2SsNnl60ymxCJJmn/hoxcW1lY5iL4kRx9+dHVeMhfGeZ6GN/P1A9p/6z/UdL5 6mu12G7Ctg4QlFHXLsHHsA4XzN9HVnrtfWo6KrnS+axcxrSZp0Imz3WftssgGOPkZA+poq cqsOARHpIf2RkUagniM0nXNaOEVWxSL5ft5//av7CCM+4fFueNsSKKzX6m12MMqpGHmJ5z 26GrWLRVgJvr9evbSwXEwrb8OEoGmkwA6782zT8Id891DVl48yh3KMPiLCaEnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UoKJzPr6; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UoKJzPr6; dmarc=pass (policy=none) header.from=gmail.com; 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: 805FF129ED X-Spam-Score: -2.48 X-Migadu-Scanner: scn1.migadu.com X-TUID: KGm8YWm4vt1h Here is what I am able to do : - write a latex src block with several tikz blocks inside (as described in the tex.stackexchange link) - export in a gif with pdf+imagmagick - open the gif in emacs and start the animation - insert the gif into the org file and start animation But there is a trick for this to work, the default latex header is "\\documentclass{article} ...", which fails but, replacing it by "\\documentclass[tikz]{standalone} ..." succeeds. Regards "Fraga, Eric" writes: > On Saturday, 18 Jun 2022 at 00:26, Edouard Debry wrote: >> As a matter of fact, you can, but I will check out the latex package you mentioned >> >> "Fraga, Eric" writes: >> >>> Check out the animate LaTeX package. I don't believe you can create >>> such the actual animation from tikz itself. > > Clarification: I believe(d) that you cannot generate an animated GIF; > animation is possible, of course. But if you can generate an animated > GIF directly from tikz, please let me know how as it would be useful in > some cases. > > Thank you, > eric