[NTG-context] pagenumbering/toc bug?
The example for pagenumbering(different pagenumbering in different parts with appropriate change in TOC) in MkIV given by Wolfgang @ http://www.ntg.nl/pipermail/ntg-context/2009/043296.html no longer works. If \completecontent is commented it works. errors: structure : begin of sectionblock frontpart structure : title @ level 2 : 0.0 - \headtext {content} ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-pag.lua:104: bad argument #3 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...text/tex/texmf-context/tex/context/base/strc-pag.lua:104: in function 'number' ...text/tex/texmf-context/tex/context/base/strc-pag.lua:172: in function 'prefixpage' ...text/tex/texmf-context/tex/context/base/strc-lst.lua:399: in function 'prefixedpage' main ctx instance:1: in main chunk. \structurelistpagenumber ...gestopper \!!es , } )} \doifsomething #1-\edef \!!stringa {#1 }\ifx \!!stringa \empty \expandafter ... argument ...omething {\structurelistpagenumber } {\hbox \ifdim \listwidth ... \firstofoneargument #1-#1 argument ...and {\structurelistpagenumber }} }\vbox {\hsize \!!widthb \... \domakelistelement ...#4}[internal(#2)]\else #3{#4 }\fi ... ConTeXt ver: 2009.09.09 14:31 MKIV fmt: 2009.9.11 int: english/english Ofcourse, it worked well a few days back, I updated today. -- A few minutes of yours can give many minutes of education to someone less priviledged. Go to my blog(http://teachmetowrite.blogspot.com/) and click on the social vibe badge to make a difference. ___ 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] Pagenumbering of appendices
* Derek CORDEIRO derekcorde...@gmail.com [090911 07:51]: On Thu, Sep 10, 2009 at 9:10 PM, olafm+cont...@kimberly.tako.deolafm%2bcont...@kimberly.tako.de wrote: I've been trying to turn off the conversion of page numbers to roman numerals in my appendix without any luck. Here is a minimal example: \setuppagenumbering[way=bytext,location={bottom, right}] \startsectionblockenvironment[bodypart] \setuppagenumber[number=1, state=start] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \setuppagenumbering is still used for the other parameters below. Thanks for the hint. Never saw \setupuserpagenumber[] before. Please refer to this thread: http://www.ntg.nl/pipermail/ntg-context/2009/043284.html for a related discussion. I tried to run an expanded version of the minimal example Wolfgang provided with the current minimals and it gave the following error: ... systems : begin file simple at line 24 structure : begin of sectionblock frontpart structure : title @ level 2 : 0.0 - \headtext {content} ! LuaTeX error ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: bad argument #3 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: in function 'number' ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:172: in function 'prefixpage' ...0910/tex/texmf-context/tex/context/base/strc-lst.lua:399: in function 'prefixedpage' main ctx instance:1: in main chunk. The example is: \definestructureconversionset[frontpart:pagenumber] [] [romannumerals] \definestructureconversionset[bodypart:pagenumber] [] [numbers] \definestructureconversionset[appendix:pagenumber] [] [numbers] \definestructureconversionset[backpart:pagenumber] [] [numbers] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setupuserpagenumber[numberconversion=numbers] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \stopstructureblockenvironment \startstructureblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Front} \input tufte \stopfrontmatter \startbodymatter \chapter{Body} \input knuth \stopbodymatter \startappendices \chapter{Appendix} \input knuth \stopappendices \startbackmatter \chapter{Back} \input knuth \stopbackmatter \stoptext The original gave the same error for me. Any help in debugging this would be appreciated. Cheers, Olaf ___ 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] t-bit works with mkii but fails with mkiv
Hi, Joshua Lee wrote: Hi All, I write a simple example to check the t-bib, it works fine with pdftex, but fails with luatex. Attached files are the source and output files. Thanks. Please try the latest beta, Hans has made fixes in it so that it should now work ok. Also, I want to say well done! for the nice small testfile, that was a big help. Best wishes, Taco ___ 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] A Metapost question
Hello, a) Can anyone explain me the practical difference between \startuseMPgraphic and \startreusableMPgraphic ? Both the former and the latter allow to place a picture few times. b) Does anyone mind if I add Using in ConTeXt section to http://wiki.contextgarden.net/MetaPost ? Regards, Vyatcheslav ___ 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] status of minimals
Aditya Mahajan wrote: On Tue, 8 Sep 2009, Mohamed Bana wrote: i think this is a bug. system : module HorizontalStripes loaded (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex simpleslides: loading HorizontalStripes style The log has some lines like this: mplib : initializing instance 'metafun' using format 'metafun' mplib : making 'metafun.mp' into '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' mplib : problems with 'metafun.mp' from '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun .mem' Does a simple example with mplib work at your end? \starttext \startMPpage draw fullcircle scaled 3cm ; \stopMPpage \stoptext You can try to regenerate the metafun format. no that results in an empty page. aren't the formats generated when i run first-setup.sh? Aditya ___ 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] Placing MP graphic without line breaks
Another question arises. The following produces grids in a column (i.e. with line breaks). How to place MP graphics like words, in a row? \starttext \startuseMPgraphic{cg} drawoptions(withpen pencircle scaled 0.1pt withcolor black) ; draw hlingrid(0, 6, 1, 0.8cm, 1cm) ; draw vlingrid(0, 4, 1, 1cm, 0.8cm) ; \stopuseMPgraphic \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} \stoptext Regards, Vyatcheslav ___ 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] TeXWorks settings for ConTeXt mark IV
Hello, Could anyone please share TeXWorks settings for ConTeXt mark IV? Reagds, Vyatcheslav ___ 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] A Metapost question
Vyatcheslav Yatskovsky wrote: Hello, a) Can anyone explain me the practical difference between \startuseMPgraphic and \startreusableMPgraphic ? Both the former and the latter allow to place a picture few times. 'reuse' makes smaller pdf files as graphics are only included once; so does 'unique' but it uses some heuristics to determine uniqueness b) Does anyone mind if I add Using in ConTeXt section to http://wiki.contextgarden.net/MetaPost ? go ahead .. maybe also cleanup that page a bit Hans - 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] A Metapost question
b) Does anyone mind if I add Using in ConTeXt section to http://wiki.contextgarden.net/MetaPost ? Of course not, that's what the wiki is here for. Arthur ___ 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] A Metapost question
Sorry, already have found the answer to my question in MetaFun Manual (metafun-s). [blush] Vyatcheslav ___ 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] index and LuaTeX
Hello, using This is luatex, version beta-0.43.0-2009081911 ConTeXt ver: 2009.09.09 14:31 MKIV fmt: 2009.9.10 int: english/english The following code does not work like accepted, the index is OK, but for index "last" and "Militzer" no interaction are possible ! % --- snip \setupcolors[state=start] \setupinteraction[state=start] % \definestartstop[Vorgang] [before={\bgroup \startlines}, after={\stoplines \egroup \blank}] % Mark II and Mark IV % %\definestartstop[Vorgang] [before={\bgroup \startlines}, after={\stoplines \egroup \vspacing[medium,strong] \vspacing[small,weak] }] % only Mark IV % % \starttext % \startVorgang just a text \dots \index[one]{one}\index[two]{two}\index[three]{three} \stopVorgang % \startVorgang just a text \dots \index[last]{last}\index[militzer]{Militzer+Bernd} \stopVorgang % \page \placeindex[alternative=A] % \stoptext % --- snip What is wrong? with This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=cont-en 2009.9.10) 11 SEP 2009 12:18 ConTeXt ver: 2009.09.09 14:31 MKII fmt: 2009.9.10 int: english/english the example works. Bernd ___ 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] TeXWorks settings for ConTeXt mark IV
Vyatcheslav Yatskovsky wrote: Hello, Could anyone please share TeXWorks settings for ConTeXt mark IV? they are in the distribution (context/data/...) also one can run texworks with mtxrun --script texworks --start - 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] Placing MP graphic without line breaks
Vyatcheslav Yatskovsky wrote: Another question arises. The following produces grids in a column (i.e. with line breaks). How to place MP graphics like words, in a row? \starttext \startuseMPgraphic{cg} drawoptions(withpen pencircle scaled 0.1pt withcolor black) ; draw hlingrid(0, 6, 1, 0.8cm, 1cm) ; draw vlingrid(0, 4, 1, 1cm, 0.8cm) ; \stopuseMPgraphic \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} put \dontleavehmode in front - 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 ___
[NTG-context] new beta
Hi, I uploaded a new beta that fixes a couple of the recently reported bugs. Hans - 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 ___
[NTG-context] [OT] Prime Minister apologises over death of Alan Turing
http://www.itwire.com/content/view/27664/53/1/1/ -- luigi ___ 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] status of minimals
On Fri, 11 Sep 2009, Mohamed Bana wrote: Does a simple example with mplib work at your end? \starttext \startMPpage draw fullcircle scaled 3cm ; \stopMPpage \stoptext You can try to regenerate the metafun format. no that results in an empty page. aren't the formats generated when i run first-setup.sh? They do, so I am guessing that something is going wrong. Can you try by redownloading first-setup.sh afresh and trying again? Aditya ___ 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] Pagenumbering of appendices
On Fri, Sep 11, 2009 at 2:34 PM, Olaf Mersmann olafm+cont...@kimberly.tako.de olafm%2bcont...@kimberly.tako.de wrote: * Derek CORDEIRO derekcorde...@gmail.com [090911 07:51]: On Thu, Sep 10, 2009 at 9:10 PM, olafm+cont...@kimberly.tako.deolafm%2bcont...@kimberly.tako.de olafm%2bcont...@kimberly.tako.de olafm%252bcont...@kimberly.tako.de wrote: I've been trying to turn off the conversion of page numbers to roman numerals in my appendix without any luck. Here is a minimal example: \setuppagenumbering[way=bytext,location={bottom, right}] \startsectionblockenvironment[bodypart] \setuppagenumber[number=1, state=start] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \setuppagenumbering is still used for the other parameters below. Thanks for the hint. Never saw \setupuserpagenumber[] before. Please refer to this thread: http://www.ntg.nl/pipermail/ntg-context/2009/043284.html for a related discussion. I tried to run an expanded version of the minimal example Wolfgang provided with the current minimals and it gave the following error: ... systems : begin file simple at line 24 structure : begin of sectionblock frontpart structure : title @ level 2 : 0.0 - \headtext {content} ! LuaTeX error ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: bad argument #3 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: in function 'number' ...0910/tex/texmf-context/tex/context/base/strc-pag.lua:172: in function 'prefixpage' ...0910/tex/texmf-context/tex/context/base/strc-lst.lua:399: in function 'prefixedpage' main ctx instance:1: in main chunk. The example is: \definestructureconversionset[frontpart:pagenumber] [] [romannumerals] \definestructureconversionset[bodypart:pagenumber] [] [numbers] \definestructureconversionset[appendix:pagenumber] [] [numbers] \definestructureconversionset[backpart:pagenumber] [] [numbers] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setupuserpagenumber[numberconversion=numbers] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \stopstructureblockenvironment \startstructureblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Front} \input tufte \stopfrontmatter \startbodymatter \chapter{Body} \input knuth \stopbodymatter \startappendices \chapter{Appendix} \input knuth \stopappendices \startbackmatter \chapter{Back} \input knuth \stopbackmatter \stoptext The original gave the same error for me. Any help in debugging this would be appreciated. Hans has squashed those bugs. If you update ConTeXt it should be working fine. -- A few minutes of yours can give many minutes of education to someone less priviledged. Go to my blog(http://teachmetowrite.blogspot.com/) and click on the social vibe badge to make a difference. ___ 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] \showgrid
Hello, with ConTeXt ver: 2009.09.11 18:14 MKIV the use of \showgrid results in a blank page. \starttext \showgrid \input tufte \stoptext Regards Andreas ___ 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] columns with unequal width
Hello, Can I create columns with unequal width with \startcolumns? (Say, first column is 75% and second is 25%) Regards, Vaytcheslav ___ 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] columns with unequal width
On Sat, 12 Sep 2009, Vyatcheslav Yatskovsky wrote: Hello, Can I create columns with unequal width with \startcolumns? (Say, first column is 75% and second is 25%) AFAIK, no. To create columns with different widths, you need to use columsets. Aditya ___ 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] disabling font features with xetex (was: Monospaced greek font)
On Tue, 8 Sep 2009, Wolfgang Schuster wrote: Am 08.09.2009 um 06:56 schrieb Aditya Mahajan: Hi, Is there a monospaced font which matches with Latin Modern and contains greek letters? Computer Modern Unicode Sans Serif How do I remove font features with xetex? I have the following example, with cmuntt taken from ftp://canopus.iacp.dvo.ru/pub/Font/cm_unicode/cm-unicode-0.6.3a-otf.tar.gz \starttypescript [mono] [cmunicode] %\setups[font:fallback:mono] \definefontsynonym [Mono] [file:cmuntt] [features=none] \definefontsynonym [MonoItalic] [file:cmuntt] [features=none] \definefontsynonym [MonoBold] [file:cmuntt] [features=none] \definefontsynonym [MonoBoldItalic] [file:cmuntt] [features=none] \stoptypescript \definetypeface[mainface][rm][serif][modern] [default] \definetypeface[mainface][ss][sans] [modern] [default] \definetypeface[mainface][tt][mono][cmunicode] [default] \definetypeface[mainface][mm][math][modern] [default] \setupbodyfont[mainface,10pt] \starttext \type{suffix} \type{αβγ} \stoptext With luatex it works fine, but with xetex I get the ffi ligature in suffix. Any idea how to get rid of it in xetex? Thanks, Aditya___ 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 ___