Code Monkey home page Code Monkey logo

Comments (5)

rpspringuel avatar rpspringuel commented on July 16, 2024

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

This message is saying that lyluatex is not installed properly. How did you install it?

from lyluatex.

BetazoidMan avatar BetazoidMan commented on July 16, 2024

I tried to follow the instructions using tlmgr install lyluatex but I didn't realize that this does not work with Debian.
For the time being, I have decided to go with the "For a single document" option: I copied lyluatex.sty and lyluatex.lua into the folder with the .tex document. Now I'm getting a different litany of errors.
Here is my input now:

\documentclass{article}
\usepackage{lyluatex}

\begin{document}
\end{document}

If I remove the \usepackage line and add text to the body, the document compiles just fine.

Console output:

This is LuaHBTeX, Version 1.14.0 (TeX Live 2022/dev/Debian) 
 system commands enabled.
(./untitled-3.tex
LaTeX2e <2021-11-15> patch level 1
[\directlua]:1: module 'luaotfload-main' not found:
	no field package.preload['luaotfload-main']
	[kpse lua searcher] file not found: 'luaotfload-main'
	[kpse C searcher] file not found: 'luaotfload-main'
Error in luaotfload: reverting to OT1 L3 programming layer <2022-01-21>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
(/usr/share/texmf/tex/latex/lm/ot1lmr.fd))) (./lyluatex.sty

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

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

Enter file name: 

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

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

Enter file name: 
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/luatex.def)))

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

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

Enter file name: 

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

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

Enter file name: 

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

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

Enter file name: 

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

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

Enter file name: 

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

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

Enter file name: 
[\directlua]:1: module 'lyluatex-options.lua' not found:
	no field package.preload['lyluatex-options.lua']
	[kpse lua searcher] file not found: 'lyluatex-options.lua'
	[kpse C searcher] file not found: 'lyluatex-options.lua'
	no file '/usr/local/lib/lua/5.3/lyluatex-options.so'
	no file '/usr/local/lib/lua/5.3/loadall.so'
	no file './lyluatex-options.so'
stack traceback:
	[C]: in function 'require'
	[\directlua]:1: in main chunk.
l.132 }
     
? 
./lyluatex.lua:12: module 'lyluatex-lib.lua' not found:
	no field package.preload['lyluatex-lib.lua']
	[kpse lua searcher] file not found: 'lyluatex-lib.lua'
	[kpse C searcher] file not found: 'lyluatex-lib.lua'
	no file '/usr/local/lib/lua/5.3/lyluatex-lib.so'
	no file '/usr/local/lib/lua/5.3/loadall.so'
	no file './lyluatex-lib.so'
stack traceback:
	[C]: in function 'require'
	./lyluatex.lua:12: in main chunk
	[C]: in function 'require'
	[\directlua]:1: in main chunk.
l.140 }
     
? 
! Undefined control sequence.
l.250 \NewEnviron
               {ly@compilely}{%
? 

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.250 \NewEnviron{l
                 y@compilely}{%
? 
! Undefined control sequence.
\ly@compilescore ...'currfiledir', [[\currfiledir 
                                                  ]]) ly_opts:set_option('tw...

l.254   )}
        %
? 
! Undefined control sequence.
<argument> ly.fragment( '\luatexluaescapestring 
                                     {\unexpanded \expandafter {\BODY }}', [[\o
l.254   )}
        %
? 
! Undefined control sequence.
<argument> ...aescapestring {\unexpanded \expandafter {\BODY 
                                                  }}', [[\options ]] )
l.254   )}
        %
? 
! Undefined control sequence.
<argument> ...unexpanded \expandafter {\BODY }}', [[\options 
                                                  ]] )
l.254   )}
        %
? 
[\directlua]:1: attempt to index a nil value (global 'ly_opts')
stack traceback:
	[\directlua]:1: in main chunk.
\ly@compilescore ... #1 ly.newpage_if_fullpage() }
                                                  \ly@resetunits \ly@current...

l.254   )}
        %
? 
[\directlua]:1: attempt to index a nil value (global 'ly_opts')
stack traceback:
	[\directlua]:1: in main chunk.
\ly@currentfonts ..._font_family(font.current()))}
                                                  \rmfamily \edef \rmfamilyi...

l.254   )}
        %
? 
(/usr/share/texmf/tex/latex/lm/ot1lmss.fd)
(/usr/share/texmf/tex/latex/lm/ot1lmtt.fd)[\directlua]:1: attempt to index a ni
l value (global 'ly')
stack traceback:
	[\directlua]:1: in main chunk.
\ly@currentfonts ..., \sffamilyid , \ttfamilyid )}
                                                  \endgroup 
l.254   )}
        %
? 
[\directlua]:1: attempt to index a nil value (global 'ly')
stack traceback:
	[\directlua]:1: in main chunk.
\ly@compilescore ...directlua {ly.score:process()}
                                                  
l.254   )}
        %
? 
) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-luatex.def)
(./untitled-3.aux) (/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty[\dire
ctlua]:1: module 'pdftexcmds' not found:
	no field package.preload['pdftexcmds']
	[kpse lua searcher] file not found: 'pdftexcmds'
	[kpse C searcher] file not found: 'pdftexcmds'
stack traceback:
	[C]: in function 'require'
	[\directlua]:1: in main chunk.
l.165       \directlua{require('pdftexcmds')}
                                           
? 
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./untitled-3.aux))
 368 words of node memory still in use:
   3 hlist, 1 vlist, 1 rule, 2 glue, 48 glue_spec, 1 write nodes
   avail lists: 2:13,3:4,4:1,5:22,6:2,7:58,9:24,11:2
{/usr/share/texmf/fonts/enc/dvips/lm/lm-rm.enc}</usr/share/texmf/fonts/type1/pu
blic/lm/lmr10.pfb>
Output written on untitled-3.pdf (1 page, 24173 bytes).
SyncTeX written on untitled-3.synctex.gz.
Transcript written on untitled-3.log.

And here is the log file.

from lyluatex.

rpspringuel avatar rpspringuel commented on July 16, 2024

Now it looks like you've got some of the dependency sty files missing. Which tex packages did you install on Debian?

from lyluatex.

BetazoidMan avatar BetazoidMan commented on July 16, 2024

Maybe I'm misunderstanding you, but I installed using using the 2022 version: install-tl-20220815. And I let it install everything; I didn't say to only install part.

Thank you for your help.

from lyluatex.

BetazoidMan avatar BetazoidMan commented on July 16, 2024

At the advice of this StackExchange article, I used the 'Search the contents of packages' search bar of this ubuntu package database to find the packages I was missing. Then I used sudo apt-get install PACKAGENAME to install the packages the console output said I was missing. Now, it is compiling just fine.

Thanks again for your help, Father @rpspringuel. Your questioning prompted the right Google searches.

from lyluatex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.