Re: [NTG-context] Passing text to Metapost functions

2005-12-27 Thread Taco Hoekwater
David Arnold wrote: Hans, I've tried various things without much success. I cannot seem to access the contents of xlbl below. Is this approach ever going to work? I can make your example work by passing the argument as a true metapost string: * remove the \MPstring command: draw

Re: [NTG-context] smaller symbol

2005-12-27 Thread Taco Hoekwater
Ciro Soto wrote: Invisible Friends: I am trying to use \ll and \gg instead of quotation marks. The problem is that they are too big for my taste. What would be the easiest way to make them, say 0.75\bodyfontsize ? Don't you want \leftguillemot and \rightguillemot? Anyway, there are fake ones

Re: [NTG-context] image command in Metapost

2005-12-27 Thread Taco Hoekwater
David Arnold wrote: What does the image command do? Where is it documented? It executes a set of commands and creates an expression of type picture from them. It is defined in the plain macros. Cheers, Taco ___ ntg-context mailing list

Re: [NTG-context] \definedescription question

2005-12-27 Thread Taco Hoekwater
VnPenguin wrote: On 12/26/05, Willi Egger [EMAIL PROTECTED] wrote: No, it does not work for me :( There has been a patch to this core recently. Will investigate. Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] image command in Metapost

2005-12-27 Thread David Arnold
Perfect. Thanks. :-) On Dec 27, 2005, at 12:19 AM, Taco Hoekwater wrote: David Arnold wrote: What does the image command do? Where is it documented? It executes a set of commands and creates an expression of type picture from them. It is defined in the plain macros. Cheers, Taco

Re: [NTG-context] Passing text to Metapost functions

2005-12-27 Thread David Arnold
OK. But I need it set as btex $x$ etex at the right end of the horizontal axis. On Dec 27, 2005, at 12:09 AM, Taco Hoekwater wrote: David Arnold wrote: Hans, I've tried various things without much success. I cannot seem to access the contents of xlbl below. Is this approach ever going

Re: [NTG-context] Columns (text alignment)

2005-12-27 Thread Fabio Mancinelli
Peter Rolf wrote: I attach my working example. Thank you Peter! Your example has been enlightening. Fabio ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Passing text to Metapost functions

2005-12-27 Thread Taco Hoekwater
David Arnold wrote: OK. But I need it set as btex $x$ etex at the right end of the horizontal axis. I'm not going to fiddle with the right end for you, but You can make it $x$ by: create_axes(xmin,xmax,ymin,ymax,ux,uy)($x$); Cheers, Taco ___

Re: [NTG-context] \definedescription question

2005-12-27 Thread Taco Hoekwater
VnPenguin wrote: On 12/26/05, Willi Egger [EMAIL PROTECTED] wrote: No, it does not work for me :( After checking, it turns out it works for me as well. I have: tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2C 7.5.5) context : ver: 2005.12.19 cont-en : ver:

[NTG-context] no 'D' in math-eul.tex

2005-12-27 Thread Johan Sandblom
In May I discovered that there was a typo in math-eul.tex rendering the lower-case 'd' an 'e'. Amazingly, the same problem occurs also for the upper-case 'D', and requires changing the line \definemathcharacter [D] [nothing] [mr] [45] into \definemathcharacter [D] [nothing] [mr] [44]

Re: [NTG-context] Weird things...

2005-12-27 Thread Taco Hoekwater
Fabio Mancinelli wrote: Why this happens? Because an interal ConTeXt macro (\dododosetlayer) is calling a TeX primitive (\chardef) with a number that is higher than 256. That number has become so high because of the columnset definitions, which is why changing the ordering fixed it. A full

Re: [NTG-context] smaller symbol

2005-12-27 Thread Ciro Soto
Thank you Taco and Mojca. I had tried with \guillemotright and \guillemotleft based on a latex manual I found in the web. Since it didn't work, I then tried the \ll and \gg combination. Thank you Taco for the right syntax of the keywords. CiroOn 12/27/05, Mojca Miklavec [EMAIL PROTECTED] wrote:

