From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandros Theodotou Subject: Missing fonts when compiling latex documents Date: Thu, 14 Nov 2019 16:10:39 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-46cQSv9bDwHuEGod7G9h" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42071) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVHiy-0002jp-8w for guix-devel@gnu.org; Thu, 14 Nov 2019 11:12:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVHiw-0001lE-Hi for guix-devel@gnu.org; Thu, 14 Nov 2019 11:11:59 -0500 Received: from mout01.posteo.de ([185.67.36.141]:43967) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iVHiw-0001Gr-BV for guix-devel@gnu.org; Thu, 14 Nov 2019 11:11:58 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5B5CA160065 for ; Thu, 14 Nov 2019 17:10:53 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47DRKb2S4Rz6tm5 for ; Thu, 14 Nov 2019 17:10:43 +0100 (CET) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-46cQSv9bDwHuEGod7G9h Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Guix, I spent a few hours trying to get texi2pdf working on a simple tex file: ``` \documentclass[10pt]{article} \usepackage[margin=3D3cm]{geometry} \title{\bfseries\Huge My Name} \author{me@me.com} \date{} \begin{document} \maketitle \end{document} ``` I tried installing a bunch of tex packages to get this to compile, but I kept getting errors about fonts not being found: ``` texlive-generic-pdftex texlive-bin texlive-latex-xkeyval texlive-fonts- latex texlive-fonts-ec texlive-latex-mflogo texlive-latex-type1cm=20 texinfo texlive-ae texlive-txfonts texlive-cm-super texlive-fontinst texlive-graphics-def texlive-kpathsea texlive-latex-psnfss texlive- latexconfig texlive-metafont-base texlive-latex-base texlive-latex-pdfx=20 texlive-latex-pgf texlive-latex-geometry texlive-latex-graphics ``` I tried this for example: ``` guix environment -C --ad-hoc texlive-fonts-ec texlive-tex-texinfo texlive-generic-epsf texinfo coreutils sed texlive-bin grep texlive- latex-base tar texlive-latex-graphics texlive-latex-geometry texi2pdf my_tex_file.tex ``` It was not until I installed the "texlive" package that I manged to compile the .tex file. I found that the following are the minimum packages required to compile a simple latex file into pdf: ``` guix environment -C --ad-hoc texinfo coreutils sed grep tar texlive diffutils ``` Maybe this would be straight forward to some users but it took me some time to figure out which packages are needed since I don't know much about latex. I found a lot of information about how to install the fonts on other distros when I searched online, but for guix I had to experiment on my own, so maybe this information should be mentioned somewhere, maybe a blog post? Or maybe someone will stumble on this post. Anyway, just posting my findings :-) --=-46cQSv9bDwHuEGod7G9h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEESBMjhK0999huJUuDAi6uQjE9cPMFAl3NfH8ACgkQAi6uQjE9 cPOnPgf/bWqAJJKPfFClcXDlzo4wCVcmvOPyVr5DCMIgDfTcyXwN9HOSuqt5tzQP tEmemzsJV4XU/s42yJOtRb91tuEDJWASEfjL/1rxaEySMqNsv7raZ5dnH4AVOhiH 0ZrqIIvzdBCNEYeL8WQYm0CaRBNo5hcJVKLeMB60eCb7WPvPVmZbqJMWokTeusDi TKOyEFlha2AYWpuJEvklaL+GtRuDfwZaKRyCSqEmxMNyvcm9jhGf/BgNiFiw8MVi lIBOle2LUEPfW2Y7JiIw+UHxw/bkO8kUsgbqHkNJkMC8Ibpki7XMZCjsBGq64ADl UeZHtWEgXK3HjA0880zuNH39MGDV5w== =/evY -----END PGP SIGNATURE----- --=-46cQSv9bDwHuEGod7G9h--