[NTG-context] start-stop consistency

2005-12-28 Thread Gilles Grégoire
  Hello, I was wondering why ConTeXt doesn't use a syntax like \startsomething \stopsomething for chapters, sections, etc. So I had a look on Google and found this: At 03:46 PM 6/21/2002 +0200, Giuseppe Bilotta wrote: one of the main features of both ConTeXt and LaTeX over plain TeX is

Re: [NTG-context] function machine

2005-12-28 Thread Hans Hagen
David Arnold wrote: \startMPinclusions ... \stopMPinclusions you can consider putting that code into an environment file easier to maintain Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] start-stop consistency

2005-12-28 Thread Taco Hoekwater
Gilles Grégoire wrote: Hello, I was wondering why ConTeXt doesn't use a syntax like \startsomething \stopsomething for chapters, sections, etc. So I had a look on Google and found this: I have usually have something like this in my environmentfile: \def\startchapter[#1]%

Re: [NTG-context] textext funny error

2005-12-28 Thread Hans Hagen
David Arnold wrote: Hans, Taco, et al, I have a funny error involving textext. If I do two compiles of the following code, saved a junk6.tex, with: texexec junk6 texexec junk6 how about texexec --mptex junk6-mpgraph.mp ___ ntg-context mailing

Re: [NTG-context] textext funny error

2005-12-28 Thread Taco Hoekwater
David Arnold wrote: Hans, Taco, et al, I have a funny error involving textext. If I do two compiles of the following code, saved a junk6.tex, with: texexec junk6 texexec junk6 This produces a file junk6.pdf that looks as it should. However, if I compile the junk6-mpgraph.mp that is

Re: [NTG-context] start-stop consistency

2005-12-28 Thread Hans Hagen
Gilles Grégoire wrote: Hello, I was wondering why ConTeXt doesn't use a syntax like \startsomething \stopsomething for chapters, sections, etc. So I had a look on Google and found this: I see you planned to include the \start-\stop thing in ConTeXt, I even understand that you

[NTG-context] expert font access

2005-12-28 Thread Henning Hraban Ramm
Ahoi! One decorative font that I use contains some additional (swashed etc.) characters. At the moment I access them like this: \def\DelitschC#1{\getglyph{\defaultencoding-raw-delitschantiqua} {\char#1}} \definetextmodediscretionary A {\DelitschC{197}} So I get the alternative A as |A|,

Re: [NTG-context] expert font access

2005-12-28 Thread Siep Kroonenberg
On Wed, Dec 28, 2005 at 10:49:20AM +0100, Henning Hraban Ramm wrote: Ahoi! One decorative font that I use contains some additional (swashed etc.) characters. At the moment I access them like this: \def\DelitschC#1{\getglyph{\defaultencoding-raw-delitschantiqua} {\char#1}}

[NTG-context] color in textext

2005-12-28 Thread Hans van der Meer
I'm trying to play with colors in textext inclusions: \setupcolors[state=start] \setupMPpage[offset=2mm] \startuseMPgraphic{test} label(textext(\color[green]{XYZ}), (0,0)); \stopuseMPgraphic \starttext \forceMPTEXgraphictrue \startMPpage \includeMPgraphic{test} \stopMPpage

[NTG-context] byte order marks in utf-8 (old)

2005-12-28 Thread Taco Hoekwater
Hi, A long time ago, Hans wrote: Patrick Gundlach wrote: are you sure that your scite does not use utf-16 and puts the BOM (byte order mark) there? scite indeed does this (kind of annoying) It is the BOM, in utf-8 file encoding. A bit pointless (utf-8 is based on opcodes instead of byte

[NTG-context] accents in math

2005-12-28 Thread Peter Münster
Hello, \enableregime[il1] \starttext This used to work once upon a time, but now the ö is not ok: $\hbox{löslich}$ This seems to be a workaround: $\displaystyle\text{löslich}$ \stoptext Bug or new feature? Cheers, Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] accents in math

2005-12-28 Thread Hans Hagen
� wrote: Hello, \enableregime[il1] \starttext This used to work once upon a time, but now the � is not ok: $\hbox{l�slich}$ This seems to be a workaround: $\displaystyle\text{l�slich}$ \stoptext Bug or new feature? it depends on what ? is Hans

Re: [NTG-context] color in textext

2005-12-28 Thread Hans Hagen
Hans van der Meer wrote: I'm trying to play with colors in textext inclusions: \setupcolors[state=start] \setupMPpage[offset=2mm] \startuseMPgraphic{test} label(textext(\color[green]{XYZ}), (0,0)); \stopuseMPgraphic \starttext \forceMPTEXgraphictrue \startMPpage \includeMPgraphic{test}

Re: [NTG-context] accents in math

2005-12-28 Thread Taco Hoekwater
Hans Hagen wrote: it depends on what ? is Try this: $\hbox{l\odiaeresis slich}$ vs. $\text{l\odiaeresis slich}$ It is the difference between \hbox and \text that does it, not the regime. Cheers, Taco ___ ntg-context mailing list

Re: [NTG-context] start-stop consistency

2005-12-28 Thread schaouette
Selon Hans Hagen [EMAIL PROTECTED]: Gilles Grégoire wrote: Hello, I was wondering why ConTeXt doesn't use a syntax like \startsomething \stopsomething for chapters, sections, etc. So I had a look on Google and found this: I see you planned to include the \start-\stop thing in

