pgundlach / lua-check-hyphen

LuaLaTeX package for hyphenation checking
MIT License
7 stars 1 forks source link

Error when encountering a table #4

Open tehingo opened 10 years ago

tehingo commented 10 years ago

When compiling my thesis, I get the following error message (no options passed to the package at all):

error: ...-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.lua:107: table index is nil .

\egroup l.907 \end{tabularx} When I press q to enter batch mode afteer this, the following additional output is thrown at me: ? q OK, entering \batchmodeerror: ...-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.lua:107: table index is nil error: ...-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.lua:107: table index is nil error: ...-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.lua:107: table index is nil error: ...-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.lua:107: table index is nil error: ...-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.lua:107: table index is nil error: ...-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.lua:107: table index is nil It seems to be related to the following table: \begin{table}[htb] \centering\small \caption{Rules of thumb for the influence of gains on the impulse response. Adapted from: \autocite{Ogata2009}} \label{tab:tunethumb} \begin{tabularx}{\textwidth}{X>{\sloppy}m{0.13\textwidth}m{0.14\textwidth}>{}m{0.2\textwidth}>{\raggedright}m{0.17\textwidth}m{0.13\textwidth}} \toprule & \textssc{Rise time} & \textssc{Overshoot} & \textssc{Settling time} & \textssc{Steady-state error} & \textssc{Stability}\ \midrule \rowcolor[gray]{.9} $K_p$ & Decrease & Increase & Small change & Decrease & Degrade\ $K_i$ & Decrease & Increase & Increase & Major decrease & Degrade\ \rowcolor[gray]{.9} $K_d$ & Minor decrease & Minor decrease & Minor decrease & No effect\newline{} in theory & Improve for small $K_d$\ \bottomrule \end{tabularx} \end{table} Note that ultimately, the .uhy file is generated anyway. However, I noticed that I cannot find all entries of that file back in my .pdf. For example, the file reports the hyphenation "solarc-entric", but when I do Ctrl+f "solarc-", I cannot find this in the .pdf.
pgundlach commented 10 years ago

Please add a minimal working example.

tehingo commented 10 years ago

The code that caused this error is not available anymore.

pgundlach commented 10 years ago

I'll try to find another code example that generates this error.