Re: [NTG-context] Line break in verbatim

2011-05-03 Thread Wolfgang Schuster
Am 03.05.2011 um 01:26 schrieb Aditya Mahajan: You can also put the text in a \hbox with “\setuptype[command=\hbox]”. The command key from \setuptype is special because it accepts only box commands (\hbox, \vbox, \framed …). I don't see why that is the case. Looking at the code, it appears

[NTG-context] Positional graphics (MetaFun)!

2011-05-03 Thread Verhaag, G.C.H.M.
Hi, Inspired by the examples given in the MetaFun manual (Oct. 2010) I tried a few, but I can't get them working! I'm specially interested in the 'Anchors and layers' (p.257, screen version!) feature. I typed in the MetaPost code as given on page 260, defined the anchors, but no circles and

Re: [NTG-context] modules with no author

2011-05-03 Thread Patrick Gundlach
Hi Adam, I you mean the gantt module, have a look at the mailinglist: http://www.ntg.nl/pipermail/ntg-context/2010/054051.html It was advised to upload it to tlcontrib instead, so the module is located here:

[NTG-context] tikz picture is placed align left-upper corner

2011-05-03 Thread Gao Ya'nan
I draw a figure by tikz but found it is not in the middle but a little left of the page, and then I wrote a piece code and impoved my view. And I tried to add some parameters to put the figure in the middle but failed. Thanks for any tips and test code is below. \usemodule[tikz]

Re: [NTG-context] bibliography basics

2011-05-03 Thread Hagmann Jörg
Using the attached minimal example with biblio.bib, how can I get an alphabetical publication-list with surname-Initials etc. when using numbers in the thext? Shouldn't that be default? It is when using authoryear in the text (comment/uncomment the relevant lines). mkiv, current version:

Re: [NTG-context] tikz picture is placed align left-upper corner

2011-05-03 Thread Aditya Mahajan
On Tue, 3 May 2011, Gao Ya'nan wrote: I draw a figure by tikz but found it is not in the middle but a little left of the page, and then I wrote a piece code and impoved my view. And I tried to add some parameters to put the figure in the middle but failed. Does this

[NTG-context] AMSTeX compatibility: `\dotsb` is not defined

2011-05-03 Thread Paul Menzel
Dear ConTeXt folks, `\dotsb` is not defined although it is defined in AMSTeX (amsmath) [1]. Please find the following minimal example also attached. \starttext This throws an error, since »\backslash dotsb« is not defined. \startformula 1 + 2 +

[NTG-context] modules or packages for abbreviations for common math commands

2011-05-03 Thread Paul Menzel
Dear ConTeXt folks, is there a module or a package people have created for common things used in mathematics. `\set{ a, b, c }` for a set. `\EV{X}` for the expected value. `\P{ X = ½ }` for the probability. … If not, maybe a module could be created and

[NTG-context] Problem with arrows in latest mkiv (again)

2011-05-03 Thread Otared Kavian
Hi Hans, I am sending again a message sent some two weeks ago, but probably it was lost… It seems that the latest beta (version 2011.05.01 12:50) has a problem with arrow in math mode, using Latin modern, while with Palatino the arrows are correct. Here is a minimal example and its PDF result

Re: [NTG-context] AMSTeX compatibility: `\dotsb` is not defined

2011-05-03 Thread Wolfgang Schuster
Am 03.05.2011 um 15:46 schrieb Paul Menzel: Dear ConTeXt folks, `\dotsb` is not defined although it is defined in AMSTeX (amsmath) [1]. Why don’t you use \cdots, i can see no difference between your linked example and mine below. \setupbodyfont[pagella] \starttext

Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)

2011-05-03 Thread S Barmeier
Hi, please consider this: \starttext \math{flow_1} \stoptext When compiled with MkIV, space between f and l is quite big and doesn't look very good. Is it a bug? Spacing between letters when treated as individual variables is always a bit fishy. In this case the math mode

Re: [NTG-context] modules or packages for abbreviations for common math commands

2011-05-03 Thread Aditya Mahajan
On Tue, 3 May 2011, Paul Menzel wrote: Dear ConTeXt folks, is there a module or a package people have created for common things used in mathematics. `\set{ a, b, c }` for a set. `\EV{X}` for the expected value. `\P{ X = ½ }` for the probability. … If not, maybe a

Re: [NTG-context] AMSTeX compatibility: `\dotsb` is not defined

2011-05-03 Thread Aditya Mahajan
On Tue, 3 May 2011, Paul Menzel wrote: Dear ConTeXt folks, `\dotsb` is not defined although it is defined in AMSTeX (amsmath) [1]. Is `\dotsb` not defined intentionally? I do not completely understand why this command is needed. I think that the intent of amstex is that the user should

Re: [NTG-context] Problem with arrows in latest mkiv (again)

2011-05-03 Thread Aditya Mahajan
On Tue, 3 May 2011, Otared Kavian wrote: Hi Hans, I am sending again a message sent some two weeks ago, but probably it was lost… It seems that the latest beta (version 2011.05.01 12:50) has a problem with arrow in math mode, using Latin modern, while with Palatino the arrows are correct.

Re: [NTG-context] Too much spacing in math mode between 'f' and 'l' (MkIV only)

2011-05-03 Thread Aditya Mahajan
On Tue, 3 May 2011, Vedran Miletić wrote: Hi, please consider this: \starttext \math{flow_1} \stoptext When compiled with MkIV, space between f and l is quite big and doesn't look very good. Is it a bug? Definitely looks like a bug in italic correction. In principle, the spacing with

[NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-03 Thread Alasdair McAndrew
I want to typeset a multiplication table, where there will be a horizontal line after the first row, and a vertical line after the first column. In LaTeX, I can use: \[ \begin{array}{c|ccc} \times0123456\\ \hline \\ 10123456\\ 20246135\\ 30362514\\ 40415263\\

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-03 Thread Aditya Mahajan
On Wed, 4 May 2011, Alasdair McAndrew wrote: I want to typeset a multiplication table, where there will be a horizontal line after the first row, and a vertical line after the first column. In LaTeX, I can use: \[ \begin{array}{c|ccc} \times0123456\\ \hline \\ 10123456\\

Re: [NTG-context] Problem with arrows in latest mkiv (again)

2011-05-03 Thread Otared Kavian
On 4 mai 2011, at 05:57, Aditya Mahajan wrote: […] It appears that a text mode minus is being used rather than the math mode minus. I haven't checked why that is happening. Thanks Aditya for your attention: yes you are right indeed, this is what happens with LM, but not with Palatino. Best