[NTG-context] Problem of mptopdf

2009-05-20 Thread yi
metapost file: %%% beginfig(2) label(Haha, (2,0)); draw (for i=0 upto 7: dir(135i)-- endfor cycle); endfig; beginfig(5) label(btex Haha etex, (2,0)); draw (for i=0 upto 7: dir(135i)-- endfor cycle); endfig

[NTG-context] Label alignment in descriptions

2009-05-19 Thread Tim Wraight
Hello, I can't get the 'align' parameter to have any effect on label text in definitions. Here is a simple test case: \setuplayout[backspace=40mm] \definedescription [test] [location=inleft, width=25mm, align=left, margin=standard] \starttext \test{Hello} World! \par

Re: [NTG-context] Label alignment in descriptions

2009-05-19 Thread Oliver Buerschaper
solves the problem. Is it possible to make ConTeXt insensitive to new lines in the above situation (and similar ones)? Oliver Hello, I can't get the 'align' parameter to have any effect on label text in definitions. Here is a simple test case: \setuplayout[backspace=40mm

Re: [NTG-context] Label alignment in descriptions

2009-05-19 Thread Oliver Buerschaper
Hello, I can't get the 'align' parameter to have any effect on label text in definitions. Here is a simple test case: \setuplayout[backspace=40mm] \definedescription [test] [location=inleft, width=25mm, align=left, margin=standard] \starttext \test{Hello} World! \par

Re: [NTG-context] Label alignment in descriptions

2009-05-19 Thread Hans Hagen
Oliver Buerschaper wrote: Hello, I can't get the 'align' parameter to have any effect on label text in definitions. Here is a simple test case: \setuplayout[backspace=40mm] \definedescription [test] [location=inleft, width=25mm, align=left, margin=standard] \starttext \test

[NTG-context] Howto add a # sign to a \button URL?

