From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?S=C3=A9bastien?= Le Callonnec Newsgroups: gmane.emacs.devel Subject: Re: Error when compiling refcards (emacs-25 branch) Date: Fri, 02 Dec 2016 17:55:36 +0000 Message-ID: References: <87d1hmza9t.fsf@petton.fr> <83k2bu6whw.fsf@gnu.org> <87oa0y421r.fsf@petton.fr> <83a8cirw1r.fsf@gnu.org> <87r35u12q5.fsf@petton.fr> Reply-To: sebastien@weblogism.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1480703607 18807 195.159.176.226 (2 Dec 2016 18:33:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2016 18:33:27 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 26.0.50.1 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 02 19:33:23 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCseB-0004IP-Iu for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2016 19:33:23 +0100 Original-Received: from localhost ([::1]:35998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCseF-0002XH-8b for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2016 13:33:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCs3o-0005DP-UL for emacs-devel@gnu.org; Fri, 02 Dec 2016 12:55:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCs3l-0003Id-Px for emacs-devel@gnu.org; Fri, 02 Dec 2016 12:55:49 -0500 Original-Received: from 13.mo4.mail-out.ovh.net ([178.33.251.8]:36981) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCs3l-0003IL-Im for emacs-devel@gnu.org; Fri, 02 Dec 2016 12:55:45 -0500 Original-Received: from player750.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id D9F5920431 for ; Fri, 2 Dec 2016 18:55:41 +0100 (CET) Original-Received: from pantoufle-3.local.weblogism.com (unknown [89.101.143.40]) (Authenticated sender: sebastien@weblogism.com) by player750.ha.ovh.net (Postfix) with ESMTPSA id 987E7180074; Fri, 2 Dec 2016 18:55:39 +0100 (CET) In-reply-to: <87r35u12q5.fsf@petton.fr> X-Organisation: Coucou Wahlou X-Ovh-Tracer-Id: 13086616093015708902 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeelfedrgeefgdehtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.33.251.8 X-Mailman-Approved-At: Fri, 02 Dec 2016 13:32:46 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209940 Archived-At: Hi Nicolas, On 2016-11-29 19:54:26, Nicolas Petton wrote: > I'll try that, thanks. Have you tried calling the `mex` command directly, as per the following patch? Regards, S=C3=A9bastien. >From cb54180b02e34fde0edf6c9d37c5fe27b6f47c75 Mon Sep 17 00:00:00 2001 From: Sebastien Le Callonnec Date: Fri, 2 Dec 2016 17:46:38 +0000 Subject: [PATCH] Fix pl-refcard compilation * etc/refcards/Makefile: Use mex command directly. * etc/refcards/pl-refcard.tex: Double forward-slash in filename for Mex. --- etc/refcards/Makefile | 8 ++++---- etc/refcards/pl-refcard.tex | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/refcards/Makefile b/etc/refcards/Makefile index 20057cb4b1..38f7dd30f0 100644 --- a/etc/refcards/Makefile +++ b/etc/refcards/Makefile @@ -227,16 +227,16 @@ orgcard.ps: orgcard.dvi pl_refcard_deps =3D pl-refcard.tex emacsver.tex pdflayout.sty ## Some versions of pdfmex seem to create dvi by default, hence output-f= ormat. pl-refcard.pdf: $(pl_refcard_deps) - if ! kpsewhich -format=3Dfmt mex > /dev/null && \ + if ! mex --version > /dev/null && \ ! pdfmex --version > /dev/null 2> /dev/null; then \ echo "No mex format found."; false; \ fi - $(ENVADD) pdftex -output-format=3Dpdf pl-refcard.tex + $(ENVADD) pdfmex -output-format=3Dpdf pl-refcard.tex pl-refcard.dvi: $(pl_refcard_deps) - if ! kpsewhich -format=3Dfmt mex > /dev/null; then \ + if ! mex --version > /dev/null; then \ echo "No mex format found."; false; \ fi - $(ENVADD) tex pl-refcard.tex + $(ENVADD) mex pl-refcard.tex pl-refcard.ps: pl-refcard.dvi dvips -t a4 -o $@ pl-refcard.dvi diff --git a/etc/refcards/pl-refcard.tex b/etc/refcards/pl-refcard.tex index df370d4b50..788bb2abea 100644 --- a/etc/refcards/pl-refcard.tex +++ b/etc/refcards/pl-refcard.tex @@ -90,7 +90,7 @@ Released under the terms of the GNU General Public License version 3 or = later. -\TeX{} source for this card is distributed with Emacs in {\tt etc/refcar= ds/} +\TeX{} source for this card is distributed with Emacs in {\tt etc//refca= rds//} For copies of the GNU Emacs manual, see: -- 2.11.0