Re: [NTG-context] Is \index command broken?

2009-03-21 Thread Curious Learn
Wolfgang Schuster googlemail.com> writes: > > Hi curious who wants to learn but is still unable to use the list > archive. > > http://www.ntg.nl/pipermail/ntg-context/2009/038198.html > http://www.ntg.nl/pipermail/ntg-context/2009/037891.html > http://www.ntg.nl/pipermail/ntg-context/2009/037

[NTG-context] Is \index command broken?

2009-03-21 Thread Curious Learn
Hi, I tried using the \index command in my document: \starttext \type{\textext()} \index[textext]{\textext} To typeset metapost variable values (not the verbatim text) using \TEX\ markup, use this command. \page \completeindex \stoptext However, no index is created. The log file giv

Re: [NTG-context] Value of Metapost variable as a label

2009-03-21 Thread Curious Learn
Aditya Mahajan umich.edu> writes: > > For example, if I had to typeset (n_{1},n{2},...,n_{100}), how > > could I do that. > > label.bot (textext("$n_{" & decimal i & "}"), ... ) ; Thanks Aditya. That works great. _

Re: [NTG-context] Is there anything like developer's manual for ConTeXt?

2009-03-19 Thread Curious Learn
Aditya Mahajan umich.edu> writes: > > Can someone post a link to the actual reference manual rewrite Taco > > was talking about? I don't see anything on > > http://wiki.contextgarden.net/Main_Page#Documentation that looks like > > a reference manual in progress. > > The links are after the big

Re: [NTG-context] Step wise presentation.

2009-03-19 Thread Curious Learn
Fabrice gmail.com> writes: > You can use the "raw steps" module. This works very well. You can find > some informations > here: > > http://modules.contextgarden.net/t-rsteps > > Fabrice. > Thanks Fabrice. Yes, I was looking at the demo file yesterday once I figured out how to install third

Re: [NTG-context] Module taspresent

2009-03-19 Thread Curious Learn
Thanks Thomas and Lutz. Now that I have figured out how to manually install the third party modules, I can try the simpleslides module. Aditya and Thomas, thanks very much for providing us with these modules. Just for information, I wanted to inform you that some other styles, such as blackblue

Re: [NTG-context] Module taspresent

2009-03-18 Thread Curious Learn
I figured out how and where to install the taspresent module. Now when I try to compile the file it loads the module. However, I do not get any of the colors or the frames. For example, the following code does not give me any color. It does though take out the page numbers and sets the correct pape

[NTG-context] Module taspresent