[NTG-context] problem with starttable and subscript

2005-12-28 Thread Peter Münster
Hello, the problem with the following example is, that the last X touches the line. \starttext \starttable[|p(2em)|] \NC $X^X$ $X_X^-$ \NC\AR \HL \stoptable \stoptext TIA for any help! Greetings, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context

Re: [NTG-context] accents in math

2005-12-28 Thread Peter Münster
On Wed, 28 Dec 2005, Hans Hagen wrote: $\hbox{l?slich}$ This seems to be a workaround: $\displaystyle\text{l?slich}$ \stoptext Bug or new feature? it depends on what ? is Hello Hans, that means, that your email-reader does not show 8-bit characters?? I believed that this would

Re: [NTG-context] accents in math

2005-12-28 Thread Hans Hagen
� wrote: On Wed, 28 Dec 2005, Hans Hagen wrote: $\hbox{l?slich}$ This seems to be a workaround: $\displaystyle\text{l?slich}$ \stoptext Bug or new feature? it depends on what ? is Hello Hans, that means, that your email-reader does not show 8-bit characters?? I believed

[NTG-context] pushed text in description

2005-12-28 Thread Peter Münster
Hello, Taco said on http://context.literatesolutions.com/collector/66 that the new \txt should solve my problem, but I cannot find the right way. If nobody knows a solution, perhaps I'm going to translate the LaTeX macros to ConTeXt (at least trying to ...). Here is the LaTeX-code, that does the

Re: [NTG-context] function machine

2005-12-28 Thread Mojca Miklavec
Please, put this example on the wiki (together with some sample images that can be created, with or without some cheating). The community would be greatful for that. 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

Re: [NTG-context] \celsius and \inch

2005-12-28 Thread Taco Hoekwater
Peter Münster wrote: Hello, a suggestion for \celsius in core-mis.tex: \def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC} As is (perhaps) normal for this kind of thing, the \, depends on your local typesetting tradition, and the \kern-0.1em depends on the used font family. That is not

Re: [NTG-context] textext funny error

2005-12-28 Thread David Arnold
Hans, Taco, Of course. Thanks. On Dec 28, 2005, at 1:31 AM, Taco Hoekwater wrote: David Arnold wrote: Hans, Taco, et al, I have a funny error involving textext. If I do two compiles of the following code, saved a junk6.tex, with: texexec junk6 texexec junk6 This produces a file

Re: [NTG-context] \celsius and \inch

2005-12-28 Thread Hans Hagen
� wrote: Hello, a suggestion for \celsius in core-mis.tex: \def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC} The symbol for \inch is strange: }. What is \char125 supposed to be, doesn't it depend on the font encoding? indeed ... what \symbolicnameofquotes do you suggest? i never use

Re: [NTG-context] \celsius and \inch

2005-12-28 Thread Hans Hagen
Taco Hoekwater wrote: Peter M�nster wrote: Hello, a suggestion for \celsius in core-mis.tex: \def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC} As is (perhaps) normal for this kind of thing, the \, depends on your local typesetting tradition, and the \kern-0.1em depends on the used

Re: [NTG-context] \celsius and \inch

2005-12-28 Thread Hans Hagen
Taco Hoekwater wrote: Peter M�nster wrote: Hello, a suggestion for \celsius in core-mis.tex: \def\celsius#1{#1\,\mathematics{^\circ}\kern-0.1emC} As is (perhaps) normal for this kind of thing, the \, depends on your local typesetting tradition, and the \kern-0.1em depends on the used

Re: [NTG-context] function machine

2005-12-28 Thread David Arnold
Mojca, I've used clip currentpicture to cpath before, then saved the result, draw the grid, draw the axes, then draw the saved clipped picture. But, you're right, I can't use drawdblarrow then. In our classes, the drawdblarrow is important, having the same meaning as the ellipsis in 1,

Re: [NTG-context] \celsius and \inch

2005-12-28 Thread Taco Hoekwater
Hans Hagen wrote: i wonder what happens with the symbol when one uses it this way: \usemodule[unit] 10 \Square \Inch I believe the shortcut forms are only ever used for distances, never for areas. So a rectangle with sides 2 by 4 has 8in^2 surface area. Taco

Re: [NTG-context] color in textext

2005-12-28 Thread Hans van der Meer
I'm sorry, I ran it in a few variations, but neither does work here: \setupcolors[state=start] \startMPenvironment % both with and without: [global] \setupcolors[state=start] \stopMPenvironment \setupMPpage[offset=2mm] \startuseMPgraphic{test}

[NTG-context] bold sc again

2005-12-28 Thread Peter Münster
Hello, finally I got bold small caps with the attached module. It's certainly a bad hack, but unfortunately I don't know nothing about typescripts, variants and other details about fonts in ConTeXt (it looks too complicated to me...). If somebody knows a cleaner way, feel free to update the wiki.

Re: [NTG-context] bold sc again

2005-12-28 Thread Mojca Miklavec
Peter Münster wrote: Hello, finally I got bold small caps with the attached module. It's certainly a bad hack, but unfortunately I don't know nothing about typescripts, variants and other details about fonts in ConTeXt (it looks too complicated to me...). If somebody knows a cleaner way,