Re: [NTG-context] MetaPost Animation

2010-04-16 Thread Boštjan Vesnicer
Hi Troy Here is a simple solution: \def\MyGraphics#1{% \startMPcode path p,q; p:=fullcircle scaled 72; L:=length p; N:=20; q:=subpath (0,#1/N*L) of p; draw q withcolor red; fill fullcircle scaled 3 shifted point length q of q withcolor blue; setbounds currentpicture to unitsquare shifted

Re: [NTG-context] MetaPost Animation

2010-04-16 Thread Hans Hagen
On 16-4-2010 9:36, Boštjan Vesnicer wrote: Hi Troy Here is a simple solution: \def\MyGraphics#1{% \startMPcode path p,q; p:=fullcircle scaled 72; L:=length p; N:=20; q:=subpath (0,#1/N*L) of p; draw q withcolor red; fill fullcircle scaled 3 shifted point length q of q withcolor blue; setbounds

[NTG-context] entities in xml

2010-04-16 Thread Hans van der Meer
I find some strange things happening with a few entities in the processing of xml. Or am I mistaken, of course. But enlightment would be appreciated. lt; produces but gt; produces too, mirabile dictu (#062; correctly produces ) amp; makes the rest of the contents of the xml-node

Re: [NTG-context] code

2010-04-16 Thread R. Bastian
On Fri, 09 Apr 2010 12:00:05 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 09.04.10 11:20, schrieb R. Bastian: Hello, how to translate in context the following plain tex: \font\fgras = cmbtt10 {\tt {\obeylines {\fgras def} ra(): \ \ \ \ a = 3 \ \ \ \ b

Re: [NTG-context] code

2010-04-16 Thread luigi scarso
On Fri, Apr 16, 2010 at 11:31 AM, R. Bastian rbast...@free.fr wrote: 1. I use 'context -result=y source.tex'; is this mkii or mkiv ? It's mkiv For mkii use $ texexec source.tex -- luigi ___ If your question is

Re: [NTG-context] code

2010-04-16 Thread R. Bastian
On Fri, 16 Apr 2010 11:31:00 +0200 R. Bastian rbast...@free.fr scribit: On Fri, 09 Apr 2010 12:00:05 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 09.04.10 11:20, schrieb R. Bastian: Hello, how to translate in context the following plain tex:

Re: [NTG-context] code

2010-04-16 Thread Wolfgang Schuster
Am 16.04.10 11:31, schrieb R. Bastian: 2. what is the Context font for cmitt10 ? ConTeXt use Latin Modern by default, to get italic typewriter you can write \tt\it ... or \ttit ... or \definefont[italictypewriter][MonoItalic] and use the font with \italictypewriter ... or

Re: [NTG-context] code

2010-04-16 Thread R. Bastian
On Fri, 16 Apr 2010 11:36:47 +0200 luigi scarso luigi.sca...@gmail.com scribit: On Fri, Apr 16, 2010 at 11:31 AM, R. Bastian rbast...@free.fr wrote: 1. I use 'context -result=y source.tex'; is this mkii or mkiv ? It's mkiv For mkii use $ texexec source.tex ok, but there is a bug in mkii:

Re: [NTG-context] code

2010-04-16 Thread Wolfgang Schuster
Am 16.04.10 11:46, schrieb R. Bastian: 2. what is the Context font for cmitt10 ? {\it{} ...} works - but i would the same as \bold{} \italic{...} Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] code

2010-04-16 Thread luigi scarso
On Fri, Apr 16, 2010 at 11:49 AM, R. Bastian rbast...@free.fr wrote: On Fri, 16 Apr 2010 11:36:47 +0200 luigi scarso luigi.sca...@gmail.com scribit: On Fri, Apr 16, 2010 at 11:31 AM, R. Bastian rbast...@free.fr wrote: 1. I use 'context -result=y source.tex'; is this mkii or mkiv ? It's mkiv

Re: [NTG-context] code

2010-04-16 Thread R. Bastian
On Fri, 16 Apr 2010 11:54:57 +0200 luigi scarso luigi.sca...@gmail.com scribit: On Fri, Apr 16, 2010 at 11:49 AM, R. Bastian rbast...@free.fr wrote: On Fri, 16 Apr 2010 11:36:47 +0200 [...] so i use context sorry, I don't understand --- can you post a minimal example ? no, _i_ was the

Re: [NTG-context] MetaPost Animation

2010-04-16 Thread Troy Henderson
\def\MyGraphics#1{% Thanks for the replies folks. The example that I posted is a simple example. The example that I'm working on (displaying successive terms in a Taylor series) requires a bit of computations, and I don't want to have to go back and do each computation for each value of #1.

Re: [NTG-context] entities in xml

2010-04-16 Thread Hans Hagen
On 16-4-2010 10:45, Hans van der Meer wrote: I find some strange things happening with a few entities in the processing of xml. Or am I mistaken, of course. But enlightment would be appreciated. lt; produces but gt; produces too, mirabile dictu (#062; correctly produces ) patch line 352 in

[NTG-context] \hyphenation ignored

2010-04-16 Thread Marco
Hi, I've a problem with the command \hyphenation. It does not seem to work for me. See following MWE: \mainlanguage [de] \starttext \hyphenation{Index-eintrag} \hyphenatedword{Indexeintrag} % Gives Inde-xein-trag \stoptext In this example the word »Indexeintrag« is mishyphenated. I expect to

Re: [NTG-context] MetaPost Animation

2010-04-16 Thread Boštjan Vesnicer
If I have two different \startMPcode ... \stopMPcode sections, is there a way (perhaps it does this by default) to have the variables stored in the first block available in the second block? In pure MetaPost, I can do numeric a:=4; beginfig(1); label(decimal(a),origin); endfig;

Re: [NTG-context] MetaPost Animation

2010-04-16 Thread Wolfgang Schuster
Am 16.04.10 14:51, schrieb Troy Henderson: If I have two different \startMPcode ... \stopMPcode sections, is there a way (perhaps it does this by default) to have the variables stored in the first block available in the second block? In pure MetaPost, I can do numeric a:=4; beginfig(1);

[NTG-context] Hyphenation of composed words

2010-04-16 Thread Marco
Hi, I've yet another hyphenation problem. I cannot get proper hyphenation in composed words. Take this MWE: \setuplayout [width=1.5cm] \starttext composed-word\par % not hyphenated, as expected composed||word\par % wrong: hyphenated, but an en-dash is used, %

[NTG-context] thinrules

2010-04-16 Thread Hans van der Meer
\thinrules disappear when then are the lone item and I can make them appear only by typeing somthing behind/before. However, I would to force a thin rule anyway, even if there is no surrounding text. How? Hans van der Meer

[NTG-context] lua, footnotes, interaction

2010-04-16 Thread Philipp Gesang
Good evening all, interaction remains a mystery to me. When tracking things I encountered the following deviation in footnotes: ---8-- \startluacode track = {} track.preceding = function track.simple(arg)

Re: [NTG-context] thinrules

2010-04-16 Thread Hans Hagen
On 16-4-2010 10:57, Hans van der Meer wrote: \thinrules disappear when then are the lone item and I can make them appear only by typeing somthing behind/before. However, I would to force a thin rule anyway, even if there is no surrounding text. How? put something invisible in front, \strut or

Re: [NTG-context] Hyphenation of composed words

2010-04-16 Thread Hans Hagen
On 16-4-2010 4:46, Marco wrote: Hi, I've yet another hyphenation problem. I cannot get proper hyphenation in composed words. Take this MWE: a mix up of settings .. fized in next beta -

Re: [NTG-context] code

2010-04-16 Thread R. Bastian
On Fri, 09 Apr 2010 12:00:05 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: \setuplines[space=on] \starttext \startlines\tt %\startlines[style=mono] % works only in MkIV compiled by context (== mak iv ?) \startlines[style=mono] prints [style=mono] {\bf def} ra():

Re: [NTG-context] Hyphenation of composed words

2010-04-16 Thread Marco
I've yet another hyphenation problem. I cannot get proper hyphenation in composed words. Take this MWE: a mix up of settings .. fized in next beta Thank you. ___ If your question is of interest to others as

Re: [NTG-context] code

2010-04-16 Thread Wolfgang Schuster
Am 16.04.10 23:41, schrieb R. Bastian: %\startlines[style=mono] % works only in MkIV compiled by context (== mak iv ?) \startlines[style=mono] prints [style=mono] Direct setups are now gone because they produced unwanted side effects. What you can in Mark 4 (MkIV) is to define you own