ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Let's Polish the math!
Date: Tue, 17 Mar 2009 21:39:26 +0100	[thread overview]
Message-ID: <6faad9f00903171339j698b924dx7b898684b4d23737@mail.gmail.com> (raw)
In-Reply-To: <A2D69124-5632-4E98-ABC3-78A254D97B31@gmail.com>

On Tue, Mar 17, 2009 at 20:56, Wolfgang Schuster wrote:
>
> Am 17.03.2009 um 20:12 schrieb Mojca Miklavec:
>
>> On Sat, Mar 14, 2009 at 08:52, Aditya Mahajan wrote:
>>>
>>>> Also, we put periods after section numbers, so no "1.2
>>>> Section", but rather "1.2. Section".
>>>
>>> \setuplabeltext [pl] [section={{},{.}}]
>>
>> Hello Aditya,
>>
>> Interesting trick, thanks. But the problem is that references then
>> ignore the dot. So \in[ref] gives me only "1" instead of "1.". Also,
>> it's non-recursive (but that is not so problematic). Redefining the
>> numbercommand seems to work a tiny bit better for me, but I would
>> prefer to have a better & automatic solution based on the chosen
>> language (so that "1.1.." will start appearing in my old documents :)
>> :) :) :)
>
>
> Let's hope the stopper key for \setuphead will work in MkIV.
>
> Language depends settings are possible with start/stoplanguagespecifics
> but it's broken :-(
>
> \startlanguagespecifics[sl]
>
> \setuphead
>  [chapter,section,subsection]
>  [numbercommand=\groupedcommand{}{.}]
>
> \stoplanguagespecifics

Hello Wolfgang,

I was often tempted to do that (in some less fancy way than with
groupedcommand :) by default ... but maybe some user wants
    \setuphead[section][numbercommand=\xxx] \def\xxx#1{\framed{#1}}
or whatever else and that would interfere with the existing
numbercommand= that's specific to one language. Proper support for
stopper would be much better.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-03-17 20:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14  0:26 Marcin Borkowski
2009-03-14  7:10 ` Mojca Miklavec
2009-03-14  7:52 ` Aditya Mahajan
2009-03-14 13:11   ` Xan
2009-03-14 16:01     ` Hans Hagen
2009-03-14 16:04       ` Xan
2009-03-14 16:04   ` Hans Hagen
2009-03-17 19:12   ` Mojca Miklavec
2009-03-17 19:56     ` Wolfgang Schuster
2009-03-17 20:39       ` Mojca Miklavec [this message]
2009-03-17 22:30         ` Hans Hagen
2009-03-14 12:05 ` Wolfgang Schuster

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=6faad9f00903171339j698b924dx7b898684b4d23737@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.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).