2009-05-12 Thread Oliver Heins
[shorttext] [line] [ShortLine] [] [] \setupfield [ShortLine] [label,frame,horizontal] [frame=off] [height=18pt,width=15em,align=middle,frame=off] [height=18pt,width=20em,align=right,style=\tfx,,frame=on] \field[shorttext][Bitte geben Sie einen Text ein:] \blank \button[]{Abschicken}[SubmitForm{http

[NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-08 Thread Mojca Miklavec
please confirm the bug? (I often mess with my system too much ...) Thanks, Mojca To Till only: I have a feeling that the command \node[label=87:$φ$] at (65:1cm) {}; an the image above places the label to a different place from where it used to place it a few weeks ago (recompiling an old

Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-08 Thread Mojca Miklavec
On Fri, May 8, 2009 at 22:45, Mojca Miklavec wrote: To Till only: I have a feeling that the command    \node[label=87:$φ$] at (65:1cm) {}; an the image above places the label to a different place from where it used to place it a few weeks ago (recompiling an old document has placed the label

Re: [NTG-context] beta

2009-04-25 Thread Taco Hoekwater
: the attached test file demonstates one of the reasons why this is still broken. Both pages now have a link to a publication, but because of the over-simplication of \preparebibrefprefix and \preparebibreflist, these both point to the same label (the one on page one), and luatex complains: LuaTeX

Re: [NTG-context] new structure code

2009-04-24 Thread Hans Hagen
.. i'd even forgot about that one upcoming structure code will provide \startchapter[label=...,title={...},bookmark={...},mark={...},list={...},reference={...}] - Hans Hagen | PRAGMA ADE

Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
}{Foo.}{Foo. Bar, Baz}} {...} \stoptext ah .. you always surprise me .. i'd even forgot about that one upcoming structure code will provide \startchapter[label=...,title={...},bookmark={...},mark={...},list={...},reference={...}] You anticipated my next question! This is great news

Re: [NTG-context] new structure code

2009-04-24 Thread Hans Hagen
{\select{caption}{Foo.}{Foo. Bar, Baz}} {...} \stoptext ah .. you always surprise me .. i'd even forgot about that one upcoming structure code will provide \startchapter[label=...,title={...},bookmark={...},mark={...},list={...},reference={...}] You anticipated my next question! This is great

Re: [NTG-context] Producing dvi

2009-04-19 Thread Michail Vidiassov
as usual. If it is 3D - I have the code, modeled after movie inclusion (thanks Hans, you fixed it when I have mentioned that it was broken in mkiv). What I am talking about now is how to typeset labels within Asymptote by ConTeXt. Asymptote takes label text, wraps it into a minimal document

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi, The \completepublications error is gone with newly published t-bib. I find a new bug. The figure list and table list do not show caption titles and dots. Only label number and page number appear there, such as: 1.2.1 Should have a caption title here Should have dots here 13 Dots

Re: [NTG-context] new beta

2009-04-17 Thread Hans Hagen
Wei-Wei Guo wrote: Hi, The \completepublications error is gone with newly published t-bib. I find a new bug. The figure list and table list do not show caption titles and dots. Only label number and page number appear there, such as: 1.2.1 Should have a caption title here Should have

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Taco Hoekwater
) But: %D \macros{preparebibreflist} %D %D But this optional prefixing is a bit of a problem on the %D other side. We would like to do \type{\goto{}[article-full]} %D but can't do it like that, because the actual label may be %D \type{1:2:0:3:4:article-full]} or so. The problem is solved %D by building

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi Hans, Here is the minimal examples. 1. The figure list and table list do not show caption titles and dots. Only label number and page number appear there, such as: 1 Should have a caption title here Should have dots here 13 Example: \starttext

Re: [NTG-context] new beta

2009-04-17 Thread Yanrui Li
2009/4/18 Wei-Wei Guo wwgu...@gmail.com: Hi Hans, Here is the minimal examples. 1. The figure list and table list do not show caption titles and dots.   Only label number and page number appear there, such as:   1 Should have a caption title here   Should have dots here  13   Example

[NTG-context] movie in pdf example in wiki

2009-04-14 Thread Bill Long
I try the example to embedded video in wiki, but it doesn't work. \starttext \externalfigure[./file_server.mov][label=demo,width=4cm,height=4cm,preview=yes] \stoptext when i execute texexec test.tex it said TeXUtil | running texmfstart rlxtools --identify /home/weilai/pages/wiki/private

Re: [NTG-context] movie in pdf example in wiki

2009-04-14 Thread Bill Long
Sorry, I should read the mail list first, now it work. On Tue, Apr 14, 2009 at 02:29:56PM +0800, Bill Long wrote: I try the example to embedded video in wiki, but it doesn't work. \starttext \externalfigure[./file_server.mov][label=demo,width=4cm,height=4cm,preview=yes] \stoptext

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Wolfgang Schuster
Am 27.03.2009 um 13:37 schrieb Eythan Weg: Hi, the following does not seem to use color. Am I missing something? Never used this feature before... I use mkiv with luatex 0.36. \startMPcode draw thelabel(btex RED etex, (0,0)) withcolor blue; label(\textext{\red RED},origin) ; Wolfgang

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Lutz Haseloff
, (0,0)) withcolor blue; label(\textext{\red RED},origin) ; gives: Undefined control sequence. argument label(\textext {\red RED},origin) ; \processMPgraphic ...zations ;\theMPrandomseed ;#1 ;\!!es , \...@ea \...@ea

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Thomas A. Schmitz
. \startMPcode draw thelabel(btex RED etex, (0,0)) withcolor blue; label(\textext{\red RED},origin) ; gives: Undefined control sequence. argument label(\textext {\red RED},origin) ; \processMPgraphic ...zations ;\theMPrandomseed ;#1

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Wolfgang Schuster
Am 27.03.2009 um 13:58 schrieb Lutz Haseloff: label(\sometxt{\blue RED},origin) ; works here label(textext(\blue RED),origin) ; Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Eythan Weg
. \startMPcode draw thelabel(btex RED etex, (0,0)) withcolor blue; label(\textext{\red RED},origin) ; Wolfgang Basically, you moved it to TeX to do the coloring, which is ok. Now, draw thelabel(btex RED etex, (0,0)) scaled 2; works. In the same manner , I think, withcolor

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Wolfgang Schuster
Am 27.03.2009 um 17:43 schrieb Eythan Weg: Basically, you moved it to TeX to do the coloring, which is ok. Metapost in MkIV is different from MkII and all labels are typeset and colored in TeX, if you want a label use textext(...). My \textext{...} (which is only defined in MkII) is just

Re: [NTG-context] colored labels in mp

2009-03-27 Thread Hans Hagen
with luatex 0.36. \startMPcode draw thelabel(btex RED etex, (0,0)) withcolor blue; label(\textext{\red RED},origin) ; Wolfgang Basically, you moved it to TeX to do the coloring, which is ok. Now, draw thelabel(btex RED etex, (0,0)) scaled 2; works. In the same manner

[NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); Can I have it appear in the figure as Do you see this label text. Quite long. Need to break it across lines

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Hi, Is it possible to break labels in two lines if needed? For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); label.rt(textext(\framed[frame=no,width=5cm]{}, (3,5

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan adityam at umich.edu writes: For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); label.rt(textext(\framed[frame=no,width=5cm]{}, (3,5)) ; Aditya Thanks Aditya. Sorry but that does not work

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Fri, 27 Mar 2009, CuriousLearn wrote: Aditya Mahajan adityam at umich.edu writes: For example, suppose I have label.rt(textext(Do you see this label text. Quite long. Need to break it across lines),(3,5)); label.rt(textext(\framed[frame=no,width=5cm]{}, (3,5)) ; Aditya Thanks

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan adityam at umich.edu writes: Any ideas why it may not be working for me? Because I did not test before posting :) Try \framed[align=normal, width=5cm, frame=no]{} Aditya Awesome! That works great. Before asking I tried searching a lot in metafun manual and on the

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Sat, 28 Mar 2009, CuriousLearn wrote: Aditya Mahajan adityam at umich.edu writes: Any ideas why it may not be working for me? Because I did not test before posting :) Try \framed[align=normal, width=5cm, frame=no]{} Aditya Awesome! That works great. Before asking I tried

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Wolfgang Schuster
Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use streams and local footnotes. Wolfgang

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
Aditya Mahajan adityam at umich.edu writes: Here is a simplified picture. Basically, anything inside btex ... etex (or textext(...) or \sometxt{...}) is in what is known as TeX's horizontal mode. Think of this as what you will get if you put the same argument in a \hbox (see the TeXbook

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
On Sat, 28 Mar 2009, Wolfgang Schuster wrote: Am 28.03.2009 um 01:33 schrieb Aditya Mahajan: Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) You could use

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

2009-03-23 Thread Eythan Weg
Aditya Mahajan adit...@umich.edu Sun, 22 Mar 2009 22:24:17 -0400 (EDT) On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent expansion of \over

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

2009-03-23 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Eythan Weg wrote: Aditya Mahajan adit...@umich.edu Sun, 22 Mar 2009 22:24:17 -0400 (EDT) On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent

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

2009-03-22 Thread Eythan Weg
Curious Learn curiousle...@gmail.com Sat, 21 Mar 2009 22:40:46 + (UTC) 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 }), ... ) ; This however

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

