ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: setuphead(s), subject, alternative=inmargin
Date: Fri, 21 Mar 2003 18:47:47 +0100	[thread overview]
Message-ID: <87ptokr4qk.fsf@gundla.ch> (raw)
In-Reply-To: <5.1.0.14.1.20030321171720.0257f8a8@server-1> (Hans Hagen's message of "Fri, 21 Mar 2003 17:24:02 +0100")

Hans Hagen <pragma@wxs.nl> writes:

> no, it's just flushing previous ones; maybe the next solution will
> prevent a sleepless night:

Great!

So we have two different setups now (well, there are 100s more) :

%      |left  || textarea
%      |margin||                           |     |
%      |      ||                           |     |
%somelonghead*||We thrive in ...           |     |   (#1)
%      |      ||                           |     |
%      |      ||                           |     |
%      |      ||                           |     |
%      |*somehead nextsection              |     |   (#2)
%      |      ||                           |     |
%      |      ||We thrive in ...           |     |


* is the point of alignment.

#1 is covered by \inleftmargin #1 #2 

#2 is covered by MyHead which I've posted earlier.

It would be nice to have some kind of "numberdistance", which goes
between number and head  (1____firstsection). 



> normally text will put the head in from of the text, so here we let
> the command lap it to the left; of course we need to nil the distance;
> so, actually it fits will into the normal configuration.

OK, I have tested *without* text in the section ...

> so, if you cook up a nice keyword for this alternative, 



alternative=a,b,c :) 

#1: marginright  (= right aligned in margin) and #2: marginleft
 (since I am a bit confused by the naming of right- and leftalign in
 ConTeXt, this will be the other way round, I guess).

> i will show
> you how easy it is added as alternative -)

Since I had a quick look in core-sec.tex I could guess how to add the
keywords. The most difficult part would be the translation to dutch
(margelinks?) 


Patrick

  reply	other threads:[~2003-03-21 17:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21 11:56 Mathias.Picker
2003-03-21 13:02 ` Patrick Gundlach
2003-03-21 13:33   ` Patrick Gundlach
2003-03-21 13:50   ` mathiasp
2003-03-21 14:02   ` Mathias Picker
2003-03-21 14:55     ` Patrick Gundlach
2003-03-23 13:54       ` Mathias Picker
2003-03-23 14:56         ` Patrick Gundlach
2003-03-21 14:13   ` Hans Hagen
2003-03-21 14:42     ` Patrick Gundlach
2003-03-21 15:03       ` Hans Hagen
2003-03-21 15:27         ` Patrick Gundlach
2003-03-21 16:24           ` Hans Hagen
2003-03-21 17:47             ` Patrick Gundlach [this message]
2003-03-21 17:58             ` Patrick Gundlach

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=87ptokr4qk.fsf@gundla.ch \
    --to=pg@levana.de \
    --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).