[NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread Andreas Harder
Hi all! I played a little bit with LuaTeX in ConTeXt and two questions have arisen. \usemodule[calcmath] \starttext \def\calculate#1{\calcmath{#1=\ctxlua{tex.print(#1)}}} \calculate{1+2} \par \calculate{3/2-1}\par % the output should be 0,5 \calculate{3*2}\par % \calculate{sqrt(2)}

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread luigi scarso
On Sun, Feb 14, 2010 at 11:42 AM, Andreas Harder andreas.har...@rz-online.de wrote: Hi all! I played a little bit with LuaTeX in ConTeXt and two questions have arisen. \usemodule[calcmath] \starttext \def\calculate#1{\calcmath{#1=\ctxlua{tex.print(#1)}}} \calculate{1+2} \par

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread Peter Münster
On Sun, Feb 14 2010, Andreas Harder wrote: 1) Is it possible to have a comma as decimal separator? 2) If you look at the above definition, it works fine with +, –, /, but not with *. Is it possible to expand my macro that it will also work with a multiplication or even with the last two

Re: [NTG-context] interlineskip problem (mkiv)

2010-02-14 Thread Hans Hagen
On 12-2-2010 16:47, Peter Rolf wrote: Hi, I get unwanted interline skips when using a MP based background. The attached example works fine in mkii. In mkiv I only get the desired result, if I don't use the MP background. solved in next beta

Re: [NTG-context] Two interline space setup troubles

2010-02-14 Thread Philipp Gesang
Hi Vyatceslav, On 2010-02-13 21:11:34, Vyatcheslav Yatskovsky wrote: Hello, I have some troubles with interline space setup. 1) I want whole document to have medium interline space. When I put \setupinterlinespace[medium] in the preample (before \starttext), it has no effect at all. I

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-14 Thread Matija Šuklje
Dne sreda 10. februarja 2010 ob 09:56:37 je Matija Šuklje napisal(a): Dne sreda 10. februarja 2010 ob 09:50:28 je Robert Blackstone napisal(a): I would be very happy if I could make a Bibliography with several sections. (This wish has been expressed on this list before and I just want to

[NTG-context] \textat (@)

2010-02-14 Thread Mojca Miklavec
Hello, I know that people would usually use \type{em...@address.com}, but I must be missing something. Is there really no \textat (under some other name) defined anywhere in ConTeXt? The following definition in ec (and probably some other encodings) as well as in char-def.lua

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Hans Hagen
On 13-2-2010 11:45, Peter Münster wrote: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click \goto{here}[JS(Walk_Field{test})] to walk through the fieldstack!

Re: [NTG-context] Two interline space setup troubles

2010-02-14 Thread Wolfgang Schuster
Am 13.02.10 20:11, schrieb Vyatcheslav Yatskovsky: Hello, I have some troubles with interline space setup. 1) I want whole document to have medium interline space. When I put \setupinterlinespace[medium] in the preample (before \starttext), it has no effect at all. I want keep all style

Re: [NTG-context] \textat (@)

2010-02-14 Thread Hans Hagen
On 14-2-2010 14:30, Mojca Miklavec wrote: I know that people would usually use \type{em...@address.com}, but I must be missing something. Is there really no \textat (under some other name) defined anywhere in ConTeXt? well, @ normally works quite ok so i never felt the need for a \textat (or

Re: [NTG-context] \textat (@)

2010-02-14 Thread Wolfgang Schuster
Am 14.02.10 14:30, schrieb Mojca Miklavec: Hello, I know that people would usually use \type{em...@address.com}, but I must be missing something. Is there really no \textat (under some other name) defined anywhere in ConTeXt? Why, you can just write @ in your text. Wolfgang

Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Vyatcheslav Yatskovsky
Hello Wolfgang \definestartstop [example] [before={\blank[small]}, after={\blank[small]}, style=\tfx, commands={\setupinterlinespace[big]}] Thank you, Wolfgang, but the 'commands' tag seems to not have no effect at all. Even when explicit value provided.

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-14 Thread Hans Hagen
On 11-2-2010 9:43, Steffen Wolfrum wrote: Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster: Hi all, ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?

Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Wolfgang Schuster
Am 14.02.10 15:05, schrieb Vyatcheslav Yatskovsky: Thank you, Wolfgang, but the 'commands' tag seems to not have no effect at all. Even when explicit value provided. \definestartstop [example] [before={\blank[small]}, after={\blank[small]}, style=\tfx,

Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Vyatcheslav Yatskovsky
Thanks! \definedelimitedtext is a nice command, indeed. As often happens, it is carefully hidden in the wiki documentation ))) Found only in http://wiki.contextgarden.net/Quotes Regards, Vyatcheslav Am 14.02.10 15:05, schrieb Vyatcheslav Yatskovsky: Thank you, Wolfgang, but the

