Strange behavior with \definelabel[][] in context standalone
Hello, I noticed a problem with standalone context and not with texlive 2016 2 Question 3 Question instead of 1 Question 2 Question Thanks fabrice ############################################################ \defineframed [FRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\FRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \startsetups[table:initialize] \setupTABLE[start] [align={middle,lohi},width=0.12\textwidth,type=\tfx,offset=1ex] \setupTABLE[column][first] [align={middle,right},width=0.52\textwidth] \setupTABLE[1][1][frame=off] \stopsetups \definelabel[TableRow][text=,numbercommand=\FRAME] \starttext \startmidaligned \bTABLE[setups=table:initialize] \bTR \bTD \eTD \bTD a \eTD \bTD b \eTD \bTD c \eTD \bTD d \eTD \eTR \bTR \bTD \TableRow\ question \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \bTR \bTD \TableRow\ question \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \eTABLE \stopmidaligned \stoptext
Fabrice Couvreur mailto:fabrice1.couvreur@gmail.com 29. August 2016 um 11:45 Hello, I noticed a problem with standalone context and not with texlive 2016 See my mail about \savecounter which shows the real reason for this result. 2 Question 3 Question
instead of
1 Question 2 Question
Thanks fabrice ############################################################
Keep your examples minimal, the custom frame isn’t necessary, the table can be shorter (the setups can be removed as well) and the conversionset isn’t necessary.
\defineframed [FRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white, forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\FRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\startsetups[table:initialize] \setupTABLE[start] [align={middle,lohi},width=0.12\textwidth,type=\tfx,offset=1ex] \setupTABLE[column][first] [align={middle,right},width=0.52\textwidth] \setupTABLE[1][1][frame=off] \stopsetups
\definelabel[TableRow][text=,numbercommand=\FRAME]
\starttext
\startmidaligned \bTABLE[setups=table:initialize] \bTR \bTD \eTD \bTD a \eTD \bTD b \eTD \bTD c \eTD \bTD d \eTD \eTR \bTR \bTD \TableRow\ question \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \bTR \bTD \TableRow\ question \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \eTABLE \stopmidaligned \stoptext Wolfgang
Hi Wolgang,
I updated standalone context, it works correctly.
Fabrice
2016-08-29 12:13 GMT+02:00 Wolfgang Schuster
Fabrice Couvreur
29. August 2016 um 11:45 Hello, I noticed a problem with standalone context and not with texlive 2016 See my mail about \savecounter which shows the real reason for this result.
2 Question 3 Question
instead of
1 Question 2 Question
Thanks fabrice ############################################################
Keep your examples minimal, the custom frame isn’t necessary, the table can be shorter (the setups can be removed as well) and the conversionset isn’t necessary.
\defineframed [FRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white, forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\FRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\startsetups[table:initialize] \setupTABLE[start] [align={middle,lohi},width=0.12\textwidth,type=\tfx,offset=1ex] \setupTABLE[column][first] [align={middle,right},width=0.52\textwidth] \setupTABLE[1][1][frame=off] \stopsetups
\definelabel[TableRow][text=,numbercommand=\FRAME]
\starttext
\startmidaligned \bTABLE[setups=table:initialize] \bTR \bTD \eTD \bTD a \eTD \bTD b \eTD \bTD c \eTD \bTD d \eTD \eTR \bTR \bTD \TableRow\ question \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \bTR \bTD \TableRow\ question \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \eTABLE \stopmidaligned \stoptext
Wolfgang
____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/ listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
participants (2)
-
Fabrice Couvreur
-
Wolfgang Schuster