Re: [NTG-context] Metapost Font Question

2010-01-01 Thread David Arnold
Taco, Thanks. D. On Jan 1, 2010, at 12:26 AM, Taco Hoekwater wrote: > David Arnold wrote: >> All, >> The attached Metapost file uses the statsmac package by Anthony Phan. >> http://www-math.univ-poitiers.fr/~phan/statsmac.html >> And the package: >> mps

[NTG-context] Metapost Font Question

2009-12-31 Thread David Arnold
All,The attached Metapost file uses the statsmac package by Anthony Phan. http://www-math.univ-poitiers.fr/~phan/statsmac.htmlAnd the package:mps.tar.gzTo compile the attached file I use:mpost Untitled.mpmptopdf Untitled.1I've attached the resulting file. I am wondering why the "cm" label is set in

Re: [NTG-context] Random numbers in metapost

2009-12-31 Thread David Arnold
x27;s functions such as: poissonicdf(expr p, lambda). Inverse cumulative distribution function of P(lambda). See Anthony's manual at: http://www-math.univ-poitiers.fr/~phan/downloads/metapost/statsman.pdf David. On Dec 31, 2009, at 5:13 AM, Taco Hoekwater wrote: > David Arnold wrote

[NTG-context] Random numbers in metapost

2009-12-30 Thread David Arnold
Hi, Does anyone have any strategies for drawing random numbers from various statistics distributions in Metapost? For example, say, drawing 100 random numbers from a beta distribution? David ___ If your question is

Re: [NTG-context] tkz-2d

2009-11-10 Thread David Arnold
David Arnold: All, I've recently been playing with a fascinating package tkz-2d (http://www.texample.net/tikz/examples/tkz-2d/ and http://altermundus.fr/pages/download.html). I've been using: \usemodule[tikz] But I am wondering how I would use tkz-2d in Context. You can't use

[NTG-context] tkz-2d

2009-11-10 Thread David Arnold
All, I've recently been playing with a fascinating package tkz-2d (http://www.texample.net/tikz/examples/tkz-2d/ and http://altermundus.fr/pages/download.html). I've been using: \usemodule[tikz] But I am wondering how I would use tkz-2d in Context. David Arnold College of th

Re: [NTG-context] Tikz

