From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6BI8ABmtt2CzJgAAgWs5BA (envelope-from ) for ; Wed, 02 Jun 2021 18:08:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WOj2Nhitt2CuBgAA1q6Kng (envelope-from ) for ; Wed, 02 Jun 2021 16:08:56 +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 EE37612871 for ; Wed, 2 Jun 2021 18:08:55 +0200 (CEST) Received: from localhost ([::1]:49282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loTQM-0004vX-9C for larch@yhetil.org; Wed, 02 Jun 2021 12:08:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loTPS-0004ut-1y for emacs-orgmode@gnu.org; Wed, 02 Jun 2021 12:07:58 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:42766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loTPP-0000jA-Jk for emacs-orgmode@gnu.org; Wed, 02 Jun 2021 12:07:57 -0400 Received: from bohne (p200300cd67464800bca71b5a4ee286ec.dip0.t-ipconnect.de [IPv6:2003:cd:6746:4800:bca7:1b5a:4ee2:86ec]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA id 828986D839C1 for ; Wed, 2 Jun 2021 18:07:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snobis.de; s=default; t=1622650072; bh=jQDUNj7ab2/Ak9vqkWqBjqN+9CR+CVA1IWMY/t2KlZc=; h=From:To:Subject:References:Date:In-Reply-To:From; b=Q+ESxx/f2sLn4iWlscSFIVM57UZyiHRZrpwQwpYVrEwaWEL8jDYCW3Z0kuszDNUM1 G7i+0uunSG8sD3FcAtYw/UmKVtS13NooxQSiJCHIif8FaQd1+oQxHPjYFw71BvUoeW caoxp2cNJOgeFoNPeRiGloK9waRVQ4PbU4kZ5c2E= From: Stefan Nobis To: emacs-orgmode@gnu.org Subject: Re: suggestion to change default org-latex-pdf-process to latexmk References: <87lf7tbkza.fsf@gmail.com> <87fsy1bjpk.fsf@gmail.com> Mail-Followup-To: emacs-orgmode@gnu.org Date: Wed, 02 Jun 2021 18:07:51 +0200 In-Reply-To: (Scott Randby's message of "Wed, 2 Jun 2021 11:39:44 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=89.238.71.130; envelope-from=stefan-ml@snobis.de; helo=basilikum.nobis-admin.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_PASS=-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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622650136; 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=jQDUNj7ab2/Ak9vqkWqBjqN+9CR+CVA1IWMY/t2KlZc=; b=QzZpjsjcdvOfu8bUHuDnMAzVVEoBC0wOh8tkbcmugsoN6xd/r39EgmCvuKrpjDmCGwtoX3 Nm9oHSYD6AKGJ4WK5Rj0SX8oeVeL17sxev8f8yUTIt6l2VW1d8uI9e+duh2Y/uxl3IUU5T o8z8eZ15z/wFnUX/KjQyXnjEQdlGUa59PVELLe+DT/110QjlQmiD2LTcNVKxZNG56//A85 bmOdOeG6noe3f4EBcpKvuAwAwLQJ3Fx97BOJ5QvpNC3xCbwaDP1zgZ6YpLoCl5UNZi1r6I JaXSLCr7/G+ss+bw6ZF8wj6+x2xLNgtYE+JM8xWDePI1HRUV0GX3gCUK4AmVDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622650136; a=rsa-sha256; cv=none; b=npieLRkQvhQvbfZsZhBLNDNbLlLtIRRZrfTj4TnnIHpsoc0w5BbXOqcn+Ef9RTm5D3bGWT igCZodId4vQmZjtQjk/aTZKbVX4VMTXhM/cU2VmLyksNGURk+PAKIOTxHXFnvLtTHyUKB4 BQpCTbcA4I0iAUgHPhKhFnVsD1oVmLgkz5zQc+QA8IgS4VDzlqwMnlMXDecM3BtypP2Zs4 F8w6adyDlCQqJjwRnn7Xnz3uywC+mVkJEPQfRDeotc2NJoIzi+8PYrBBUnu9MuxCf8mZaY /VUnF+uHaDzJ2nQX/5/II8pWM8XEhKdQS6Ejf5dZ36ml263UMvMPyavnHSgwWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b="Q+ESxx/f"; dmarc=pass (policy=reject) header.from=snobis.de; 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-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b="Q+ESxx/f"; dmarc=pass (policy=reject) header.from=snobis.de; 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: EE37612871 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: g8gR84W/Rwmg Scott Randby writes: > (1) Which one of the above suggestions should I use? I don't want > interactions when I'm exporting. I don't want to have to mess with a > configuration file either. > (2) How many shell commands will org-latex-pdf-process need? Right > now there are three. Replace those three with just one latexmk? I have --8<---------------cut here---------------start------------->8--- (setq org-latex-pdf-process '("latexmk -f -pdf -%latex -outdir=%o %f")) --8<---------------cut here---------------end--------------->8--- in my Emacs configuration. The nice thing with latexmk is, that a single call will suffice. It reads the generated log and checks whether multiple calls to the LaTeX engine are necessary (after each run it check whether another run is need, up-to the configurable maximum of 5 runs). Therefore in some cases (depending on used LaTeX packages and commands) latexmk may even produce the PDF faster, if only one or two passes are necessary. But sometimes LaTeX thinks it may need more passes (e.g. having undefined references, unstable output due to dynamically generated things at page breaks for example with cleveref and varioref where floats/references are put on one page in one run and another page in the following run) - and in these cases creating the PDF may take a bit longer due to the maximum of 5 (instead of only 3) runs. Hope that helps a little bit. -- Until the next mail..., Stefan.