Re: [NTG-context] Problems in latest beta
Kevin D. Robbins wrote: Great, thanks a lot Hans! In my current test case below everything now works except for \placecontent or \completecontent, which still don't produce anything. Also, I had to add the second argument \placelist[table,widetable][criterium=all] in order to get output. Without [criterium=all] I did not get anything. And, I still haven't figured out the conversion sets for getting appendices labeled A, B, C. should happen by default also, look at defs in strc-def.tex (don't use these c! and v! in your style, just the words) lists fixed in next beta (still somewhat tricky as the default settings are kind of adaptive) - 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 - ___ 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 ___
Re: [NTG-context] Problems in latest beta
Great! The appendices now increment A, B, C by default. And, all the lists (contents, figures, tables, acronyms) are now working. Thanks! Kevin On Wed, Jun 3, 2009 at 3:06 AM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: Great, thanks a lot Hans! In my current test case below everything now works except for \placecontent or \completecontent, which still don't produce anything. Also, I had to add the second argument \placelist[table,widetable][criterium=all] in order to get output. Without [criterium=all] I did not get anything. And, I still haven't figured out the conversion sets for getting appendices labeled A, B, C. should happen by default also, look at defs in strc-def.tex (don't use these c! and v! in your style, just the words) lists fixed in next beta (still somewhat tricky as the default settings are kind of adaptive) - 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 - ___ 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 ___ ___ 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 ___
[NTG-context] Problems in latest beta
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.mkivhttp://source.contextgarden.net/tex/context/base/strc-def.mkiv?search=conversionsetre: 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 ___ 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/
Re: [NTG-context] Problems in latest beta
Kevin D. Robbins wrote: l.10 \completelistofacronyms = fixed - 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 - ___ 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 ___
Re: [NTG-context] Problems in latest beta
Thanks. I updated to: MTXrun | main context file: /opt/context/beta/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.06.02 20:25 and now \completelistofacronyms does indeed work. However, \completecontent no longer produces any output (it produced proper output before). In my real document, the one wide table I have now gets a number, but \completelistoffigures now produces no output (it produced proper output before). I have made a test case that includes acronyms, figures and tables, wide figures and tables, and lists of contents, figures, tables, and acronyms. Right now, with this test case, I don't get anything for the list of contents, figures, or tables, and the wide figure and table do not get numbers in their captions. But, the list of acronyms works. = \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} \definefloat[widefigure][widefigures][figure] \setupfloat[widefigure] [location=inner] \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] \starttext \completecontent\page \completelistoffigures\page \completelistoftables\page \completelistofacronyms\page \section{\ABC\ Section} \infull{ABC} (\ABC) \placewidefigure{Cow} {\externalfigure[cow][width=\textwidth]} \section{\DEF\ Section} \infull{DEF} (\DEF) \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} \placefigure{Cow} {\externalfigure[cow][width=\textwidth]} \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 = Kevin On Tue, Jun 2, 2009 at 12:52 PM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: l.10 \completelistofacronyms = fixed - 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 - ___ 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 ___ ___ 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 ___
Re: [NTG-context] Problems in latest beta
Kevin D. Robbins wrote: I have a few remaining problems, that I've discovered so far, that I'd appreciate any help you can give me. fixed \placelist[table,widetable] \placewidetable{Bar}{xxx} \placewidetable{Bar}{xxx} \placetable{Bar}{yyy} \placetable{Bar}{yyy} \placewidetable{Bar}{xxx} - 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 - ___ 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 ___
Re: [NTG-context] Problems in latest beta
Great, thanks a lot Hans! In my current test case below everything now works except for \placecontent or \completecontent, which still don't produce anything. Also, I had to add the second argument \placelist[table,widetable][criterium=all] in order to get output. Without [criterium=all] I did not get anything. And, I still haven't figured out the conversion sets for getting appendices labeled A, B, C. = \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} \definefloat[widefigure][widefigures][figure] \setupfloat[widefigure] [location=inner] \definefloat[widetable][widetables][table] \setupfloat[widetable] [location=inner] \starttext \title{Contents}\placecontent\page \title{Figures}\placelist[figure,widefigure][criterium=all]\page \title{Tables}\placelist[table,widetable][criterium=all]\page \title{Acronyms}\placelistofacronyms\page \section{\ABC\ Section} \infull{ABC} (\ABC) \placewidetable{Bar}{xxx} \placewidetable{Bar}{xxx} \placetable{Bar}{yyy} \placetable{Bar}{yyy} \placewidetable{Bar}{xxx} \page \section{\DEF\ Section} \infull{DEF} (\DEF) \placewidefigure{Bar}{xxx} \placewidefigure{Bar}{xxx} \placefigure{Bar}{yyy} \placefigure{Bar}{yyy} \placewidefigure{Bar}{xxx} \stoptext = Kevin On Tue, Jun 2, 2009 at 2:17 PM, Hans Hagen pra...@wxs.nl wrote: Kevin D. Robbins wrote: I have a few remaining problems, that I've discovered so far, that I'd appreciate any help you can give me. fixed \placelist[table,widetable] \placewidetable{Bar}{xxx} \placewidetable{Bar}{xxx} \placetable{Bar}{yyy} \placetable{Bar}{yyy} \placewidetable{Bar}{xxx} - 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 - ___ 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 ___ ___ 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 ___
Re: [NTG-context] Problems with latest beta
Sorry, this was supposed to go to the list, not to Aditya privately: On Oct 30, 2006, at 10:03 PM, Aditya Mahajan wrote: Hi Thomas, This is a wild guess. On line 619 on texutil.rb add (@realpage ||'').to_s.rjust(6,' ').gsub(/0/,' '), ^^ add this Aditya Thanks for the reply, Aditya. Your fix appears to work; now, I get a proper index again. Did you try texexec.rb? The message looks to be coming from ruby. I am, in fact, using the ruby script; I just find the --version output of the perl variant much clearer; that's why I use it just for verification of the formats etc. Thanks again! Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems with latest beta
I have a number of grave problems with the latest beta texmfstart texexec.pl --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil | --referencesconvert tui file into tuo file tex : pdfTeX, 3.141592-1.40.0- beta-20061017 (Web2C 7.5.5) context : ver: 2006.10.27 15:16 cont-en : ver: 2006.10.27 15:16 MK II fmt: 2006.10.30/english cont-nl : ver: 2006.10.27 15:16 MK II fmt: 2006.10.30/dutch 1. At the end of the run, I get these errors: TeXUtil | parsing file translation.tui TeXUtil | fatal error in plugin (processing): undefined method `rjust' for 0:Fixnum /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:619:in `build' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:845:in `processor' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:844:in `each_index' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:844:in `processor' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:835:in `each' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:835:in `processor' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:127:in `processors' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:125:in `each' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:125:in `processors' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ texutil.rb:1017:in `processed' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1577:in `runtexutil' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1570:in `each' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1570:in `runtexutil' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1854:in `processfile' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1086:in `processtex' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1085:in `timedrun' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1085:in `processtex' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1082:in `each' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ tex.rb:1082:in `processtex' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 61:in `process' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 51:in `main' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 759:in `send' /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 759 2. Accordingly, the index is in no particular order and unusable. May I also hint again at the index questions I posted last week? Best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with latest beta
On Mon, 30 Oct 2006, Thomas A. Schmitz wrote: I have a number of grave problems with the latest beta texmfstart texexec.pl --version Did you try texexec.rb? The message looks to be coming from ruby. TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil | --referencesconvert tui file into tuo file tex : pdfTeX, 3.141592-1.40.0- beta-20061017 (Web2C 7.5.5) context : ver: 2006.10.27 15:16 cont-en : ver: 2006.10.27 15:16 MK II fmt: 2006.10.30/english cont-nl : ver: 2006.10.27 15:16 MK II fmt: 2006.10.30/dutch 1. At the end of the run, I get these errors: TeXUtil | parsing file translation.tui TeXUtil | fatal error in plugin (processing): undefined method `rjust' for 0:Fixnum AFAIK, Fixnum is a ruby method, so this error message must be coming from the ruby version. I do not know anything about index, so cannot help on the actual error. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context