ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* problem with aligncharacter=yes
@ 2013-03-04 20:49 Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2013-03-04 20:49 UTC (permalink / raw)
  To: ConTeXt users

Hi,

It seems, that \characteralignmentmode=2 and align=flushright do not
work together:

--8<---------------cut here---------------start------------->8---
\setupTABLE[offset=0em]
\setupTABLE[c][1][align=flushright, alignmentcharacter=., aligncharacter=yes]
\setupTABLE[c][2][align=flushleft]
\starttext
\section{flushright does not work}
\bTABLE
  \chardef\characteralignmentmode=2
  \bTR \bTD 1234  \eTD \bTD € \eTD \eTR
  \bTR \bTD 123.4 \eTD \bTD € \eTD \eTR
  \bTR \bTD 12.34 \eTD \bTD € \eTD \eTR
\eTABLE

\section{workaround}
\bTABLE
  \chardef\characteralignmentmode=4
  \bTR \bTD 1234\white. \eTD \bTD € \eTD \eTR
  \bTR \bTD 123.4       \eTD \bTD € \eTD \eTR
  \bTR \bTD 12.34       \eTD \bTD € \eTD \eTR
\eTABLE
\stoptext
--8<---------------cut here---------------end--------------->8---

Is there a cleaner solution than my workaround?

TIA for any hints,
-- 
           Peter
___________________________________________________________________________________
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: problem with aligncharacter=yes
  2012-07-03 22:37 Peter Münster
@ 2012-07-04  8:04 ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2012-07-04  8:04 UTC (permalink / raw)
  To: ConTeXt users

On 4-7-2012 00:37, Peter Münster wrote:
> Hi,
>
> This file generates an error (Missing control sequence inserted) with
> the latest beta version:
>
> --8<---------------cut here---------------start------------->8---
> \starttext
> \bTABLE[aligncharacter=yes]
> \bTR \bTD 3.3 \eTD \eTR
> \eTABLE
> \stoptext
> --8<---------------cut here---------------end--------------->8---

you can put \unexpanded in front of

\unexpanded\def\tabl_ntb_table_push

(and the next three ones)

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


___________________________________________________________________________________
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

* problem with aligncharacter=yes
@ 2012-07-03 22:37 Peter Münster
  2012-07-04  8:04 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2012-07-03 22:37 UTC (permalink / raw)
  To: ConTeXt users

Hi,

This file generates an error (Missing control sequence inserted) with
the latest beta version:

--8<---------------cut here---------------start------------->8---
\starttext
\bTABLE[aligncharacter=yes]
\bTR \bTD 3.3 \eTD \eTR
\eTABLE
\stoptext
--8<---------------cut here---------------end--------------->8---

-- 
           Peter
___________________________________________________________________________________
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:[~2013-03-04 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-04 20:49 problem with aligncharacter=yes Peter Münster
  -- strict thread matches above, loose matches on Subject: below --
2012-07-03 22:37 Peter Münster
2012-07-04  8:04 ` Hans Hagen

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).