Using the solution presented by @PhilippGesang per line text gradient for some reason my texlive is not finding the files, although I've texhashed myself half to death. My environment is ubuntu 14.04, texlive 2015, and I compile at the command line, eg: lualatex beeTest.tex
I've been wracking my brains trying to figure out this one. The error message I get is as follows:
(./beegradients.tex
! Undefined control sequence.
l.1 \RequireLuaModule
{beegradients}
?
Checking to see if the files are there:
myuser@ThinkPad:~$ kpsewhich beegradients.tex
/usr/local/texlive/2015/texmf-dist/tex/generic/beegradients/beegradients.tex
myuser@ThinkPad:~$ kpsewhich beegradients.lua
/usr/local/texlive/2015/texmf-dist/tex/luatex/beegradients/beegradients.lua
And my test document, from the post that I referred to earlier:
\documentclass {scrartcl}
\usepackage {fontspec} %% this loads luaotfload as well
\setmainfont {Antykwa Poltawskiego}
\input beegradients.tex
\definegradientgroup [red-green-blue][255*0*0, 0*255*0, 0*0*255]
\begin {document}
\startbeegradients [red-green-blue]
\input knuth
\stopbeegradients
\end {document}
Error log from when I try and run it with TeXstudio:
line 1: Undefined control sequence \RequireLuaModule
line 1: Missing \begin{document}. \RequireLuaModule {b
line 9: Undefined control sequence \startbeegradients
line 9: Use of \startbeegradientsindeed doesn't match its definition \startbeegradients
line 9: Too many }'s \startbeegradients
: No file texstudio_b31384.aux.
I tried this by placing the beegradients.tex file and the beegradients.lua file in the same directory as the test document, and it still threw the same error Undefined control sequence \RequireLuaModule
Much gratitude to anyone who has a clue as to what is wrong.
Thanks all.
.tex
file in the question is just a copy of the LaTeX example file from github, as far as I can tell. – cfr Aug 1 '16 at 21:58~/texmf/tex
? – A Feldman Aug 1 '16 at 22:10