ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matt Gushee <mgushee@havenrock.com>
Subject: Re: Problems with left and right
Date: Sat, 24 Jul 2004 01:15:59 -0600	[thread overview]
Message-ID: <20040724071558.GE11496@swordfish> (raw)
In-Reply-To: <41020125.3040307@wxs.nl>

On Fri, Jul 23, 2004 at 11:26:45PM -0700, Hans Hagen Outside wrote:
> >
> >I have noticed a couple of cases where ConTeXt macros seem to have
> >confused left and right sides:

First of all, thanks for your quick reply!

> forthermore, think of right as raggedright

And left as ... raggedleft? 

Anyway, I gather you're saying that the behavior I've observed is
correct. E.g.:

     [align=left]  [align=right]

              abc  foo, bar, baz
               de  dum-da-dum-da-dummmmm
          fghijkl  tweedledee

With all due respect, I don't see how that makes any sense. In common
English usage, left-aligned means the text is set against the left edge,
and right-aligned means the text is set against the right edge. I can't
imagine Dutch or other European languages are very different in that
respect (though I've been known to guess wrong about languages).
Furthermore, this usage of 'align=<side>' is inconsistent with some
other things in ConTeXt, such as \rightaligned, which behaves as I would
expect it to. 

> 
> >2) In order to format format headers for a book so that the book title
> >   appears on the left-hand page and the section title on the right, I
> >   had to do this:
> >
> >     \setupheadertexts [] [section] [title] []
> >
> >   ... which, as I read the documentation, is in the opposite order to
> >   what it should be.
> >
> >Is this a bug in ConTeXt, or have I misconfigured something?
> > 
> >
> no, think of spreads

You mean page spreads? Like this?

     +----------------+----------------+
     |                |                |
     |   even-        |   odd-         |
     |   numbered     |   numbered     |
     |   page         |   page         |
     |                |                |
     +----------------+----------------+

That's exactly what I was already thinking of, and it doesn't make
sense:

  COMMAND:    \setupheadertexts [] [section] [title] []

  RESULT:     +--------------------+--------------------+
              | <title>            |          <section> |
              |                    |                    |
              |                    |                    |
              |                    |                    |
              |                    |                    |
              +--------------------+--------------------+

If you say there's a logical explanation for this, then I believe you. I
still maintain it's really counterintuitive and likely to cause
confusion. And if so, aren't you making extra work for yourself (because
you have to explain it)? Or is it just me?
    
-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee@havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)

  reply	other threads:[~2004-07-24  7:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 19:19 Matt Gushee
2004-07-23 19:44 ` Problems with left and right, Part II Matt Gushee
2004-07-24  6:26 ` Problems with left and right Hans Hagen Outside
2004-07-24  7:15   ` Matt Gushee [this message]
2004-07-24  8:39     ` Peter Münster
2004-07-24 15:22       ` Matt Gushee
2004-07-25  9:45         ` Henning Hraban Ramm
2004-07-24 12:06     ` Patrick Gundlach
2004-07-24 15:22       ` Hans Hagen Outside

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040724071558.GE11496@swordfish \
    --to=mgushee@havenrock.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).