Re: [NTG-context] Forced Page Break in a Table of Content
No one for helping me ? On 11 October 2017 at 10:49, Antoine Cailliau wrote: > hi, > > The wiki documents how to insert a page break in a table of content: > http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break > > However, this does not work on ConTeXt ver: 2017.07.27 16:17 MKIV beta > fmt: 2017.7.28 > > The following minimal document does not have the page break. > > \definelistextra[page][before=\page] >> \starttext >> \placecontent[criterium=all,extras={2=page}] >> \startsection[title={A}] >> \stopsection >> \startsection[title={B}] >> \stopsection >> \startsection[title={C}] >> \stopsection >> \stoptext > > > Can anyone help me have the page break in the table of content? > > Thanks in advance, > > Antoine > ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Forced Page Break in a Table of Content
hi, The wiki documents how to insert a page break in a table of content: http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, this does not work on ConTeXt ver: 2017.07.27 16:17 MKIV beta fmt: 2017.7.28 The following minimal document does not have the page break. \definelistextra[page][before=\page] > \starttext > \placecontent[criterium=all,extras={2=page}] > \startsection[title={A}] > \stopsection > \startsection[title={B}] > \stopsection > \startsection[title={C}] > \stopsection > \stoptext Can anyone help me have the page break in the table of content? Thanks in advance, Antoine ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] t-bnf module with MKIV
Hi, I'm trying to typeset a BNF grammar. The module t-bnf appears to not work with mkiv. http://ctan.math.washington.edu/tex-archive/macros/context/contrib/context-bnf/doc/context/third/bnf/t-bnf.pdf tex error > tex error on line 157 in file /Users/acailliau/context/tex/texmf-modules/tex/context/third/bnf/t-bnf.tex: ! Undefined control sequence \c!terminalstart =\tttf \syst_helpers_process_comma_item #1,#2->\if ,#1 ,\expandafter \syst_helpers_p... \c!terminalstart =\tttf , \c!terminalstop =, \c!nonterminalstart =\mathematics \syst_helpers_get_parameters ...cess_comma_item #1 ,],\_e_o_p_ l.157\c!indentnext=\v!no] 147 \def\setupbnfgrammar% 148 {\dosingleargument\dosetupbnfgrammar} 149 150 \setupbnfgrammar 151 [\c!terminalstart=\tttf, 152\c!terminalstop=, 153\c!nonterminalstart=\mathematics{\langle}, 154\c!nonterminalstop=\mathematics{\rangle}, 155\c!is={ \mathematics{\longrightarrow}}, 156\c!option=\mathematics{\vert}, 157 >> \c!indentnext=\v!no] 158 159 %D \macros 160 %D {BNF} 161 %D 162 %D We also define a useful abbreviation to be used for header texts and labels. 163 164 \logo[BNF]{bnf} 165 166 %D And we use it here: 167 Can anyone provides me clues on how to make it work ? Here is a minimal example: \usemodule[t-bnf] \starttext \startbnfgrammar[] : | "+" : "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" \stopbnfgrammar \stoptext Thanks in advance, Antoine ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Problem with usemodule[graph]
Hi, I'd like to use graph to draw my plots with metapost. However, the following minimal file does not work: \usemodule[graph] > \starttext > \startMPcode > draw begingraph(3in,2in); > gdraw "agepop91.d"; > endgraph; > \stopMPcode > \stoptext The complete output log is available here: http://pastebin.com/zuGaT87W Thank you for your help ! I can generate the proper picture by writing only metapost code such as : input graph > beginfig(0); > draw begingraph(3in,2in); > gdraw "agepop91.d"; > endgraph; > endfig; > end; ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Formula numbering conversion
Does anyone have a tip for me? I really want these tags in my document. Many thanks in advance, On 27 February 2017 at 19:22, Antoine Cailliau wrote: > I try to replicate the following : https://mailman.ntg.nl/ > pipermail/ntg-context/2006/021038.html (i.e. the equivalent of \tag in > latex/amsmath). More precisely this: > >> %8<-- >> \def\placeformulatag% >>{\dosingleempty\doplaceformulatag} >> \def\doplaceformulatag[#1]#2% >>{\let\normalstopformula\stopformula >> \def\stopformula% >> {\normalstopformula >> \restorenumber[formula] >> \egroup >> \let\stopformula\normalstopformula} >> \bgroup >> \savenumber[formula] >> \def\dummyconversion##1{#2} >> \defineconversion[dummyconversion][\dummyconversion] >> \setupformulas[conversion=dummyconversion] >> \placeformula[#1]} >> >> \starttext >> \placeformulatag[tag]{test} \startformula >>E = mc^2 >> \stopformula >> See \in formula[tag] for a tagged formula >> \stoptext >> %8<- > > > However, the following (simpler) code produce an "Undefined control > sequence" when using \in command. > > \starttext >> { >> \def\a#1{test} >> \defineconversion[a][\a] >> \setupformulae[numberconversion=a] >> \placeformula[test] >> \startformula E = mc^2 \stopformula >> } >> This is my reference: \in{formula}[test]. >> \stoptext > > > The following code, does not produce the error, but is not practical for > the reproducing the \tag command. > >> >> \starttext >> { >> \def\a#1{test} >> \defineconversion[a][\a] >> \setupformulae[numberconversion=a] >> \placeformula[test] >> \startformula E = mc^2 \stopformula >> This is my reference: \in{formula}[test]. >> } >> \stoptext > > > What am I doing wrong? I guess the command \a is no longer defined when > the compiler hit \in but how can I ensure that such local definition stay > accessible ? > > Thank you in advance, > > Antoine C. > > > On 27 February 2017 at 17:28, Antoine Cailliau > wrote: > >> Thanks. >> >> I updated the wiki. >> >> On 27 February 2017 at 17:18, Pablo Rodriguez wrote: >> >>> On 02/27/2017 04:55 PM, Antoine Cailliau wrote: >>> > The following code is documented to change the numbering of the >>> equations. >>> > However, this still use numerals for the equations. >>> > [...] >>> > Is this a bug ? Is it the correct way to change the numbering ? >>> >>> Hi Antoine, >>> >>> it’s numberconversion (as it reads in “ConTeXt Commands”): >>> >>> \setupformulas[numberconversion=greek] >>> \setupbodyfont[dejavu] >>> \starttext >>> \placeformula[test] >>> \startformula E = mc^2 \stopformula >>> \stoptext >>> >>> BTW, if this is wrong documented in the wiki, please correct it for >>> future reference. >>> >>> Pablo >>> -- >>> http://www.ousia.tk >>> >>> ___ >>> 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/list >>> info/ntg-context >>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>> 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Formula numbering conversion
I try to replicate the following : https://mailman.ntg.nl/pipermail/ntg-context/2006/021038.html (i.e. the equivalent of \tag in latex/amsmath). More precisely this: > %8<-- > \def\placeformulatag% >{\dosingleempty\doplaceformulatag} > \def\doplaceformulatag[#1]#2% >{\let\normalstopformula\stopformula > \def\stopformula% > {\normalstopformula > \restorenumber[formula] > \egroup > \let\stopformula\normalstopformula} > \bgroup > \savenumber[formula] > \def\dummyconversion##1{#2} > \defineconversion[dummyconversion][\dummyconversion] > \setupformulas[conversion=dummyconversion] > \placeformula[#1]} > > \starttext > \placeformulatag[tag]{test} \startformula >E = mc^2 > \stopformula > See \in formula[tag] for a tagged formula > \stoptext > %8<- However, the following (simpler) code produce an "Undefined control sequence" when using \in command. \starttext > { > \def\a#1{test} > \defineconversion[a][\a] > \setupformulae[numberconversion=a] > \placeformula[test] > \startformula E = mc^2 \stopformula > } > This is my reference: \in{formula}[test]. > \stoptext The following code, does not produce the error, but is not practical for the reproducing the \tag command. > > \starttext > { > \def\a#1{test} > \defineconversion[a][\a] > \setupformulae[numberconversion=a] > \placeformula[test] > \startformula E = mc^2 \stopformula > This is my reference: \in{formula}[test]. > } > \stoptext What am I doing wrong? I guess the command \a is no longer defined when the compiler hit \in but how can I ensure that such local definition stay accessible ? Thank you in advance, Antoine C. On 27 February 2017 at 17:28, Antoine Cailliau wrote: > Thanks. > > I updated the wiki. > > On 27 February 2017 at 17:18, Pablo Rodriguez wrote: > >> On 02/27/2017 04:55 PM, Antoine Cailliau wrote: >> > The following code is documented to change the numbering of the >> equations. >> > However, this still use numerals for the equations. >> > [...] >> > Is this a bug ? Is it the correct way to change the numbering ? >> >> Hi Antoine, >> >> it’s numberconversion (as it reads in “ConTeXt Commands”): >> >> \setupformulas[numberconversion=greek] >> \setupbodyfont[dejavu] >> \starttext >> \placeformula[test] >> \startformula E = mc^2 \stopformula >> \stoptext >> >> BTW, if this is wrong documented in the wiki, please correct it for >> future reference. >> >> Pablo >> -- >> http://www.ousia.tk >> >> ___ >> 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/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Formula numbering conversion
Thanks. I updated the wiki. On 27 February 2017 at 17:18, Pablo Rodriguez wrote: > On 02/27/2017 04:55 PM, Antoine Cailliau wrote: > > The following code is documented to change the numbering of the > equations. > > However, this still use numerals for the equations. > > [...] > > Is this a bug ? Is it the correct way to change the numbering ? > > Hi Antoine, > > it’s numberconversion (as it reads in “ConTeXt Commands”): > > \setupformulas[numberconversion=greek] > \setupbodyfont[dejavu] > \starttext > \placeformula[test] > \startformula E = mc^2 \stopformula > \stoptext > > BTW, if this is wrong documented in the wiki, please correct it for > future reference. > > Pablo > -- > http://www.ousia.tk > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Formula numbering conversion
The following code is documented to change the numbering of the equations. However, this still use numerals for the equations. \setupformulas[conversion=characters] \starttext \placeformula[test] \startformula E = mc^2 \stopformula \stoptext Is this a bug ? Is it the correct way to change the numbering ? Any help is welcome. Thank you in advance, Antoine C. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Lua code and percent sign
Thank you ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Lua code and percent sign
The following code, from the wiki, results in a compilation error: \starttext > \ctxlua{context(string.format("\%.2f", math.pi))} > \stoptext The error is: [\directlua]:1: invalid escape sequence near '\%' > 1 \starttext > 2 > 3 >> \ctxlua{context(string.format("\%.2f", math.pi))} > 4 > 5 \stoptext I ended using \letterpercent command but it is not very convenient. Any help is welcome, Antoine C. Full log: mtx-context | warning: synctex is enabled > mtx-context | run 1: luatex > --fmt="/usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" > --jobname="luapercent" > --lua="/usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" > --no-parse-first-line --synctex=1 --c:autogenerate --c:currentrun=1 > --c:directives="system.synctex=1" > --c:fulljobname="/Users/acailliau/Desktop/luapercent.tex" > --c:input="/Users/acailliau/Desktop/luapercent.tex" --c:kindofrun=1 > --c:maxnofruns=9 --c:synctex="1" "cont-yes.mkiv" > This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) > \write18 enabled. > system > synctex functionality is enabled (1)! > open source > 1 > 1 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv > ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2016.4.25 int: > english/english > system > 'cont-new.mkiv' loaded > open source > 2 > 2 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv > close source> 2 > 2 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv > system > files > jobname 'luapercent', input > '/Users/acailliau/Desktop/luapercent', result 'luapercent' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > open source > 2 > 3 > /Users/acailliau/Desktop/luapercent.tex > fonts > preloading latin modern fonts (second stage) > fonts > 'fallback modern-designsize rm 12pt' is loaded > lua error > error on line 3 in file > /Users/acailliau/Desktop/luapercent.tex: > [\directlua]:1: invalid escape sequence near '\%' > 1 \starttext > 2 > 3 >> \ctxlua{context(string.format("\%.2f", math.pi))} > 4 > 5 \stoptext > > ? Type to proceed, S to scroll future error messages, > R to run without stopping, Q to run quietly, > I to insert something, > 1 or ... or 9 to ignore the next 1 to 9 tokens of input, > H for help, X to quit. > ? close source> 2 > 3 > /Users/acailliau/Desktop/luapercent.tex > close source> 1 > 3 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv > mkiv lua stats > used config file: > selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua > mkiv lua stats > used cache path: > /usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9 > mkiv lua stats > synctex tracing: synctex has been enabled (extra log > file generated) > mkiv lua stats > resource resolver: loadtime 0.117 seconds, 0 scans with > scantime 0.000 seconds, 0 shared scans, 8 found files, scanned paths: > mkiv lua stats > stored bytecode data: 371 modules (0.309 sec), 78 tables > (0.008 sec), 449 chunks (0.316 sec) > mkiv lua stats > traced context: maxstack: 1132, freed: 0, unreachable: > 1132 > mkiv lua stats > running in nuts mode: yes > mkiv lua stats > cleaned up reserved nodes: 41 nodes, 439 lists of 438 > mkiv lua stats > node memory usage: 2 glue, 2 penalty, 6 attribute, 26 > glue_spec, 2 attribute_list, 2 temp > mkiv lua stats > node list callback tasks: 6 unique task lists, 2 > instances (re)created, 3 calls > mkiv lua stats > used backend: pdf (backend for directly generating pdf > output) > mkiv lua stats > loaded patterns: en::2, load time: 0.000 > mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading > mkiv lua stats > callbacks: 60 direct, 243 indirect, 303 total > mkiv lua stats > result saved in file: luapercent.pdf, compresslevel 3, > objectcompresslevel 3 > mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, > lmroman12-regular.otf > mkiv lua stats > fonts load time: 0.180 seconds > mkiv lua stats > used platform: osx-64, type: unix, binary subtree: bin > mkiv lua stats > luatex banner: this is luatex, version beta-0.80.0 (tex > live 2015) (rev 5238) > mkiv lua stats > control sequences: 43101 of 65536 + 10 > mkiv lua stats > lua properties: engine: lua, used memory: 67 MB (ctx: 66 > MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ) > mkiv lua stats > runtime: 0.540 seconds > mtx-context | fatal error: return code: 1 ___ 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://context.aanhet.net
Re: [NTG-context] How to define a new font style using \definefontstyle?
I'm not sure I understand. Myriad Pro has normal and semi-extended versions. Do you suggest to have different typefaces for normal and semi-extended version ? (Which makes no sense for roman then). I'd like to use both normal and semi-extended versions, both with their bold, italic, etc. styles. That why I would have like to create a new font-style. Thanks in advance for your answer, Antoine On 30 January 2017 at 19:43, Hans Hagen wrote: > On 1/30/2017 9:12 AM, Antoine Cailliau wrote: > >> No one? Is there a documentation somewhere or an example I could refer to? >> >> Thanks in advance, >> >> Antoine >> >> On 23 January 2017 at 12:48, Antoine Cailliau > <mailto:antoinecaill...@gmail.com>> wrote: >> >> Hi, >> >> I'm trying to declare a new font style. I declare it >> with \definefontstyle [sx] [sx] but the compilation fails when I use >> \sx in my document. >> > > > easier: > > \starttypescript [sans] [myriadpro] > % \definefontsynonym [SansSemiExtended] [file:MyriadPro-SemiExt.otf][f > eatures=default] > \definefontsynonym [Sans] [name:dejavusans] > [features=default] > \definefontsynonym [SansBold] [name:dejavusansbold] > [features=default] > \definefontsynonym [SansItalic] [name:dejavusansitalic] > [features=default] > \definefontsynonym [SansBoldItalic] [name:dejavusansbolditalic][fe > atures=default] > \stoptypescript > > \definetypeface [source] [ss] [sans] [myriadpro] > \definetypeface [source] [mm] [math] [modern] > > \setupbodyfont[pagella] > > \starttext > > {\source\ss ABCDEFGHIJKLM\par > NOPQRSTUVWXYZ\par > abcdefghijklm\par > nopqrstuvwxyz\par > 1234567890} > > \stoptext > > I found an older message from 2009 similar to my issue but with >> public solution. May be some private response from Hans Hagen is >> missing? >> (https://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html >> <https://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html>) >> >> Here is a minimal example: >> >> \definefontstyle [sx] [sx] >> \definetypeface [source] [sx] [semiextended] [myriadpro] [optical] >> >> \starttypescript [semiextended] [optical] [size] >> \definebodyfont [11pt] [sx] [tf=SansSemiExtended sa 1] >> \stoptypescript >> >> \starttypescript [semiextended] [myriadpro] >> \definefontsynonym [SansSemiExtended] [file:MyriadPro-SemiExt.otf] >> [features=default] >> \stoptypescript >> >> \starttext >> >> {\sx ABCDEFGHIJKLM\par >> NOPQRSTUVWXYZ\par >> abcdefghijklm\par >> nopqrstuvwxyz\par >> 1234567890} >> >> \stoptext >> >> Thanks for your help, >> >> Antoine C. >> >> >> >> >> >> ___ >> 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/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> >> ___ >> >> > > -- > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >tel: 038 477 53 69 | www.pragma-ade.nl | 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/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to define a new font style using \definefontstyle?
No one? Is there a documentation somewhere or an example I could refer to? Thanks in advance, Antoine On 23 January 2017 at 12:48, Antoine Cailliau wrote: > Hi, > > I'm trying to declare a new font style. I declare it with \definefontstyle > [sx] [sx] but the compilation fails when I use \sx in my document. > > I found an older message from 2009 similar to my issue but with public > solution. May be some private response from Hans Hagen is missing? ( > https://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html) > > Here is a minimal example: > > \definefontstyle [sx] [sx] > \definetypeface [source] [sx] [semiextended] [myriadpro] [optical] > > \starttypescript [semiextended] [optical] [size] > \definebodyfont [11pt] [sx] [tf=SansSemiExtended sa 1] > \stoptypescript > > \starttypescript [semiextended] [myriadpro] > \definefontsynonym [SansSemiExtended] [file:MyriadPro-SemiExt.otf] > [features=default] > \stoptypescript > > \starttext > > {\sx ABCDEFGHIJKLM\par > NOPQRSTUVWXYZ\par > abcdefghijklm\par > nopqrstuvwxyz\par > 1234567890} > > \stoptext > > Thanks for your help, > > Antoine C. > > ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] How to define a new font style using \definefontstyle?
Hi, I'm trying to declare a new font style. I declare it with \definefontstyle [sx] [sx] but the compilation fails when I use \sx in my document. I found an older message from 2009 similar to my issue but with public solution. May be some private response from Hans Hagen is missing? ( https://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html) Here is a minimal example: \definefontstyle [sx] [sx] \definetypeface [source] [sx] [semiextended] [myriadpro] [optical] \starttypescript [semiextended] [optical] [size] \definebodyfont [11pt] [sx] [tf=SansSemiExtended sa 1] \stoptypescript \starttypescript [semiextended] [myriadpro] \definefontsynonym [SansSemiExtended] [file:MyriadPro-SemiExt.otf] [features=default] \stoptypescript \starttext {\sx ABCDEFGHIJKLM\par NOPQRSTUVWXYZ\par abcdefghijklm\par nopqrstuvwxyz\par 1234567890} \stoptext Thanks for your help, Antoine C. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using key as numbering in \placepublications
Thank you very much. I was using the (old) bibtex module. Using the mkvi publication mechanism was the key. Antoine On 19 January 2017 at 16:19, Alan Braslau wrote: > On Thu, 19 Jan 2017 08:19:03 +0100 > Antoine Cailliau wrote: > > > How can I adjust the publication list to display [Kup03a] instead of > > [2] ? The numbering option does not offer "key" apparently. > > Using the mkiv publications mechanism, you can get short \cite keys > by default using > > \setupbtx[alternative=short] > > Individually, you can use \cite[short][yourkey] > > > Then you will also have to modify the bibliography list rendering to > display the short key. This is slightly more complicated, as presently > only the APA and APS styles have been predefined, the first being an > "authoryear" scheme and the second being a "num" scheme. > > Starting with the APS style: > > \usebtxdefinitions[aps] > > \definebtxrendering > [mystyle] > [aps] % inherits from "aps" > [sorttype=short, >numbering=short] > > > \cite[...] > > ... > > \placelistofpublications[mystyle] > > > However, you really want to define a complete style for your rendering. > > Alan > ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using key as numbering in \placepublications
Hi, My question seems to raise no interest, or at least answer :) To illustrate my problem. My publication list display "[1]", "[2]", etc. See: http://imgur.com/wVGqNPq But my text display [Kup03a] for example See: http://imgur.com/TEsiynq How can I adjust the publication list to display [Kup03a] instead of [2] ? The numbering option does not offer "key" apparently. Thanks in advance, Antoine On 16 November 2016 at 11:04, Antoine Cailliau wrote: > Hi, > > I'm writing my thesis using ConTeXt but I'm not satisfied with the way the > publication list is displayed. > I'd like to display the key, in brackets, in front of every publication in > the list (i.e. replace the [2] numbering in front of it by [Sha07] for > example). The numbering option only offers yes, no, short and bib. I'd like > a "key" option. > > How can I achieve that? Any clue, example and/or suggestion is welcome, > > Thanks in advance, > > Antoine > ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Using key as numbering in \placepublications
Hi, I'm writing my thesis using ConTeXt but I'm not satisfied with the way the publication list is displayed. I'd like to display the key, in brackets, in front of every publication in the list (i.e. replace the [2] numbering in front of it by [Sha07] for example). The numbering option only offers yes, no, short and bib. I'd like a "key" option. How can I achieve that? Any clue, example and/or suggestion is welcome, Thanks in advance, Antoine ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)
I found how to make it work with \switchtobodyfont, I was missing \definebodyfontenvironment for the sizes. And I had (obviously) to update the \definebodyfont with the correct sizes. But still, \tfxx and so do not switch to correct font. Thanks, Antoine On 9 May 2016 at 11:23, Antoine Cailliau wrote: > Hi, > > I'm continuing my quest for supporting Minion Pro font in my document. > > I defined the different sizes, as shown on contextgarden. But apparently, > it does not (fully) work. > > The problems are : > - When using \tfxx, \tfx, ... Regular font is always used, there is no > switch to appropriate font. > - When using \switchtobodyfont, switches are correct up to 12pt. After > that, it fallback on xits-mathbold > > Any help is welcome :-) > > The compiled file : > https://drive.google.com/file/d/0Bwo7pPA5_WkDdlNLbHdkMjg2dkU/view?usp=sharing > > The source: > > \definefontalternative[me] > ... > > \starttypescript [serif] [optical] [size] > > % design size 8 pt, size range (6 pt, 8.4 pt] > \definebodyfont [4pt,5pt,6pt,7pt,8pt] [rm] > [tf=SerifCaption sa 1, > it=SerifCaptionItalic sa 1, > me=SerifCaptionMedium sa 1, > mi=SerifCaptionMediumItalic sa 1, > se=SerifCaptionSemiBold sa 1, > si=SerifCaptionSemiBoldItalic sa 1, > bf=SerifCaptionBold sa 1, > bi=SerifCaptionBoldItalic sa 1] > > % design size 11 pt, size range (8.4 pt, 13 pt] > \definebodyfont [9pt,10pt,11pt,12pt] [rm] > [tf=SerifRegular sa 1, > it=SerifRegularItalic sa 1, > me=SerifRegularMedium sa 1, > mi=SerifRegularMediumItalic sa 1, > se=SerifRegularSemiBold sa 1, > si=SerifRegularSemiBoldItalic sa 1, > bf=SerifRegularBold sa 1, > bi=SerifRegularBoldItalic sa 1] > > % design size 19 pt, size range (13 pt, 19.9 pt] > \definebodyfont [14.4pt,17.3pt] [rm] > [tf=SerifSubhead sa 1, > it=SerifSubheadItalic sa 1, > me=SerifSubheadMedium sa 1, > mi=SerifSubheadMediumItalic sa 1, > se=SerifSubheadSemiBold sa 1, > si=SerifSubheadSemiBoldItalic sa 1, > bf=SerifSubheadBold sa 1, > bi=SerifSubheadBoldItalic sa 1] > > % design size 72 pt, size range (19.9 pt, 72 pt] > \definebodyfont [20.7pt] [rm] > [tf=SerifDisplay sa 1, > it=SerifDisplayItalic sa 1, > me=SerifDisplayMedium sa 1, > mi=SerifDisplayMediumItalic sa 1, > se=SerifDisplaySemiBold sa 1, > si=SerifDisplaySemiBoldItalic sa 1, > bf=SerifDisplayBold sa 1, > bi=SerifDisplayBoldItalic sa 1] > > \stoptypescript > > \starttypescript [serif] [minionpro] > \definefontsynonym [SerifRegular] > [file:MinionPro-Regular.otf] [features=default] > ... > \stoptypescript > > \definetypeface [source] [rm] [serif] [minionpro] [optical] > \definetypeface [source] [mm] [math] [xits] [default] > > \setupbodyfont[source, 11pt] > > \starttext > > ... > > \page > > {\tfxx \purefontname\font: \input ward \blank} > {\tfx \purefontname\font: \input ward \blank} > {\tf \purefontname\font: \input ward \blank} > {\tfa \purefontname\font: \input ward \blank} > {\tfb \purefontname\font: \input ward \blank} > {\tfc \purefontname\font: \input ward \blank} > {\tfd \purefontname\font: \input ward \blank} > > \page > > \dostepwiserecurse {6} {22} {1} > {\switchtobodyfont[#1pt] >\purefontname\font: \input ward >\blank} > > \stoptext > ___ 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] Handling Optical Sizes for Minion Pro in Context (LuaTeX)
Hi, I'm continuing my quest for supporting Minion Pro font in my document. I defined the different sizes, as shown on contextgarden. But apparently, it does not (fully) work. The problems are : - When using \tfxx, \tfx, ... Regular font is always used, there is no switch to appropriate font. - When using \switchtobodyfont, switches are correct up to 12pt. After that, it fallback on xits-mathbold Any help is welcome :-) The compiled file : https://drive.google.com/file/d/0Bwo7pPA5_WkDdlNLbHdkMjg2dkU/view?usp=sharing The source: \definefontalternative[me] ... \starttypescript [serif] [optical] [size] % design size 8 pt, size range (6 pt, 8.4 pt] \definebodyfont [4pt,5pt,6pt,7pt,8pt] [rm] [tf=SerifCaption sa 1, it=SerifCaptionItalic sa 1, me=SerifCaptionMedium sa 1, mi=SerifCaptionMediumItalic sa 1, se=SerifCaptionSemiBold sa 1, si=SerifCaptionSemiBoldItalic sa 1, bf=SerifCaptionBold sa 1, bi=SerifCaptionBoldItalic sa 1] % design size 11 pt, size range (8.4 pt, 13 pt] \definebodyfont [9pt,10pt,11pt,12pt] [rm] [tf=SerifRegular sa 1, it=SerifRegularItalic sa 1, me=SerifRegularMedium sa 1, mi=SerifRegularMediumItalic sa 1, se=SerifRegularSemiBold sa 1, si=SerifRegularSemiBoldItalic sa 1, bf=SerifRegularBold sa 1, bi=SerifRegularBoldItalic sa 1] % design size 19 pt, size range (13 pt, 19.9 pt] \definebodyfont [14.4pt,17.3pt] [rm] [tf=SerifSubhead sa 1, it=SerifSubheadItalic sa 1, me=SerifSubheadMedium sa 1, mi=SerifSubheadMediumItalic sa 1, se=SerifSubheadSemiBold sa 1, si=SerifSubheadSemiBoldItalic sa 1, bf=SerifSubheadBold sa 1, bi=SerifSubheadBoldItalic sa 1] % design size 72 pt, size range (19.9 pt, 72 pt] \definebodyfont [20.7pt] [rm] [tf=SerifDisplay sa 1, it=SerifDisplayItalic sa 1, me=SerifDisplayMedium sa 1, mi=SerifDisplayMediumItalic sa 1, se=SerifDisplaySemiBold sa 1, si=SerifDisplaySemiBoldItalic sa 1, bf=SerifDisplayBold sa 1, bi=SerifDisplayBoldItalic sa 1] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [SerifRegular] [file:MinionPro-Regular.otf] [features=default] ... \stoptypescript \definetypeface [source] [rm] [serif] [minionpro] [optical] \definetypeface [source] [mm] [math] [xits] [default] \setupbodyfont[source, 11pt] \starttext ... \page {\tfxx \purefontname\font: \input ward \blank} {\tfx \purefontname\font: \input ward \blank} {\tf \purefontname\font: \input ward \blank} {\tfa \purefontname\font: \input ward \blank} {\tfb \purefontname\font: \input ward \blank} {\tfc \purefontname\font: \input ward \blank} {\tfd \purefontname\font: \input ward \blank} \page \dostepwiserecurse {6} {22} {1} {\switchtobodyfont[#1pt] \purefontname\font: \input ward \blank} \stoptext ___ 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] Handling Semi-Bold for Minion Pro in Context (LuaTeX)
Oh. Thank you so much. I'm going to try that on Monday. Now that I understand this, I can move to supporting the different sizes. On 4 May 2016 at 16:39, Wolfgang Schuster wrote: > Antoine Cailliau > 4. Mai 2016 um 10:31 > Thank you very much for the example. I got it working for the "regular" > style-alternative. > > I don't know why, but the italic style-alternative do not work. In the > log, the font is not even loaded... Do you have an idea of what I'm doing > wrong? > > \definefontalternative[me] > \definefontalternative[meit] > \definefontalternative[se] > \definefontalternative[seit] > > You can also only two letter names for the alternatives because the > \definebodyfont command interprets everything after two letter as size > (e.g. "a" from \tfa or "c" from \bfc). > > 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 > > ___ > ___ 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] Handling Semi-Bold for Minion Pro in Context (LuaTeX)
For a compiled PDF, see https://drive.google.com/open?id=0Bwo7pPA5_WkDdlNLbHdkMjg2dkU Thanks in advance for the help :-) On 4 May 2016 at 10:31, Antoine Cailliau wrote: > Thank you very much for the example. I got it working for the "regular" > style-alternative. > > I don't know why, but the italic style-alternative do not work. In the > log, the font is not even loaded... Do you have an idea of what I'm doing > wrong? > > \definefontalternative[me] > \definefontalternative[meit] > \definefontalternative[se] > \definefontalternative[seit] > > \starttypescript [serif] [minionpro] > \definebodyfont [default] [rm] > [tf=Serif sa 1, > it=SerifItalic sa 1, > me=SerifMedium sa 1, > meit=SerifMediumItalic sa 1, > se=SerifSemiBold sa 1, > seit=SerifSemiBoldItalic sa 1, > bf=SerifBold sa 1, > bi=SerifBoldItalic sa 1] > \stoptypescript > > \starttypescript [serif] [minionpro] > \definefontsynonym [Serif][file:MinionPro-Regular.otf] > \definefontsynonym [SerifItalic] [file:MinionPro-It.otf] > \definefontsynonym [SerifMedium] [file:MinionPro-Medium.otf] > \definefontsynonym [SerifMediumItalic][file:MinionPro-MediumIt.otf] > \definefontsynonym [SerifSemiBold][file:MinionPro-Semibold.otf] > \definefontsynonym [SerifSemiBoldItalic] > [file:MinionPro-SemiboldIt.otf] > \definefontsynonym [SerifBold][file:MinionPro-Bold.otf] > \definefontsynonym [SerifBoldItalic] [file:MinionPro-BoldIt.otf] > \stoptypescript > > \definetypeface [source] [rm] [serif] [minionpro] [default] > [features=default] > \definetypeface [source] [mm] [math] [xits] [default] > > > > mtx-context | warning: synctex is enabled > mtx-context | run 1: luatex > --fmt="/usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" > --jobname="font2" > --lua="/usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" > --no-parse-first-line --synctex=1 --c:autogenerate --c:currentrun=1 > --c:directives="system.synctex=1" --c:fulljobname="./font2.tex" > --c:input="./font2.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="1" > "cont-yes.mkiv" > This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) > \write18 enabled. > > system > synctex functionality is enabled (1)! > open source > 1 > 1 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv > > ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2016.4.25 int: > english/english > > system > 'cont-new.mkiv' loaded > open source > 2 > 2 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv > close source> 2 > 2 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv > system > files > jobname 'font2', input './font2', result 'font2' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > open source > 2 > 3 > /Users/acailliau/Google > Drive/PhD/Dissertation/test-context/font2.tex > open source > 3 > 4 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-xits.mkiv > open source > 4 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-texgyre.mkiv > close source> 4 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-texgyre.mkiv > close source> 3 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-xits.mkiv > fonts > preloading modern-designsize (mono) > *fonts > typescripts > unknown library 'modern-designsize'* > *fonts > 'fallback modern-designsize tt 12pt' is loaded* > backend > xmp > using file > '/usr/local/texlive/2015/texmf-dist/tex/context/base/lpdf-pdx.xml' > pages > flushing realpage 1, userpage 1 > close source> 2 > 5 > /Users/acailliau/Google > Drive/PhD/Dissertation/test-context/font2.tex > close source> 1 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv > > mkiv lua stats > used config file: > selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua > mkiv lua stats > used cache path: > /usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a
Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)
ute, 35 glue_spec, 3 attribute_list, 2 temp mkiv lua stats > node list callback tasks: 6 unique task lists, 5 instances (re)created, 202 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: 577 direct, 762 indirect, 1339 total mkiv lua stats > randomizer: resumed with value 0.5377294446983 mkiv lua stats > result saved in file: font2.pdf, compresslevel 3, objectcompresslevel 3 *mkiv lua stats > loaded fonts: 8 files: minionpro-bold.otf, minionpro-boldit.otf, minionpro-it.otf, minionpro-medium.otf, minionpro-regular.otf, minionpro-semibold.otf, xits-math.otf, xits-mathbold.otf* mkiv lua stats > fonts load time: 0.275 seconds mkiv lua stats > used platform: osx-ppc, type: unix, binary subtree: bin mkiv lua stats > luatex banner: this is luatex, version beta-0.80.0 (tex live 2015) (rev 5238) mkiv lua stats > control sequences: 42831 of 65536 + 10 mkiv lua stats > lua properties: engine: lua, used memory: 113 MB (ctx: 113 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.790 seconds, 1 processed pages, 1 shipped pages, 1.266 pages/second SyncTeX written on font2.synctex.gz. system | total runtime: 0.999 seconds On 3 May 2016 at 22:13, Wolfgang Schuster wrote: > Antoine Cailliau > 3. Mai 2016 um 08:58 > >> The \definefontfamily command is limited to the default alternatives (tf, >> bf, it, sl, bi, bs ans sc). >> > > Thanks for your answer, what shall I use to define non-default > alternatives? > > At the moment your only option is to write your own typescript for the > fonts. > > \definefontalternative[sb] > \definefontalternative[si] > > \starttypescript [sans] [source-sans] > \definebodyfont [default] [ss] > [tf=Sans sa 1, > it=SansItalic sa 1, > sb=SansMedium sa 1, > si=SansMediumItalic sa 1, > bf=SansBold sa 1, > bi=SansBoldItalic sa 1] > \stoptypescript > > \starttypescript [sans] [source-sans] > \definefontsynonym [Sans] [file:SourceSansPro-Regular.otf] > \definefontsynonym [SansItalic] [file:SourceSansPro-It.otf] > \definefontsynonym [SansMedium] [file:SourceSansPro-Semibold.otf > ] > \definefontsynonym [SansMediumItalic] [ > file:SourceSansPro-SemiboldIt.otf] > \definefontsynonym [SansBold] [file:SourceSansPro-Bold.otf] > \definefontsynonym [SansBoldItalic] [file:SourceSansPro-BoldIt.otf] > \stoptypescript > > \definetypeface [source] [ss] [sans] [source-sans] [default] > [features=default] > \definetypeface [source] [mm] [math] [xits][default] > > \setupbodyfont[source] > > \starttext > > Upright {\it Italic} {\sb SemiBold} {\si SemiBoldItalic} {\bf Bold} {\bi > BoldItalic} > > \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 > > ___ ___ 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] Handling Semi-Bold for Minion Pro in Context (LuaTeX)
> > The \definefontfamily command is limited to the default alternatives (tf, > bf, it, sl, bi, bs ans sc). > Thanks for your answer, what shall I use to define non-default alternatives? ___ 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] Handling Semi-Bold for Minion Pro in Context (LuaTeX)
Hello, I'm trying to use the font Minion Pro for my document. I'm using the simplefont module but I cannot use the semibold font. I guess I'm missing some line in the configuration to bind sb to the semibold variant. Here is a short example of my setup: \definefontalternative[sb] \definefontalternative[sbi] \definefontfeature[default][default] [mode=node, script=latn, kern=yes, palt=yes, tlig=yes, trep=yes, init=yes, size=yes] \definefontfeature[frac][default][frac=yes] \definefontfeature[sups][default][sups=yes] \definefontfeature[onum][default][onum=yes] \definefontfeature[lnum][default][lnum=yes] \definefontfamily [myfamily] [serif] [MinionPro] \definefontfamily [myfamily] [sans] [MyriadPro] \setupbodyfont [myfamily] \define[1]\sup{\feature[+][f:superscript]#1} \defineparagraphs[TwoColumns][n=2, align={hz, hanging}] \setupparagraphs[TwoColumns][1][width=100pt, style=italic, align=left] \starttext \startbuffer[Plato] How you, O Athenians, have been affected by my accusers, I cannot tell; but I know that they almost made me forget who I was--so persuasively did they speak; and yet they have hardly uttered a word of truth. \stopbuffer \startTwoColumns Roman\TwoColumns \getbuffer[Plato] \stopTwoColumns \startTwoColumns Italic\TwoColumns {\it\getbuffer[Plato]} \stopTwoColumns \startTwoColumns Semi bold\TwoColumns {\sb\getbuffer[Plato]} \stopTwoColumns \startTwoColumns Bold\TwoColumns {\bf\getbuffer[Plato]} \stopTwoColumns \startTwoColumns Semi bold italic\TwoColumns {\sbi\getbuffer[Plato]} \stopTwoColumns \startTwoColumns Bold italic\TwoColumns {\bi\getbuffer[Plato]} \stopTwoColumns \stoptext Any help is deeply welcome, Antoine ___ 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] Some short questions
Hi, > > First, declaring one (and only one) page as empty. I mean with no > > footer/header texts. This is for my cover page, and some page left > > intentionnaly blank. > > > \page[empty] > > or > > \starttextmakeup > \stoptextmakeup > > Second, I want to change the layout (margin, textwidth, etc) of a page. > > I know there is a "clean" way to declare a new layout for a specific > > page but I can't find my source again. > > > \definelayout[myspecialpage][width=...,height=...,] > > \starttext > > ... > > \page \setuplayout[myspecialpage] > > ... > > \page \setuplayout[reset] > > ... > > \stoptext That was the trick :) Thanks all for your answers. Antoine C. ___ 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] Some short questions
Hi, I'm looking for two specific "tricks": First, declaring one (and only one) page as empty. I mean with no footer/header texts. This is for my cover page, and some page left intentionnaly blank. Second, I want to change the layout (margin, textwidth, etc) of a page. I know there is a "clean" way to declare a new layout for a specific page but I can't find my source again. Thanks in advance for your answers, Antoine ___ 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] Real help on \dostartbuffer needed
Damned, I didn't saw it. Thanks a lot for your help. On Wed, 2010-04-28 at 09:55 +0200, Wolfgang Schuster wrote: > Am 27.04.10 15:20, schrieb Antoine Cailliau: > > This time, it is not working, and I do not have any idea why. > > > > \defineenumeration[ENUM][] > > \definebuffer[Entity,before=\startENUM,after=\stopENUM] > > > \definebuffer[Entity][before=\startENUM,after=\stopENUM] > > \startEntity > ... > \stopEntity > > \getEntity > > or > > \def\startEntity >{\dostartbuffer[Entity][startEntity][stopEntity]} > > \def\stopEntity >{\startENUM > \getbuffer[Entity] > \stopENUM} > > 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 > ___ -- Antoine Cailliau UCLouvain Student Computer Sciences (Software engineering) ___ 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] Real help on \dostartbuffer needed
This time, it is not working, and I do not have any idea why. \defineenumeration[ENUM][] \definebuffer[Entity,before=\startENUM,after=\stopENUM] \starttext \startEntity \input tufte \stopEntity \stoptext fails with ! Missing \endcsname inserted. \let \noshowargumenterror ->\let \expectedarguments \noexpectedarguments \dodoubleempty #1->\noshowargumenterror \doifnextcharelse [{\dodoubletestemp... \startENUM ->\dodoubleempty \@@startdescription [ENUM] \??bu Entity,before=\startENUM ,after=\stopENUM \c!number \letvalue #1->\expandafter \let \csname #1 \endcsname ... l.4 On Tue, 2010-04-27 at 15:13 +0200, Antoine Cailliau wrote: > Mmm... \getbuffer[LST] obviously > > Sorry for the noise > > On 27 April 2010 15:04, Antoine Cailliau wrote: > > Hi, > > > > I'm trying to deal with \dostartbuffer. > > > > I found an old message on the ML about \dostartbuffer > > http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html > > and its is pretty what I want except that I do not know how can I get > > access to the buffer :) > > > > For instance, > > \def\startLST[#1]% > >{\def\stopLST{End of #1}% > > \dostartbuffer[LST][startLST][stopLST]} > > > > \starttext > > \startLST[whatever] > > bla bla > > \stopLST > > alb alb > > \stoptext > > > > will print End of whateveralb alb. I just want to get the content blabla in > > \stopLST. > > > > I guess, it should not be hard :) > > > > Antoine > > > > ___ 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] Help on \dostartbuffer needed
Mmm... \getbuffer[LST] obviously Sorry for the noise On 27 April 2010 15:04, Antoine Cailliau wrote: > Hi, > > I'm trying to deal with \dostartbuffer. > > I found an old message on the ML about \dostartbuffer > http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html > and its is pretty what I want except that I do not know how can I get > access to the buffer :) > > For instance, > \def\startLST[#1]% > {\def\stopLST{End of #1}% > \dostartbuffer[LST][startLST][stopLST]} > > \starttext > \startLST[whatever] > bla bla > \stopLST > alb alb > \stoptext > > will print End of whateveralb alb. I just want to get the content blabla in > \stopLST. > > I guess, it should not be hard :) > > Antoine > > ___ 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] Help on \dostartbuffer needed
Hi, I'm trying to deal with \dostartbuffer. I found an old message on the ML about \dostartbuffer http://www.mail-archive.com/ntg-context@ntg.nl/msg08222.html and its is pretty what I want except that I do not know how can I get access to the buffer :) For instance, \def\startLST[#1]% {\def\stopLST{End of #1}% \dostartbuffer[LST][startLST][stopLST]} \starttext \startLST[whatever] bla bla \stopLST alb alb \stoptext will print End of whateveralb alb. I just want to get the content blabla in \stopLST. I guess, it should not be hard :) Antoine ___ 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] Float placement in margin
After looking a bit more, I'm looking for a more generic solutions where I can put paragraphs as well in margin. In my thesis, I've a lot of blocks (defined by framed) that I need to put in the margin with my text continuing his flow "normally". \inmargin does not seems to work (a dark story with open/close brackets make the compilation fails) Thanks for your comment :) Cheers, Antoine > I am interested in this question as well. It could be really nice if > \placefigure[margin,bottom] could be made to work. That would be awesome :) ___ 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] Float placement in margin
Dear all, I would like to put a figure my edge margin, at the bottom of the page. (so, the bottom left corner on my left pages). I tried \inmargin but the figure is not placed in margin but at the top of the page. I tried \placefigure[margin] but it is placed on the top of the margin. This is nearly what I want :) Any clue for me ? Thanks in advance, Antoine ___ 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] Enumeration
Ok, I read definition files and I found what I was looking for. For the archive of the ML: headstyle, headcolor, titlestyle, titlecolor, titleleft, titleright and text. Cheers, Antoine On 18 April 2010 10:36, Antoine Cailliau wrote: > Hi, > > Thanks a lot, this is exactly what I was looking for. > > Is there a way to edit the style of the title, like with caption ? Where > is it documented (If any) ? > > Thanks in advance, > > Antoine > > On Sun, 2010-04-18 at 09:15 +0200, Wolfgang Schuster wrote: >> Am 17.04.10 15:27, schrieb Antoine Cailliau: >> > Hi all, >> > >> > I'm working on my thesis and I need a mechanism very similar to float >> > and its reference/caption facilities except it can't be floating. >> > >> > My problem is the following: I've boxes to display corresponding to >> > operators. They should be numbered (like figure, tables, etc.) and >> > having a list is a plus and I should be able to do \about[myoperator] to >> > display the name of the operator. >> > >> > I tried to declare a float and it works perfectly, except it is floating >> > and do not respect the flow I would like to have. >> > >> > I tried enumeration but I can't do \about and I really need it. >> > >> \setupinteraction[state=start] >> \defineenumeration[test][title=yes] >> \starttext >> text \about[test] text >> \page >> \starttest[test]{knuth} \input knuth\par \stoptest >> \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 >> ___ > -- > Antoine Cailliau > www.ac-graphic.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Enumeration
Hi, Thanks a lot, this is exactly what I was looking for. Is there a way to edit the style of the title, like with caption ? Where is it documented (If any) ? Thanks in advance, Antoine On Sun, 2010-04-18 at 09:15 +0200, Wolfgang Schuster wrote: > Am 17.04.10 15:27, schrieb Antoine Cailliau: > > Hi all, > > > > I'm working on my thesis and I need a mechanism very similar to float > > and its reference/caption facilities except it can't be floating. > > > > My problem is the following: I've boxes to display corresponding to > > operators. They should be numbered (like figure, tables, etc.) and > > having a list is a plus and I should be able to do \about[myoperator] to > > display the name of the operator. > > > > I tried to declare a float and it works perfectly, except it is floating > > and do not respect the flow I would like to have. > > > > I tried enumeration but I can't do \about and I really need it. > > > \setupinteraction[state=start] > \defineenumeration[test][title=yes] > \starttext > text \about[test] text > \page > \starttest[test]{knuth} \input knuth\par \stoptest > \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 > ___ -- Antoine Cailliau www.ac-graphic.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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Enumeration
Hi all, I'm working on my thesis and I need a mechanism very similar to float and its reference/caption facilities except it can't be floating. My problem is the following: I've boxes to display corresponding to operators. They should be numbered (like figure, tables, etc.) and having a list is a plus and I should be able to do \about[myoperator] to display the name of the operator. I tried to declare a float and it works perfectly, except it is floating and do not respect the flow I would like to have. I tried enumeration but I can't do \about and I really need it. What is the best way to have such a behavior ? Thanks in advance, Antoine C. ___ 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] Color in footer
Dear, > > \def\footerstyle#1{\startcolor[red]#1\stopcolor} > > \setupfooter[style=\footerstyle] > > has to do with the fact that style does not pass an argument > > does > > \setupfooter[color=red] > > work? Yes, perfectly. I did not tried it since this was not documented (or at least I may misread the documentation). Thank you a lot, Antoine C. ___ 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] Color in footer
Dear all, I'm trying to change the color of the footer text. I typed: \def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle] But I receive an error that I can't interpret. ! Argument of \footerstyle has an extra }. \par } \doifdefinedelse #1->\edef \p!defined {#1} \ifcsname \detokenize \...@ea {\p!def... \doconvertfont #1->\doifdefinedelse {...@letter@ #1} {\doifelsenothing {#1}\go... \doattributes ... \csname #1...@ea \endcsname \fi {#4}\dostopattributes \dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}} \egroup ... l.61 \stoptext ? X Does anyone knows what's wrong ? Thanks in advance, Antoine C. ___ 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] Page layout : Need help to begin
Hi, > You can also place backgrounds only on left/right pages. Ok, I'll investigate that. Is it also with overlay? > Is the content for each topic short enough for one double page or > is it possible the content on a left page requires more space and > continues on the next left page? The content is short enought because it is for leaflets. So, only a front page, thoose two pages and a backpage. > With the layout described above it also possible to write > a environment where the content is saved and macros/buffer and > placed at the end of the environment, this has the advantage > to know how much space is needed and you're not forced to write > the input in the order they are output on the page. I like this idea. I'll read more about macros and buffers to be able to achieve this. Thank you a lot for your help, comments and tips. Antoine C. ___ 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] Page layout : Need help to begin
Hi, Thanks for your help. Your solution works but I need more "fine tuning" on this background. > If you want the background on chapter pages etc. it makes sense > to integrate the background in a slightly different way but more > details about the layout needed for this to find the best solution. So, I'll explain in more details the structure of my layout. The idea is that the pages are presented side-by-side. Visually we have 4 columns. - The last one (right, on the right page) is the main text. - The third column (left, on the right page) is used for the figures (images, graphs, diagrams, etc.) - The second column (right, on the left page) is used to discuss some points of the main text. Like advanced stuff, debate, historical notes, etc) - The first one (left, on the left page) have some light gray background and is an area for FAQ about the topic. The title of each double page is on the right page, aligned with the left column of the right page. The second column (right, on the left page) may have a title defining the topic of this column. Regards, Antoine ___ 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] Page layout : Need help to begin
Hi, Thanks for quick answer. > do you have also questions on beginners level or has > everything to be on expert level. I use latex for 5 years daily and I would like to have something cleaner that what I've now. During thoose years I also approaches "advanced" stuff like package modification and TeX programming. So, I'm not really a begin user in TeX but a begin user in context. > It's hard to say what't the best method in your case is > because more information are needed. The first thing that > came to my mind was to reduce the text area to a narrow > column and place the extra text and the figures and a wide > left margin. Ok, so I was not so wrong. But my main concern is about the background that has to take the full height and half width. In addition, if the background may be larger than the page it would nice in case of printing (so, no margin at all) Regards, Antoine C. ___ 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] Page layout : Need help to begin
Hi guys, I'm quite new to context and I'm not sure about the best way to achieve the layout I've in mind. You may find a representation of my layout in the attached PDF. Can someone help me by giving some tips on how to proceed to achieve such a result. What's the best technique? The best method? Regards, Antoine C. layout.pdf Description: Adobe PDF document ___ 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] Background on paragraphs
Hi, Thank you a lot for your quick answer. It perfectly worked > \setupcolors[state=start] Why is it needed, what does that do exactly? Where can I find more information about? Cheers, Antoine C. ___ 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] Background on paragraphs
Obviously, I forgot the attachment. Here it is. background.pdf Description: Adobe PDF document ___ 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] Background on paragraphs
Hi all, I'm new to ConTeXt but not new to LaTeX and I really enjoy to learn again something new and that seems to be cleaner in syntax at least. By reading the excursion, I typed something that did not work on my computer. It is about the background on paragraphs. I've a big black background and we cannot see the text. I attached the PDF file produced. I used texexec : % texexec TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD and the following code : \setupbackground[background=screen,corner=round] \starttext \startbackground Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam semper mi pellentesque diam. Vestibulum tellus erat, vestibulum vel, blandit ac, placerat at, metus. Integer rhoncus neque vel dolor. Sed dapibus arcu eu lorem. In eleifend nunc nec justo. Maecenas sagittis ultricies orci. Proin nec est. Integer dictum dictum felis. Mauris nibh dui, tempus eget, auctor et, ultrices nec, nulla. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis lacinia vehicula pede. Sed eros tellus, ultricies id, porttitor sed, bibendum quis, metus. Pellentesque et justo eu ante tristique aliquet. Quisque dui tellus, cursus sit amet, tincidunt nec, imperdiet et, nibh. Quisque sapien elit, semper ac, molestie et, dapibus vulputate, nunc. Sed in nisl. Vivamus ligula. Aliquam eros pede, iaculis vitae, imperdiet sit amet, commodo a, nibh. Pellentesque a turpis. \stopbackground \stoptext I hope to have some help and feedback about, Cheers, Antoine C. ___ 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 ___