From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26028 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Sections with additional dot: a little request Date: Sat, 18 Feb 2006 05:32:42 +0100 Message-ID: <6faad9f00602172032x43db81b3v88da06a4676d0efc@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140237175 31721 80.91.229.2 (18 Feb 2006 04:32:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2006 04:32:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 18 05:32:52 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FAJm7-000476-Vr for gctc-ntg-context-518@m.gmane.org; Sat, 18 Feb 2006 05:32:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3618512792; Sat, 18 Feb 2006 05:32:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03327-07; Sat, 18 Feb 2006 05:32:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E814312772; Sat, 18 Feb 2006 05:32:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5115F12772 for ; Sat, 18 Feb 2006 05:32:45 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04303-02 for ; Sat, 18 Feb 2006 05:32:44 +0100 (CET) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.207]) by ronja.ntg.nl (Postfix) with SMTP id 0741C1276F for ; Sat, 18 Feb 2006 05:32:43 +0100 (CET) Original-Received: by nproxy.gmail.com with SMTP id m18so384954nfc for ; Fri, 17 Feb 2006 20:32:43 -0800 (PST) Original-Received: by 10.48.255.10 with SMTP id c10mr634254nfi; Fri, 17 Feb 2006 20:32:42 -0800 (PST) Original-Received: by 10.48.202.12 with HTTP; Fri, 17 Feb 2006 20:32:42 -0800 (PST) Original-To: "mailing list for ConTeXt users" Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26028 Archived-At: 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. There's a possible solution listed on http://wiki.contextgarden.net/Dotted_number_in_caption, ie: \def\Dot#1{#1.} \setuphead[section][numbercommand=\Dot] \setuplist[section][numbercommand=\Dot] \setuplist[subsection][numbercommand=\Dot] \setuplist[subsubsection][numbercommand=\Dot] but this cannot be built into "languagespecifics" as such since it interferes with user-defined "numbercommands" (if the user defines his own numbercommand, the dot would disapear). This is low-priority (can be circumvented and done properly if needed), but I would be very glad if an additional keyword & its setting could make its way into "languagespecifics" once in the future if possible. LaTeX people did that (not aplicable to ConTeXt at all): \renewcommand\thepart {\@Roman\c@part} \renewcommand\thesection {\@arabic\c@section.} \renewcommand\thesubsection {\thesection\@arabic\c@subsection} \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph} \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph} \renewcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \renewcommand\thesection{\@Alph\c@section.}} Also, Part 1 may be written as "1. poglavje" (with dot) or "Poglavje 1" (without dot), so there has to remain an option to remove a dot only for a certain title if necessary. The only online reference I know (list of mistakes in babel) is written in Slovenian http://nl.ijs.si/gnusl/tex/tslovene/slolang/node98.html-l2#SECTION0002031400000000000000 but I guess that the content can at least partially be evident from the TeX sources. Once again the same comment as the last time with itemizing. If this will ever be implemented and added, it will change the behaviour (and break the old behaviour in a way), but I guess that there are not so many people typesetting Slovenian in ConTeXt yet. There will be less harm if a few old documents are fixed than if tons of other newer documents are typeset wrong. Thanks a lot, Mojca