From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50967 Path: news.gmane.org!not-for-mail From: "Kevin D. Robbins" Newsgroups: gmane.comp.tex.context Subject: Problems in latest beta Date: Tue, 2 Jun 2009 10:52:19 -0600 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1289096020==" X-Trace: ger.gmane.org 1243961609 9096 80.91.229.12 (2 Jun 2009 16:53:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2009 16:53:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 02 18:53:25 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1MBXEo-0001LX-Du for gctc-ntg-context-518@m.gmane.org; Tue, 02 Jun 2009 18:53:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91F1B1FDC8; Tue, 2 Jun 2009 18:53:21 +0200 (CEST) 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 24841-01; Tue, 2 Jun 2009 18:52:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 083411FD5E; Tue, 2 Jun 2009 18:52:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 51F831FD5E for ; Tue, 2 Jun 2009 18:52:30 +0200 (CEST) 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 20666-04 for ; Tue, 2 Jun 2009 18:52:21 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id AE5861FD5A for ; Tue, 2 Jun 2009 18:52:21 +0200 (CEST) Original-Received: from mail-bw0-f226.google.com (mail-bw0-f226.google.com [209.85.218.226]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n52GqKRF024132 for ; Tue, 2 Jun 2009 18:52:20 +0200 Original-Received: by bwz26 with SMTP id 26so8684195bwz.2 for ; Tue, 02 Jun 2009 09:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=rxdQT/vP97lLGInMRVtmIiJRu0TjbaL1dEq/sFpr7rc=; b=Min9HQRSi/2gR7NshiXavvBvaq3F++kvBFOwo5GvzETmbaj9mWyw6nau/LwVaNKL5i hUqA4JcBhLerFi1VoL8efan+WPDx6e0bwQKrY76Ua192+rug/5AlHEMgotcEroEcvhoJ TsKEU6u0P5e6NDMyKbMmtKRhGloOm/p4BqjOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=eo0Sc2cVDMf/cXVQZRHDgMo9yW6Mir09awrIus5HnY5SldTq2tXCA24GKSedprL7jt YgcfFlfKf+23tF8KOwOqjxI1nTQPKxsCRUEoz7gM3Xa8ddCgn35c0O9an+KqLlZwB5O1 ec6mXoHNWqnqG0D8qLr0pP2OvjGYRgPp+cBlg= Original-Received: by 10.239.140.212 with SMTP id y20mr519792hby.165.1243961539562; Tue, 02 Jun 2009 09:52:19 -0700 (PDT) X-Google-Sender-Auth: cbd966981c7b68a0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.226; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 236125270 - bfc3e8e4aeec - 20090602 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50967 Archived-At: --===============1289096020== Content-Type: multipart/alternative; boundary=001485f62944ae1095046b605db9 --001485f62944ae1095046b605db9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit In the latest beta, I nearly have everything working for a set of documents that haven't built cleanly in MkIV since Hans started merging the new structure code. Thanks, Hans and others, for the steady progress! I've started reading the new structure code, and I have to say I find it much easier to understand. I have a few remaining problems, that I've discovered so far, that I'd appreciate any help you can give me. First, I still haven't been able to use \placelistofacronyms or \completelistofacronyms to produce a list of acronyms used in my document. Here is my test case: ===== \definesynonyms[acronym][acronyms][\infull] \setupcapitals[sc=yes] \setupsynonyms[acronym][textstyle=small,width=1.25in] \acronym{ABC}{A Better Compiler} \acronym{DEF}{Don't Ever Fail} \starttext \completelistofacronyms % \title{Acronyms}\placelistofacronyms \section{\ABC\ Section} \infull{ABC} (\ABC) \section{\DEF\ Section} \infull{DEF} (\DEF) \stoptext ===== Here is the error: ===== structure : chapter @ level 2 : 0.1 -> \headtext {acronyms} ! Undefined control sequence. \dosetsynonymattributes ...def \fontattributehash {\synonymparameterhash #1}... \@@ddsyndeftitle ...tes \c!textstyle \c!textcolor ABC \doif #1#2->\edef \!!stringa {#1 }\edef \!!stringb {#2}\ifx \!!stringa \!!str... \dododescriptioncomponent ...er \c!title }\v!none {\global \nodescriptioncap... \@@makedescription ...itle ={#2},\c!bookmark =,][] \@@dostartdescriptionindeed \dodowithpar ...tes \c!textstyle \c!textcolor ABC} #1\@@stopdescription ... l.10 \completelistofacronyms ===== Second, I use the following float definitions for wide figures and tables. The floats are placed as I expect, but neither the wide figures nor the wide tables are given numbers in the caption...I just see "Figure Foo, bar, baz" instead of "Figure 1 Foo, bar, baz". However, the other figures and tables are numbered correctly, so it looks like the counters are incremented, just not used in the captions for wide figures and tables. \definefloat[widefigure][widefigures][figure] \setupfloat[widefigure] [location=inner] \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] Here is a test case: ===== \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] \starttext \completelistoftables \page[yes] \placewidetable[here,force][tab:foo]{Bar} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth)|] \HL[5] \NC Foo \NC \Use4[c]{Bar} \AR \NC \NC Baz \NC Boo \NC Blah \NC Flub \NC \AR \HL[5] \NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC Bap \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Bip \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC Nip \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Nup \NC 2 \NC 2 \NC 0 \NC 0 \NC \AR \HL[5] \stoptable} \placetable[here,force][tab:foo]{Bar} {\starttable [s1 |lp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth) |rp(.25\textwidth)|] \HL[5] \NC Foo \NC \Use4[c]{Bar} \AR \NC \NC Baz \NC Boo \NC Blah \NC Flub \NC \AR \HL[5] \NC Bop \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC Bap \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Bip \NC 1 \NC 2 \NC 3 \NC 0 \NC \AR \NC Nip \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC Nup \NC 2 \NC 2 \NC 0 \NC 0 \NC \AR \HL[5] \stoptable} \stoptext ===== Third, I can't get my appendices to count in letters A, B, C, etc. Following Hans' suggestion, I read strc-def.mkivre: conversion sets. I tried adding these lines to my document: \definestructureseparatorset [appendix] [] [.] \definestructureconversionset [appendix] [Romannumerals,Characters] [numbers] \definestructureresetset [appendix] [] [0] \setupstructureblock[appendix][sectionconversionset=appendix] \setupstructurehead[chapter][sectionconversionset=\structureblockparameter\c!sectionconversionset] But, I still see the appendices counting 1, 2, 3, etc. Where am I going wrong? I built all these examples using ConTeXt Minimals Versions: MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.06.02 09:30 This is LuaTeX, Version beta-0.40.1-2009050920 (Web2C 7.5.7) luatex.web >= v2376 Thanks, Kevin --001485f62944ae1095046b605db9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In the latest beta, I nearly have everything working for a set of documents= that haven't built cleanly in MkIV since Hans started merging the new = structure code. Thanks, Hans and others, for the steady progress! I've = started reading the new structure code, and I have to say I find it much ea= sier to understand.

