Hi Hans, shouldn’t the inner test be “\ifx\hasstructurecounternumber\v!yes”? \def\dostructurecountercomponent#1#2#3#4#5#6#7[#8][#9]% {\begingroup … \ifx\hasstructurecountercaption\v!yes … \ifx\hasstructurecountercaption\v!yes prefixdata = { prefix = "#3\c!prefix", separatorset = "#3\c!prefixseparatorset", conversion = \!!bs#3\c!prefixconversion\!!es, conversionset = "#3\c!prefixconversionset", set = "#3\c!prefixset", % segments = "#3\c!prefixsegments", segments = "\askedprefixsegments", connector = \!!bs#3\c!prefixconnector\!!es, }, numberdata = { numbers = structures.counters.compact("\currentcounter",nil,true), separatorset = "#3\c!numberseparatorset", conversion = \!!bs#3\c!numberconversion\!!es, conversionset = "#3\c!numberconversionset", starter = \!!bs#3\c!numberstarter\!!es, stopper = \!!bs#3\c!numberstopper\!!es, segments = "#3\c!numbersegments", }, \fi … \fi \endgroup} Wolfgang
On 19-10-2011 13:07, Wolfgang Schuster wrote:
shouldn’t the inner test be “\ifx\hasstructurecounternumber\v!yes”?
makes sense indeed Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster