From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kDl8MmiPvWJPCgAAbAwnHQ (envelope-from ) for ; Thu, 30 Jun 2022 13:56:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UP5cMWiPvWL1agEAG6o9tA (envelope-from ) for ; Thu, 30 Jun 2022 13:56:24 +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 62D7B1059A for ; Thu, 30 Jun 2022 13:56:24 +0200 (CEST) Received: from localhost ([::1]:37734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6smU-00037k-Tz for larch@yhetil.org; Thu, 30 Jun 2022 07:56:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6sYL-0006yy-C3 for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 07:41:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6sYA-0007n3-OW for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 07:41:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7E089240029 for ; Thu, 30 Jun 2022 13:41:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1656589292; bh=/Um3XU6koKN7hCoHW1BQ9r0cHtq3rOX7HAtMjgmKOBE=; h=From:To:Subject:Date:From; b=HlnIlZhfa2iFVXXrRhf1T7CbdSYgjTjnDHhIDJvcK/emRjU0pld8PODJ3g5lgkR8C he2dxESlRdiZMHqjq0KEtfPPm7SJOk8MIC930RIQ50AKF541xyOfNJH/OhpawhMvmR u97H/zWdGGr9hsNxwVddciqN1BsdwmP3nkDZEuThLBTXk87U1LjyIexMrz7f0fCord 9SB7OqKlnjHM++EMCDaNaCk6Qfhy3gK/De2Q2isRQ1YBBq/w5BRaxHTavZ4DWdaKZN 0t9kY4Pn99+enCkdS/ED9ntwzi9wh0iMygMM7FoKLWsf88Yr/eNudOSeOm3EzoNsvI Ev0CNteusqtgg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LYbyM267pz9rxH for ; Thu, 30 Jun 2022 13:41:31 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Re: PDF export, table of contents and internal links References: <87czerb72i.fsf@k-7.ch> <87mtdv1bwl.fsf@posteo.net> <875ykjaza7.fsf@k-7.ch> Date: Thu, 30 Jun 2022 11:41:29 +0000 In-Reply-To: <875ykjaza7.fsf@k-7.ch> (=?utf-8?Q?=22S=C3=A9bastien?= Gendre"'s message of "Thu, 30 Jun 2022 00:02:02 +0200") Message-ID: <87mtduv0nq.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de 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_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=1656590184; 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: 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=/Um3XU6koKN7hCoHW1BQ9r0cHtq3rOX7HAtMjgmKOBE=; b=otIFE5JFWmpF0nncAAGxNSicCGH47LhWAqIRygUFQa47rtHQadbxOhFDRV7uTX3UfIZX6/ pkLVtQlQ/0PYYlkGaIFbk8cH4Nf5MRnVdTqJvjFWzrteH/JnPA/5Mj5asKiSNnVQ7JULp/ 0Xf/J6PY7qR8ayO7VMIXv4nigH3HgPk9tNAiiZpT7ZJ4Oyayz6DeHMFLOkTJFNGeZMHSNQ qwYPrhtwkWv+8CXL4MB1JmISip2gqgssp/Ef4RM9Yc6YQa1kRmWP+UAhvqyw+xnFuTeIhH H/IP+3hry2uyYUEzcGKbVG/mx8eCf4Yk4Y5XRZU/on81JnZWlM4F7Ithi4q0Jg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656590184; a=rsa-sha256; cv=none; b=tdVrD/icnBnpsHOKrcVN7eVi1lUSuDdCoMVWoAjkLj8UXM//zx2kusff7MTPkbyUsiJNxW BUGHpgZNlOfndmM+3dJyMS9vCKhLXi/2j/z1aHwEW7Rdssj705Xddmh2wctjztzlTfILDu 76Y4C34De8EFYs3YBDB7U+3aRb4dTx3tcUifkZJD2KD8JBHkNckTUbJyM11zg0xR8EEPlR V7otXORL8qapxCa4Tc2PYkcOjuk8KfiVzpNOyRFFU+hHFfnInbX9LkYK7xJq+FH+GveBSz s8L+dtRXK3JTjTiVuhka0ZjnwNAaJ4le2WGW0DqNn3f/VWndy46TnyP2imk0Ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HlnIlZhf; dmarc=pass (policy=none) header.from=posteo.net; 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.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HlnIlZhf; dmarc=pass (policy=none) header.from=posteo.net; 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: 62D7B1059A X-Spam-Score: -2.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: jaSKLChBLpwA S=C3=A9bastien Gendre writes: > If I learned LaTeX syntax in the past, I never take enough time to learn > how work each compilation possibility. I feel lost with all the > pdflatex, teklive, lualatex, double or quadruple compilation, etc. The problem of multiple compilations is not related, in general, to the TeX engine being used (pdfTeX, XeTeX, LuaTeX) but to LaTeX itself, which continually needs to write and read auxiliary files. If, in addition, you need to use citations, add an analytical index or other elements to your work, you will also have to call the corresponding engines (bibtex, biber, xindy, etc.) and compile again. And to all this is added that there are specific packages that also need more than one compilation. So it's often the best idea to let latexmk take care of all that instead of compiling manually. You may be interested in taking a look at another TeX format, ConTeXt, not as popular as LaTeX but very powerful. It has certain advantages over LaTeX. For my workflow, I prefer LaTeX. But there are users who can be better served by ConTeXt, and they should be aware of it. Unlike LaTeX, whose concept is of a minimal kernel that can be extended by packages, ConTeXt starts from a monolithic kernel, which includes everything or almost everything. In other words, it is not necessary to load a package for this, another package for that, etc. Its interface is more minimalist than the LaTeX interface and its compilation process is (I think) faster. And, on the Org side, we luckily already have a ConTeXt exporter, ox-context, written by Jason Ross: https://github.com/Jason-S-Ross/ox-context/ There is a very complete introductory manual to ConTeXt written by Joaqu=C3=ADn Ataz L=C3=B3pez, with translations into various languages, inc= luding English and French: https://github.com/contextgarden/not-so-short-introduction-to-context > Do you have good articles or book to suggest about this part of LaTeX=C2= =A0? A good read might be: /The Not so Short Introduction to LaTeX2e/ (https://scholar.google.com/scholar?q=3Dthe not so short introduction to latex2e) And if you dare to program at a low level in pure TeX, this is very good: /TeX for the Impatient/ (http://mail.tug.org/TUGboat/tb11-4/tb30ads.pdf) > To come back to "org-latex-pdf-process", I only added "-shell-escape" > for the minted package. To have beautify code block. But maybe it exist > better solution=C2=A0? Someone have experience with Engrave Faces=C2=A0? The -shell-escape flag only makes sense if you need to call an external process during compilation (as in the case of minted). It is also necessary if you need to use an indexing engine like xindy. But apart from these cases and some more, an org user will have more advantages using babel. I use Minted, but I'm not convinced. It also has some problems with certain LaTeX packages. I have Engrave Faces on my TODO list to try. And possibly I will migrate to it... Best regards, Juan Manuel=20