ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Sections with additional dot: a little request
Date: Sat, 18 Feb 2006 12:53:16 +0100	[thread overview]
Message-ID: <43F70AAC.2030504@wxs.nl> (raw)
In-Reply-To: <6faad9f00602172032x43db81b3v88da06a4676d0efc@mail.gmail.com>

Mojca Miklavec wrote:
> Hello Hans,
>
> The sections in Slovenian have to be numbered wih dots at the end:
>
> 1. Introduction
> 2. Contents
> 2.1. Subsection
> 2.1.1. Subsubsection
> 2.1.2. Subsubsection
> 2.2. Subsection
> 2.3. Subsection
> 3. Bibliography
>
> rather than
>
> 1  Introduction
> 2  Contents
> 2.1  Subsection
> 2.1.1  Subsubsection
> 2.1.2  Subsubsection
> 2.2  Subsection
> 2.3  Subsection
> 3  Bibliography
>
> There are many commands in ConTeXt which support "delimiter" key, but
> here the delimiter already stands for the dot delimiting subsequent
> numbers in this case.
>   
a quick way out: 

\setuplabeltext
  [sl]
  [chapter={{},{.}}]

\starttext

\chapter{whatever}

\mainlanguage[sl]

\chapter{whatever}

\stoptext

(we can extend that to other numbered things

it is no problem to provide some language dependent conversion handling, but then i'd like to implement everything at once (i know that hungarian also has special demands). 

so ... best is t o start meking a 'document' with proposed extensions (to which other users can add their wishes); most of what you need, is not that hard to implement, but i'd like to do it all at once 

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.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-02-18 11:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18  4:32 Mojca Miklavec
2006-02-18 11:53 ` Hans Hagen [this message]
2006-02-19 15:38   ` Mojca Miklavec
2006-02-20  8:37     ` Hans Hagen

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=43F70AAC.2030504@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).