ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: OwnNumber?
Date: Thu, 03 Jun 1999 11:57:59 +0200	[thread overview]
Message-ID: <375651A7.D147F4A0@wxs.nl> (raw)
In-Reply-To: <3.0.5.32.19990602233347.0084eb70@mail.northcoast.com>

David Arnold wrote:

> 1. What's the concept behind ownnumber in
> 
> \setuphead
>   [chapter]
>   [alternative=inmargin,
>    number=no,
>    ownnumber=yes,
>    after={\blank[3*medium]}]

Normally you can have 

  \chapter{Hi There}

or 

  \chapter[someref, anotherref, morerefs]{Hi There}

and both generate the chapter number. 

When ownnumber=yes, you can say: 

  \chapter{my number}{Hi There}

(or with refs). This time you get {my number} as chapter number while in
the background the numbering mechanism is still working, just to get
everything local (like tocs) right. 

Think of manuals with numbers like

F12.ORG.21 Some Title

> 2. I don't understand the purpose of the definereference commands in
> 
> \def\ShowSample#1#2%
>   {\chapter{#1}{#2}
>    \definereference[sample][d-en-#1::]
>    \startlinenumbering
>    \typefile {d-en-#1.tex}
>    \stoplinenumbering
>    \page
>    \definereference[sample][]}

Logical refs. You can write a style using a ref and resolving it later. 

\definereference[YetUnknown][lastpage]   \goto{Somewhere}[yet unknown]

\definereference[YetUnknown][firstpage]  \goto{Somewhere}[Yet Unknown]

> 3. What is the purpose of setuptexttexts? Is it similar to a mechanism that
> puts the word "Draft" on every page of the document?

For instance, although that one can better be added as background
(\setupbackgrounds). 

Think of 'headertexts', 'footertexts' and between that 'texttexts' (and
toptexts and bottomtexts too). Pictures of that in the big ref manual
(beta page). 

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


      reply	other threads:[~1999-06-03  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-03  6:33 OwnNumber? David Arnold
1999-06-03  9:57 ` Hans Hagen [this message]

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=375651A7.D147F4A0@wxs.nl \
    --to=pragma@wxs.nl \
    --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).