Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to compile a Lualatex file using the luasseq package

My minimum working example is

\documentclass{article}
\usepackage{luasseq}
\begin{document}
\end{document}

When I run 'lualatex' on this it simply stops with a command window expecting me to type something in:

(/usr/local/apps/texlive2011/texmf-dist/tex/generic/pgf/libraries/decorations/p
gflibrarydecorations.shapes.code.tex))
lua> 

If I control-D (really all I can do)

! LuaTeX error <\directlua >:1: attempt to call global 'sseq_set_defaults' (a nil value)
stack traceback:
    <\directlua >:1: in main chunk.
l.332 \directlua0{sseq_set_defaults()}

Unsure what the problem is!

share|improve this question
1  
Confirmed with latest TL2011. I suspect a problem with either recent versions of pgf or luatex; you should contact the package author. –  Martin Schröder Mar 21 '12 at 21:07

1 Answer 1

up vote 2 down vote accepted

This seems to be linked to kpse.find_file not finding luasseq.lua and not complaining about it making the lua chunck keeping the focus forever.

See for example:

\documentclass{standalone}
\directlua0{dofile(kpse.find_file("luasseq.lua"))}
\begin{document}
Test
\end{document}

A fix is to add the an explicit file type to kpse.find_file:

\documentclass{standalone}
\directlua0{dofile(kpse.find_file("luasseq.lua",'lua'))}
\begin{document}
Test
\end{document}

You can locally edit your luasseq.sty, line 47.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.