Re: [NTG-context] \setupcombinedlist ignores `level' argument?
Am 19.09.2010 um 00:09 schrieb Corsair: Hi all, If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter what I set for `level', \completecontent lists however deeply it can. This option is gone in MkIV, the alternative is to use \starttext \title{Contents} \placelist[chapter,section,...] ... \stoptext or to redefine the contents lists with \definecombinedlist[content][chapter,section,...] \starttext \completecontent ... \stoptext Wolfgang ___ 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 ___
[NTG-context] Chapter-author in TOC
Hi all! I’m using the structureuservariable to set an author on a per chapter basis. But I would also like to have them in the table of contents, so I tried the following: \setuplist[chapter][alternative=MyListItem] \definelistplacement[MyListItem][none]#1#2#3% {#1 #2 (\structureuservariable{author}) #3} \starttext \placelist[chapter] \startchapter[title=Quote from Tufte][author=Tufte] \input tufte \stopchapter \startchapter[title=Quote from Knuth][author=Knuth] \input Knuth \stopchapter \stoptext … without success. I appreciate any help. Greeting 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Chapter-author in TOC
Am 19.09.2010 um 17:44 schrieb Andreas Harder: Hi all! I’m using the structureuservariable to set an author on a per chapter basis. But I would also like to have them in the table of contents, so I tried the following: [...] … without success. I appreciate any help. Hi Andreas, your question comes just in time, here is a example i planned to send to Harald only. \define[3]\ChapterList {\bTABLE[offset=0pt,strut=yes,frame=off,width=.5\textwidth] \bTR \bTD \structurelistuservariable{date} \eTD \bTD #2 \eTD \eTR \eTABLE} \setuplist [chapter] [alternative=command, command=\ChapterList] \define[2]\ChapterHead {\startframedtext[frame=off,width=\textwidth,offset=0pt,align=middle] \doifsomething{\structureuservariable{date}}{\structureuservariable{date}\blank} #2 \doifsomething{\structureuservariable{author}}{\blank\structureuservariable{author}} \stopframedtext} \setuphead [chapter] [command=\ChapterHead] \starttext \completecontent \startchapter[title=Rom][date=12.06.2010,author=Knuth] \input knuth \stopchapter \startchapter[title=Pisa][date=14.06.2010,author=Tufte] \input tufte \stopchapter \stoptext Wolfgang ___ 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 ___
Re: [NTG-context] Chapter-author in TOC
Am 19.09.2010 um 18:36 schrieb Wolfgang Schuster: Am 19.09.2010 um 17:44 schrieb Andreas Harder: Hi all! I’m using the structureuservariable to set an author on a per chapter basis. But I would also like to have them in the table of contents, so I tried the following: [...] … without success. I appreciate any help. Hi Andreas, your question comes just in time, here is a example i planned to send to Harald only. \define[3]\ChapterList {\bTABLE[offset=0pt,strut=yes,frame=off,width=.5\textwidth] \bTR \bTD \structurelistuservariable{date} \eTD \bTD #2 \eTD \eTR \eTABLE} \setuplist [chapter] [alternative=command, command=\ChapterList] \define[2]\ChapterHead {\startframedtext[frame=off,width=\textwidth,offset=0pt,align=middle] \doifsomething{\structureuservariable{date}}{\structureuservariable{date}\blank} #2 \doifsomething{\structureuservariable{author}}{\blank\structureuservariable{author}} \stopframedtext} \setuphead [chapter] [command=\ChapterHead] \starttext \completecontent \startchapter[title=Rom][date=12.06.2010,author=Knuth] \input knuth \stopchapter \startchapter[title=Pisa][date=14.06.2010,author=Tufte] \input tufte \stopchapter \stoptext Thank you very much Wolfgang, as always perfect! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcombinedlist ignores `level' argument?
On Sun, Sep 19, 2010 at 08:06:05AM +0200, Wolfgang Schuster wrote: Am 19.09.2010 um 00:09 schrieb Corsair: Hi all, If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter what I set for `level', \completecontent lists however deeply it can. This option is gone in MkIV, the alternative is to use \starttext \title{Contents} \placelist[chapter,section,...] I see. That explains. Thank you very much! -- There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force. ___ 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 ___
[NTG-context] modify resume
Hi all, I like the result of the t-resume module, but i think it waste space so it is possible to modify layout ? I can’t make a two lines title (if too long overwrite adress field). I don’t want page numbering. The fact is i don’t know how module works and how to «fork» it for my own use. Thanks ___ 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 ___
[NTG-context] Super Wolfgang !
http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Super Wolfgang !
2010/9/19 luigi scarso luigi.sca...@gmail.com: http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg Awesome! :D -- Vedran Miletić ___ 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 ___
[NTG-context] luatex-plain can not work with the beta (2010.09.18 12:08, linux x86)
Hi Hans, It can load cid fonts rightly now. But I found it can not generate MetaPost figure. For example, %filename: test.tex \setmplibformat{plain} \mplibcode beginfig(1); draw fullcircle scaled 10cm withcolor red withpen pencircle; endfig; \endmplibcode \end luatex output the log: This is LuaTeX, Version beta-0.63.0-2010091123 (format=luatex-plain 2010.9.20) 20 SEP 2010 08:20 \write18 enabled. **test (./test.tex (/opt/context/tex/texmf-context/tex/generic/context/luatex-basics.tex \lastallocatedattribute=\count26 ) (/opt/context/tex/texmf-context/tex/generic/context/luatex-fonts.tex /opt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua(using cache: /opt/context/tex/texmf-cache/luatex-cache/generic) ! ! Attribute 0 is reserved for ConTeXt's font feature management and has to be ! set to zero. Also, some attributes in the range 1-255 are used for special ! purposed so setting them at the TeX end might break the font handler. ! I am using the merged version of 'luatex-fonts.lua' here. If you run into problems or experience unexpected behaviour, and if you have ConTeXt installed you can try to delete the file 'luatex-font-merged.lua' as I might then use the possibly updated libr aries. The merged version is not supported as it is a frozen instance. luatex-fonts.lua loaded in 0.037 seconds) (/opt/context/tex/texmf-context/tex/generic/context/luatex-mplib.tex \mplibscratchbox=\box16 )mplib: using format plain.memmplib: mp error: This is MetaPost, Version 1.502 (plain.mp $Id ! Isolated expression. to be read again : l.1 $Id: plain.mp,v 1.3 2005/04/28 06:45:21 taco Exp $ ! Extra tokens will be fl ushed. to be read again : l.1 $Id: plain.mp,v 1.3 2005/04/28 06:45:21 taco Exp $ base_name plain ! Equation cannot be performed (numeric=string). to be read again ; l.8 ...base_name, base_vers ion; base_name=plain; base_version=1.004; base_version 1.004 ! Equation cannot be performed (numeric=string). to be read again ; l.8 ...n; base_name=plain; base_version =1.004; Preloading the plain mem file, version base_version ! Not implemented: (string)(unknown numeric). to be read again ; l.10 ...he plain mem file, version base_ver sion; base_version ! Not a string. to be read again ; l.10 ...he plain mem file, version base_version; ) ! Attempt to close th e bottom level file!. l.576 defaultpen := savepen; no-error ) No pages of output. PDF statistics: 0 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 131072) 1 words of extra memory for PDF output out of 1 (max. 1000) -- Best regards, Li Yanrui (李延瑞) ___ 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 ___
Re: [NTG-context] modify resume
2010/9/19 Wolfgang Schuster schuster.wolfg...@googlemail.com: http://pastie.org/1091180 http://pastie.org/1091177 Regarding the second one: MVS (marvosym) symbols are included in the distribution and accessable via \usesymbols[mvs], see http://wiki.contextgarden.net/Symbols (Didn't check if the code makes sense otherwise.) Greetlings, Hraban ___ 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 ___