[NTG-context] Iwona Heavy and Math

2006-06-25 Thread Aditya Mahajan
Hi, I am simply trying out different math fonts available, and found iwona-heavy to be "strange". Look at the output of \usetypescript [iwona-heavy][ec] \setupbodyfont[iwona-heavy,ss,11pt] \starttext This is some test \startformula \Pr(A = B) = \frac 12 \stopformula \stoptext The math is m

Re: [NTG-context] Iwona Heavy and Math

2006-06-25 Thread Aditya Mahajan
On Sun, 25 Jun 2006, Aditya Mahajan wrote: > Hi, > I am simply trying out different math fonts available, and found > iwona-heavy to be "strange". Look at the output of For greater constrast try \usetypescript [iwona-heavy][ec] \setupbodyfont[iwona-heavy,ss,11pt] \starttext This is some test $

Re: [NTG-context] arab (omega)

2006-06-25 Thread Taco Hoekwater
Idris Samawi Hamid wrote: > But the otp makes exceptions for the following punctuation: > > + - . > > If we get rid of those exceptions the separator problem will go away. But > then math will be messed up. The problem is that the My guess is you could just remove the punctuation support from

Re: [NTG-context] Calligraphic Font with palatino and euler

2006-06-25 Thread Aditya Mahajan
On Tue, 13 Jun 2006, Aditya Mahajan wrote: > On Sat, 8 Apr 2006, Aditya Mahajan wrote: > >> Hi, >> When I use palatino and euler, I do not get calligraphic font. How >> can I define a typescript to use the calligraphic font from lm. >> >> This is my setup >> >> \definetypeface [pal] [rm] [serif]

Re: [NTG-context] Iwona Heavy and Math

