ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris S Hamid <ishamid@attbi.com>
Cc: ntg-context@ntg.nl, ahoenig@suffolk.lib.ny.us
Subject: Re: A Semetic Aporia
Date: Mon, 18 Nov 2002 12:22:45 -0800	[thread overview]
Message-ID: <200211181222.45191.ishamid@attbi.com> (raw)
In-Reply-To: <5.1.0.14.1.20021118105736.02795ea8@server-1>

On Monday 18 November 2002 01:59, Hans Hagen wrote:
> \newif\ifreversesectionnumbers
>
> \unprotected \def\@@longsectionnumber#1%
>    {\ifreversesectionnumbers
>       \@@shortsectionnumber{#1}%
>       \ifnum\countervalue{\??se\previoussection{#1}}>\zerocount
>         .\csname\previoussection{#1}\c!nummer\endcsname
>       \fi
>     \else
>       \ifnum\countervalue{\??se\previoussection{#1}}>\zerocount
>         \csname\previoussection{#1}\c!nummer\endcsname.%
>       \fi
>       \@@shortsectionnumber{#1}%
>     \fi}
>
> \reversesectionnumberstrue
>
> \chapter{Well, let's see}
> \section{If}
> \section{This}
> \section{Works}
>

WOW!!!  So far this works perfectly! Please accept my deepest gratitude for 
such a short turnaround!

> but i assume you want a more sophisticated mechanism; should this be a key
> in \setuphead?

It would be nice to say something _global_ like

\setupheads[alternative=semetic]  or 
\setupheads[alternative=RL] 

I suppose for some _really_ funky multilingual scenarios the _local_ mecahnism

\setuphead[alternative=RL] 

might come in handy as well.

Thnx again!

Best wishes
Idris
-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

  reply	other threads:[~2002-11-18 20:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-18  5:17 Idris S Hamid
2002-11-18  9:59 ` Hans Hagen
2002-11-18 20:22   ` Idris S Hamid [this message]
2002-11-18 20:42     ` Idris S Hamid

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=200211181222.45191.ishamid@attbi.com \
    --to=ishamid@attbi.com \
    --cc=ahoenig@suffolk.lib.ny.us \
    --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).