From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gDCPLjdclV/cTgAA0tVLHw (envelope-from ) for ; Sun, 25 Oct 2020 11:06:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MNtqKjdclV9bfwAAbx9fmQ (envelope-from ) for ; Sun, 25 Oct 2020 11:06:31 +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 229899404C7 for ; Sun, 25 Oct 2020 11:06:30 +0000 (UTC) Received: from localhost ([::1]:41696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWdr3-0003JK-UO for larch@yhetil.org; Sun, 25 Oct 2020 07:06:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWdqW-0003JC-EX for guix-devel@gnu.org; Sun, 25 Oct 2020 07:05:57 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWdqP-0005kt-At; Sun, 25 Oct 2020 07:05:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1603623945; cv=none; d=zohomail.com; s=zohoarc; b=Qy7jJn46/KU7vBUQjTG5vRlUrEcCdASJZfRse2quuOjtJG/X8jcrIY2yfMnur4Er4sgkWtzMKhtSuPdV8NfHqw08ltMhE796jq7a54WouXVt1OLKcQ3QszlIA2UCkDzXYckEgO+jupGp7qUBjfdNPiuTnftpQRFwtW3LgKzCbSk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603623945; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=tfMtnjwqECNDKngQEpWcwU6u9nOCy82TmmS4D1Pomog=; b=DO1EbPcpADp/qINWsAMJC+rLPjOdis7XTI5vbpsuFbJVDfu7z9atZBDh3cfxilUu+AZIs7D3xMCiVkQHqAxft2PMpQLBRQT4OkVtGdyjwp+TdUtiH6cVIOMDTH3R8HIhxbbtK5Sk3nrFsXJVeJl+ZNcHOz++cYwrg2LVh03vRVU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1603623945; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=tfMtnjwqECNDKngQEpWcwU6u9nOCy82TmmS4D1Pomog=; b=CmG7UI8C81WFNyNDECUXtWoHlkckhCKE68o2ydGa836cA4p8QOjx1XhuvlcapWRy 4t8tB5TkSAc69KBz/AoZWe7L0WZPzsZGFz/SppSs5QLYF+Ksv9l51W6xqZPvqNmG31N P4SbZkdAnqhZ2e4YTJGDilG9a/jpX14QlPve9SfA= Received: from localhost (p4fd5a703.dip0.t-ipconnect.de [79.213.167.3]) by mx.zohomail.com with SMTPS id 16036239446411019.5043166936639; Sun, 25 Oct 2020 04:05:44 -0700 (PDT) References: <86lfg6z0lm.fsf@gmail.com> <87tuuuvum5.fsf@elephly.net> <87r1pyvsn4.fsf@elephly.net> <87lffz6fmc.fsf@gnu.org> <878sbzut6q.fsf@elephly.net> <87zh4etqnj.fsf@elephly.net> <87wnzitof3.fsf@elephly.net> <87o8kut4vm.fsf@elephly.net> <87ft66t2uj.fsf@elephly.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Manual PDF and translation (modular texlive?) In-reply-to: <87ft66t2uj.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 25 Oct 2020 12:07:33 +0100 Message-ID: <87blgq36oa.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-ZohoMailClient: External X-Zoho-Virus-Status: 1 Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/25 07:05:47 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=CmG7UI8C; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: FpGtczTQlT0V --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> I suspect that the build environment doesn=E2=80=99t have locales set up= so the >> format dumping tool assumes that we want to us Latin-1 encoding for >> everything. > > It=E2=80=99s not that, but I have another clue. > > This is the relevant line from fmtutil.cfg: > > pdftex pdftex language.def -translate-file=3Dcp227.tcx *pdfetex.ini This patch fixes it: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-texlive-latex-base-Use-character-translation-fil.patch >From a1e4825c71308b40a0a250cdddbabf2cf534c5a0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 25 Oct 2020 12:01:09 +0100 Subject: [PATCH] gnu: texlive-latex-base: Use character translation file. * gnu/packages/tex.scm (texlive-latex-base)[argumenst]: Patch fmtutil.cnf to ensure that the character translation file cp227.tcx is used during format file generation. --- gnu/packages/tex.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1cffb52410..95ec9d6ada 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2470,7 +2470,10 @@ formats.") (make-file-writable "web2c/fmtutil.cnf") (substitute* "web2c/fmtutil.cnf" (((string-append "^(" (string-join disabled-formats "|") ")") m) - (string-append "#! " m)))) + (string-append "#! " m)) + (("translate-file=cp227") + (format #f "translate-file=~a/share/texmf-dist/web2c/cp227" + (assoc-ref inputs "texlive-kpathsea"))))) (invoke "fmtutil-sys" "--all" "--fmtdir=web2c" (string-append "--cnffile=web2c/fmtutil.cnf")) -- 2.28.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable With this patch the German PDF manual has no more encoding problems. This should go to core-updates or a new texlive-upgrade branch, because it results in countless rebuilds. There are still remaining problems when using make doc/guix.de.pdf: * kpathsea causes mktexpk to be run for a number of fonts that already exist in the union (e.g. ecrm1200). Why aren=E2=80=99t they found? Perh= aps that=E2=80=99s because TeX Live only includes the font metrics (.tfm), bu= t not the .pk files. I wonder why the .pk files are used at all. * despite successfully generating the PDF file in the temporary build directory, make aborts: /gnu/store/mw4llmn2l617gf5zakfk1l154f19lxbm-profile/bin/texi2dvi: pdftex = exited with bad status, quitting. make: *** [Makefile:4375: doc/guix.de.pdf] Error 1 Why? --=20 Ricardo --=-=-=--