2009-03-22 Thread Mojca Miklavec
This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

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

2009-03-22 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent expansion of \over label.bot(textext($1\noexpand\over decimal k $), (10,0)) ; Aditya

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

2009-03-21 Thread Curiouslearn
Hello, First of all, Mojca thanks very much for the update about TikZ. (I could not find an option to reply in Context Garden mailing list). My new question is the following. I have the following code to generate the labels for the tick marks: for i = 0 step 5 until 45: draw

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

2009-03-21 Thread Aditya Mahajan
On Sat, 21 Mar 2009, Curiouslearn wrote: Hello, First of all, Mojca thanks very much for the update about TikZ. (I could not find an option to reply in Context Garden mailing list). My new question is the following. I have the following code to generate the labels for the tick marks: for i =

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

2009-03-21 Thread Curious Learn
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.

Re: [NTG-context] Context logo (was ConTeXt T-shirts?)

2009-03-14 Thread Xan
; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f

Re: [NTG-context] ConTeXt T-shirts?

2009-03-13 Thread Xan
:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor

Re: [NTG-context] New beta

2009-03-13 Thread Hans Hagen
but not trailing spaces (i.e. before the comma or ]) because that would break compatibility with for instance label settings and such the overhead of this mechanism if small (some .1 sec on 10K calls) Hans

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Taco Hoekwater
{and} }, otherstext={ \labeltext{etal}}, % many more are needed, of course you can invent wnatever you like in the argument of \labeltext, because you will define them in the next step. * second, define all the label texts you used in the previous step for the all languages you

