ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* problem with alignment
@ 2007-10-10 11:01 Jean Magnan de Bornier
  2007-10-10 12:53 ` Wolfgang Schuster
  2007-10-10 13:08 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Jean Magnan de Bornier @ 2007-10-10 11:01 UTC (permalink / raw)
  To: ntg-context

Hi all,
Playing with right alignments this morning, I discovered that

\setupalign
[left]

 ipsum in  elit

Duis placerat

nec augue 


puts text *on the right*, while 

\setupalign
[right]

 ipsum in  elit

Duis placerat

nec augue 


puts text *on the left*.

The \startalignment[left] and  \startalignment[right] commands produce the same inversion.
(The \rightaligned command works as expected) 
 
...............
12:32 jean@boldair /home/jean % texexec --version
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
...............

-- 
Jean
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: problem with alignment
  2007-10-10 11:01 problem with alignment Jean Magnan de Bornier
@ 2007-10-10 12:53 ` Wolfgang Schuster
  2007-10-10 13:08 ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2007-10-10 12:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/10/10, Jean Magnan de Bornier <jm.bornier@free.fr>:
> Hi all,
> Playing with right alignments this morning, I discovered that
>
> \setupalign
> [left]
>
>  ipsum in  elit
>
> Duis placerat
>
> nec augue
>
>
> puts text *on the right*, while
>
> \setupalign
> [right]
>
>  ipsum in  elit
>
> Duis placerat
>
> nec augue
>
>
> puts text *on the left*.
>
> The \startalignment[left] and  \startalignment[right] commands produce the same inversion.
> (The \rightaligned command works as expected)
>
> ...............
> 12:32 jean@boldair /home/jean % texexec --version
> TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
> ...............
>
> --
> Jean

Hi Jean,

the bevahiour from setupalign is normal and come from the \raggeright
definition in plain TeX, it is fixed and can not be fixed beause of backward
compatibility.

The alignment commands on the other side are newer commands
and fix this old behaviour, you run in this problem also with the align keys
in the setups for many commands and environments.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: problem with alignment
  2007-10-10 11:01 problem with alignment Jean Magnan de Bornier
  2007-10-10 12:53 ` Wolfgang Schuster
@ 2007-10-10 13:08 ` Hans Hagen
  2007-10-11  6:50   ` Jean Magnan de Bornier
  1 sibling, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2007-10-10 13:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jean Magnan de Bornier wrote:
> Hi all,
> Playing with right alignments this morning, I discovered that
> 
> \setupalign
> [left]
> 
>  ipsum in  elit
> 
> Duis placerat
> 
> nec augue 
> 
> 
> puts text *on the right*, while 
> 
> \setupalign
> [right]
> 
>  ipsum in  elit
> 
> Duis placerat
> 
> nec augue 
> 
> 
> puts text *on the left*.

raggedleft -)

use flushright or flushleft if you like that more


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: problem with alignment
  2007-10-10 13:08 ` Hans Hagen
@ 2007-10-11  6:50   ` Jean Magnan de Bornier
  2007-10-11  6:59     ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Jean Magnan de Bornier @ 2007-10-11  6:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le 10 octobre à 15:08:25 Hans Hagen <pragma@wxs.nl> écrit notamment:

| Jean Magnan de Bornier wrote:
| > Hi all,
| > Playing with right alignments this morning, I discovered that
| > 
| > \setupalign
| > [left]
| > 
| >  ipsum in  elit
| > 
| > Duis placerat
| > 
| > nec augue 
| > 
| > 
| > puts text *on the right*, while 
| > 
| > \setupalign
| > [right]
| > 
| >  ipsum in  elit
| > 
| > Duis placerat
| > 
| > nec augue 
| > 
| > 
| > puts text *on the left*.
>
| raggedleft -)
>
| use flushright or flushleft if you like that more
>

Thanks Hans and Wolfgang; should not this be documented in the context
manual, as it is a really strange behavior to an average user?
-- 
Jean
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: problem with alignment
  2007-10-11  6:50   ` Jean Magnan de Bornier
@ 2007-10-11  6:59     ` Taco Hoekwater
  2007-10-11  7:37       ` Jean Magnan de Bornier
  0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2007-10-11  6:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jean Magnan de Bornier wrote:
> 
> Thanks Hans and Wolfgang; should not this be documented in the context
> manual, as it is a really strange behavior to an average user?

http://wiki.contextgarden.net/FAQ (question five or six, iirc)

Cheers, taco
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: problem with alignment
  2007-10-11  6:59     ` Taco Hoekwater
@ 2007-10-11  7:37       ` Jean Magnan de Bornier
  0 siblings, 0 replies; 6+ messages in thread
From: Jean Magnan de Bornier @ 2007-10-11  7:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le 11 octobre à 08:59:30 Taco Hoekwater <taco@elvenkind.com> écrit notamment:

| Jean Magnan de Bornier wrote:
| > 
| > Thanks Hans and Wolfgang; should not this be documented in the context
| > manual, as it is a really strange behavior to an average user?
>
| http://wiki.contextgarden.net/FAQ (question five or six, iirc)
>
| Cheers, taco

[...]

Thanks a lot Taco; I had missed that page
-- 
Jean
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-10-11  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-10 11:01 problem with alignment Jean Magnan de Bornier
2007-10-10 12:53 ` Wolfgang Schuster
2007-10-10 13:08 ` Hans Hagen
2007-10-11  6:50   ` Jean Magnan de Bornier
2007-10-11  6:59     ` Taco Hoekwater
2007-10-11  7:37       ` Jean Magnan de Bornier

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