2009-03-18 Thread Curious Learn
As mentioned on the wiki, I tried to install taspresent module by running ./first-setup.sh --extras="t-taspresent" in the terminal. A lot of things happened and then I ran luatools --generate and then context --make. Then I tried to compile the file \usemodule[taspresent][style=blackblue

Re: [NTG-context] TeXshop instructions on Context Minimals (Mac installation)

2009-03-18 Thread Curious Learn
Bowen Alan C. Princeton.edu> writes: > In Terminal try: > > cd Users/Name/Library/TeXShop/Engines/ > > and then > > chmod +x ConTeXt-MKIV.engine > > which will allow you to execute the file. Thanks Alan. That worked great. I have added that to the instructions on the Wiki.

Re: [NTG-context] Tikz updated in minimals but file does not compile

2009-03-18 Thread Curious Learn
Lutz Haseloff googlemail.com> writes: > Hello Want, hello Mojca,i had the same problem some days before. I found this hint by Wolfgang:add to your file\unprotect\newtoks\toks \let\z \zeropoint\protectand tikz works like a charm.can this be added to the module t-tikz.tex?GreetingsLutz Thanks Lu

Re: [NTG-context] Step wise presentation.

2009-03-18 Thread Curious Learn
Hans Hagen wxs.nl> writes: > > take a look at s-pre-60 upwards; i always use s-pre-60 as basis > > Hans > Thank you Hans. Since you said that you start with s-pre-60 as the basis, could I please ask you for an example presentation, if you have one. I looked at the wiki but there is no example

[NTG-context] TeXshop instructions on Context Minimals (Mac installation)

2009-03-17 Thread Curious Learn
Hello, I installed the stable version of Context Minimals and then followed the instructions given on the Context Minimals/Mac Installation page. When I choose ConTeXt-MKIV as my engine and try to typeset the document I get the following error. Users/Name/Library/TeXShop/Engines/ConTeXt-MKIV.eng

[NTG-context] Step wise presentation.

2009-03-17 Thread Curious Learn
Currently what is the best solution for presentation with steps in Context that works with the stable version of MKIV. The one that you can get with ./first-setup.sh --context=current If I need to install any addon module for your recommendation (i.e., if it does not come with minimals), kindly l

[NTG-context] Problem updating Tikz in minimals

2009-03-17 Thread Curious Learn
Mojca Miklavec gmail.com> writes: > > When you install the minimals, add >--extras=t-tikz > either to first-setup.sh or run ./first-setup.sh --extras=t-tikz > > (Run "luatools --generate" afterwards.) > > Mojca Thanks Aditya and Mojca. Mojca, I tried running that; a lot of things happen,

Re: [NTG-context] \FlushStep in module s-pre-50 adds too much space

2009-03-16 Thread Curious Learn
Okay, I have installed the minimals. It works with a file I tried without tikz. The examples on the wiki also work well. It does not work with a file that has tikz code in it. It stops compiling with ! Undefined control sequence. l.13 \starttikzpicture Does Tikz not work with mkiv? Thanks. ___

Re: [NTG-context] \FlushStep in module s-pre-50 adds too much space

2009-03-16 Thread Curious Learn
Wolfgang Schuster googlemail.com> writes: > http://wiki.contextgarden.net/ConTeXt_Minimals#Usage > http://archive.contextgarden.net/message/20090121.222035.3c27dbbc.en.html > > Wolfgang Perhaps I am not getting something which I should. Wolfgang, it seems to me that the links that you have sugg

Re: [NTG-context] \FlushStep in module s-pre-50 adds too much space

2009-03-16 Thread Curious Learn
Thanks very much for replying. From your replies, it seems easiest to do what Aditya suggested; use the commands luatools --generate context --make I looked at this message and also went to the link he had in his message. My question is, am I supposed to be in any specific folder when I run tho

Re: [NTG-context] \FlushStep in module s-pre-50 adds too much space

2009-03-15 Thread Curious Learn
Hans Hagen wxs.nl> writes: > in mkii it's injecting nodes, so you need to keep the \FlushStep > attached to the previous paragraph if possible like here\FlushStep > > in mkiv it should not matter Thank you Hans. I will try to install Context Minimals in a couple of days. In MKII it does not h

[NTG-context] \FlushStep in module s-pre-50 adds too much space

2009-03-14 Thread Curious Learn
Hello, I tried using module s-pre-50 to get stepwise revelation of the content in my presentation today. I noticed that the command \FlushStep adds what seems to be too much space between successive items. Is there a way, I can prevent \FlushStep from adding this much space. Thank you. _

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Curious Learn
Taco Hoekwater elvenkind.com> writes: > > You want this, I think: > > beginfig(1); > ... do stuff ... > currentpicture := currentpicture scaled X; > endfig; > Awesome!! This is exactly what I was looking for. Thanks Taco and Mikael. ___

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Curious Learn
Taco Hoekwater elvenkind.com> writes: > >> (2) Is there a command to scale the whole picture...not the components? > > Parse error. In my view, the whole picture *is* the components. > > Best wishes, > Taco Hi Taco, Sorry for the typo and for not being clear. I meant the following. I know th

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Curious Learn
Albrecht Kauffmann rz.uni-potsdam.de> writes: > > only to (1): try > > draw (((0,0) -- dir(0)*u -- dir(60)*u --cycle) rotated 60); Thanks Albrecht. That worked great. ___ If your question is of interest to others

[NTG-context] Thanks. Two new questions: rotate and scale

2009-03-12 Thread Curious Learn
Aditya and Hans, Thanks very much for your replies. I suppose I should install minimals afterall. Still using the TexLive version. I have two new questions: (1) In the following code the triangle outline (obtained with the "draw" command) does not rotate, i.e., I get the same triangle as withou

[NTG-context] Command "show" in Metapost/Metafun

2009-03-11 Thread Curious Learn
Hi, I am trying to learn Metapost using Context. I tried a few examples for drawing things and they worked well. But the "show" command does not seem to work. For example, the code \startuseMPgraphic{GridDots} u=1cm; pickup pencircle scaled 8pt for i = 0 upto 2:

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-06 Thread Curious Learn
Arthur and Luigi, thanks for your responses. Arthur, your response makes it very clear, what I need to do. I will start with the book you recommend. ___ If your question is of interest to others as well, please add

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-06 Thread Curious Learn
Aditya Mahajan umich.edu> writes: > My summary of this thread: > http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/ > > Aditya I like the Luatex code of Luigi. Though it is longer than what Wolfgang suggested (and in this case, I am using Wolf

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-04 Thread Curious Learn
> Not really. > > \bTABLE > \dorecurse{5}{\bTR\bTD#1\eTD\eTR} > \eTABLE > > Wolfgang > Awesome How does one learn these things? Is this Tex programming or Context programming. Thanks very much. ___ If your

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-04 Thread Curious Learn
Wolfgang Schuster googlemail.com> writes: > > \bTABLE > \dorecurse{5}{\bTR\expanded{\bTD\recurselevel\eTD}\eTR} > \eTABLE > > Wolfgang As your other solutions, this worked great. I suppose I have to use \expanded for every \bTD \eTD pair. Can you please explain why this is necessary or point m

[NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-04 Thread Curious Learn
Can someone please explain why the second example below works but the first does not work? Thanks very much. \starttext \bTABLE \dorecurse{5} {\bTR \bTD \recurselevel. \eTD \bTD \recurselevel \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crl

Re: [NTG-context] Two questions - Cross Referencing (Auto mated label generation + Random items)

2009-03-04 Thread Curious Learn
Mikael Persson gmail.com> writes: > > Dear Curious Learn (strange name, it can be considered rude not to use > the real one) > > You can find m-educat.tex at > tex/texmf-context/tex/context/base/m-educat.tex > if you use the minimals > It is also listed at >

Re: [NTG-context] Two questions - Cross Referencing (Au tomated label generation + Random items)

2009-03-04 Thread Curious Learn
> The low level way to do this is: > > \def\AnsT#1\eAns >{\doglobal\increment\choicecounter > \startitem[\choicecounter]#1\stopitem} > > Wolfgang Beautiful! Thanks again Wolfgang. I tried the low level command and it works great. I will try the Context way later. Hans, thanks very mu

Re: [NTG-context] Two questions - Cross Referencing (Auto mated label generation + Random items)

2009-03-04 Thread Curious Learn
Wolfgang Schuster googlemail.com> writes: > You don't need \nextrandom any longer, it's fixed with the last beta. > > \newcounter\choicecounter > > \define[1]\Rightitem >{\doglobal\increment\choicecounter > \startitem[\choicecounter]#1\stopitem} > > \define[1]\Wrongitem >{\startit

Re: [NTG-context] Switching off Header only on a particular page

2009-03-03 Thread Curious Learn
Hans Hagen wxs.nl> writes: > just \setupheader[state=empty] or anything else that applies > Thanks very much Hans. That works great. ___ If your question is of interest to others as well, please add an entry t

[NTG-context] Switching off Header only on a particular page

2009-03-03 Thread Curious Learn
Hi, Is there a way to switch off just the header on a particular page? The Context manual gives the command \noheaderandfooterlines to switch off both. However, I want the page number (which is in the footer) on the first page, but no headers on the first page. Thanks.

[NTG-context] Two questions - Cross Referencing (Automated label generation + Random items)

2009-03-03 Thread Curious Learn
As I mentioned earlier, I am trying to use Context to make a multiple choice test. I have two questions. (1) Suppose I want to get a list of answers to the the multiple choice questions. One way I can think of doing this is by assigning a label to the CORRECT answer as done in the following code

Re: [NTG-context] problem with defineitemgroup command

2009-03-03 Thread Curious Learn
Aditya Mahajan umich.edu> writes: > Change this to > > \setupitemgroup[options][1][a,packed] > \setupitemgroup[options][1][stopper=)] > > You cannot mix options (a, packed, etc) with assignments (key=value). > > Aditya Thanks Aditya. I appreciate it.

[NTG-context] problem with defineitemgroup command

2009-03-02 Thread Curious Learn
I am trying to define an itemgroup to list the answers for multiple choice questions. When I try to change the stopper using the option stopper=), the list changes from an alphabetical one to a bulleted list. Please see the difference between "choices" and "options" below. \defineitemgroup[choice

Re: [NTG-context] \itemize[random] does not work

2009-03-01 Thread Curious Learn
Aditya Mahajan umich.edu> writes: > \defineitemgroup[choices] > > \startmode[random] >\setupitemgroup[choices][1][random] >\nextrandom % to get rid of the randomize bug > \stopmode > Compile this file with "texexec --mode=random " to get random choices, > compile without --mode=... to

Re: [NTG-context] \itemize[random] does not work

2009-02-27 Thread Curious Learn
I was not aware of this cool feature in Context. This could be very useful in making multiple choice tests. I have one question. Is there a simple way in which one can switch between itemized lists that are random and non-random? For example, if I have 40 multiple choice questions, each of which ha