! Undefined control sequence. \ifempty l.49 \setentrycounter{page}\glsnumberformat{a}}}% The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., \hobx'), typeI' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.

I assume it has something to do with the order of the expansion/evaluation.

Sample of output (top) and desired output (bottom)I am aware that i have to remove the line "it & is very empty \\" in the if-branch, however this line is for debugging to show that both parts of the if seem to be evaluated

(33.46 KiB) Downloaded 139 times

Last edited by redted on Wed Jul 21, 2010 9:08 am, edited 1 time in total.

Thank you very much Nicola, the solution works just fine. I stumbled briefly over the fact that i have to use two '#' instead of one '#' if I want too use that in the definition of a new \newglossarystyle enviornment