2009-10-01 Thread David Arnold
Peter, I used the --extras=all and it worked! Thanks. D. On Oct 1, 2009, at 4:25 AM, Peter Münster wrote: On Wed, 30 Sep 2009, David Arnold wrote: All, After installing context minimals, this no longer compiles with MKII: \usemodule[tikz] \starttext \starttikzpicture \draw[gray] (-5,-5

Re: [NTG-context] Tikz

2009-09-30 Thread David Arnold
Ran: first-setup.sh Then: david-arnolds-macbook-pro:context darnold$ find: tikz: No such file or directory No tikz files. D. On Sep 30, 2009, at 11:17 PM, luigi scarso wrote: On Thu, Oct 1, 2009 at 8:10 AM, David Arnold > wrote: In the minmals directory: david-arnolds-macb

Re: [NTG-context] Tikz

2009-09-30 Thread David Arnold
In the minmals directory: david-arnolds-macbook-pro:context darnold$ find . grep 'tikz' find: tikz: No such file or directory On Sep 30, 2009, at 10:58 PM, luigi scarso wrote: On Thu, Oct 1, 2009 at 7:42 AM, David Arnold > wrote: All, After installing context minimals, t

[NTG-context] Tikz

2009-09-30 Thread David Arnold
All, After installing context minimals, this no longer compiles with MKII: \usemodule[tikz] \starttext \starttikzpicture \draw[gray] (-5,-5) grid (5,5); \stoptikzpicture \stoptext system : module tikz loaded (./tikz.tex system : module tikz (line 2) already loaded publicat

[NTG-context] Metafun problem

2009-09-25 Thread David Arnold
All, I've got the context minimals installed and I'm compiling the following (from the new Metafun manual) using MKIV: \startuniqueMPgraphic{name} path p; p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight; fill p withcolor .625yellow; draw p withcolor .6

Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold
suddenly latex a file? D. On Sep 23, 2009, at 2:04 PM, Hans Hagen wrote: David Arnold wrote: Hans, No. I have Mactex texlive 2008 installed and I used the rsync directions on: http://wiki.contextgarden.net/Running_Mark_IV The result is I no longer have a functioning context installation. I will

Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold
ation correct and the directions on the above page correct. D. On Sep 23, 2009, at 1:16 PM, Hans Hagen wrote: David Arnold wrote: All, After trying below, my context is now broken. david-arnolds-macbook-pro:en darnold$ texexec --help -bash: /usr/texbin/texexec: Permission denied I need help. di

Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold
Mahajan wrote: On Wed, 23 Sep 2009, David Arnold wrote: All, After trying below, my context is now broken. david-arnolds-macbook-pro:en darnold$ texexec --help -bash: /usr/texbin/texexec: Permission denied I need help. You can try to install context minimals. They will not interfere with

Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)

2009-09-23 Thread David Arnold
All, After trying below, my context is now broken. david-arnolds-macbook-pro:en darnold$ texexec --help -bash: /usr/texbin/texexec: Permission denied I need help. D. On Sep 22, 2009, at 9:58 PM, David Arnold wrote: All, I am using Mactex Texlive 2008 on a Macbook pro. I did this: sudo

[NTG-context] MKIV on Mactex Texlive 2008

2009-09-22 Thread David Arnold
All, I am using Mactex Texlive 2008 on a Macbook pro. I did this: sudo ctxtools --updatecontext After reading http://wiki.contextgarden.net/Running_Mark_IV, I tried: sudo rsync -av rsync://contextgarden.net/minimals/current/context/ current/ /usr/local/texlive/2008/texmf-dist/ sudo rsync -av

[NTG-context] Mark IV

2009-09-22 Thread David Arnold
owing instructions: http://wiki.contextgarden.net/Running_Mark_IV Are they adequate for my platform? That is, will they work if I follow them to the letter? Or do folks have other advice? Thanks. David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://mse

[NTG-context] \getmyAbstract

2009-09-18 Thread David Arnold
All, At one time I had a style file that handled my abstract. \definebuffer[myAbstract] \startmyAbstract In this activity you will learn how to solve systems of linear equations using LU decomposition, with both forward and back substitution. In addition, you will also be introduced to function

[NTG-context] PSTricks

2009-04-23 Thread David Arnold
All, Can someone give me some example code that includes a PSTricks object? Thanks. D. ___ 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] overarc

2009-03-05 Thread David Arnold
All, How can I place an overarc over some text, such as in \overarc{AB}? D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/

[NTG-context] mptopdf

