all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs export to PDF impossible due to missing pdflatex
@ 2019-02-06 20:32 Quiliro Ordonez
  2019-02-06 21:39 ` Ricardo Wurmus
  0 siblings, 1 reply; 14+ messages in thread
From: Quiliro Ordonez @ 2019-02-06 20:32 UTC (permalink / raw)
  To: help-guix

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.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-06 20:32 emacs export to PDF impossible due to missing pdflatex Quiliro Ordonez
@ 2019-02-06 21:39 ` Ricardo Wurmus
  2019-02-06 22:26   ` Quiliro Ordonez
                     ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2019-02-06 21:39 UTC (permalink / raw)
  To: quiliro; +Cc: help-guix


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”.

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.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-06 21:39 ` Ricardo Wurmus
@ 2019-02-06 22:26   ` Quiliro Ordonez
  2019-02-07 12:08     ` Pierre Neidhardt
  2019-02-07 22:25   ` Quiliro Ordonez
  2019-02-10 15:44   ` Quiliro Ordonez
  2 siblings, 1 reply; 14+ messages in thread
From: Quiliro Ordonez @ 2019-02-06 22:26 UTC (permalink / raw)
  To: help-guix

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”.

Thank you! how did you know?

> 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.

I don't think my knowledge is enough to help with this. But if I can be
of help, I will be glad to.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-06 22:26   ` Quiliro Ordonez
@ 2019-02-07 12:08     ` Pierre Neidhardt
  2019-02-07 12:44       ` zimoun
  0 siblings, 1 reply; 14+ messages in thread
From: Pierre Neidhardt @ 2019-02-07 12:08 UTC (permalink / raw)
  To: quiliro; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]


> > “pdflatex” is provided by “texlive-bin”.
> 
> Thank you! how did you know?

I think this is a more general question:  Guix currently lacks a way to search
files in substitutes.  It would be nice to have this feature :D

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-07 12:08     ` Pierre Neidhardt
@ 2019-02-07 12:44       ` zimoun
  2019-02-07 13:12         ` Pierre Neidhardt
  0 siblings, 1 reply; 14+ messages in thread
From: zimoun @ 2019-02-07 12:44 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: quiliro, help-guix

On Thu, 7 Feb 2019 at 13:17, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
>
> > > “pdflatex” is provided by “texlive-bin”.
> >
> > Thank you! how did you know?
>
> I think this is a more general question:  Guix currently lacks a way to search
> files in substitutes.  It would be nice to have this feature :D

I agree.
Something faster than the plain:
  $ find /gnu/ -type f -name "stuff" -print

All the best,
simon

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-07 12:44       ` zimoun
@ 2019-02-07 13:12         ` Pierre Neidhardt
  2019-02-07 14:20           ` zimoun
  0 siblings, 1 reply; 14+ messages in thread
From: Pierre Neidhardt @ 2019-02-07 13:12 UTC (permalink / raw)
  To: zimoun; +Cc: quiliro, help-guix

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]


> > I think this is a more general question:  Guix currently lacks a way to search
> > files in substitutes.  It would be nice to have this feature :D
> 
> I agree.
> Something faster than the plain:
>   $ find /gnu/ -type f -name "stuff" -print

It's actually more than just a /gnu/store cache: it should be able to find files
in non-installed packages.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-07 13:12         ` Pierre Neidhardt
@ 2019-02-07 14:20           ` zimoun
  2019-02-07 15:13             ` Pierre Neidhardt
  0 siblings, 1 reply; 14+ messages in thread
From: zimoun @ 2019-02-07 14:20 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: quiliro, help-guix

On Thu, 7 Feb 2019 at 14:12, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
>
> > > I think this is a more general question:  Guix currently lacks a way to search
> > > files in substitutes.  It would be nice to have this feature :D
>
> It's actually more than just a /gnu/store cache: it should be able to find files
> in non-installed packages.

I agree that it is not always easy to know that pdflatex is provided
by texlive or recsel is provided by recutils, etc.
And it should be nice to search files in substitutes, e.g., to know
which package to install.
However, for this purpose I am not sure that the substitutes are the
right layer.
And a field "provide" should be added to the package record. I do not
know if it makes sense.
Or maybe something with "properties". I mean, there is less package
providing multiple binaries (as texlive) than package providing the
binary of its name.

Do you have another usage in mind?
When writing packages? Especially about the TeX package?


