Re: [NTG-context] A bug in character alignment?

2006-08-03 Thread Nicolas Grilly
Peter: Thanks for your help in clarifying my example.

Taco: Thanks for fixing this bug! When will the next release be delivered?

On 8/2/06, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Peter Münster wrote:
  On Tue, 1 Aug 2006, Nicolas Grilly wrote:
 
 
 Sorry, I can't see it. The column are right-aligned, which is normal, since
 there is no alignment-character.
 
 No, it is not normal. ConTeXt Wiki says if there's no
 alignmentcharacter in the cell, the content will be aligned in the
 following way depending on the value of \characteralignmentmode.
 
 By default, characteralignmentmode=4. Therefore, according to the
 wiki, cell content should be aligned on the last character of each
 cell.
 
 
  Ok, by right-aligned I wanted to say: aligned at the right-most
  character.
 
  Now I see your problem: the values are still aligned at the right-most
  character, but the whole column is pushed a bit to the right.

 It was definately a bug. We found it and it will be fixed in the next
 ConTeXt release.

 Taco

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context



-- 
Garden - Conseil en Marketing  Datamining
Nicolas Grilly
Tel +33 1 45 72 48 78
Mob +33 6 03 00 25 34
www.garden-paris.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] A bug in character alignment?

2006-08-03 Thread Hans Hagen
Nicolas Grilly wrote:
 Peter: Thanks for your help in clarifying my example.

 Taco: Thanks for fixing this bug! When will the next release be delivered?
   
you can download a beta (or do ctxtools --update) 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] A bug in character alignment?

2006-08-02 Thread Peter Münster
On Tue, 1 Aug 2006, Nicolas Grilly wrote:

  Sorry, I can't see it. The column are right-aligned, which is normal, since
  there is no alignment-character.
 
 No, it is not normal. ConTeXt Wiki says if there's no
 alignmentcharacter in the cell, the content will be aligned in the
 following way depending on the value of \characteralignmentmode.
 
 By default, characteralignmentmode=4. Therefore, according to the
 wiki, cell content should be aligned on the last character of each
 cell.

Ok, by right-aligned I wanted to say: aligned at the right-most
character.

Now I see your problem: the values are still aligned at the right-most
character, but the whole column is pushed a bit to the right.

  The only bug I see, is the missing accent:
  Evolution should be Évolution
 
 You're right: the accent is missing, and it's a typographical error. I
 guess you live in France to see such a thing!

Rather an orthographic error...


The best thing to do in such cases, is to build a minimal example file,
that shows the problem. This has several advantages:

- you don't need to post heavy pdf and tex files
- sometimes, while building such a file, you discover, that you've made a
  mistake, and that ConTeXt is right
- if there is a ConTeXt bug, the minimal example will make it clear, how to
  reproduce it and what really triggers it

Since I have some time, I provide such an example:

\starttext
\setupTABLE[aligncharacter=yes,alignmentcharacter=;]
\bTABLE\bTR\bTD a\eTD\bTD\hbox to 1cm{b}\eTD\eTR\eTABLE

% change 2 to 1, to see d moving 1cm to the right:
\bTABLE\bTR\dorecurse2{\bTD x\eTD}\eTR\eTABLE

\bTABLE\bTR\bTD c\eTD\bTD d\eTD\eTR\eTABLE
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] A bug in character alignment?

2006-08-02 Thread Taco Hoekwater
Peter Münster wrote:
 On Tue, 1 Aug 2006, Nicolas Grilly wrote:
 
 
Sorry, I can't see it. The column are right-aligned, which is normal, since
there is no alignment-character.

No, it is not normal. ConTeXt Wiki says if there's no
alignmentcharacter in the cell, the content will be aligned in the
following way depending on the value of \characteralignmentmode.

By default, characteralignmentmode=4. Therefore, according to the
wiki, cell content should be aligned on the last character of each
cell.
 
 
 Ok, by right-aligned I wanted to say: aligned at the right-most
 character.
 
 Now I see your problem: the values are still aligned at the right-most
 character, but the whole column is pushed a bit to the right.

It was definately a bug. We found it and it will be fixed in the next
ConTeXt release.

Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] A bug in character alignment?

2006-08-01 Thread Peter Münster
On Mon, 31 Jul 2006, Nicolas Grilly wrote:

 But I have a little issue with character alignment. I have several
 tables following each other. First and second tables are well aligned.
 But following tables have some columns mis-aligned. You can see the
 result in the attached file report_with_bug.pdf (look at column 4 of
 tables 3, 4, 5 and 6).

Sorry, I can't see it. The column are right-aligned, which is normal, since
there is no alignment-character.
The only bug I see, is the missing accent:
Evolution should be Évolution

 \setupTABLE[column][each][align={middle,lohi}, aligncharacter=yes,
   alignmentcharacter={;}]
   ^^^
Could you explain this?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context