all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to compile LaTeX with 'hyperref' package?
@ 2018-01-22 11:53 Mathieu Lirzin
  2018-01-22 12:11 ` Mathieu Lirzin
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Lirzin @ 2018-01-22 11:53 UTC (permalink / raw)
  To: help-guix

Hello,

My profile contains the following packages:

--8<---------------cut here---------------start------------->8---
texlive-tiny           	44591	out	/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591
texlive-latex-listings	44591	out	/gnu/store/pj62c2n9cfxq92l0sb4rcja2sh4bjjgp-texlive-latex-listings-44591
texlive-latex-hyperref	6.84a2	out	/gnu/store/z00alqpxjainhwlss44fdvmlgkk6m0sp-texlive-latex-hyperref-6.84a2
--8<---------------cut here---------------end--------------->8---

I fail to compile a “main.tex” containing ‘\usepackage{hyperref}’ with
the command ‘pdflatex main.tex’ on GuixSD.  The error message is the
following:

--8<---------------cut here---------------start------------->8---
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2017-04-15>

(./main.tex
(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class

(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/latex/base/size12.clo))
(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/generic/babel/babel.sty
(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/generic/babel/switch.def)
(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/generic/babel-english/english.ldf
(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/generic/babel/babel.def I couldn't find the file language.def)))
(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/latex/base/fontenc.sty
(/gnu/store/1yxy72j1m372g8w5npmqrpiq9gj3fzdx-texlive-tiny-44591/share/texmf-dis
t/tex/latex/base/t1enc.def)
kpathsea: Running mktextfm ecrm1200
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1200
This is METAFONT, Version 2.7182818 (TeX Live 2017) (preloaded base=mf)


kpathsea: Running mktexmf ecrm1200
! I can't find file `ecrm1200'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1200
                                                  
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1200
                                                  
Transcript written on mfput.log.
grep: ecrm1200.log: Aucun fichier ou dossier de ce type
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1200' failed to make ecrm1200.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again> 
                   relax 
l.105 \fontencoding\encodingdefault\selectfont
                                              
)

! LaTeX Error: File `hyperref.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.5 \usepackage
               {url}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on main.log.
--8<---------------cut here---------------end--------------->8---

I am not sure if this is just me being ignorant or if this is a bug.
This command was succeeding both on Fedora and Debian.

I will try with ‘texlive-full’ to see if things work better.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

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

* Re: How to compile LaTeX with 'hyperref' package?
  2018-01-22 11:53 How to compile LaTeX with 'hyperref' package? Mathieu Lirzin
@ 2018-01-22 12:11 ` Mathieu Lirzin
  2018-01-23  6:34   ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Lirzin @ 2018-01-22 12:11 UTC (permalink / raw)
  To: help-guix

Mathieu Lirzin <mthl@gnu.org> writes:

> I will try with ‘texlive-full’ to see if things work better.

s/texlive-full/texlive

The installation was quicker that I expect since it was already
compiled.  I confirm that compiling with ‘texlive’ succeed since
‘hyperref.sty’ is found directly in ‘texlive’ store output directory.

Maybe the environment variable TEXINPUTS should be generated in
“~/.guix-profile/etc/profile”?

Shall I open a bug for this?

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

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

* Re: How to compile LaTeX with 'hyperref' package?
  2018-01-22 12:11 ` Mathieu Lirzin
@ 2018-01-23  6:34   ` Ricardo Wurmus
  2018-01-23 13:17     ` Mathieu Lirzin
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2018-01-23  6:34 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: help-guix


Hi Mathieu,

> Mathieu Lirzin <mthl@gnu.org> writes:
>
>> I will try with ‘texlive-full’ to see if things work better.
>
> s/texlive-full/texlive
>
> The installation was quicker that I expect since it was already
> compiled.  I confirm that compiling with ‘texlive’ succeed since
> ‘hyperref.sty’ is found directly in ‘texlive’ store output directory.
>
> Maybe the environment variable TEXINPUTS should be generated in
> “~/.guix-profile/etc/profile”?
>
> Shall I open a bug for this?

That’s not necessary as the broken up texlive-* packages are currently
not sufficient to build a usable Texlive subset in a profile.  I’m
working on a profile hook, which is similar to what the texlive-union
procedure does.

I consider this to be the same as bug 27217.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* Re: How to compile LaTeX with 'hyperref' package?
  2018-01-23  6:34   ` Ricardo Wurmus
@ 2018-01-23 13:17     ` Mathieu Lirzin
  0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Lirzin @ 2018-01-23 13:17 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

Hello Ricardo,

Ricardo Wurmus <rekado@elephly.net> writes:

>> Mathieu Lirzin <mthl@gnu.org> writes:
>>
>>> I will try with ‘texlive-full’ to see if things work better.
>>
>> s/texlive-full/texlive
>>
>> The installation was quicker that I expect since it was already
>> compiled.  I confirm that compiling with ‘texlive’ succeed since
>> ‘hyperref.sty’ is found directly in ‘texlive’ store output directory.
>>
>> Maybe the environment variable TEXINPUTS should be generated in
>> “~/.guix-profile/etc/profile”?
>>
>> Shall I open a bug for this?
>
> That’s not necessary as the broken up texlive-* packages are currently
> not sufficient to build a usable Texlive subset in a profile.  I’m
> working on a profile hook, which is similar to what the texlive-union
> procedure does.
>
> I consider this to be the same as bug 27217.

I agree.

Thanks for pointing me to this bug.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

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

end of thread, other threads:[~2018-01-23 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-22 11:53 How to compile LaTeX with 'hyperref' package? Mathieu Lirzin
2018-01-22 12:11 ` Mathieu Lirzin
2018-01-23  6:34   ` Ricardo Wurmus
2018-01-23 13:17     ` Mathieu Lirzin

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.