[NTG-context] ConTeXt wiki page

2010-02-14 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear fellow gangsters, I did a bit of rewriting this morning on the wiki page http://en.wikipedia.org/wiki/ConTeXt If anyone can change the example code/figure to something that does not look like such a cliche TeX/LaTeX document, that would be a nice addition. Maybe using TeX-gyre fonts

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread Andreas Harder
Am 14.02.2010 um 13:11 schrieb Peter Münster: On Sun, Feb 14 2010, Andreas Harder wrote: 1) Is it possible to have a comma as decimal separator? 2) If you look at the above definition, it works fine with +, –, /, but not with *. Is it possible to expand my macro that it will also work

Re: [NTG-context] ConTeXt wiki page

2010-02-14 Thread Steffen Wolfrum
Am 14.02.2010 um 17:11 schrieb Idris Samawi Hamid ادريس سماوي حامد: There is a famous German politician who has joined the Developer(s), so ConTeXt has political support for the moment... Now I understand why he never came to a ConTeXt meeting ... must be really quite busy ;o) Steffen

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Wolfgang Schuster
Am 14.02.10 14:32, schrieb Hans Hagen: On 13-2-2010 11:45, Peter Münster wrote: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click \goto{here}[JS(Walk_Field{test})] to walk through the

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Hans Hagen
On 14-2-2010 17:45, Wolfgang Schuster wrote: Am 14.02.10 14:32, schrieb Hans Hagen: On 13-2-2010 11:45, Peter Münster wrote: \setupinteraction[state=start] \definesymbol[step1][AAA] \definesymbol[step2][BBB] \definefieldstack[test][step1, step2] \starttext \fieldstack[test] Just click

Re: [NTG-context] Fwd: Re: [off-list] Rotated footnotes?

2010-02-14 Thread Steffen Wolfrum
Am 11.02.2010 um 13:52 schrieb Hans Hagen: Original Message Subject: Re: [off-list] Rotated footnotes? Date: Thu, 11 Feb 2010 11:30:00 +0100 From: Taco Hoekwater t...@elvenkind.com To: Steffen Wolfrum cont...@post.werksatz.com, Hans Hagen pra...@wxs.nl Taco

Re: [NTG-context] ConTeXt wiki page

2010-02-14 Thread Martin Schröder
2010/2/14 Steffen Wolfrum cont...@st.estfiles.de: Am 14.02.2010 um 17:11 schrieb Idris Samawi Hamid ادريس سماوي حامد: There is a famous German politician who has joined the Developer(s), so ConTeXt has political support for the moment... Now I understand why he never came to a ConTeXt

[NTG-context] Mathdesign and Fourier fonts (was What do you miss in ConTeXt?)