Re: [NTG-context] \definedescription question

2005-12-27 Thread VnPenguin
On 12/27/05, Taco Hoekwater [EMAIL PROTECTED] wrote: VnPenguin wrote: On 12/26/05, Willi Egger [EMAIL PROTECTED] wrote: No, it does not work for me :( After checking, it turns out it works for me as well. I have: tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2C 7.5.5)

[NTG-context] running ConTeXt from the new DVD

2005-12-27 Thread Mojca Miklavec
Hello, I just got the new DVD, TeX Collection 2005, tried to run cdemo.bat and to compile one of the sample documents, but: texmfstart newtexexec.rb --autopdf --pdf demo-tex.tex TeXExec | processing document 'demo-tex.tex' TeXExec | provide ctx file TeXExec | tex processing method: context

Re: [NTG-context] Weird things...

2005-12-27 Thread Hans Hagen
Fabio Mancinelli wrote: Hi all... I would like to report a weird behavior when compiling the attached tex file... ah. that one took me a while .. in page-lyr.tex, \chardef\layerpagebox\csname\@@layerbox#2\currentlayer\layerpage\endcsname

Re: [NTG-context] Weird things...

2005-12-27 Thread Hans Hagen
Taco Hoekwater wrote: Fabio Mancinelli wrote: Why this happens? Because an interal ConTeXt macro (\dododosetlayer) is calling a TeX primitive (\chardef) with a number that is higher than 256. That number has become so high because of the columnset definitions, which is why changing the

Re: [NTG-context] running ConTeXt from the new DVD

2005-12-27 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I just got the new DVD, TeX Collection 2005, tried to run cdemo.bat and to compile one of the sample documents, but: texmfstart newtexexec.rb --autopdf --pdf demo-tex.tex TeXExec | processing document 'demo-tex.tex' TeXExec | provide ctx file TeXExec |

Re: [NTG-context] no 'D' in math-eul.tex

2005-12-27 Thread Hans Hagen
Johan Sandblom wrote: In May I discovered that there was a typo in math-eul.tex rendering the lower-case 'd' an 'e'. Amazingly, the same problem occurs also for the upper-case 'D', and requires changing the line \definemathcharacter [D] [nothing] [mr] [45] into \definemathcharacter [D]

[NTG-context] description question (bis)

2005-12-27 Thread VnPenguin
Hi, I have another question about description list : How to make description list with idented text, not header ? Example: This is header This is the text of description. This is the text of description. This is the text of description. This is the text of description. This is

[NTG-context] It works, passing text

2005-12-27 Thread David Arnold
Taco, I have something that works. Thanks for hanging in there with me. %output=pdf \setupcolors[state=start] \definecolor[gridlines][s=0.7] \startMPinclusions color gridlines; gridlines:=\MPcolor{gridlines}; vardef create_grid(expr xxmin,xxmax,xxscl,yymin,yymax,yyscl,uux,uuy)= for

Re: [NTG-context] \definedescription question

2005-12-27 Thread Hans Hagen
Willi Egger wrote: Hi, Her the following works: \definedescription [Desc] [location=top,hang=3,headstyle={\color[red]}] or \definedescription [Desc] [location=top,hang=3,headstyle={\switchtobodyfont[34pt]\bf\color[red]}] Willi VnPenguin wrote: Hi all, I'm trying to define

Re: [NTG-context] description question (bis)

2005-12-27 Thread Hans Hagen
VnPenguin wrote: Hi, I have another question about description list : How to make description list with idented text, not header ? Example: This is header This is the text of description. This is the text of description. This is the text of description. This is the text of

Re: [NTG-context] \setupMPvariables in \startMPpage