All the best,
simon

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-07 14:20           ` zimoun
@ 2019-02-07 15:13             ` Pierre Neidhardt
  0 siblings, 0 replies; 14+ messages in thread
From: Pierre Neidhardt @ 2019-02-07 15:13 UTC (permalink / raw)
  To: zimoun; +Cc: quiliro, help-guix

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]


> However, for this purpose I am not sure that the substitutes are the
> right layer.
> And a field "provide" should be added to the package record. I do not
> know if it makes sense.
> Or maybe something with "properties". I mean, there is less package
> providing multiple binaries (as texlive) than package providing the
> binary of its name.

We can't do that in package declarations because they don't hold any information
on the resulting derivation.

The "file list" problem is essentially at the same level as "guix size".

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-06 21:39 ` Ricardo Wurmus
  2019-02-06 22:26   ` Quiliro Ordonez
@ 2019-02-07 22:25   ` Quiliro Ordonez
  2019-02-07 22:33     ` Quiliro Ordonez
  2019-02-10 15:44   ` Quiliro Ordonez
  2 siblings, 1 reply; 14+ messages in thread
From: Quiliro Ordonez @ 2019-02-07 22:25 UTC (permalink / raw)
  To: help-guix

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”.

This is the new output after installing texlive-bin and then exporting
to PDF on Emacs:

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017)
(preloaded format=pdflatex)
 restricted \write18 enabled.

kpathsea: Running mktexfmt pdflatex.fmt
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "es_EC.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't locate mktexlsr.pl in @INC (@INC contains: /gnu/store/tlpkg
/gnu/store/texmf-dist/scripts/texlive
/gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/site_perl/5.26.1/i686-linux-thread-multi
/gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/site_perl/5.26.1
/gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/5.26.1/i686-linux-thread-multi
/gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/5.26.1)
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'!

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-07 22:25   ` Quiliro Ordonez
@ 2019-02-07 22:33     ` Quiliro Ordonez
  2019-02-08  8:20       ` Ricardo Wurmus
  0 siblings, 1 reply; 14+ messages in thread
From: Quiliro Ordonez @ 2019-02-07 22:33 UTC (permalink / raw)
  To: help-guix

El 2019-02-07 22:25, Quiliro Ordonez escribió:
> 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”.
> 
> This is the new output after installing texlive-bin and then exporting
> to PDF on Emacs:
> 
> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017)
> (preloaded format=pdflatex)
>  restricted \write18 enabled.
> 
> kpathsea: Running mktexfmt pdflatex.fmt
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> 	LANGUAGE = (unset),
> 	LC_ALL = (unset),
> 	LANG = "es_EC.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Can't locate mktexlsr.pl in @INC (@INC contains: /gnu/store/tlpkg
> /gnu/store/texmf-dist/scripts/texlive
> /gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/site_perl/5.26.1/i686-linux-thread-multi
> /gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/site_perl/5.26.1
> /gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/5.26.1/i686-linux-thread-multi
> /gnu/store/pbmlaa6icffgpi37wjcmc7m85w2jbki9-perl-5.26.1/lib/perl5/5.26.1)
> 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'!