I have a few remaining problems, that I've discovered so far, that = I'd appreciate any help you can give me.

First, I still haven= 9;t been able to use \placelistofacronyms or \completelistofacronyms to pro= duce a list of acronyms used in my document.

Here is my test case:
=3D=3D=3D=3D=3D
\definesynonyms[acronym][ac= ronyms][\infull]
\setupcapitals[sc=3Dyes]
\setupsynonyms[acronym][tex= tstyle=3Dsmall,width=3D1.25in]

\acronym{ABC}{A Better Compiler}
\= acronym{DEF}{Don't Ever Fail}

\starttext

\completelistofacronyms

% \title{Acronyms}\pla= celistofacronyms

\section{\ABC\ Section}
\infull{ABC} (\ABC)
<= br>\section{\DEF\ Section}
\infull{DEF} (\DEF)

\stoptext
=3D= =3D=3D=3D=3D

Here is the error:
=3D=3D=3D=3D=3D
structure=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 : chapter @ level 2 : 0.1 -> \headtext {acronyms}
! U= ndefined control sequence.
\dosetsynonymattributes ...def \fontattribute= hash
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 {\synonymparameterhash #1}...
\@@ddsyndeftitle ...tes \c!textstyle \c!textcolor
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ABC
\doif #1#2->\ede= f \!!stringa {#1
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }\edef \!!stringb= {#2}\ifx \!!stringa \!!str...
\dododescriptioncomponent ...er \c!title }\v!none
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {\global \nodescriptioncap= ...
\@@makedescription ...itle =3D{#2},\c!bookmark =3D,][]
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \@@dostartdesc= riptionindeed
\dodowithpar ...tes \c!textstyle \c!textcolor ABC}
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #1\@@stopdescription
.= ..
l.10 \completelistofacronyms
=3D=3D=3D=3D=3D

Second, I use = the following float definitions for wide figures and tables. The floats are= placed as I expect, but neither the wide figures nor the wide tables are g= iven numbers in the caption...I just see "Figure=C2=A0 Foo, bar, baz&q= uot; instead of "Figure 1=C2=A0 Foo, bar, baz". However, the othe= r figures and tables are numbered correctly, so it looks like the counters = are incremented, just not used in the captions for wide figures and tables.=

\definefloat[widefigure][widefigures][figure]
\setupfloat[widefigure= ]
=C2=A0 [location=3Dinner]

\definefloat[widetable][widetables][t= able]
\setupfloat[widetable]
=C2=A0 [location=3Dinner]

Here is= a test case:
=3D=3D=3D=3D=3D
\definefloat[widetable][widetables][table]
\setupfloa= t[widetable]
=C2=A0 [location=3Dinner]

\starttext

\complet= elistoftables
\page[yes]

\placewidetable[here,force][tab:foo]{Bar= }
{\starttable
=C2=A0=C2=A0 [s1
=C2=A0=C2=A0=C2=A0 |lp(.25\textwidth)
=C2=A0=C2=A0= =C2=A0 |rp(.25\textwidth)
=C2=A0=C2=A0=C2=A0 |rp(.25\textwidth)
=C2= =A0=C2=A0=C2=A0 |rp(.25\textwidth)
=C2=A0=C2=A0=C2=A0 |rp(.25\textwidth)= |]
=C2=A0 \HL[5]
=C2=A0 \NC Foo \NC \Use4[c]{Bar} \AR
=C2=A0 \NC <= br>=C2=A0 \NC Baz
=C2=A0 \NC Boo
=C2=A0 \NC Blah
=C2=A0 \NC Flub \NC \AR
=C2=A0 \HL[5]
=C2=A0 \NC B= op \NC 3 \NC 1 \NC 0=C2=A0=C2=A0 \NC 2=C2=A0=C2=A0 \NC \AR
=C2=A0 \NC Ba= p \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR
=C2=A0 \NC Bip \NC 1 \NC 2 \NC 3= =C2=A0=C2=A0 \NC 0=C2=A0=C2=A0 \NC \AR
=C2=A0 \NC Nip \NC 3 \NC 2 \NC 0.= 5 \NC 0.5 \NC \AR
=C2=A0 \NC Nup \NC 2 \NC 2 \NC 0=C2=A0=C2=A0 \NC 0=C2=A0=C2=A0 \NC \AR
= =C2=A0 \HL[5]
=C2=A0\stoptable}

\placetable[here,force][tab:foo]{= Bar}
{\starttable
=C2=A0=C2=A0 [s1
=C2=A0=C2=A0=C2=A0 |lp(.25\text= width)
=C2=A0=C2=A0=C2=A0 |rp(.25\textwidth)
=C2=A0=C2=A0=C2=A0 |rp(.= 25\textwidth)
=C2=A0=C2=A0=C2=A0 |rp(.25\textwidth)
=C2=A0=C2=A0=C2=A0 |rp(.25\textwid= th)|]
=C2=A0 \HL[5]
=C2=A0 \NC Foo \NC \Use4[c]{Bar} \AR
=C2=A0 \N= C
=C2=A0 \NC Baz
=C2=A0 \NC Boo
=C2=A0 \NC Blah
=C2=A0 \NC Fl= ub \NC \AR
=C2=A0 \HL[5]
=C2=A0 \NC Bop \NC 3 \NC 1 \NC 0=C2=A0=C2=A0= \NC 2=C2=A0=C2=A0 \NC \AR
=C2=A0 \NC Bap \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR
=C2=A0 \NC Bip \NC 1 = \NC 2 \NC 3=C2=A0=C2=A0 \NC 0=C2=A0=C2=A0 \NC \AR
=C2=A0 \NC Nip \NC 3 \= NC 2 \NC 0.5 \NC 0.5 \NC \AR
=C2=A0 \NC Nup \NC 2 \NC 2 \NC 0=C2=A0=C2= =A0 \NC 0=C2=A0=C2=A0 \NC \AR
=C2=A0 \HL[5]
=C2=A0\stoptable}

\stoptext
=3D=3D=3D=3D=3D

Third, I can't get my appendice= s to count in letters A, B, C, etc. Following Hans' suggestion, I read = strc-def.mkiv re: conversion sets. I tried addin= g these lines to my document:
\definestructureseparatorset  [appendix] [] [.=
]
\definestructureconversionset [appendix] [Romannumerals,Characters] [n= umbers]
\definestructureresetset [appendix] [] [0]
\setupstructu= reblock[appendix][sectionconversionset=3Dappendix]
\setupstructurehead[chapter][sectionconversionset=3D\structureblockparamete= r\c!sectionconversionset]

But, I still see the appendices counting 1= , 2, 3, etc. Where am I going wrong?
I built all these exam= ples using ConTeXt Minimals Versions:

MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/con= text/base/context.tex
MTXrun | current version: 2009.06.02 09:30

= This is LuaTeX, Version beta-0.40.1-2009050920 (Web2C 7.5.7) luatex.web >= ;=3D v2376

Thanks,

Kevin
--001485f62944ae1095046b605db9-- --===============1289096020== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1289096020==--