Re: [NTG-context] How to use my own BibTeX style (bst)?

2009-03-13 Thread Wei-Wei Guo
you like in the argument of \labeltext, because you will define them in the next step. * second, define all the label texts you used in the previous step for the all languages you need. Short example: \setuplabeltext[en][etal={et al.}, and={and}] \setuplabeltext[cn][etal={等},and={和

Re: [NTG-context] ConTeXt T-shirts?

2009-03-12 Thread Xan
;if.laboff... l.28 label (C, (0,v*f) ) withcolor textcolor; What's happen? What is the license of this file, Taco? I hope Mojca, or someone else, could answer the other questions. Thanks a lot, Xan. Best wishes, Taco

Re: [NTG-context] ConTeXt T-shirts?

2009-03-12 Thread Wolfgang Schuster
withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) ; label (textext(O), (f*h,2*v*f) ) ; label (textext(N), (2*f*h,v*f) ) ; label (textext(T), (0,-v*f)) ; label (textext(E), (f*h,0) ) ; label

Re: [NTG-context] ConTeXt T-shirts?

2009-03-12 Thread Xan
) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) ; label (textext(O), (f*h,2*v*f) ) ; label (textext(N), (2*f*h,v*f) ) ; label (textext(T), (0,-v*f)) ; label

Re: [NTG-context] ConTeXt T-shirts?

2009-03-12 Thread Wolfgang Schuster
(112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E), (f*h,0) ) withcolor textcolor

Re: [NTG-context] ConTeXt T-shirts?

2009-03-12 Thread Xan
fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E

Re: [NTG-context] ConTeXt T-shirts?

2009-03-12 Thread Xan
fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext(C), (0,v*f) ) withcolor textcolor ; label (textext(O), (f*h,2*v*f) ) withcolor textcolor ; label (textext(N), (2*f*h,v*f) ) withcolor textcolor ; label (textext(T), (0,-v*f)) withcolor textcolor ; label (textext(E

Re: [NTG-context] luatex tikz problem

2009-03-07 Thread Aditya Mahajan
] \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left

Re: [NTG-context] luatex tikz problem

2009-03-07 Thread Mohamed Bana
, semithick] - \tikzstyle{every state}=[fill=black,draw=none,text=white] + \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; @@ -32,5 +28,4

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

2009-03-06 Thread Aditya Mahajan
; label(textext(table), origin) ; \stopMPcode \stoptext Aditya___ 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/mailman/listinfo/ntg

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

2009-03-04 Thread Curious Learn
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

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

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 13:54 schrieb Curious Learn: Awesome solution. Works great. Thanks very much Wolfgang. I can now use your solution. If it is not too difficult to explain, I would appreciate if someone could explain why the following does not work. It is not necessary because Wolfgang's

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

2009-03-04 Thread Hans Hagen
Curious Learn wrote: 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}

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 much for

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

2009-03-04 Thread Mikael Persson
On Wed, Mar 4, 2009 at 4:53 PM, Curious Learn curiousle...@gmail.com wrote: 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

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

2009-03-04 Thread Curious Learn
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

[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] Two questions - Cross Referencing (Automated label generation + Random items)

2009-03-03 Thread Wolfgang Schuster
Am 03.03.2009 um 14:17 schrieb 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

Re: [NTG-context] luatex tikz problem

2009-02-26 Thread Mohamed Bana
',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{every state}=[fill=grey,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label

[NTG-context] luatex tikz problem

2009-02-22 Thread Mohamed Bana
, semithick] \tikzstyle{every state}=[fill=grey,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node

[NTG-context] defineenumeration

2009-02-22 Thread batela
Dear Sirs, I need to define a enumeration with the text label = Remark. For that I define \defineenumeration[Remark][text=Remark]. The label for the subRemark should be subRemark. Is there a easy way to do that? The subRemark is a son of Remark and the numeration expected is: Remark 1

Re: [NTG-context] defineenumeration

2009-02-22 Thread Longmin Wang
\setupenumerations[subRemark][text=subRemark] On Sun, Feb 22, 2009 at 11:42:41AM +, batela wrote: Dear Sirs, I need to define a enumeration with the text label = Remark. For that I define \defineenumeration[Remark][text=Remark]. The label for the subRemark should be subRemark

Re: [NTG-context] Update catalan + spanish translation

2009-02-17 Thread Xan
of) the small words in bibl-apa.tex (after copying it to bibl-apa-ca.tex) and then send me that file so I can include it in the next release of the module. The context core appears to have Catalan translations of the label texts already (texmf/tex/context/base/lang-ita.tex). Hi, I fixed

