[NTG-context] Subpagenumbers and unwanted last page with MkIV
Hi, the following example with subpagenumbers works fine with MkII, but MkIV produce a extra last page and I try to get rid of this page. \setupsubpagenumber [number=1, way=bytext, state=start] \setupheadertexts[\subpagenumber--\numberofsubpages] \starttext \dorecurse{8}{\input knuth\par} \page \resetsubpagenumber \dorecurse{8}{\input zapf\par} \stoptext Greetings, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt logo with cows
Hello Taco (or other cow fans), What's the easiest way to get the ConTeXt logo with the cow font (possibly in mkiv, but not neccessary)? Do I need to use low-level (Lua) or is there already some kind of \getglyph{C_o_n_T_e_X_t} already available? Thanks a lot, Mojca ___ 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] ConTeXt logo with cows
Are you preparing the new T-shirts? ;o) Steffen Am 05.02.2008 um 16:18 schrieb Mojca Miklavec: Hello Taco (or other cow fans), What's the easiest way to get the ConTeXt logo with the cow font (possibly in mkiv, but not neccessary)? Do I need to use low-level (Lua) or is there already some kind of \getglyph{C_o_n_T_e_X_t} already available? Thanks a lot, Mojca __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] halfline broken
Since context version: 2008.01.28 up to now there is an error when running the file attached below: ! Undefined control sequence. \dodosetupwhitespace ...g \witruimteflexibelfalse \ctxparskip 1 \ctxparskip \... l.31 \setupwhitespace[halfline] ? Process aborted (In context version: 2008.01.03 it still works.) Steffen \chardef\baselinegridmode=1 % not the default ! \def\dodosetupwhitespace % can go in core (or cont-new) {\ifgridsnapping \witruimteflexibelfalse \ctxparskip1\ctxparskip \ifdim\ctxparskip\zeropoint \ifcase\baselinegridmode \ctxparskip\baselineskip % normal ! ! ! ! !! \or \ifdim\scratchdimen=\baselineskip % maybe range \ctxparskip\baselineskip % normal ! ! ! ! !! \else \ctxparskip\numexpr \ctxparskip/\dimexpr.5\lineheight\relax\relax\dimexpr.5\lineheight\relax \fi \else \ctxparskip\baselineskip % normal ! ! ! ! !! \fi \fi \else \ifwitruimteflexibel \else \ctxparskip1\ctxparskip \fi \fi \parskip\ctxparskip} \starttext \setuplayout[grid=yes] \showstruts \showgrid \showgridboxes \setupwhitespace[halfline] \setuphead[section][grid=fit] \section{Heading One} \input tufte \input knuth \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt logo with cows
Steffen == Steffen Wolfrum [EMAIL PROTECTED] writes: Steffen Are you preparing the new T-shirts? ;o) Steffen I want one :-D Sincerely, Gour -- Gour | Zagreb, Croatia | GPG key: C6E7162D pgpvUS0XtNgNC.pgp Description: PGP signature ___ 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] halfline broken
Hi Steffen, Steffen Wolfrum schrieb: Since context version: 2008.01.28 up to now there is an error when running the file attached below: ! Undefined control sequence. \dodosetupwhitespace ...g \witruimteflexibelfalse \ctxparskip 1 \ctxparskip \... l.31 \setupwhitespace[halfline] ? Process aborted (In context version: 2008.01.03 it still works.) Steffen \chardef\baselinegridmode=1 % not the default ! The same macro can be found in core-spa.tex, so your version of \dodosetupwhitespace is obsolete now. I haven't compared it to the last bit, but it should be the same. Time for you to clean up your sources too ;) Best Wishes, Peter \def\dodosetupwhitespace % can go in core (or cont-new) {\ifgridsnapping \witruimteflexibelfalse \ctxparskip1\ctxparskip \ifdim\ctxparskip\zeropoint \ifcase\baselinegridmode \ctxparskip\baselineskip % normal ! ! ! ! !! \or \ifdim\scratchdimen=\baselineskip % maybe range \ctxparskip\baselineskip % normal ! ! ! ! !! \else \ctxparskip\numexpr \ctxparskip/\dimexpr.5\lineheight\relax\relax\dimexpr.5\lineheight\relax \fi \else \ctxparskip\baselineskip % normal ! ! ! ! !! \fi \fi \else \ifwitruimteflexibel \else \ctxparskip1\ctxparskip \fi \fi \parskip\ctxparskip} \starttext \setuplayout[grid=yes] \showstruts \showgrid \showgridboxes \setupwhitespace[halfline] \setuphead[section][grid=fit] \section{Heading One} \input tufte \input knuth \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt logo with cows
Hi Mojca, Mojca Miklavec schrieb: Hello Taco (or other cow fans), What's the easiest way to get the ConTeXt logo with the cow font (possibly in mkiv, but not neccessary)? Do I need to use low-level (Lua) or is there already some kind of \getglyph{C_o_n_T_e_X_t} already available? I haven't tried it myself, so I can't give you a working example. But symb-cow.tex looks quite promising... \definesymbol[CowConTeXt] [\CowLogo{2}] \definesymbol[CowConTeXtComplete] [\CowLogo{3}] \definesymbol[CowConTeXtShadow][\CowLogo{4}] \definesymbol[CowConTeXtContour] [\CowLogo{5}] \definesymbol[CowConTeXtOutline] [\CowLogo{6}] \definesymbol[CowConTeXtDots] [\CowLogo{7}] There is also type-cow.tex with the typescripts. HTH, Peter Thanks a lot, Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt logo with cows
Dne torek 5. februarja 2008 je Steffen Wolfrum napisal(a): Are you preparing the new T-shirts? ;o) No, it was a presentation in Cyberpipe (video will be available on http://video.kiberpipa.org in a few days/weeks) ;) Cheers, Matija -- gsm: +386 41 849 552 e-mail: [EMAIL PROTECTED] www: http://matija.suklje.name aim: hookofsilver icq: 110183360 jabber/g-talk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] yahoo: matija_suklje signature.asc Description: This is a digitally signed message part. ___ 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] ConTeXt logo with cows
Mojca Miklavec wrote: Hello Taco (or other cow fans), What's the easiest way to get the ConTeXt logo with the cow font (possibly in mkiv, but not neccessary)? Do I need to use low-level (Lua) or is there already some kind of \getglyph{C_o_n_T_e_X_t} already available? \usesymbols[cow] \setupsymbolset[cownormal] \starttext \symbol[CowConTeXt] \stoptext Works in mkii and mkiv. 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 ___
Re: [NTG-context] {{ double braces }}
Hi Thomas, Sorry for the delay in the reply, I was travelling last week. On Sat, 26 Jan 2008, Thomas A. Schmitz wrote: On Jan 24, 2008, at 12:19 AM, Aditya Mahajan wrote: Another option is Gema http://gema.sourceforge.net/new/index.shtml (also has a lua library gelhttp://gema.sourceforge.net/new/ gel.shtml). You can define regions and matching nested braces quite easily. Aditya I remember I had a look at gema before but couldn't really find out what was special about it and would warrant further attention. I also haven't seen anything about nested braces etc. (which would be great for processing TeX files but is a major pain in the back with regexs). You seem to know more about it: could you give an example of how it's possible to have nested braces in a gema pattern? Nested patterns is something where gema really excels. Here is a gema script to convert \footnote{{something}} to \footnote{something} :\\footnote\W\{\{matchbrace\}\}=\\footnote\{$1\} matchbrace:\{#\}=\{#\} matchbrace:\\Y1=\\$1 Save it as footnote.gema and then run gema -f footnote.gema tex-file output-file It handles these expressions correctly: \footnote{{This $\frac{a}{b^{c+d}}$ is a strange footnote}} \footnote{{This $\frac{a}{b^{c+d}}$ is a strange footnote with multiple {nested {expressions \footnote{{This $\frac{\left[\frac {a}{b}\right\}}{c}$ is a strange footnote}} It is much easier to write than regular expressions. Unfortunately, gema expressions can be as hard as regular expressions to read. 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] halfline broken
Steffen Wolfrum wrote: Since context version: 2008.01.28 up to now there is an error when running the file attached below: ! Undefined control sequence. \dodosetupwhitespace ...g \witruimteflexibelfalse \ctxparskip 1 In the core, the \newif \witruimteflexibel became \newconditional \flexiblewhitespace so the get the same effect as the old \witruimteflexibelfalse and \ifwit... you now need \setfalse\flexiblewhitespace and \ifconditional\flexiblewhitespace. As Peter said: see core-spa.tex for details Best wishes, Taco PS Hans, the \newconditional itself is actually not there. Wouldn't it be nicer to add it? It would help while grepping through the source. ___ 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 ___