2010-02-14 Thread Mikael Persson
On Wed, Feb 10, 2010 at 3:24 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.02.10 09:00, schrieb Mikael Persson: I would like support for more fonts out of the box (in the minimals). For example it would be really nice to be able to use utopia+fourier (

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Wolfgang Schuster
Am 14.02.10 19:16, schrieb Hans Hagen: new attempt the stepper did now work but why are the symbol names shown on the terminal here is a example from another file with more symbols (the symbols have the names 'go!symbol!...') fonts : using map file: lm-math

Re: [NTG-context] Mathdesign and Fourier fonts (was What do you miss in ConTeXt?)

2010-02-14 Thread Wolfgang Schuster
Am 14.02.10 20:06, schrieb Mikael Persson: On Wed, Feb 10, 2010 at 3:24 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 10.02.10 09:00, schrieb Mikael Persson: I would like support for more fonts out of the box (in the minimals). For example it would be really nice

[NTG-context] columns and footnotes

2010-02-14 Thread Wolfgang Werners-Lucchini
Hallo, I use: ConTeXt ver: 2009.11.24 10:13 MKII fmt: 2009.11.24 int: english/english and I have many problems with columns and footnotes. Is there a possibility to set footnotes in two columns too? I tried \setupfootnotes[location=columns] but I can not see any difference to

[NTG-context] columns and whitespace

2010-02-14 Thread Wolfgang Werners-Lucchini
Hallo, is it possible to get a half line space after paragraphs in columns? The default is no space. And \setupwhitespace[small] produces a whole line of space. Wolfgang ___ If your question is of interest to

Re: [NTG-context] Grid, Footnotes and MkIV

2010-02-14 Thread Hans Hagen
On 14-2-2010 19:39, Steffen Wolfrum wrote: Am 14.02.2010 um 19:25 schrieb Hans Hagen: On 14-2-2010 19:15, Steffen Wolfrum wrote: \usetypescript[postscript] \definetypeface[postscript][rm][serif][times][default] \mainlanguage[de] \setupbodyfont[postscript,10pt] \setuplayout

Re: [NTG-context] \fieldstack with mkiv

2010-02-14 Thread Hans Hagen
On 14-2-2010 20:12, Wolfgang Schuster wrote: Am 14.02.10 19:16, schrieb Hans Hagen: new attempt the stepper did now work but why are the symbol names shown on the terminal here is a example from another file with more symbols (the symbols have the names 'go!symbol!...') fonts : using map

Re: [NTG-context] Formatting numbers in LuaTeX

2010-02-14 Thread Hans Hagen
On 14-2-2010 14:10, Andreas Harder wrote: \startluacode local floor = math.floor local round = function(n) return floor(1000*n+0.5)/1000 end sqrt = math.sqrt pi = math.pi function my_equation(s, r) r = round(r) r = tostring(r) tex.print(s:gsub(*, $·$) .. = ..

Re: [NTG-context] columns and whitespace

2010-02-14 Thread Hans Hagen
On 14-2-2010 20:49, Wolfgang Werners-Lucchini wrote: Hallo, is it possible to get a half line space after paragraphs in columns? The default is no space. And \setupwhitespace[small] produces a whole line of space. halfline should work unless the grid is forced (although in mkiv different

Re: [NTG-context] [dev-context] t-letter/resume package

2010-02-14 Thread Wolfgang Schuster
Am 14.02.10 22:56, schrieb Jörg Hecke: Hi Wolfgang, I am trying to use your t-letter module. Thanks to your letter documentation and the examples (letter-examples.zip) from your web side I was able to set up the letter. But I am failing to use the resume part:-( I would like to use your

Re: [NTG-context] Mathdesign and Fourier fonts (was What do you miss in ConTeXt?)

2010-02-14 Thread Mojca Miklavec
On Sun, Feb 14, 2010 at 20:06, Mikael Persson wrote: On Wed, Feb 10, 2010 at 3:24 PM, Wolfgang Schuster wrote: Am 10.02.10 09:00, schrieb Mikael Persson: MkIV has support for the Charter and the Mathdesign fonts. \definetypafec[charter][rm][serif][charter]     [default]

Re: [NTG-context] [dev-context] t-letter/resume package

2010-02-14 Thread Jörg Hecke
Hi Wolfgang, Am 14.02.2010 um 23:22 schrieb Wolfgang Schuster: But I am failing to use the resume part:-( I would like to use your classic or casual layout, but I have no idea how to use them. I'm sorry but there is something missing in documentation, the resume part is not really

Re: [NTG-context] ntg-context Digest, Vol 68, Issue 57

2010-02-14 Thread Vyatcheslav Yatskovsky
Hello, Hans i'm still reconsidering this ... maybe in mkiv we will have - \setupbodyinterlinespace - \switchtobodyinterlinespace and \setupinterlinespace being local (or global till starttext) Hans \setupbodyinterlinespace is probably what I needed. But I'm quite happy with current

Re: [NTG-context] Mathdesign and Fourier fonts (was What do you miss in ConTeXt?)

2010-02-14 Thread Aditya Mahajan
On Sun, 14 Feb 2010, Mojca Miklavec wrote: I have a feeling that some other font has been requested recently, but I don't recall which one/who wrote that (I don't find the mail any more). doublestroke http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=doublestroke Aditya