Re: [NTG-context] The visual counter module
On 15-11-2010 12:16, Aditya Mahajan wrote: Hi, This is to announce an alpha release of the visual counter module. See http://randomdeterminism.wordpress.com/2010/11/14/visualcounter-module/ for some examples, in particular http://randomdeterminism.files.wordpress.com/2010/11/theorem.pdf The idea is to display a counter visually, in the same spirit as interactions bars. There is no support for interaction, but, on the plus sides, these work for any conter, not just the page counter. The idea of the module comes from the counters designed by Thomas as part of the simpleslides module. The module only works with MkIV because I am using the new namespace code. So MkII support is unlikely. Anyone else interested in such counters? fun! Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Gnuplot module: Patching of Gnuplot binary still needed?
On Sun, Nov 14, 2010 at 23:04, Paul Menzel wrote: > Dear ConTeXt folks, > > > I read about the Gnuplot module [1] and I am wondering whether patching > the Gnuplot binary is still necessary. Yes. Can you please send the same message to the gnuplot mailing list? I have sent the patch upstream once in 2006, but they had two arguments against including the patch: 1.) nobody from the development team was willing to install anything else but tetex to try it out (and the module doesn't work under tetex) 2.) they assumed that I was the only user The first point should hopefully be resolved by now (module should work under MikTeX or TeX Live out-of-the-box and hopefully TeX Live is enough widespread by now), but if anyone wants to have the module included, somebody else but me needs to write to the gnuplot mailing list and ask the developers if they are willing to include the patch. (By pointing them to https://github.com/mojca/gnuplot/blob/master/term/context.trm first.) I'm willing to upload the patch, but it makes no sense for me to regularly upload new patches to their feature-requests-and-bug-tracking system if they ignore them for ages ... I admit that the number of ConTeXt/Gnuplot users might be small, alone for the fact that the number of ConTeXt users (several thousand?) is much smaller than the number of LaTeX addicts, but I would be glad to see 20 users of metafont terminal when not even the output of metapost terminal is satisfactory (it could be improved considerably). Apart from that ... I was working with Peter Hedwig on the ConTeXt part of his lua/TikZ terminal (that has already been included in gnuplot). We got it running, with some issues like general font loading scheme, but the work was never polished to the end (stalled at some point). We could revive that thread as well. > Github is currently down and It works here, but the main gnuplot code is located on fontforge (in CVS). Github only includes a patched version of gnuplot that contains context support. Mojca > therefore cannot check if the code is included. But judging from > > gnuplot> help terminal > […] > Subtopics available for terminal: > canvas cgm corel dpu414 > dumb dxf eepic emf > emtex epslatex epson_180dpi epson_60dpi > epson_lx800 fig gif gpic > hp2623a hp2648 hp500c hpdj > hpgl hpljii hppj imagen > jpeg latex mf mif > mp nec_cp6 okidata pbm > pcl5 pdfcairo png pngcairo > pop postscript pslatex pstex > pstricks push qms regis > starc svg tandy_60dpi tek40xx > tek410x texdraw tgif tkcanvas > tpic vttek wxt x11 > xlib xterm > > $ gnuplot --version > gnuplot 4.4 patchlevel 0 > > it appears it is still required. Did some send this patch already > upstream for inclusion? > > > Thanks, > > Paul > > [1] http://wiki.contextgarden.net/Gnuplot ___ 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] Hook environment into head/structure setup
Hi all, I don't think it is yet possible, but it would be nice if there was something like: \setuphead % or perhaps \setupstructure [chapter] [beforestructure=\startlinenumbering, afterstructure=\stoplinenumbering] Which should result in: \startlinenumbering \startchapter[title=test] Text \stopchapter \stoplinenumbering Is there already a way to achieve this? I've consequently used \start-\stopchapter, maybe one can append \start-\stoplinenumbering to them? I would appreciate any help 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 ___
[NTG-context] metaobj
Hi everybody, again a question by me, I found out that metaobj is included in ConTeXt minimals and now try to figure out how to input this in a ConTeXt document so I can use it in a \startuseMPgraphic{name} METAOBJ code \stopuseMPgraphic environment. Thanks everybody for your help... -- Martin 'golodhrim' Scholz Auf dem Sattler 4 34516 Ederbringhausen Germany Phone: +49 6454 799623 mobile: +49 176 63301749 Fax: +49 6454 7990138 e-Mail: scholz@googlemail.com The difference between genius and stupidity is that genius has its limits. ___ 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] Section horizontal space adjustment (LaTeX -> ConTeXt) (reduced attachs)
Am 15.11.2010 um 10:59 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello all, > > what is the simplest way how to change the horizontal space between the > number and the name of a section (chapter, subsection...)? (Migrating from > LaTeX to ConTeXt.) \setuphead [] [numberwidth=, distance=] 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] configuring miktex for context
dear all, can anyone help me to configure context with update available with miktex. Regards upendran ___ 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] configuring miktex for context
On Mon, Nov 15, 2010 at 15:16, piskala upendran wrote: > dear all, > > can anyone help me to configure context with update available with miktex. Do you have MikTeX 2.9? What exactly is going on? What is working/what is not? You won't be able to update to the latest version of ConTeXt since that would mean adapting some scripts as well, but ConTeXt should in principle work. Maybe I should test once again with a clean install ... 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Section horizontal space adjustment (LaTeX -> ConTeXt) (reduced attachs)
... Thanks! Lukas On Mon, 15 Nov 2010 14:40:16 +0100, Wolfgang Schuster wrote: Am 15.11.2010 um 10:59 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello all, what is the simplest way how to change the horizontal space between the number and the name of a section (chapter, subsection...)? (Migrating from LaTeX to ConTeXt.) \setuphead [] [numberwidth=, distance=] 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] Grabbing first letter of a sentence
Hi, I'd like to get access to the first letter of a chapter for the purpose of laying out the chapter heading, but I'm having difficulty with expansion. Here's my attempt: \def\MyChapterTitle#1#2{% \def\doMyChapterTitle##1##2^{% {\tfb ##1}##2 } #1 \doMyChapterTitle#2^ } setuphead[chapter][command=\MyChapterTitle] \starttext \chapter{Foo} bar \stoptext This doesn't work because the chapter title isn't expanded out before passing it to \MyChapterTitle. I know there is deeptextcommand but I need the chapter title during the layout of chapter number + title, so I need to use command instead of deeptextcommand. I attempted to get hold of the chapter title using the following \def\MyChapterTitle#1#2{% \def\doMyChapterTitle##1##2^{% {\tfb ##1}##2 } #1 \expandafter\doMyChapterTitle\expandafter{\fetchmark[chapter][first]}^ } but that doesn't seem to work either. Any ideas? Many thanks, M ___ 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] libertine typescript
I like to use the fonts keyboard, outline and shadow of libertine, defined in a typescrip, e.g. [...] \starttypescript[keyboard][biolinumKB] \definefontsynonym[Keyboard][file:LinBiolinum_Kb-0.5.4][features=default] \stoptypescript \starttypescript[outline][biolinumOL] \definefontsynonym[Outline] [file:fxbo] [features=default] \definefontsynonym[OutlineBold] [file:fxbob][features=default] \definefontsynonym[OutlineItalic][file:fxboi][features=default] \stoptypescript \starttypescript[shadow][biolinumSH] \definefontsynonym[Shadow] [file:fxbs] [features=default] \definefontsynonym[ShadowBold] [file:fxbsb][features=default] \definefontsynonym[ShadowItalic][file:fxbsi][features=default] \stoptypescript \starttypescript[mylibertine] [...] \definetypeface[mylibertine][kb][keyboard][biolinumKB][default] \definetypeface[mylibertine][ol][outline] [biolinumOL][default] \definetypeface[mylibertine][sh][shadow] [biolinumSH][default] \stoptypescript [...] however, this did not work. Where do I have to define the new commands \kb, \ol and \sh? This works: \definefont[keyboard][LinBiolinum_Kb-0.5.4 at 20pt] \definefont[outline][fxbo at 20pt] \definefont[shadow][fxbs at 20pt] \starttext The layout of my keyboard:\\ {\keyboard qwertz} it is a german one.\par {\outline Outline font}\par {\shadow Shadow font}\par \stoptext the output: http://perce.de/temp/x.png Herbert ___ 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] metaobj
In article , Martin 'golodhrim' Scholz wrote: > Hi everybody, >again a question by me, I found out that metaobj is included in >ConTeXt minimals and now try to figure out how to input this in a >ConTeXt document so I can use it in a > \startuseMPgraphic{name} >METAOBJ code > \stopuseMPgraphic >environment. >Thanks everybody for your help... first of all here is a minimal example: \starttext \startMPinclusions input metaobj; \stopMPinclusions \startuseMPgraphic{commutativediagram} newCircle.m(btex M etex) "framed(false)"; newCircle.n(btex M' etex) "framed(false)"; newCircle.o(btex M'' etex) "framed(false)"; newMatrix.mat(2,2)(m,n,nb,o) "hsep(1cm)", "vsep(2cm)"; mcline.mat(1,1,1,2) "nodesepA(3pt)"; mcline.mat(1,2,2,2) "nodesepA(3pt)"; mcline.mat(1,1,2,2) "nodesepA(3pt)"; mat.c=origin; drawObj(mat); \stopuseMPgraphic \useMPgraphic{commutativediagram} \stoptext what I don't understand is that this examples builds and runs fine under mkii but not under mkiv, what did I do wrong, where is my error in this code so it will not build? Greetings -- Martin 'golodhrim' Scholz Auf dem Sattler 4 34516 Ederbringhausen Germany Phone: +49 6454 799623 mobile: +49 176 63301749 Fax: +49 6454 7990138 e-Mail: scholz@googlemail.com Boling's postulate: If you're feeling good, don't worry. You'll get over it. ___ 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] ConTeXt
Name: Alan Caruanambo Muñoz City: Cajamarca - Peru Hello: ConText was using for a while, then stop, now that I've tried to reuse write my thesis is that I can not compile successfully though and followed all the steps in http://wiki.contextgarden.net/Windows_Installation I remember down mswincontext.zip aver pragma-ade in which compiled more easily, also wanted to know what the most recent version of ConTeXt MKIV because they lose http://minimals.contextgarden.net/pragma/ is the year 2008, and the installer ContextMinimalInstall.exe fails. My OS is Windows xp I wish my thesis has typography MKIV manual, please I would like to know what are the sources used in this. PD: Sorry if you can not really understand the message, what happens is I do not speak English. Thanks for taking the time to read my mail and dedicate to it ConTeXt project. - ALAN - xl...@hotmail.com ___ 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 ___