Re: [NTG-context] table alignment

2010-02-25 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote: Hallo, I asked this question some times before but I can't remember if I got some answers. Sorry! I want some space on the left of \start\stoptables. What I get is SOME space, but not that what I wanted! --- \starttext vorher \setupn

Re: [NTG-context] TeX syntax -- a guide?

2010-02-25 Thread Peter Münster
On Thu, Feb 25 2010, James Fisher wrote: > Obviously I don't expect answers to all these here, but can someone point me > to somewhere on the 'net that could answer them? The only other > possibilities I can see are buying an expensive copy of the TeXbook, etc. Hello James, Look for a second-han

[NTG-context] Lua fonttester error

2010-02-25 Thread Lutz Haseloff
Hi Hans Hi all, since yesterday evening (Context 2010.02.25 19:46 MKIV) the Lua fonttester doesn't work anymore. After starting it with mtxrun --script server --auto (MAPS 39, page E75 :-) I can see the Startpage in my Browser. After clicking fonttest the script breaks with following errormessage:

Re: [NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-25 Thread Troy Henderson
James, How about this. BL:=87; z0=origin; z1=(5,0); z4=dir(BL); % Intermediate point z3=10/y4*z4; z2=z3+z1; or alternatively without having to define z4 BL:=87; z0=origin; z1=(5,0); z3=10/(ypart dir(BL))*dir(BL); z2=z3+z1; ___

Re: [NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-25 Thread James Fisher
Aha! That certainly works. I suspected I would have to fall back on "low-level" trig :). Many thanks! On Fri, Feb 26, 2010 at 1:44 AM, Troy Henderson wrote: > James, > > I apologize, but the previous information that I gave you was wrong. > Try this instead: > > z0 = origin; > z1 = (5,0); > BL

Re: [NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-25 Thread Troy Henderson
James, I apologize, but the previous information that I gave you was wrong. Try this instead: z0 = origin; z1 = (5,0); BL:=87; r:=10/sind(BL); z3 = r*dir(BL); z2 = z3-z0+z1; Troy ___ If your question is of interest t

Re: [NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-25 Thread Troy Henderson
James, Try this: z0 = origin; z1 = (5,0); z3 = 10*dir(87); z2 = z3-z0+z1; Troy Henderson ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http:

[NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-25 Thread James Fisher
This isn't specifically a ConTeXt question, but via it I've run into a seemingly simple problem in METAPOST that I just can't solve. I'm trying to draw a parallelogram by specifying: (1) the length of sides parallel to the x-axis; (2) the total height of the figure; (3) one of the interior angles.

Re: [NTG-context] TeX syntax -- a guide?

2010-02-25 Thread James Fisher
Wonderful! Those were good recommendations; I shall work through them. Maybe I will buy the TeXbook eventually; however, I've just splashed out on the METAFONTbook, so I'll give it a while. On Thu, Feb 25, 2010 at 9:39 PM, Thomas A. Schmitz < thomas.schm...@uni-bonn.de> wrote: > > On Feb 25, 201

Re: [NTG-context] Math in MKIV - HOWTO

2010-02-25 Thread Vyatcheslav Yatskovsky
Hi Mojca, After trying step 1 (vusialize the font) with Times math, I have the following error: systems : begin file math.tex at line 2 (c:/contextminimal/texmf-context/tex/context/base/font-run.mkii) color : system all is global activated ! Undefined control sequence. \doshowfont ...f \s

[NTG-context] table alignment

2010-02-25 Thread Wolfgang Werners-Lucchini
Hallo, I asked this question some times before but I can't remember if I got some answers. Sorry! I want some space on the left of \start\stoptables. What I get is SOME space, but not that what I wanted! --- \starttext vorher \setupnarrower[left=3cm] \startnarrower[le

Re: [NTG-context] TeX syntax -- a guide?

2010-02-25 Thread Aditya Mahajan
On Thu, 25 Feb 2010, Thomas A. Schmitz wrote: but there's an absolutely wonderful book which you can download for free, TeX by topic, http://eijkhout.net/texbytopic/texbytopic.html Personally, I find it more accessible than the TeXbook. Also see http://www.tex.ac.uk/cgi-bin/texfaq2html?label

Re: [NTG-context] TeX syntax -- a guide?

2010-02-25 Thread Thomas A. Schmitz
On Feb 25, 2010, at 9:39 PM, James Fisher wrote: > Hi, > > > After a few days working in "do what the tutorials say" mode, I now want to > understand TeX from a programmer's mindset. I have not been able just by > practise to work out what the syntactic rules of TeX are, and I am hoping > t

[NTG-context] TeX syntax -- a guide?

2010-02-25 Thread James Fisher
Hi, After a few days working in "do what the tutorials say" mode, I now want to understand TeX from a programmer's mindset. I have not been able just by practise to work out what the syntactic rules of TeX are, and I am hoping that there is a sensible guide to this somewhere. However, searches

Re: [NTG-context] Margin terminology -- badly documented, undocumented, or misdocumented

2010-02-25 Thread James Fisher
Hi Hans, Thanks for the reply -- and sorry for the rather grumpy way in which I posed the question. The problem for me was this mysterious "width=middle", "height=middle" -- this is fairly undocumented at http://wiki.contextgarden.net/Layout . There is a mention of "width=middle", but it's just

Re: [NTG-context] context, jobnam

2010-02-25 Thread R. Bastian
On Thu, 25 Feb 2010 13:04:37 -0500 (EST) Aditya Mahajan scribit: > On Thu, 25 Feb 2010, R. Bastian wrote: > > > Hello, > > > > is there a way to get the option '--jobname= ' as in tex ? > > texexec has --passon option, so you can do > > texexec --passon="--jobname=whatever" file > > but this

Re: [NTG-context] \definetypeface broken?

2010-02-25 Thread Hans Hagen
On 25-2-2010 13:03, Yanrui Li wrote: Hi, I found '\definetypeface' can not work with beta 2010.02.24. This is a minimal example: \starttypescript[serif][test] \definefontsynonym[Serif][name:texgyrepagella] \stoptypescript \definetypeface[myfonts][rm][serif][test][default] \setupbodyfont[myf

Re: [NTG-context] context, jobnam

2010-02-25 Thread Aditya Mahajan
On Thu, 25 Feb 2010, R. Bastian wrote: Hello, is there a way to get the option '--jobname= ' as in tex ? texexec has --passon option, so you can do texexec --passon="--jobname=whatever" file but this is not implemented in context. You can however, use context --result=whatever which renam

Re: [NTG-context] Changing "chapter"-line layout

2010-02-25 Thread Wolfgang Schuster
Am 25.02.10 14:07, schrieb Hao Zheng: I have a similar question:How to put the "chapter"-line to the center of the paper? Number and text on the same line: \setuphead[chapter][align=middle] Number and text on different lines: \setuphead[chapter][alternative=middle] Wolfgang __

Re: [NTG-context] Changing "chapter"-line layout

2010-02-25 Thread Hao Zheng
I have a similar question:How to put the "chapter"-line to the center of the paper? Thanks! 2010/2/25 Wolfgang Schuster > Am 25.02.10 10:42, schrieb Daniel Stender: > > Hi guys, >> >> simple question: how can the layout of the "chapter" line be modified? >> (changing the fontsize to >> what's

[NTG-context] \definetypeface broken?

2010-02-25 Thread Yanrui Li
Hi, I found '\definetypeface' can not work with beta 2010.02.24. This is a minimal example: \starttypescript[serif][test] \definefontsynonym[Serif][name:texgyrepagella] \stoptypescript \definetypeface[myfonts][rm][serif][test][default] \setupbodyfont[myfonts] \starttext Hello world! \stopte

Re: [NTG-context] Margin terminology -- badly documented, undocumented, or misdocumented

2010-02-25 Thread R. Bastian
On Thu, 25 Feb 2010 11:23:04 +0100 Hans Hagen scribit: > On 25-2-2010 5:39, James Fisher wrote: > > Hi all. > > > > > > I am trying to understand the terminology for the \definelayout and > > \setuplayout commands. > > Unfortunately the documentation at > > http://wiki.contextgarden.net/Layoutdoe

Re: [NTG-context] Changing "chapter"-line layout

2010-02-25 Thread Wolfgang Schuster
Am 25.02.10 10:42, schrieb Daniel Stender: Hi guys, simple question: how can the layout of the "chapter" line be modified? (changing the fontsize to what's \tfb). \setuphead[chapter][style=\tfb] Wolfgang ___

Re: [NTG-context] MkII to MkIV

2010-02-25 Thread Hans Hagen
On 24-2-2010 22:32, Steffen Wolfrum wrote: Hi, typesetting an old MkII written project with MkIV today gives more then 2000 "unable to resolve" warnings, like these ... !backends : unable to resolve destination attribute 90 what does this mean? As that project did not even have 20

Re: [NTG-context] Margin terminology -- badly documented, undocumented, or misdocumented

2010-02-25 Thread Hans Hagen
On 25-2-2010 5:39, James Fisher wrote: Hi all. I am trying to understand the terminology for the \definelayout and \setuplayout commands. Unfortunately the documentation at http://wiki.contextgarden.net/Layoutdoesn't correspond to the actual output I get. Nor does the 'documentation' at http://

[NTG-context] Changing "chapter"-line layout

2010-02-25 Thread Daniel Stender
Hi guys, simple question: how can the layout of the "chapter" line be modified? (changing the fontsize to what's \tfb). Thanks in advance & greetings, DS ___ If your question is of interest to others as well, please