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 ms11 with LMTPS id SLwBHQj0iV8yKQAA0tVLHw (envelope-from ) for ; Fri, 16 Oct 2020 19:27:04 +0000 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 gGALGQj0iV9BPAAA1q6Kng (envelope-from ) for ; Fri, 16 Oct 2020 19:27:04 +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 012AD9402AF for ; Fri, 16 Oct 2020 19:27:04 +0000 (UTC) Received: from localhost ([::1]:40590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTVNU-0005rq-6Z for larch@yhetil.org; Fri, 16 Oct 2020 15:27:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTVMv-0005qZ-9z for guix-devel@gnu.org; Fri, 16 Oct 2020 15:26:25 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTVMt-0007yC-3T for guix-devel@gnu.org; Fri, 16 Oct 2020 15:26:24 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1602876379; cv=none; d=zohomail.com; s=zohoarc; b=m4xSzo8NuF7DPUG8mGOWrR0rerwPuxP97pGdIvi0cxSzWqeKjQVlv72Sya/POKWbWLNeFXjK2P5cm5L7gwQOUmisKd2GJWTZKmh48e5uaJkMr9Im0bB/UO5Ei+4NRCrM6ASEb1jCLUsCtN1+rgVx06N943F3B+MYpHroHtRVJe8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602876379; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=TnzM+66hAxQWqbEB/eJHjW2YCAyTkTzdhWJ2G8DrHMY=; b=G7vz0tEbUURkJdX56PM3C352MX0L3NSTyFeDg3LuD1QxSXMIfcioHruT3hwgRG2mkWb29XmGANrX+Rsh4C1ivD1ggZywe8sa4smNHQycCfXtN9F5xxTfGBylJ3Gg4jIRyD+BJK+IjwVotjDD962nmxwtL8sXMKz+vCV7mr8cNi0= 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=1602876379; 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:Content-Transfer-Encoding; bh=TnzM+66hAxQWqbEB/eJHjW2YCAyTkTzdhWJ2G8DrHMY=; b=baADbuCl6MAwcv2FN7ecmjpoLNzp0SXzhsB4fEPNV5UO7LZMM3+HrnwrLCVE0SJa ucNw6n+DbB6+3Ey8jWHVyfWt55oiKELZtje2YDnMD9vmmbuXa6yC668rP4bBPOnmxR2 KhfcXLatMQBfMw7gBhyflokrMn+JRo5tnPplzxnM= Received: from localhost (p54ad4e3f.dip0.t-ipconnect.de [84.173.78.63]) by mx.zohomail.com with SMTPS id 1602876376209261.476532750151; Fri, 16 Oct 2020 12:26:16 -0700 (PDT) References: <86lfg6z0lm.fsf@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: zimoun Subject: Re: Manual PDF and translation (modular texlive?) In-reply-to: <86lfg6z0lm.fsf@gmail.com> 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: Fri, 16 Oct 2020 21:28:02 +0200 Message-ID: <87tuuuvum5.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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/16 15:26:20 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=pass header.d=elephly.net header.s=zoho header.b=baADbuCl; 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: -2.21 X-TUID: 2coaH+YwFzQY zimoun writes: > Currently it is not easy to produce the PDF of the manual. For > reference, see [1]. There are 2 issues: > > a) the =E2=80=99texlive=E2=80=99 package. > b) the fonts about Russian or Chinese. > > About the a), it is really painful to download the *big* texlive package > to be able to compile TeX. Especially when we have modular texlive > packages. However, it is not clear to me which packages I have to use. > Any help is welcome. :-) I tried this: guix environment --pure guix --ad-hoc -e '(begin (use-modules (gnu pack= ages tex))(texlive-union (list texlive-epsf texlive-fonts-ec texlive-amsfon= ts)))' This allows me to build doc/guix.pdf, but it chokes on the French and German versions (at least). Frustratingly, texi2dvi swallows all errors and just prints: pdftex exited with bad status, quitting. Thanks, I guess. So I ran this in strace to see what pdftex actually complained about, and of course it=E2=80=99s mangled accented characters that it cannot find = in the generated fonts. Here=E2=80=99s an excerpt: --8<---------------cut here---------------start------------->8--- 31695 read(3, "333)x433.62, glue set 4.13036\n.@glue(@leftskip) 86.72375\n.= @texttt \"\n.@texttt /\n.@texttt d\n.@texttt e\n.etc.\n\n[177] l.12161: Und= efined cross reference `Syst^^c3^^a8mes de fichiers-snt'. l.12161: Undefine= d cross reference `Syst^^c3^^a8mes de fichiers-snt'. l.12161: Undefined cro= ss reference `Syst^^c3^^a8mes de fichiers-pg'.\nMissing character: There is= no ^^c3 in font cmr10!\nMissing character: There is no ^^a9 in font cmr10!= \n l.12193: Undefined cross reference `Pr^^c3^^a9parer l'installation-snt'.= l.12193: Undefined cross reference `Pr^^c3^^a9parer l'installation-snt'. l= .12193: Undefined cross reference `Pr^^c3^^a9parer l'installation-pg'. l.12= 206: Undefined cross reference `Syst^^c3^^a8mes de fichiers-snt'. l.12206: = Undefined cross reference `Syst^^c3^^a8mes de fichiers-snt'. l.12206: Undef= ined cross reference `Syst^^c3^^a8mes de fichiers-pg'. [178]\nOverfull \\hb= ox (32.18782pt too wide) in paragraph at lines 12228--12228\n [] = @texttt \"video\" ;p^^Seriph^^Seriques r^^Seseaux comme le= s webc"..., 98304) =3D 86500 --8<---------------cut here---------------end--------------->8--- I=E2=80=99m very bad at fixing TeX font problems and encoding problems. Yo= u can tell by looking at the generated output when using texlive-union, because it seems to be generating fonts anew even though we should already have them all. Any help with the TeX Live stuff would be appreciated! It really needs some love, and I can no longer give it; we have drifted apart. I know of some unfixed problems that just need work (essentially just looking at the generated files in the =E2=80=9Ctexlive-{font,latex,tex,gene= ric}-*=E2=80=9D packages and ensuring that they contain all files they should according to texlive.tlpdb), but then there are also some issues that I don=E2=80=99t understand enough to fix. I=E2=80=99ll be glad to assist any one who would like to lead the effort to= fix our modular TeX Live packages once (or twice) and for all. --=20 Ricardo