From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85407 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?G=C3=A9ry_Ogam?= Newsgroups: gmane.comp.tex.context Subject: Re: Numberconversion problem in caption prefixes Date: Sat, 23 Nov 2013 16:56:15 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0061312093==" X-Trace: ger.gmane.org 1385222175 29469 80.91.229.3 (23 Nov 2013 15:56:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Nov 2013 15:56:15 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 23 16:56:21 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VkFZF-0007gc-I4 for gctc-ntg-context-518@m.gmane.org; Sat, 23 Nov 2013 16:56:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B403210239; Sat, 23 Nov 2013 16:56:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24tUb9zJ1BUL; Sat, 23 Nov 2013 16:56:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CF46D101F7; Sat, 23 Nov 2013 16:56:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E58B6101F7 for ; Sat, 23 Nov 2013 16:56:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 46Tn4OGx0X0v for ; Sat, 23 Nov 2013 16:56:16 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id F1ABE101EB for ; Sat, 23 Nov 2013 16:56:15 +0100 (CET) Original-Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rANG3tRP018558 for ; Sat, 23 Nov 2013 17:03:55 +0100 Original-Received: by mail-wg0-f51.google.com with SMTP id l18so2224768wgh.18 for ; Sat, 23 Nov 2013 07:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CNDqG07t9hN4KsENR+yrkgMtHbceY4SNaWGZxUeSCAg=; b=rJUMXqC74Ce7aSV98MfH1aEmK/RkA4Ncn8diF19gwx0Bz7v3Xxdrzy6l/P895TtiTi IbSJlGr6Rgv4ebiaUJhnOH+EO/0MuPpxgmo83Ij5smwT+RQ3PjpBs8IVx56YX2Fa0RWp eid9zMEvSzvYClhN07roK05H7VSaF6Z/BMGJ9vpCo3P0c256CmsN1Hl1YMQEdfuvwoI9 37w+SOhNwRh5A/XYvjGBh+fbRNVEkgfyE/0reKzFdwjGkdxQfRx7cFr63g+3ReXB9RYs NutnQFARHYEr/rY72ZDbv1WVJmkCgdxv0XexSlCoZunXWbtbEmKiaAjyMOKG2FLxQ1ZB QKxQ== X-Received: by 10.180.72.243 with SMTP id g19mr2625627wiv.62.1385222175341; Sat, 23 Nov 2013 07:56:15 -0800 (PST) Original-Received: by 10.216.244.4 with HTTP; Sat, 23 Nov 2013 07:56:15 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KR43T9j - 6a6895021484 - 20131123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85407 Archived-At: --===============0061312093== Content-Type: multipart/alternative; boundary=f46d043c813eb2432404ebda2bc6 --f46d043c813eb2432404ebda2bc6 Content-Type: text/plain; charset=UTF-8 Thanks again Wolfgang, with this setup everything is fine. But I wanted to bring to the attention of Hans the inconsistency of the prefix conversions by defaut, so that he can correct them: I A chapter [a figure] Figure I.1 % <-- Here the conversion of the prefix to Romannumerals is done AUTOMATICALLY. 1.1 A section [a figure] Figure 1.2 % <-- Here the conversion of the prefix to Romannumerals is NOT done AUTOMATICALLY (the presence of a section before seems to DISCARD THE AUTOMATIC CONVERSION). Nor in the prefix of the section. Code: \setuphead[chapter][conversion=Romannumerals] \starttext \chapter{A chapter} \placefigure{}{\externalfigure} \section{A section} \placefigure{}{\externalfigure} \stoptext Every prefix should be AUTOMATICALLY converted, not half of them. Hans, could you please correct that in the next betas? Best regards. --f46d043c813eb2432404ebda2bc6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks again Wolfgang, with this setup everything is fine.

But I wanted to bring to the attention of Hans the inco= nsistency of the prefix conversions by defaut, so that he can correct them:=

I A chapter

[a figure] F= igure I.1 =C2=A0% <-- Here the conversion of the prefix to Romannumerals= is done=C2=A0AUTOMATICALLY.

1.1 A section

[a figure] Figur= e 1.2 % <-- Here the conversion of the prefix to Romannumerals is NOT do= ne AUTOMATICALLY (the presence of a section before seems to DISCARD THE AUT= OMATIC CONVERSION). Nor in the prefix of the section.


Code:

\set= uphead[chapter][conversion=3DRomannumerals]
\starttext
= \chapter{A chapter}
\placefigure{}{\externalfigure}
\se= ction{A section}
\placefigure{}{\externalfigure}
\stoptext

Every prefix should be AUTOMATICALLY converted,= not half of them. Hans, could you please correct that in the next betas?

Best regards.
--f46d043c813eb2432404ebda2bc6-- --===============0061312093== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0061312093==--