ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange behavior with \definelabel[][] in context standalone
@ 2016-08-29  9:45 Fabrice Couvreur
  2016-08-29 10:13 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2016-08-29  9:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1214 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange behavior with \definelabel[][] in context standalone
  2016-08-29  9:45 Strange behavior with \definelabel[][] in context standalone Fabrice Couvreur
@ 2016-08-29 10:13 ` Wolfgang Schuster
  2016-08-29 22:17   ` Fabrice Couvreur
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-08-29 10:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1673 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 4918 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange behavior with \definelabel[][] in context standalone
  2016-08-29 10:13 ` Wolfgang Schuster
@ 2016-08-29 22:17   ` Fabrice Couvreur
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Couvreur @ 2016-08-29 22:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2444 bytes --]

Hi Wolgang,
I updated standalone context, it works correctly.
Fabrice

2016-08-29 12:13 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:

> Fabrice Couvreur <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
>
> ____________________________________________________________
> _______________________
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 6377 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-29 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29  9:45 Strange behavior with \definelabel[][] in context standalone Fabrice Couvreur
2016-08-29 10:13 ` Wolfgang Schuster
2016-08-29 22:17   ` Fabrice Couvreur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).