From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MIb6A+S9U2Z4nwAAe85BDQ:P1 (envelope-from ) for ; Mon, 27 May 2024 00:55:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MIb6A+S9U2Z4nwAAe85BDQ (envelope-from ) for ; Mon, 27 May 2024 00:55:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716764132; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=OQPa4svHmc2GtEEinX3M44/ioP0WLpm+pqcwGpQDjx8=; b=j60SsKMwuOYOSBPI57j/ttxuZiMmHRNQ21p6e0h6gNUMmGWK7KE5fmJv3aYYAxyqiVx8KS 9gKw4d+XL6B/uMjSJGbqPiLC5gl75/WEjISwGK5+btMw2SPCarXgqIapDUyWcQoZuEnUb2 YwkAD5iEChOLxXd9Yi5K8xk+6WEt1PZrHJRJZGwaSo7+RrOpWnkzQQsxL8GiJgZqKzprBc LnXHZ2YOInheD3BYLxNZmsiGE97AcBF1SIHUGlaKIvZy3+iaIBrKzP5pCuXUPHMyEpbD5b e9mMkvn6IzXTqtWQQt30VHS+oSpu7mhcY82+YJjV9JutrkMGyPbcf9FTUEtbgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716764132; a=rsa-sha256; cv=none; b=IY/F9GDsq/i6vg1Z07q6LLwedec7LjiBC1zGKsiT7LuiaTJ43PcoAe5BmHiyHRHxrNk2nr eXzgn7d40czJq7rW/VXNqFpV6lua23+8diFwYiISUZIW47bIBxsth0YZHN+hl+GkrW6kdd eKi9LGXvUOVUqEypN3d/d0hPlO+z/Y+1s8NP1WC7AuRTi3DU5t9QjR8gZxE6wdFFUCy4vP aL7/L8KHK6zNqe+1AsGTs5/iLCuoHZiIanqlZfZpVDK5e3bXGiagmwDzc4L18Z3f9ck37E 7unI/ULnCDUQ7JrZ2pH85vhv0K4N3RXTDARS2mQZCXqNW9SV6nGbyfkQ5OVzGg== 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 AAD053B47C for ; Mon, 27 May 2024 00:55:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBMlJ-0006cR-6Q; Sun, 26 May 2024 18:54:45 -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 1sBMlG-0006bh-Ix for emacs-orgmode@gnu.org; Sun, 26 May 2024 18:54:42 -0400 Received: from k-7.ch ([185.31.100.96]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBMlE-0000cu-St for emacs-orgmode@gnu.org; Sun, 26 May 2024 18:54:42 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 097D9E810E for ; Mon, 27 May 2024 00:54:37 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: emacs-orgmode Subject: LaTeX brocs: Babel vs export User-Agent: mu4e 1.12.1; emacs 29.3 Date: Mon, 27 May 2024 00:54:27 +0200 Message-ID: <87fru46v6k.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.92 X-Spam-Score: -7.92 X-Migadu-Queue-Id: AAD053B47C X-Migadu-Scanner: mx13.migadu.com X-TUID: YUVRiZARejBc --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, tl;dr: Which is the best option between LaTeX source bloc and LaTeX export bloc to embed some LaTeX code in my Org-mode document=C2=A0? =20=20=20=20=20=20=20 I'm a last year student and very soon I will have to write a "M=C3=A9moire" about my diploma work. (Sorry for using the french name, I didn't found the English word and I'm sure it's not "Memory", like in computer memory). I plan to use Org-mode to write my "M=C3=A9moire", then export it to LaTeX then PDF. And because I will have to draw some electronic circuits, I want to use the LaTeX pkg named "CircuitIkz". And I want to put the drawn circuits in figures with a caption. For doing it, the manual say I can write the latex code into an export block, like this: #+BEGIN_EXPORT latex any arbitrary LaTeX code #+END_EXPORT I have done it with success, but I have to define the figure and the caption in LaTeX, into the export bloc. But I remember that it's possible to use Babel source bloc, indicate "latex" as language then evaluate it. But I've never do it. Is it better than using export bloc=C2=A0? Does it give a simple way to encapsulate the result into a figure with caption ? Best regards =2D------ Gendre S=C3=A9bastien --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmZTvaMLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p4qkA//Z7XLqesLO/0PvUAi2ngfRky5KBFpfFMLvngnzqBX iIgJUcfWeWGiWDJXSsIB9zFPn36xiPvH64ANau6uN4hw0qpYo25SB26naF+2qDpD sHjpQCDwpAorudfEySuICv0Er9GzGo/QkShk7RK/nk5RbQnOjEQmjDcm2UvlLYNw Ruw9OvYTZP08TD77xt7MKrl7g9R/MtnFggpzTZT6fKWSNYxbFWVr/aFIS7uv83xY aqlubyFJSaq4SrniTjSEA9LkTPx8W0rDa7p+0R3oui7WdI7SoFU/gVXqIUHlJEZ9 1vIUKYIx2z883VsJHk1N6RDI/KK/wJxNHDbV549IhJ1uJhmn+ImEYxEGsVIX8MG9 lpUTzoA9JY8DvzhXAz85+vfFi1MVizAiXBaVJIt/3oozh88cP++y9LnyfTwxJU3Y 6V26qoAkmN63W5QfQUFTiqho8eHxDvnsDM/QrG3thjx2EPIWmmBv6KCxiqlQrSHd maQ+1Nu6l831d0zkKGqOmKG5GSaQS3W8iUJu45EGkenL7AhKSjc931KXVnIlqu1p hs0QHkYTEo/mCAzb4Fr8LZFKorLzBiodB6+UXLMEUZ4Gj6meXNNqfadrdF9JOXIS vAe2voWpYJQKRdKJijQDM2V1qUr5/8A3JdCzPyby+92rQGgW+OgtnV+lcPkPPaZO X/k= =bDXF -----END PGP SIGNATURE----- --=-=-=--