2008-12-10 Thread David Arnold
All, I sent this to OS X TeX list, but perhaps I can get some guidance here? All, After installing MacTeX (textlve2008), mptopdf fails: pstricks $ mptopdf bruce This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %&-line parsing enabled. [MP to PDF] (./bruce.0{/Users/darnold/Library/texm

[NTG-context] UPdating context fails

2008-12-10 Thread David Arnold
All, Running textlive2008 on mac (MacTex). The command: sudo CtxTools --updatecontext Fails with: ! Undefined control sequence. \??cv :\c!n :\v!one \setvalue #1->\expandafter \def \csname #1 \endcsname l.618 \setvalue{\??cv:\c!n

Re: [NTG-context] Miktex 2.7 --- Remove quotes from "%*"

2008-10-01 Thread David Arnold
Wolfgang, Thanks. I am aware of this option. But my students are using Latex, so we need Miktex. What I need is to get mptopdf running in Miktex. D. On Oct 1, 2008, at 12:53 PM, Wolfgang Schuster wrote: > > Am 01.10.2008 um 21:42 schrieb <[EMAIL PROTECTED]>: > >> Mojca, >> >> OK. Removed quot

Re: [NTG-context] Miktex 2.7 --- Remove quotes from "%*"

2008-10-01 Thread David Arnold
Mojca, Ouch! Ignore my last email. You had: > Input file name: cont-en.tex But I had: > Input file name: cont-en.ini I'll have to pay more attention. I'll try this again tomorrow. D. On Oct 1, 2008, at 1:14 PM, Mojca Miklavec wrote: > On Wed, Oct 1, 2008 at 9:42 PM, <[EMAIL PRO

Re: [NTG-context] Miktex

2008-10-01 Thread David Arnold
Mojca, Thanks. On: http://blog.miktex.org/post/2008/05/ConTeXt-support.aspx At the bottom of the list, these seem to be the errors that another user reports. Please keep me informed. I need to have mptopdf working for my students in the Miktex tree. D. On Oct 1, 2008, at 11:58 AM, Mojca

Re: [NTG-context] Miktex

2008-10-01 Thread David Arnold
I'll check when I get to school. D. On Oct 1, 2008, at 10:45 AM, Mojca Miklavec wrote: > On Wed, Oct 1, 2008 at 1:57 AM, David Arnold wrote: >> Mojca, >> I saw your note on blog.miktex.org: >> If you still want to run ConTeXt on MikTeX while it has been >> r

Re: [NTG-context] Miktex

2008-09-30 Thread David Arnold
ec wrote: > On Wed, Oct 1, 2008 at 1:57 AM, David Arnold wrote: >> Mojca, >> I saw your note on blog.miktex.org: >> If you still want to run ConTeXt on MikTeX while it has been >> removed, you >> may create a file texmfstart.bat in C:\Program Files\MiKTeX 2.7

[NTG-context] Miktex

2008-09-30 Thread David Arnold
roperly, updated the filename database, then got stuck. At the dos prompt: $ texmfstart --help Worked just fine. However, $ texmfstart texexec --help Did not work. What am I missing? If I recall I'll need to do: $ texmfstart texexec --make --all Or some such thing. David Arnol

Re: [NTG-context] mswincontext.zip

2008-08-28 Thread David Arnold
I followed these directions exactly and scite is working out of the box on mswincontext.zip. To remove RubyGems from a single Ruby installation, from the site_ruby/1.8 directory of that installation, remove: * rubygems.rb (file) * rubygems (directory) If you do not have RubyGems installed in o

[NTG-context] Some Progress on Installing mswincontext.zip

2008-08-27 Thread David Arnold
0)--(5u,0); drawdblarrow (0,-5u)--(0,5u); endfig; end. David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ If your question i

[NTG-context] mswintex.zip versus mswincontext.zip

2008-08-27 Thread David Arnold
Hans et al, For our students, I need to have Miktex and at least one of these distributions (mswintex.zip or mswincontext.zip) coexisting side by side. I've got Miktex installed and working with the Texniccener IDE for student use. Now, I need to get context and metapost working properly (

Re: [NTG-context] mswincontext.zip

2008-08-27 Thread David Arnold
Hans, Idris, The only thing I know about Ruby is you used to install it in Windows so that Context thru Miktex would work. So, how do I get rid of the gems? D. On Aug 27, 2008, at 4:31 AM, Hans Hagen wrote: > [EMAIL PROTECTED] wrote: >> All, >> >> A bit frustrated as I cannot seem to get a

Re: [NTG-context] mswincontext.zip

2008-08-26 Thread David Arnold
Idris, Thanks. I'm a Mac person at home now, so I'll have to wait until tomorrow to give this a try on a windows machine at school. What I'll try (unless I get further advice from this list) is download mswincontext.zip again, uninstall it, and NOT run first-setup.bat. Regarding Ruby, I am

[NTG-context] Miktex still broken

2008-08-21 Thread David Arnold
All, The context in Miktex is still broken. Has anyone got experience installing the standalone version of context on windows alongside Miktex? And one specific question, will the mptopdf command work in this dual installation? Thanks. David Arnold College of the Redwoods Mathematics

[NTG-context] MacTex Update

2008-08-21 Thread David Arnold
All, If you have a MacTex installation, how can you safely update the context installation that comes with MacTex? David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold

[NTG-context] Context on Miktex

2008-07-04 Thread David Arnold
All,On http://blog.miktex.org/post/2008/05/ConTeXt-support.aspx I read that Miktex version of Context is broken. I also read Mojca's workaround, pasted below. Has anyone tried this and does it work? Any conflicts or difficulties?Second question: Can I get mptopdf to work in the Miktex tree without

[NTG-context] Standalone chart

2008-04-26 Thread David Arnold
All, I am trying to make a standalone chart, a single graphic to be included in a Latex file by a student. I have: \startMPinclusions \usemodule[chart] \setupFLOWcharts [option=test, nx=4, ny=3, dx=2\bodyfontsize, dy=2\bodyfontsize, width=12\bodyfontsize, height=7\bodyfontsize, maxwidth=\textw

Re: [NTG-context] ctxtools --updatecontext

2008-04-24 Thread David Arnold
Taco, Thanks. But it works in my office, but not in my colleague's office. I have gwtex and he has mactex. Admitting my ignorance, what is a proxy server? D. On Apr 23, 2008, at 11:42 PM, Taco Hoekwater wrote: > David Arnold wrote: >> All, >> >> If you run: >

[NTG-context] ctxtools --updatecontext

2008-04-23 Thread David Arnold
All, If you run: ctxtools --updatecontext And it just hangs and times out, what should you try? D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg

[NTG-context] Font problem

2008-04-18 Thread David Arnold
All, I did a fresh install on a new Macbook: MacTeX-2007 I am using Aditya's package: http://www.tug.org/pracjourn/2006-4/mahajan/ I believe I have a font problem, as in trying to compile my file I come up against what is shown below. Using my new system, how should I go about installing

[NTG-context] Unfill with anglebetween

2008-04-13 Thread David Arnold
All, I was trying to help a student today and the following came up. drawarrow anglebetween(path1, path2, btex $\theta$ etex) Is there some way to typeset the theta with an "unfilled" background? David. ___ If your

[NTG-context] Movies

2008-01-17 Thread David Arnold
All, Does anyone have any experience embedding Quicktime or other movies in Context? Either in the document itself or simply a URL that will play the movie in the the user's system player? Can anyone supply some sample code snippets? Appreciated. David Arnold http://online.redwood

[NTG-context] itemize columns three

2007-07-29 Thread David Arnold
All, Has this bug been fixed? \startitemize[a,columns,three] \item $|x|>-5$ \item $|x|>0$ \item $|x|>4$ \stopitemize ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] More on a page

2007-07-29 Thread David Arnold
All, What's the command again to force another line or two on a page? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailma

Re: [NTG-context] Bug in itemize

2007-07-13 Thread David Arnold
dwoods.edu/ IntAlgText/fall2007/chapter4/section4.pdf Example 13 on page 394. On Jul 13, 2007, at 5:09 AM, John R. Culleton wrote: > On Thursday 12 July 2007 15:46, David Arnold wrote: >> All, >> >> Think I found a bug in itemize. >> >> \starttext >> >>

[NTG-context] Bug in itemize

2007-07-12 Thread David Arnold
All, Think I found a bug in itemize. \starttext \startitemize[a,columns,three] \item $|x|>-5$ \item $|x|>0$ \item $|x|>4$ \stopitemize \stoptext On my system, the first item is not labeled, the second and third are labeled "a" and "b." gimp $ ctxtools --contextversion CtxToo

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
h-ext] \usemodule[fig-base] \usefigurebase[figures/figlibNumberSystemsExercises] On Jul 4, 2007, at 10:02 PM, Aditya Mahajan wrote: > On Wed, 4 Jul 2007, David Arnold wrote: >> >> On Jul 4, 2007, at 2:57 PM, Aditya Mahajan wrote: >> >>> On Wed, 4 Jul 2007, David Arn

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
at 2:57 PM, Aditya Mahajan wrote: > On Wed, 4 Jul 2007, David Arnold wrote: > >> Here is another example, this time not within a block, but within an >> enumeration again: > > The newmat module seems to be the culprit. After loading newmat add > > \unexpanded

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
bc.\index{equations+division} ? On Jul 4, 2007, at 12:30 PM, David Arnold wrote: > Hi, > > In setting out to update our intermediate algebra textbook for the > fall semester (http://msenux.redwoods.edu/IntAlgText/), I've found > that a file that would formerly compile unde

[NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
Hi, In setting out to update our intermediate algebra textbook for the fall semester (http://msenux.redwoods.edu/IntAlgText/), I've found that a file that would formerly compile under a previous version of context will no longer compile. Preliminaries $ ctxtools --contextversion CtxTools |

[NTG-context] Version Information on each page of text

2007-07-04 Thread David Arnold
Hi, I'd like to put the phrase "Version: Fall 2007" on each page of our intermediate algebra textbook. On even-numbered pages, I'd like to put it in the lower left corner of the page, in odd-numbered pages, I'd like it in the lower right corner of the page. I'd like it to be well below the

Re: [NTG-context] How to make \framed ignore the width of the rule

2007-06-07 Thread David Arnold
Huh? This: \starttext \newdimen\scale \scale\1mm \def\rule#1{\hrule width #1\scale} \rule{10} but you made this \def\scale{1mm} \def\rule#1{\hrule width #1\scale} \rule{10} \stoptext Got me this error: ! Undefined control sequence. l.4 \newdimen\scale \scale\1 m

Re: [NTG-context] Back to Metafun Manual

2007-06-07 Thread David Arnold
Taco, After updating my gWTeX, it now works here as well. Thanks., On Jun 7, 2007, at 12:05 AM, Taco Hoekwater wrote: > David Arnold wrote: >> All, >> >> I am wondering what is wrong with the following. On my system it > > It runs fine on my system, somehow yo

[NTG-context] Back to Metafun Manual

2007-06-06 Thread David Arnold
All, I am wondering what is wrong with the following. On my system it produces the error that follows. \setuppapersize[S6][S6] \usetypescriptonce [map] [times,helvetica,palatino] [texnansi] \usetypescriptonce [serif][times][name,texnansi] \usetypescriptonce [sans]

Re: [NTG-context] gwTeX problem (I'm back)

2007-06-06 Thread David Arnold
Context in texmf.local? 2. Which context installation does ctxtools --updatecontext update? Does it interfere with GW's installation? On Jun 6, 2007, at 9:23 AM, Aditya Mahajan wrote: > Quoting David Arnold <[EMAIL PROTECTED]>: > >> Neither option worked. I am now getting t

Re: [NTG-context] gwTeX problem

2007-06-06 Thread David Arnold
2007, at 9:23 AM, Aditya Mahajan wrote: > Quoting David Arnold <[EMAIL PROTECTED]>: > >> Neither option worked. I am now getting the famous error: >> >> Transcript written on mfput.log. >> grep: rm-lmr7.log: No such file or directory >> mktextfm: `mf-nowin

Re: [NTG-context] gwTeX problem

2007-06-06 Thread David Arnold
c --make --all. Not sure how best to proceed. Does ctxtools have an uninstall? Does ctxtools install in texmf.local by default? On Jun 6, 2007, at 9:23 AM, Aditya Mahajan wrote: > Quoting David Arnold <[EMAIL PROTECTED]>: > >> Neither option worked. I am now getting the fam

Re: [NTG-context] gwTeX problem

2007-06-06 Thread David Arnold
to do with the way gwTeX is structured: gwTeX $ ls bin lib texmf texmf.local include man texmf.cnf texmf.pkgs infotexdist texmf.gwtex texmf.texlive On Jun 6, 2007, at 9:09 AM, Aditya Mahajan wrote: > Quoti

[NTG-context] gwTeX problem

2007-06-06 Thread David Arnold
All, After using i-installer to install "gwTeX Support : Context Updater," I now get the following message: FatalError : Your format does not match the base files! FormatVersion : 2007.01.02 13:44 MK II FilesVersion: 2007.04.17 12:51 How should I proceed? __

[NTG-context] Acrobat crashes metafun manual

2007-06-05 Thread David Arnold
All, Running Acrobat 7.0.9. In reading the metafun-s.pdf from pragma- ade.com, Acrobat every so often just shuts down. Anyone else experience that? Is this a known behavior with metafun manual? ___ If your question

Re: [NTG-context] How to format the line "Table of Contents" ?

2007-06-05 Thread David Arnold
Does this help? \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[TocHead][chapter] \setuphead [TocHead] [number=no, incrementnumber=no, before=\blank, after=\blank] \definecombinedlist [content] [part, chapter,section,subsection, subsubsubsection,subsubsubsubsecti

Re: [NTG-context] gwTeX ghostscript

2007-06-05 Thread David Arnold
Bernd, Thanks. But even though I used i-installer to install Ghostscript, I have no gv on my system. On Jun 5, 2007, at 12:14 AM, Bernd Militzer wrote: > David Arnold schrieb: >> All, >> >> I anyone is running gwTeX on a mac, may I ask two questions: >> >> 1.

[NTG-context] drawarrowpath

2007-06-04 Thread David Arnold
All, Doesn't look like drawarrowpath accepts options, as advertised in the metafun manual. Comments? \setuppapersize[S6][S6] \usetypescriptonce [map] [times,helvetica,palatino] [texnansi] \usetypescriptonce [serif][times][name,texnansi] \usetypescriptonce [sans]

[NTG-context] z0---z1---z2---z3---cycle strange effect

2007-06-04 Thread David Arnold
All, In working through the beginning chapters of the metafun manual, I am getting a very unusual effect when I open the resulting pdf file in Preview on Mac OS X. Here's a snapshot of what I see. http://online.redwoods.edu/instruct/darnold/context/meta.gif In acrobat, it looks fine. http:/

Re: [NTG-context] ctxtools --purgefiles

2007-06-04 Thread David Arnold
mpgraph.mp CtxTools | removed files : 11 CtxTools | kept files : 0 CtxTools | persistent files : 0 CtxTools | reclaimed bytes : 27017 context $ ls meta* meta-mpgraph.mp.keepmeta.pdfmeta.tex On Jun 4, 2007, at 1:38 PM, Hans Hagen wrote: > David Arnold wrote: >>

[NTG-context] ctxtools --purgefiles

2007-06-04 Thread David Arnold
All, Why does ctxtools --purgefiles meta miss the two files shown below (.keep is ignored and .tuo is not removed)? context $ ctxtools --purgefiles meta CtxTools | purging temporary files : meta CtxTools | checking files that match 'meta-*.*' CtxTools | checking files that match 'meta.*' CtxToo

[NTG-context] gwTeX ghostscript

2007-06-04 Thread David Arnold
All, I anyone is running gwTeX on a mac, may I ask two questions: 1. Is the i-installer still running Context Updater properly? 2. How do I access ghostscript from the command line? ___ If your question is of interes

[NTG-context] Beautiful source code

2007-06-04 Thread David Arnold
Hans, I'm revisiting the metafun manual and I am marveling at the format of the source code. For example: \starttabulate[|lT|l|] \HL \NC \METAPOST\ code \NC mathematical equivalent \NC \NR \HL \NC (x,y) shifted (a,b) \NC $(x+a,y+b)$ \NC \NR \NC (x,y) scaled s \NC $(sx,sy)$ \N

[NTG-context] Enabling write 18 via texmfstart and texexec

2007-06-03 Thread David Arnold
All, Is there a way to enable write18 via command line when compiling with texmfstart texexec filename? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Prepare exams with ConTeXT

2007-06-03 Thread David Arnold
Aditya, As usual, great work. I don't understand the purpose of the fourth argument to \dowritelist: \def\savescore{\expanded{\dowritetolist{Score} {\convertednumber[Answer]}{\countervalue{totalscore}}{Question}}} There are 4 arguments here, as in \dowritelist#1#2#3#4. It appears that:

Re: [NTG-context] Prepare exams with ConTeXT

2007-06-02 Thread David Arnold
You can find some ideas here: http://www.tug.org/pracjourn/2006-4/mahajan/ On Jun 2, 2007, at 5:22 AM, batela wrote: Hello to all: I need to prepare an exam. The layout must be the following one: Questions page Scores page Answers For example: \startquestion In a body with mass=2 k

[NTG-context] Plural Name on definefloat?

2007-05-31 Thread David Arnold
All, Under what circumstances would you use the plural form of: \definefloat[figure][figures] ? Thanks. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-contex

[NTG-context] multipars?

2007-05-31 Thread David Arnold
All, I see an example of the use of multipars in a background developed in "It's in the Details," but I can't find any explanation of what multipars represents (or multilocs or friends). Can someone steer me to an explanation of what these things represent and how to use them? Thanks. Dav

[NTG-context] Keeping it single valued

2007-04-18 Thread David Arnold
All, This example from the Metapost manual is beyond my expertise. The second figure is sweet, just what I would want. Can anyone wax philosophic for a bit and explain why the y-scaling keeps the second function single valued? starttext \startbuffer[figure] numeric scf, t[]; 3.2scf=2.4in;

[NTG-context] Positioning graphics at positions on a page

2007-03-20 Thread David Arnold
Hi, Measuring from the top left hand corner of US letter paper, I'd like to position four identical metapost graphics, centered at (2in,2in), (6in,4in), (2in,6in) and (6in,8in). The first entry in each pair is the amount I'd like to move to the right from the top left corner of the page. T

[NTG-context] \em in typing environment

2007-03-19 Thread David Arnold
All, I have: \startMatlab function output=primary(input) statements---including subfunction calls % first subfunction function out=one(in) statements % second subfunction function out=two(in) statments \stopMatlab Where: \definetyping[Matlab] \setuptyping [Matlab] [before={\startframedtext[w

[NTG-context] \lcd

2007-03-11 Thread David Arnold
All, In Context, how do I make a mathop for lcd? I want to typeset the following in math mode. \lcd(8,12)=24 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Ugly matrix spacing

2007-02-19 Thread David Arnold
Try: \placeformula[-] \startformula \left( {\matrix{ {a_1 } & {a_2 } & {a_3 } & \ldots & {a_X } \cr {b_1 } & 0 & 0 & 0 & 0 \cr 0 & {b_2 } & 0 & 0 & 0 \cr 0 & 0 & \ddots & 0 & 0 \cr 0 & 0 & 0 & {b_{X - 1} } & 0 \cr } } \right), \stopformula On Feb 19, 2007, at 2:24 PM, Vy

[NTG-context] test

2007-02-13 Thread David Arnold
All, please ignore this test. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Natural table questions

2007-02-13 Thread David Arnold
All, Using natural tales, how can I: 1. get some padding around text in each cell? 2. Increase the height of a cell (or row)? fix the height of a cell (or row)? David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct

[NTG-context] Test

2007-02-08 Thread David Arnold
All, Sorry, this is just a test. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] setup linecorrection

2007-01-19 Thread David Arnold
All, How do you set up: \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection so ensuing lines are not indented? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread David Arnold
\adaptlayout[lines=+2] On Jan 12, 2007, at 9:25 PM, Aditya Mahajan wrote: > On Sat, 13 Jan 2007, Aditya Mahajan wrote: > >> On Fri, 12 Jan 2007, David Arnold wrote: >> >>> Aditya, >>> >>> Tried: >>> >>> \adaptlayout[lines+=2] >

Re: [NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread David Arnold
l.660 Where should I put this command? On Jan 12, 2007, at 9:04 PM, Aditya Mahajan wrote: > On Fri, 12 Jan 2007, David Arnold wrote: >> >> How can I squeeze one more line onto a page without rewriting text or >> resizing graphics. Just a one time I want a couple more lines. &g

[NTG-context] How to squeeze one more line onto a page

2007-01-12 Thread David Arnold
All, How can I squeeze one more line onto a page without rewriting text or resizing graphics. Just a one time I want a couple more lines. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Header problem in project

2007-01-08 Thread David Arnold
the page numbers at the beginning of this document with the chapter page numbers. Thanks. On Jan 8, 2007, at 11:04 AM, Taco Hoekwater wrote: > David Arnold wrote: >> >> \placeanswers\kern0pt >> >> \stopcomponent >> >> When we compile section1exercises

Re: [NTG-context] Last page number

2007-01-08 Thread David Arnold
Hans, That's what I thought, but this code produces 9 pages. How come? > doublesided by default makes an even number of pages \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[answers][section] \setuphead[answers][page=right] \setuppagenumbering[alternative=doublesided] \startt

Re: [NTG-context] Last page number

2007-01-08 Thread David Arnold
agen wrote: > David Arnold wrote: >> All, >> >> How can I get the last page to have a page number in this example? >> > \lastpage >> \setupwhitespace[medium] >> \setupindenting[medium,yes] >> >> \definehead[answers][section] >> \setuphead[

Re: [NTG-context] Last page number

2007-01-07 Thread David Arnold
ative=doublesided] \starttext \startbodymatter \chapter{Functions} \input knuth \section{Function Notation} \dorecurse{10}{\input knuth par} \answers{Answers} \dorecurse{10}{\input knuth par} \stopbodymatter \stoptext On Jan 7, 2007, at 9:50 PM, David Arnold wrote: > All, > > How

[NTG-context] Last page number

2007-01-07 Thread David Arnold
All, How can I get the last page to have a page number in this example? \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[answers][section] \setuphead[answers][page=right] \setuppagenumbering[alternative=doublesided] \starttext \chapter{Functions} \input knuth \section{Functi

[NTG-context] Header problem in project

2007-01-07 Thread David Arnold
Hans et all, We have a project call book.tex, a product in that called chapter1.tex, and a component in that called section1exercises.tex. We have blocks that we save and then place at the end of section1exercises.tex with a macro defined in our environment file: \def\placeanswers{% \bgro

[NTG-context] bad page break

2007-01-07 Thread David Arnold
All, We have a situation where we want to put in a page break to move some text at the bottom of the page to the next page. However, there is a float that hasn't been typeset yet, so the result of \page[yes] is to put the float at the top of a blank page, then page again to continue the ru

Re: [NTG-context] cdwincontext

2007-01-03 Thread David Arnold
Wolfgang, Thanks. I'll wait to see if someone can come up with a file. If not, I'll get back to you. Anyone out there have an existing file for win98 that works? On Jan 3, 2007, at 5:46 PM, Wolfgang Werners-Lucchini wrote: >> Has anyone modified the batch file in cdwincontext so that it will

Re: [NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
Mojca, Looks like I did it. Thanks for the help. All is well at the moment. On Jan 3, 2007, at 8:19 PM, Mojca Miklavec wrote: > On 1/4/07, David Arnold <[EMAIL PROTECTED]> wrote: >> OK. >> >> I am starting anew. I uninstalled the old. >> >> Now, I do ha

Re: [NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
ence pane but I haven't found that yet. At the moment, from my command line, I am finding the old tex. darnold $ which pdflatex /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex Advice welcome as I proceed. On Jan 3, 2007, at 7:45 PM, Mojca Miklavec wrote: > On 1/4/07, David A

[NTG-context] GWTEX -- Uninstall before installing the new?

2007-01-03 Thread David Arnold
All, GWTeX has some serious updates. Should I uninstall the deprecated tex before installing the new? Or can they both be installed at the same time (in case the new doesn't work well with my old files). ___ ntg-context mailing list ntg-context@nt

Re: [NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
ckage properties. It will then pick up the new default location. Looks like it wants me to install the latest tex. Any advice? On Jan 3, 2007, at 6:01 PM, Mojca Miklavec wrote: On 1/4/07, David Arnold <[EMAIL PROTECTED]> wrote: Mojca, Mac OS X 10.4.8. Gerben's GWTeX. LinearFuncti

Re: [NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
Mojca, Mac OS X 10.4.8. Gerben's GWTeX. LinearFunctions $ texmfstart texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD On Jan 3, 2007, at 5:45 PM, Mojca Miklavec wrote: > ___ ntg-context mailing list ntg-context@ntg.nl http://

Re: [NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
Mojca, Does the code I sent crash on your system with an overflow error? On Jan 3, 2007, at 5:34 PM, Mojca Miklavec wrote: > Btw: use > \sometxt{$\tfx x-2y=4$} > instead of > btex $\tfx x-2y=4$ etex > > It's much more efficient. > > Mojca ___

[NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
All, Anyone see what I am doing wrong here? \setupcolors[state=start] \definecolor[gridlines][s=0.7] \startMPinclusions color mygridcolor; mygridcolor=\MPcolor{gridlines}; \stopMPinclusions \starttext \startbuffer[one] % initialize scale numeric u; 10u=4cm; % draw grid for k=-5u step 1u u

  1   2   3   4   5   6   >