[NTG-context] Update catalan + spanish translation (was Re: Bibtex doubt (was Re: Forward of moderated message))

2009-02-16 Thread Xan
in bibl-apa.tex (after copying it to bibl-apa-ca.tex) and then send me that file so I can include it in the next release of the module. The context core appears to have Catalan translations of the label texts already (texmf/tex/context/base/lang-ita.tex). Hi, I fixed the lang-ita.tex. I send

Re: [NTG-context] emacs

2009-02-05 Thread Peter Münster
about the (optional) label all the time is also tiring, I would prefer to be asked for it only with C-u C-c C-j. This is also annoying to me. I'll try to solve this, should no be too complicated I think (only problem I have, is no spare time, just like you...). That would be great

Re: [NTG-context] emacs

2009-02-05 Thread luigi scarso
got used to its behaior when doing LaTeX. Also, having C-c C-j asking about the (optional) label all the time is also tiring, I would prefer to be asked for it only with C-u C-c C-j. This is also annoying to me. I'll try to solve this, should no be too complicated I think (only

Re: [NTG-context] MKIV bug

2009-01-17 Thread Yue Wang
] \stopalign \stopformula Equation (\in[eq:v]) tells the final velocity after time $t$ and equation (\in[eq:h]) tells the distance travelled in time $t$. \bye Another problem which I reported a few weeks ago is still not solved. when I use a sans font, like \setupbodyfont[iwona, ss,12pt], the label

Re: [NTG-context] can not include movie AKA embedding 3d pdf