2006-06-25 Thread Taco Hoekwater
Aditya Mahajan wrote: > On Sun, 25 Jun 2006, Aditya Mahajan wrote: > > >>Hi, >> I am simply trying out different math fonts available, and found >>iwona-heavy to be "strange". Look at the output of > > The relevant definition block is missing from type-syn.tex: \starttypescript [sans] [iwona-

Re: [NTG-context] Calligraphic Font with palatino and euler

2006-06-25 Thread Taco Hoekwater
Aditya Mahajan wrote: > Why is eusm not used with \cal? Context uses zeusm10 as the sy font > and zeusm should contain eusm (atleast this is what I understand from > ftp://tug.ctan.org/pub/tex-archive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex) > What is missing from math-eul.tex? N

Re: [NTG-context] Newbie questions

2006-06-25 Thread Mojca Miklavec
On 6/24/06, Thomas Moore wrote: > 1. I have successfully set up a doublesided layout that has a text > column and an outer margin for margin notes and some small figures. I > would like to set up a header that has the chapter number and name > (e.g. "3. Third Chapter Name") on the inner edge of t

[NTG-context] continuous numbering of subsection

2006-06-25 Thread Ulf Martin
Dear ConTeXt Experts I am still sometimes confused about how to set up simple things... I want to have a subsection level head type ("topic") with a numbering that runs undependently from the section numbering, like so: 1. First Topic ... I. Section One ... 2. Second Topic ... 3. Third Topic

Re: [NTG-context] arab (omega)

2006-06-25 Thread Hans Hagen
Idris Samawi Hamid wrote: > I found the problem: > > In uni2cuni.otp the numbering handling does two things: > > It DOES isolate non-numerals as separators within a given expression. So > placing an Arabic letter between two numbers > > 5792ر684 > > processes fine; each individual number gets rev

Re: [NTG-context] Iwona Heavy and Math

2006-06-25 Thread Hans Hagen
Taco Hoekwater wrote: > Aditya Mahajan wrote: > >> On Sun, 25 Jun 2006, Aditya Mahajan wrote: >> >> >> >>> Hi, >>> I am simply trying out different math fonts available, and found >>> iwona-heavy to be "strange". Look at the output of >>> >> > The relevant definition block is mi

Re: [NTG-context] Calligraphic Font with palatino and euler

2006-06-25 Thread Hans Hagen
Taco Hoekwater wrote: > Aditya Mahajan wrote: > >> Why is eusm not used with \cal? Context uses zeusm10 as the sy font >> and zeusm should contain eusm (atleast this is what I understand from >> ftp://tug.ctan.org/pub/tex-archive/fonts/eulervm/source/latex/eulervm/fontinst/fontevm.tex) >> What

Re: [NTG-context] Newbie questions

2006-06-25 Thread Hans Hagen
Thomas Moore wrote: > The Six Ideas texts (first edition) were typeset as AppleWorks > drawings, if you can believe it. To go to the third edition, I have > to migrate to something more modern -- either InDesign or something > TeX-based. Problems with figure and equation references, indexing

Re: [NTG-context] arab (omega)

2006-06-25 Thread Hans Hagen
Idris Samawi Hamid wrote: > Why is this? > > tex itself does things, like with fi not being the same as f{}i [no lig building] and since otp's may insert things as well abc may different may differen from a{}b{}c (i must admit that i don't know when an otp stops scanning, i suppose at an unex

Re: [NTG-context] continuous numbering of subsection

2006-06-25 Thread Hans Hagen
Ulf Martin wrote: > Dear ConTeXt Experts > > I am still sometimes confused about how to set up simple things... > > I want to have a subsection level head type ("topic") with a numbering > that runs undependently from the section numbering, like so: > > 1. First Topic > ... > > I. Section One > ..

Re: [NTG-context] Newbie questions

2006-06-25 Thread Hans Hagen
Mojca Miklavec wrote: > > \definelayer > [page] > [width=\paperwidth, >height=\paperheight] > \setupbackgrounds > [page] > [background=page] > \setlayerframed > [page] > [voffset=\topspace, > > hoffset=\the\dimexpr\backspace-\leftmarginwidth-\left

Re: [NTG-context] Calligraphic Font with palatino and euler

2006-06-25 Thread Aditya Mahajan
On Sun, 25 Jun 2006, Hans Hagen wrote: > Taco Hoekwater wrote: >> Aditya Mahajan wrote: >> >>> Why is eusm not used with \cal? Context uses zeusm10 as the sy font >>> and zeusm should contain eusm (atleast this is what I understand from >>> ftp://tug.ctan.org/pub/tex-archive/fonts/eulervm/source/l

Re: [NTG-context] Iwona Heavy and Math

2006-06-25 Thread Aditya Mahajan
On Sun, 25 Jun 2006, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> On Sun, 25 Jun 2006, Aditya Mahajan wrote: >> >> >>> Hi, >>> I am simply trying out different math fonts available, and found >>> iwona-heavy to be "strange". Look at the output of >> >> > The relevant definition block is missin

Re: [NTG-context] continuous numbering of subsection

2006-06-25 Thread Ulf Martin
Hi Hans Hagen schrieb: > \setuphead [chapter][resetnumber=no] > \setupsection[section][previousnumber=no] Ok, I undestand. I apologise that my example was too short. I'd like to have things more flexible: If an arbitrary and irregular number of levels is introduced (sections, subsections,

Re: [NTG-context] arab (omega)

2006-06-25 Thread Idris Samawi Hamid
On Sun, 25 Jun 2006 02:08:37 -0600, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > My guess is you could just remove the punctuation support from the > current OTP. If a user really needs to say "1.2 million", (s)he can > just write $1.2$ instead, which is more or less standard TeX > practice anyw

Re: [NTG-context] arab (omega)

2006-06-25 Thread Idris Samawi Hamid
On Sun, 25 Jun 2006 10:01:03 -0600, Hans Hagen <[EMAIL PROTECTED]> wrote: > isn't it simplier then to disable otp's in math mode >> What I could do is define two filter sequences: UTFArabic and >> UTFArabicMath. Hans, could you do a conditional that calls up one in >> math >> mode and the other

[NTG-context] Clipping again

2006-06-25 Thread David Arnold
Hi, I confess I got some earlier advice on this issue, but I've never been able to apply it to find a resolution. In the buffer that follows, I define a clipping box: % clipping path path cpath; cpath:=(-5,-5)--(5,-5)--(5,5)--(-5,5)--cycle; cpath:=cpath scaled 1u; A function is created and s

Re: [NTG-context] Clipping again

2006-06-25 Thread Mojca Miklavec
On 6/25/06, David Arnold wrote: > Unfortunately, even though this works, mathematicians really want > arrows at each end of the graph. Easy enough to do with drawdblarrow > P withcolor blue, but the arrows then get clipped. What I really need > is to adapt the code below so that my function is clip

[NTG-context] inside halign

2006-06-25 Thread Hans van der Meer
This works:\def\dodotablexrule[#1][#2]{\noalign{\color[#2]{\hrule height#1 [EMAIL PROTECTED]But doing inside halign (tables) things like:\def\tablexrule{\dodoubleargument\dotablexrule}\def\dotablexrule[#1][#2]{% \doifemptyelse{#2}% {\dodotablexrule[#1][\@@tbxframecolor]}% {\dodotablexrule[#1][#2]

Re: [NTG-context] arab (omega)

2006-06-25 Thread Idris Samawi Hamid
Dear gang, I have redone this. Now there are two filter sequences, one for main text and one for using the arabic-font digits in math mode. http://wiki.contextgarden.net/Aleph_Guide#Installing has been updated, get the new uni2cuni.zip. I'll update m-gamma soon so this will be part of the di

Re: [NTG-context] Clipping again

2006-06-25 Thread David Arnold
Mojca, Good question of course. However, I am using this for intermediate algebra students so the graphs will be lines, absolute value, quadratics, polynomials, rational functions, radical functions, exponential and logarithmic functions. In each case, I would adjust the window to see all

Re: [NTG-context] Clipping again

2006-06-25 Thread Mojca Miklavec
On 6/25/06, David Arnold wrote: > That is, I would choose a boundary that would present arrow heads at > each end of the curve. In the case of rational functions, I would > clip each branch separately. > > I hope this answers the question. So that necessary means an arrowhead each time when a func

Re: [NTG-context] Clipping again

2006-06-25 Thread Hans Hagen
David Arnold wrote: > Hi, > > I confess I got some earlier advice on this issue, but I've never > been able to apply it to find a resolution. In the buffer that > follows, I define a clipping box: > > % clipping path > path cpath; > cpath:=(-5,-5)--(5,-5)--(5,5)--(-5,5)--cycle; > cpath:=cpath s

[NTG-context] INstall minimal context system.

2006-06-25 Thread John R. Culleton
I downloaded the justtex.zip and the context-linux.zip files into a work directory /usr/local/cont and unzipped them. Then I cd to the tex directory under that work directory. I made the the setuptex file executable and executed it with no apparent effect. Then I changed the path to point to /usr

Re: [NTG-context] INstall minimal context system.

2006-06-25 Thread Idris Samawi Hamid
On Sun, 25 Jun 2006 17:27:41 -0600, John R. Culleton <[EMAIL PROTECTED]> wrote: > I downloaded the justtex.zip and the context-linux.zip files > into a work directory /usr/local/cont and unzipped them. Then I > cd to the tex directory under that work directory. I made the > the setuptex file exe

Re: [NTG-context] Clipping again

2006-06-25 Thread David Arnold
Not necessary. Let me add comments to my code in places where I need help. My comments are marked with [DA 6/25]. \startbuffer numeric w,h; w=4cm;h=4cm; % inititialize numerator and denominator of the slope of f numeric a; a=1.5; % initialize choice of function numeric choice; choice=2;

Re: [NTG-context] INstall minimal context system.

2006-06-25 Thread Aditya Mahajan
On Sun, 25 Jun 2006, Idris Samawi Hamid wrote: > On Sun, 25 Jun 2006 17:27:41 -0600, John R. Culleton > <[EMAIL PROTECTED]> wrote: > >> I downloaded the justtex.zip and the context-linux.zip files >> into a work directory /usr/local/cont and unzipped them. Then I >> cd to the tex directory under t

[NTG-context] Hiding subanswers

2006-06-25 Thread David Arnold
All, We are currently using this as one of our environment files: \definehead[unnumberedsubsection][subsection] \setuphead[unnumberedsubsection][number=no,incrementnumber=no] \defineenumeration[questions][location=serried,text=\blank] \setupenumerations[questions][before={\page[yes]\unnumberedsub