[luatex] LuaLaTeX + FanycyHdr issue

Ulrike Fischer luatex at nililand.de
Tue Apr 16 15:17:24 CEST 2019

> Hello LuaTeX users,
> I am trying to implement dynamic FanyHdr in Lua.
> There is an odd error I am getting as follow :
> (/Volumes/program/usr_local/texlive/2018/texmf-dist/tex/generic/oberdiek/gettit
>       lestring.sty)) (./fancy_lua.out) (./fancy_lua.out)
>      ABD: EverySelectfont initializing macros ABD: EveryShipout 
> initializing macros
>      ! Undefined control sequence.
>      <argument> \undefinedpagestyle
>      l.30 \pagestyle{mystyleeight}
>      ?
> Since macro version is working, I was expecting no error in Lua.
> I need your help one this.

There was no "lua-version" in your message, but if you define there
the pagestyle "mystyle8" too, then you should use it with
\pagestyle{mystyle8} and not \pagestyle{mystyleeight}.

Ulrike Fischer 

More information about the luatex mailing list