2008-12-07 Thread Hans Hagen
Michail Vidiassov wrote: Dear Hans, On Mon, 1 Dec 2008, Hans Hagen wrote: i uploaded an alpha zip which has mov inclusion working Where to? website Sorry for stupid question :( That inclusion does really work but for a minor problem - label parameter is ignored and the label (or name

Re: [NTG-context] bug in minimals: dvipdfmx.dll not found

2008-12-06 Thread Mojca Miklavec
not distribute them? The one but big user-visible change is that the btex ... etex label conversion is now handled internally instead of via the external mpware programs. These programs are therefore no longer distributed. With a minimal example \starttext \startMPcode draw btex xYz etex

Re: [NTG-context] can not include movie AKA embedding 3d pdf

2008-12-06 Thread Michail Vidiassov
Dear Hans, On Mon, 1 Dec 2008, Hans Hagen wrote: i uploaded an alpha zip which has mov inclusion working Where to? website Sorry for stupid question :( That inclusion does really work but for a minor problem - label parameter is ignored and the label (or name as it is displayed

Re: [NTG-context] bug in minimals: dvipdfmx.dll not found

2008-12-06 Thread Yue Wang
label conversion is now handled internally instead of via the external mpware programs. These programs are therefore no longer distributed. With a minimal example \starttext \startMPcode draw btex xYz etex; \stopMPcode \stoptext I still get This is MetaPost, version 1.110 (kpathsea

[NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
Hi, this code \setupformulas[location=left] \placeformula \startformula K = V + W(V) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? Thanks

Re: [NTG-context] formula label

2008-12-04 Thread Wolfgang Schuster
Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum: Hi, this code \setupformulas[location=left] \placeformula \startformula K = V + W(V) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K

Re: [NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case the equation is not centered to textwidth anymore

Re: [NTG-context] formula label

2008-12-04 Thread Wolfgang Schuster
: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case

Re: [NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de

Re: [NTG-context] formula label

2008-12-04 Thread Hans Hagen
But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case the equation

Re: [NTG-context] formula label

2008-12-04 Thread Hans Hagen
But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case the equation

Re: [NTG-context] formula label

2008-12-04 Thread Wolfgang Schuster
gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks

Re: [NTG-context] formula label

2008-12-04 Thread Aditya Mahajan
, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case

Re: [NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
\startformula K = V + W(V) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext

Re: [NTG-context] formula label

2008-12-04 Thread Rory Molinari
Hello, Aditya Mahajan wrote: if formula_width + 2*label_width hsize place formula in center of hsize, place label on right else if formula_width + label_width hsize DONT_KNOW else place formula in the center of hszie, place label one the next line endif I do not know what

Re: [NTG-context] can not include movie

2008-11-28 Thread Michail Vidiassov
Dear Hans and All, you wrote: ConTeXt user manual says movies are just like figures, but when I process works ok in pdftex \placefigure [here] {none} {\externalfigure[texwork.mov][width=0.7\textwidth, height=.7\textwidth,label=demo,preview=yes]} in luatex i simply didn't implement

Re: [NTG-context] can not include movie

2008-11-28 Thread Hans Hagen
Michail Vidiassov wrote: Dear All, ConTeXt user manual says movies are just like figures, but when I process \starttext \placefigure[here]{none}{\externalfigure[demo.mov][width=0.7\textwidth, height=.7\textwidth, label=demo, preview=yes]} \stoptext with context filename.tex

[NTG-context] can not include movie

2008-11-27 Thread Michail Vidiassov
Dear All, ConTeXt user manual says movies are just like figures, but when I process \starttext \placefigure[here]{none}{\externalfigure[demo.mov][width=0.7\textwidth, height=.7\textwidth, label=demo, preview=yes]} \stoptext with context filename.tex using the latest minimals without any

[NTG-context] flowcharts and text labels

2008-11-13 Thread Wolfgang Schuster
Hi, is there is something in the flowchart package to position text on the line in the same way as I did in my example without \clap like e.g. \label[cb]{...}. \usemodule[chart] \starttext \startFLOWchart[test] \setupFLOWcharts [nx=3, ny=1, height=4\bodyfontsize, width=8

Re: [NTG-context] small problem with minimals

2008-11-11 Thread Aditya Mahajan
] in there. The new label macro can use labelfont (or defaultfont, I always forget what metapost uses) to switch the font. In that case there should also be a label color, unless draw textext(something) withcolor red ; works (sorry, I haven't tested this) Aditya

Re: [NTG-context] small problem with minimals

2008-11-11 Thread Wolfgang Schuster
with textext(decimal value). textext(string) will typeset the string using context, so you can add \switchtobodyfont[whatever] in there. The new label macro can use labelfont (or defaultfont, I always forget what metapost uses) to switch the font. In that case there should also be a label color

Re: [NTG-context] small problem with minimals

2008-11-11 Thread Wolfgang Schuster
On Mon, Nov 10, 2008 at 6:12 PM, Hans Hagen [EMAIL PROTECTED] wrote: Thomas A. Schmitz wrote: On Nov 10, 2008, at 5:16 PM, Hans Hagen wrote: it's probably the fallback font ... how is it used? Hans In a metafun label (which I can't replace with \sometxt): label.top(decimal value,origin

Re: [NTG-context] small problem with minimals

2008-11-10 Thread Mojca Miklavec
On Mon, Nov 10, 2008 at 6:12 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 10, 2008, at 5:16 PM, Hans Hagen wrote: it's probably the fallback font ... how is it used? Hans In a metafun label (which I can't replace with \sometxt): label.top(decimal value,origin) ; label.top

Re: [NTG-context] small problem with minimals

2008-11-10 Thread Thomas A. Schmitz
On Nov 10, 2008, at 5:16 PM, Hans Hagen wrote: it's probably the fallback font ... how is it used? Hans In a metafun label (which I can't replace with \sometxt): label.top(decimal value,origin) ; Thomas

Re: [NTG-context] small problem with minimals

2008-11-10 Thread Hans Hagen
Thomas A. Schmitz wrote: On Nov 10, 2008, at 5:16 PM, Hans Hagen wrote: it's probably the fallback font ... how is it used? Hans In a metafun label (which I can't replace with \sometxt): label.top(decimal value,origin) ; forget about sometxt ... that's mojca's personal hack

<    9   10   11   12   13   14   15   16   17   18   >