Aditya Mahajan adityam at 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.
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
Wolfgang Schuster schuster.wolfgang at 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
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
Fabrice fabrice.alpha at 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
Aditya Mahajan adityam at 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
Hans Hagen pragma at 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
Lutz Haseloff lutz.haseloff at 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 at \let\z at
\zeropoint\protectand tikz works like a charm.can this be added to the module
Bowen Alan C. acbowen at 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.
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]
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
Mojca Miklavec mojca.miklavec.lists at 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
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
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.
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
Wolfgang Schuster schuster.wolfgang at 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
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.
Hans Hagen pragma at 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
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.
Albrecht Kauffmann alkauffm at 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
Taco Hoekwater taco at 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
Taco Hoekwater taco at 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.
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 without
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:
Aditya Mahajan adityam at 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
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
Wolfgang Schuster schuster.wolfgang at 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
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 much for
Mikael Persson mickep at 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
http://wiki.contextgarden.net
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.
Wolfgang Schuster schuster.wolfgang at 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
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
Aditya Mahajan adityam at 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.
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
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.
Hans Hagen pragma at 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
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.
Aditya Mahajan adityam at 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
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
Mojca Miklavec mojca.miklavec.lists at gmail.com writes:
Aditya has just suggested to create a bunch of definitions equal to
those in mathdesign. Mathdesign include three typefaces that have not
been implemented in ConTeXt yet, and I agree that they could (should)
be.
ConTeXt currently has
Hello,
Somehow the commands do not work. I added the following two lines
\usetypescript[palatino]
\setupbodyfont[palatino,rm,12pt]
and the output is exactly the same as before. That is there is no change in the
font even in the text. I am using TeXlive.
Thanks for your help.
Curious curiouslearn at gmail.com writes:
Hello,
Somehow the commands do not work. I added the following two lines
\usetypescript[palatino]
\setupbodyfont[palatino,rm,12pt]
and the output is exactly the same as before. That is there is no change in
the
font even in the text. I
Hello,
apart from what others have written you (to install pxfonts, to use
\usetypescript[palatino][ec] if you are using pdfTeX and not xetex or
luatex), you can also try to update ConTeXt if you know what you are
doing*. Or at least a warning should be in place: the latest ConTeXt
uses
Hello All:
There are quite a few fonts available in Latex with matching math fonts. The way
a user like me who understands nothing about fonts can use them is to simply
load a package. For example, for charter I can simply use the command
\usepackage[charter]{mathdesign}
Or, to use Palatino for
Derek CORDEIRO derekcordeiro at gmail.com writes:
Maybe \setupitemize[margin=1cm] will give the top level a 1cm indentation? I'm
not sure if thats what your looking out for.(I'm a novice too)
-- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.comFollow Me:
You are right that some things need to be fixed in ConTeXt - if
nothing else, the map file could be removed from type-one and
type.map. (Do not bother if you don't understand what I have written -
it's targeted to ConTeXt gurus. Any opinions?)
The file is missing, but all the needed
Hello Folks,
Is there a way to have the first level of items indented. The second and
subsequent levels are indented by default, but how does one achieve indentation
of the first level. I looked at the options in the Context manual and I see that
the default value of indentnext is yes. However, I
Wolfgang Schuster schuster.wolfgang at googlemail.com writes:
Am 10.01.2009 um 13:33 schrieb Curious:
ConTeXt has just other linedistances than LaTeX, that's all.
You can switch to a smaller distance with \setupinterlinespace[small]
or with \setupinterlinespace[line=14pt] (fixed
Hello All,
I have been using Latex for sometime and am thinking of switching to Context for
at least some types of documents and hence have been trying it out. I love the
charter font and tried to use the following commands to use the Charter font
\definetypeface [charter] [rm] [serif] [charter]
49 matches
Mail list logo