El 2019-02-06 21:39, Ricardo Wurmus escribió: > Hi Quiliro, > >> Emacs is capable of exporting to PDF by the use of pdflatex. This >> program is available in Trisquel and PureOS (as a Debian inheritance) by >> way of the 'texlive-latex-base' package. With Guix, even after >> installing 'texlive-base' package (which depends on >> 'texlive-latex-base'), Emacs would give the error of missing 'pdflatex' >> when exporting to PDF. The only solution to exporting to PDF on Emacs on >> a foreign distro is to install 'texlive-latex-base' via 'sudo apt >> install'. On GSD (Guix System Distribution) it is impossible to export >> to PDF on Emacs. > > “pdflatex” is provided by “texlive-bin”.
Installed texlive-bin and texlive-base with fairly new guix: $ guix --version guix (GNU Guix) 9d58e8819fdbc4c1c8a1ef6149e2d2376731a6a6 But I stil cannot export to PDF via Emacs: This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex) restricted \write18 enabled. kpathsea: Running mktexfmt pdflatex.fmt Can't locate mktexlsr.pl in @INC (@INC contains: /gnu/store/tlpkg /gnu/store/texmf-dist/scripts/texlive /gnu/store/598xm50hamffb47ixv4qw6zszxaw9p9w-perl-5.28.0/lib/perl5/site_perl/5.28.0/i686-linux-thread-multi /gnu/store/598xm50hamffb47ixv4qw6zszxaw9p9w-perl-5.28.0/lib/perl5/site_perl/5.28.0 /gnu/store/598xm50hamffb47ixv4qw6zszxaw9p9w-perl-5.28.0/lib/perl5/5.28.0/i686-linux-thread-multi /gnu/store/598xm50hamffb47ixv4qw6zszxaw9p9w-perl-5.28.0/lib/perl5/5.28.0) at /home/quiliro/.guix-profile/bin/mktexfmt line 23. BEGIN failed--compilation aborted at /home/quiliro/.guix-profile/bin/mktexfmt line 25. I can't find the format file `pdflatex.fmt'! > I have yet to write a section in the manual to explain how LaTeX on Guix > systems works. And maybe texlive-base ought to include texlive-bin.