quiliro@GSD1 ~$ locate pdflatex.fmt
/gnu/store/aryqy6a5vzzm7knd7imh6h50p9bbc6xg-profile/share/texmf-dist/web2c/pdflatex.fmt
/gnu/store/wx8v9i345a2iw5rx4p0rs11yy2k9icdm-profile/share/texmf-dist/web2c/pdflatex.fmt
/gnu/store/xqh1gl87pp8mlaxyki7dx95b716dba5g-texlive-latex-base-44591/share/texmf-dist/web2c/pdflatex.fmt

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-07 22:33     ` Quiliro Ordonez
@ 2019-02-08  8:20       ` Ricardo Wurmus
  2019-02-08 12:39         ` Quiliro Ordonez
  0 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2019-02-08  8:20 UTC (permalink / raw)
  To: Quiliro Ordonez; +Cc: help-guix


Quiliro Ordonez <quiliro@riseup.net> writes:

> El 2019-02-07 22:25, Quiliro Ordonez escribió:
>> 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”.
>> 
>> This is the new output after installing texlive-bin and then exporting
>> to PDF on Emacs:
>> 
>> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017)

TeX Live 2017?  What version of Guix are you using?  This seems pretty old.

When did you last run “guix pull”?

-- 
Ricardo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-08  8:20       ` Ricardo Wurmus
@ 2019-02-08 12:39         ` Quiliro Ordonez
  0 siblings, 0 replies; 14+ messages in thread
From: Quiliro Ordonez @ 2019-02-08 12:39 UTC (permalink / raw)
  To: help-guix

El 2019-02-08 08:20, Ricardo Wurmus escribió:
> Quiliro Ordonez <quiliro@riseup.net> writes:
> 
>> El 2019-02-07 22:25, Quiliro Ordonez escribió:
>>> 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”.
>>>
>>> This is the new output after installing texlive-bin and then exporting
>>> to PDF on Emacs:
>>>
>>> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017)
> 
> TeX Live 2017?  What version of Guix are you using?  This seems pretty old.

Wow!
guix (GNU Guix) 0.15.0-8.71a78ba
I installed GSD just a few days ago. I supposed it must have been
updated on installation.
How can I have version 0.15? I must have down
> When did you last run “guix pull”?

I am pulling and updating now.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-06 21:39 ` Ricardo Wurmus
  2019-02-06 22:26   ` Quiliro Ordonez
  2019-02-07 22:25   ` Quiliro Ordonez
@ 2019-02-10 15:44   ` Quiliro Ordonez
  2019-02-14  9:07     ` Pierre Gambarotto
  2 siblings, 1 reply; 14+ messages in thread
From: Quiliro Ordonez @ 2019-02-10 15:44 UTC (permalink / raw)
  To: help-guix

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.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: emacs export to PDF impossible due to missing pdflatex
  2019-02-10 15:44   ` Quiliro Ordonez
@ 2019-02-14  9:07     ` Pierre Gambarotto
  0 siblings, 0 replies; 14+ messages in thread
From: Pierre Gambarotto @ 2019-02-14  9:07 UTC (permalink / raw)
  To: help-guix

Hello

I just stumbled on the same trouble myself.

I solved it by defining:

export TEXMFROOT=~/.guix-profile/share/

Here is the path I followed, for the curious one:

The error came from mktexfmt that did not find mktexlsr.pl: extract from 
the beginning of the file:

   $TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`;
   if ($?) {
     die "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n";
   }
   chomp($TEXMFROOT);
   unshift(@INC, "$TEXMFROOT/tlpkg", 
"$TEXMFROOT/texmf-dist/scripts/texlive"); <- require use this
   require "mktexlsr.pl"; <- HERE COME THE ERROR

It uses kpsewhich to determine TEXMFROOT, then TEXMFROOT do search for 
mktexlsr.pl

By default:

$ kpsewhich -var-value=TEXMFROOT
/gnu/store/yyja7azsicyf76b2vkki53bci6caqim9-texlive-configuration/share

I found thar mktexlsr.pl is in my profile:

# my profile is given by:

$ readlink -f ~/.guix-profile

/gnu/store/bp3j1n9r0r52rkbdcjkf3k4gakmg3216-profile

$ find `readlink -f ~/.guix-profile` -name mktexlsr.pl
/gnu/store/bp3j1n9r0r52rkbdcjkf3k4gakmg3216-profile/share/texmf-dist/scripts/texlive/mktexlsr.pl

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : this should 
be TEXMFROOT

I don't know if this can be done automagically or not.

Hope this helps


   Pierre

Le 10/02/2019 à 16:44, Quiliro Ordonez a écrit :
> 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.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-02-14  9:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-06 20:32 emacs export to PDF impossible due to missing pdflatex Quiliro Ordonez
2019-02-06 21:39 ` Ricardo Wurmus
2019-02-06 22:26   ` Quiliro Ordonez
2019-02-07 12:08     ` Pierre Neidhardt
2019-02-07 12:44       ` zimoun
2019-02-07 13:12         ` Pierre Neidhardt
2019-02-07 14:20           ` zimoun
2019-02-07 15:13             ` Pierre Neidhardt
2019-02-07 22:25   ` Quiliro Ordonez
2019-02-07 22:33     ` Quiliro Ordonez
2019-02-08  8:20       ` Ricardo Wurmus
2019-02-08 12:39         ` Quiliro Ordonez
2019-02-10 15:44   ` Quiliro Ordonez
2019-02-14  9:07     ` Pierre Gambarotto

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.