From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0Eb8MlUgt2D/ewAAgWs5BA (envelope-from ) for ; Wed, 02 Jun 2021 08:08:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SCYxLlUgt2BFDwAAbx9fmQ (envelope-from ) for ; Wed, 02 Jun 2021 06:08:21 +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 1CE672AFE9 for ; Wed, 2 Jun 2021 08:08:20 +0200 (CEST) Received: from localhost ([::1]:55010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loK38-0001BN-IH for larch@yhetil.org; Wed, 02 Jun 2021 02:08:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loK2W-000170-D9 for emacs-orgmode@gnu.org; Wed, 02 Jun 2021 02:07:40 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:36588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loK2T-0003ei-UR for emacs-orgmode@gnu.org; Wed, 02 Jun 2021 02:07:39 -0400 Received: from bohne (p200300cd67464800a8d64506226aef31.dip0.t-ipconnect.de [IPv6:2003:cd:6746:4800:a8d6:4506:226a:ef31]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA id 724AC6D805B0 for ; Wed, 2 Jun 2021 08:07:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snobis.de; s=default; t=1622614054; bh=NSk90p1vCp800a3V1cTsTN8w9hXp85Q8KOPKg5wsPts=; h=From:To:Subject:References:Date:In-Reply-To:From; b=u4mHppw28AEEUzTHc8od7jctyZiHuEvRNKP4rLdlISI12ya7y2W+aGxEBcxrkx1oh sRzpWJOpTryViHoc4C6uX3H6apmdqZuWSR5/YmXTtnWuYDg6nrGtLwsfJYrQeaKFXS VS07tY3DC4i/yBgxnvkmmGNXBo0XoqTGJ2vHwY/Q= From: Stefan Nobis To: emacs-orgmode@gnu.org Subject: Re: suggestion to change default org-latex-pdf-process to latexmk References: <87wnrdqf6i.fsf@gmail.com> Mail-Followup-To: emacs-orgmode@gnu.org Date: Wed, 02 Jun 2021 08:07:34 +0200 In-Reply-To: <87wnrdqf6i.fsf@gmail.com> (Tim Cross's message of "Wed, 02 Jun 2021 10:00:44 +1000") 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=1622614101; 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=NSk90p1vCp800a3V1cTsTN8w9hXp85Q8KOPKg5wsPts=; b=dHtu1Ky9Fyl8j3/qIZj8gCYQ4a11hr6PNLmfAAzh7CDCrMrDBYJ5L1bRUKpcNGOf8/xkvz 0PIE64OKg5HYsbKeiz5XzLFCOPiOUOlKh5WcKFMJOz5WGGeRbuDXSPvtaUFzww2V5HbDWJ ffNyBSWqmheWOYPRiz6DA4hSvpBTagD7s6JRqMz8TZSSxopRZvA8kSJA9LuNJJKlySYYzq Ko17FCIUc5nbTa+rNASYyMkCdLviZAiiub2G8W1kvYTJNulPXTy7Y3Rjnh3oDk7aRqeqZq 5bwtJqtQgPpuihqWq1oemrXIYTstS7jXLWtmAHM0IalFO7eajYe0A+BIccpqsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622614101; a=rsa-sha256; cv=none; b=HTbgqWGyLNwHwp3X9Ueg7q/KV2qWawS2bXv+WeSnSsH1fmDrvYpZLjuipqtBLiakdZh3HU reUazUT/Ad54or0Y6owuHDDHN7DR7ZPhjeEErKl39KpSYHI1PJUWlnzG10rkvnSDaPyTad uP7yGqXVrdeTp2dKNwIwoJWg+9Y/RBC09zlx3yH0hQDYMnF5jQ9dvIdiXQlNcyzni/M/Kr XwYLmgHZ1KZN/zpygYQ+JaJP+WltH3lV3/5jWNxBdjgwPp+dD2WvGdddwxst7oGceQf4vz F5iq5NDDMm+PiIQalDuHT01eDN3sJlhGFsN2BJnVjHjL5uYfoqsXAs14OvfrsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=u4mHppw2; 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=u4mHppw2; 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: 1CE672AFE9 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: CAJ6oXMRt8Dn Tim Cross writes: > One reason is that latexmk is not installed on some systems. Just after starting to write that this is false nowadays I realized you are right. :) See: https://mg.readthedocs.io/latexmk.html For macOS latexmk is distributed with the default TeX installation MacTeX for quite some years (IIRC at least since 2012). And it is working OOTB. As far as I know the default TeX installation for Windows is MikTeX (is this still true?), which also includes latexmk but lacks the Perl part (therefore Perl needs to be installed manually). But there is TeXLive for Windows and as far as I understand in this case Perl is also installed and latexmk works OOTB. A manual installation of TeXLive for Linux should also install latexmk (and Perl should also be available on next to every Linux box). Only some distributions bundle latexmk in a separate package - that should be easy to install (but breaks PDF creation if forgotten). Therefore: latexmk is available on all plattforms and in most cases it is already installed with the TeX system or easily installable. But not in all cases does it work OOTB and requires more work like installing Perl on Windows. In my opinion its worth to depend on this tool as it makes handling LaTeX documents much easier. On the other hand it may raise the bar for some users just to high. Hard to say. An alternative may be to use latexmk only if citations are found (new feature, new dependencies). Or a wrapper that checks whether latexmk is available and works (e.g. trying to call "latexmk --version") and falls back to the old routine of manually running the engine and bibtex/biber if necessary. -- Until the next mail..., Stefan.