unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* TeX Live: lualatex looks in /usr
@ 2020-02-22 17:15 Marco van Hulten
  2020-02-22 18:29 ` Marco van Hulten
  2020-02-22 20:41 ` Ricardo Wurmus
  0 siblings, 2 replies; 5+ messages in thread
From: Marco van Hulten @ 2020-02-22 17:15 UTC (permalink / raw)
  To: help-guix

Hi all—

lualatex (from texlive-20180414) is looking in /usr/local/.


$ lualatex apen                                                    
This is LuaTeX, Version 1.07.0 (TeX Live 2018) 
 restricted system commands enabled.
(./apen.tex[\directlua]:1: module 'lualatexquotejobname.lua' not found:
        no field package.preload['lualatexquotejobname.lua']
        [kpse lua searcher] file not found: 'lualatexquotejobname.lua'
        [kpse C searcher] file not found: 'lualatexquotejobname.lua'
        no file '/usr/local/lib/lua/5.2/lualatexquotejobname.so'
        no file '/usr/local/lib/lua/5.2/loadall.so'
        no file './lualatexquotejobname.so'
stack traceback:                                                  
        [C]: in function 'require'
        [\directlua]:1: in main chunk.
<everyjob> \directlua {require("lualatexquotejobname.lua")}
                                                \typeout {\fmtname \space <\fmt
l.1        
  \documentclass{article}


This looks like a bug.  What would be the best approach.

I do not want energy be spend to get old stuff working.

At the same time, installing texlive-base from the core-updates branch
has problems as well here (on this list, one month ago).

—Marco

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

* Re: TeX Live: lualatex looks in /usr
  2020-02-22 17:15 TeX Live: lualatex looks in /usr Marco van Hulten
@ 2020-02-22 18:29 ` Marco van Hulten
  2020-02-22 20:41 ` Ricardo Wurmus
  1 sibling, 0 replies; 5+ messages in thread
From: Marco van Hulten @ 2020-02-22 18:29 UTC (permalink / raw)
  To: help-guix

Je 22 feb 18:15 skribis Marco:
> lualatex (from texlive-20180414) is looking in /usr/local/.

This happens from a terminal, but from Texmaker lualatex works (builds
a good PDF).

—Marco

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

* Re: TeX Live: lualatex looks in /usr
  2020-02-22 17:15 TeX Live: lualatex looks in /usr Marco van Hulten
  2020-02-22 18:29 ` Marco van Hulten
@ 2020-02-22 20:41 ` Ricardo Wurmus
  2020-02-23  9:29   ` Marco van Hulten
  1 sibling, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2020-02-22 20:41 UTC (permalink / raw)
  To: Marco van Hulten; +Cc: help-guix


Hi Marco,

> lualatex (from texlive-20180414) is looking in /usr/local/.
>
>
> $ lualatex apen                                                    
> This is LuaTeX, Version 1.07.0 (TeX Live 2018) 
>  restricted system commands enabled.
> (./apen.tex[\directlua]:1: module 'lualatexquotejobname.lua' not found:
>         no field package.preload['lualatexquotejobname.lua']
>         [kpse lua searcher] file not found: 'lualatexquotejobname.lua'
>         [kpse C searcher] file not found: 'lualatexquotejobname.lua'
>         no file '/usr/local/lib/lua/5.2/lualatexquotejobname.so'
>         no file '/usr/local/lib/lua/5.2/loadall.so'
>         no file './lualatexquotejobname.so'
> stack traceback:                                                  
>         [C]: in function 'require'
>         [\directlua]:1: in main chunk.
> <everyjob> \directlua {require("lualatexquotejobname.lua")}
>                                                 \typeout {\fmtname \space <\fmt
> l.1        
>   \documentclass{article}

Please show us the file you’re working with and the texlive packages you
have installed.

-- 
Ricardo

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

* Re: TeX Live: lualatex looks in /usr
  2020-02-22 20:41 ` Ricardo Wurmus
@ 2020-02-23  9:29   ` Marco van Hulten
  2020-02-25 10:17     ` Ricardo Wurmus
  0 siblings, 1 reply; 5+ messages in thread
From: Marco van Hulten @ 2020-02-23  9:29 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

Hi Ricardo—

Je 22 feb 21:41 skribis Ricardo:
> > lualatex (from texlive-20180414) is looking in /usr/local/.
> >
> >
> > $ lualatex apen                                                    
> > This is LuaTeX, Version 1.07.0 (TeX Live 2018) 
> >  restricted system commands enabled.
> > (./apen.tex[\directlua]:1: module 'lualatexquotejobname.lua' not found:
> >         no field package.preload['lualatexquotejobname.lua']
> >         [kpse lua searcher] file not found: 'lualatexquotejobname.lua'
> >         [kpse C searcher] file not found: 'lualatexquotejobname.lua'
> >         no file '/usr/local/lib/lua/5.2/lualatexquotejobname.so'
> >         no file '/usr/local/lib/lua/5.2/loadall.so'
> >         no file './lualatexquotejobname.so'
> > stack traceback:                                                  
> >         [C]: in function 'require'
> >         [\directlua]:1: in main chunk.
> > <everyjob> \directlua {require("lualatexquotejobname.lua")}
> >                                                 \typeout {\fmtname \space <\fmt
> > l.1        
> >   \documentclass{article}  
> 
> Please show us the file you’re working with and the texlive packages you
> have installed.

$ cat apen.tex
\documentclass{article}
\author{Marco}
\title{Een titel}

\begin{document}
\maketitle
Wat een rare jongens!
\end{document}
$ guix package -I | grep texlive
texlive	20180414	out	/gnu/store/wlba9v03ypi0z5qz7p89sa0w12lh37zb-texlive-20180414


—Marco

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

* Re: TeX Live: lualatex looks in /usr
  2020-02-23  9:29   ` Marco van Hulten
@ 2020-02-25 10:17     ` Ricardo Wurmus
  0 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2020-02-25 10:17 UTC (permalink / raw)
  To: Marco van Hulten; +Cc: help-guix


Marco van Hulten <marco@hulten.org> writes:

> $ guix package -I | grep texlive
> texlive	20180414	out	/gnu/store/wlba9v03ypi0z5qz7p89sa0w12lh37zb-texlive-20180414

Ah, that’s the monolithic texlive.  I don’t think I can help with this,
I’m afraid.

I think the error is not that it looks in /usr, but that it doesn’t find
the file earlier.  The search in /usr is a last resort here.  It first
uses the “kpse lua searcher”, then the “kpse C searcher”, and only then
tries /usr.

kpse search is weird, but it is controlled by environment variables.
Does the file exist in /gnu/store/wlba9v03ypi0z5qz7p89sa0w12lh37zb-texlive-20180414 ?  If it does then
we need to make sure that it is in a sub-directory that texlive will
search.

(For the modular texlive the file is provided by texlive-latexconfig.)

-- 
Ricardo

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

end of thread, other threads:[~2020-02-25 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-22 17:15 TeX Live: lualatex looks in /usr Marco van Hulten
2020-02-22 18:29 ` Marco van Hulten
2020-02-22 20:41 ` Ricardo Wurmus
2020-02-23  9:29   ` Marco van Hulten
2020-02-25 10:17     ` Ricardo Wurmus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).