2005-12-27 Thread Hans Hagen
David Arnold wrote: All, Why doesn't this work? %output=pdf \startuseMPgraphic{usquare} draw unitsquare scaled 4cm; \stopuseMPgraphic \starttext \startMPpage \useMPgraphic{square} \stopMPpage \stoptext because you nest a graphic, kind of beginfig(1) beginfig(2) draw unitsquare

Re: [NTG-context] \setupMPvariables in \startMPpage

2005-12-27 Thread Hans Hagen
David Arnold wrote: Why doesn't this work? %output=pdf \startuseMPgraphic{usquare} draw unitsquare scaled \MPvar{u}; \stopuseMPgraphic \starttext \startMPpage \setupMPvariables[usquare][u=4cm] \includeMPgraphic{usquare} \stopMPpage \stoptext because (1) after startMPpage metapost code

Re: [NTG-context] hlingrid text t parameter?

2005-12-27 Thread Hans Hagen
David Arnold wrote: All, In mp-grid.mp, I find this definition: def hlingrid (expr Min, Max, Step, Length, Width) text t = image ( for i=Min step Step until Max+grid_eps : draw (origin--(Width,0)) shifted (0,i*(Length/Max)) t ; endfor ; ) ; enddef ; See the text t at the end of the

Re: [NTG-context] \startMPpage ... \stopMPpage

2005-12-27 Thread Hans Hagen
David Arnold wrote: % \startMPpage % \includeMPgraphic{EnglishRule} % \stopMPpage you can only include a simple usable graphic, defined with \startuseMPgraphic; unique mp graphics are more tricky and involve (once we have lua in tex we can find ways around this since then we can (1)

Re: [NTG-context] more font packages

2005-12-27 Thread Hans Hagen
Taco Hoekwater wrote: Henning Hraban Ramm wrote: Here's a present for you: http://www.fiee.net/texnique/?menu=0-1-4 I made some more font packages and also published some symbol packages (Apostrophe HardTalk, FontShop FFDingbests, Klein RudolfsBats and my own Unitas2). The additional

Re: [NTG-context] more font packages

2005-12-27 Thread Hans Hagen
Taco Hoekwater wrote: Henning Hraban Ramm wrote: Here's a present for you: http://www.fiee.net/texnique/?menu=0-1-4 I made some more font packages and also published some symbol packages (Apostrophe HardTalk, FontShop FFDingbests, Klein RudolfsBats and my own Unitas2). The additional

Re: [NTG-context] description question (bis)

2005-12-27 Thread VnPenguin
On 12/27/05, Hans Hagen [EMAIL PROTECTED] wrote: ugly but working: \setupcolors[state=start] \definedescription [Desc] [location=top, hang=3, headstyle=bold, headcolor=red, command=\hskip-2cm, margin=2cm] \starttext \input tufte \startDesc {test}

Re: [NTG-context] more font packages

2005-12-27 Thread Taco Hoekwater
Hans Hagen wrote: Wow! I am going to create a texmf-hraban tree. :-) nice indeed! I settled for texmf-fonts, actually. I have a bunch of other (commercial) fonts as well, so it made sense to group those together, apart from my private macro files. suggestion: put the typescripts under

Re: [NTG-context] description question (bis)

2005-12-27 Thread VnPenguin
On 12/27/05, VnPenguin [EMAIL PROTECTED] wrote: On 12/27/05, Hans Hagen [EMAIL PROTECTED] wrote: ugly but working: \setupcolors[state=start] \definedescription [Desc] [location=top, hang=3, headstyle=bold, headcolor=red, command=\hskip-2cm,

[NTG-context] function machine

2005-12-27 Thread David Arnold
Hans, Taco, et al, This is getting pretty close to the limit of my expertise. The good stuff of it is stolen from Metafun and mp-func.mp. Because of the way I handle clipping the path, p:=p cutbefore cpath; p:=reverse p; p:=p cutbefore cpath; this will only work on functions (like