Re: [NTG-context] Pipe symbol

2011-01-24 Thread Hans Hagen
On 24-1-2011 3:22, Vyatcheslav Yatskovsky wrote: \starttext a \textbar\ b \letterbar\ c \type{|} d ||| e \stoptext Wolfgang Even more thanks! P.S. Searching Wiki for pipe symbol gives no useful results. At what section I can wikify this? I think that having a special symbols (everything

Re: [NTG-context] [PATCH] mtxrun: Typo. s/sometims/sometimes/

2011-01-24 Thread Hans Hagen
On 24-1-2011 2:10, Paul Menzel wrote: Date: Mon, 24 Jan 2011 02:05:06 +0100 The following command was used. $ git grep -l sometims | xargs sed -i 's/sometims/sometimes/' fyi: only l-os.lua needs to be patched as the rest is derived from it

Re: [NTG-context] Pipe symbol

2011-01-24 Thread Khaled Hosny
On Mon, Jan 24, 2011 at 01:04:55AM +0100, Wolfgang Schuster wrote: Am 24.01.2011 um 00:26 schrieb Vyatcheslav Yatskovsky: Hi, How to use a pipe symbol (|) in a text? Both | and \| give errors. \starttext a \textbar\ b \letterbar\ c \type{|} d ||| e \stoptext Just wondering,

Re: [NTG-context] Pipe symbol

2011-01-24 Thread Wolfgang Schuster
Am 24.01.2011 um 12:47 schrieb Khaled Hosny: Just wondering, what is special about | now we can even have ^ and $ in text mode? http://wiki.contextgarden.net/Composed_words Wolfgang ___ If your question is of

[NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread dalyoung
Dear all, I draw a simple figure using the code as below. In the code, I use for i = 3,5,0,2,1,7: in def draw_balls. However, if I can pass the array 3,5,0,2,1,7 as an argument for def draw_balls (expr n) and call draw_balls (3,5,0,2,1,7), then it can be used for different number of balls and

Re: [NTG-context] Pipe symbol

2011-01-24 Thread Khaled Hosny
On Mon, Jan 24, 2011 at 01:01:10PM +0100, Wolfgang Schuster wrote: Am 24.01.2011 um 12:47 schrieb Khaled Hosny: Just wondering, what is special about | now we can even have ^ and $ in text mode? http://wiki.contextgarden.net/Composed_words I see, but it is a feature I'd

[NTG-context] Layer(s)

2011-01-24 Thread Ian Lawrence
Morning, I am completely defeated by layers...from a more or less complete beginner.. So please be gentle. I think you ought to be able to have multiple layers and so to switch them on and off, using modes. However I can only find examples and documentation for single layers in use at any

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread Peter Rolf
Am 24.01.2011 13:18, schrieb dalyoung: \startbuffer[a] path p; numeric bwidth, u, lastpoint; u :=1cm; p := fullcircle scaled .3u; lastpoint := 0; def draw_balls = %(expr s) def draw_balls(text s) = draw (0,0) -- (0, u); for i=3,5,0,2,1,7: for i=s: for j = 1 upto i:

Re: [NTG-context] Layer(s)

2011-01-24 Thread luigi scarso
On Mon, Jan 24, 2011 at 1:46 PM, Ian Lawrence physics.wande...@gmail.com wrote: Morning, I am completely defeated by layers...from a more or less complete beginner.. So please be gentle. I think you ought to be able to have multiple layers and so to switch them on and off, using modes.

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread Peter Rolf
Am 24.01.2011 13:50, schrieb Peter Rolf: Am 24.01.2011 13:18, schrieb dalyoung: \startbuffer[a] path p; numeric bwidth, u, lastpoint; u :=1cm; p := fullcircle scaled .3u; lastpoint := 0; def draw_balls = %(expr s) def draw_balls(text s) = draw (0,0) -- (0, u); for

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread dalyoung
Dear Peter, Thank you for your help. By changing (expr s) to (text s), it works! I am using ConTeXt Minimal and the luatex version is This is LuaTeX, Version beta-0.61.0-2010072816 Thank you again. Dalyoung

Re: [NTG-context] Labels in MetaPost (MetaObj)

2011-01-24 Thread Stefan Müller
Wikified: http://wiki.contextgarden.net/MetaObj_and_Labels Please update/change as appropriate. Best regards, Stefan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Too many open files

2011-01-24 Thread Thomas Floeren
Hi, with the actual minimals and luatex on Mac OSX I get pdfError: Couldn't open file image file name Too many open files and then fatal error 70. With an older installation everything is ok, minimals on Windows are ok, too. The document has about 700 figures. En detail: Working: OSX:

Re: [NTG-context] Too many open files

2011-01-24 Thread Hans Hagen
On 24-1-2011 8:41, Thomas Floeren wrote: Hi, with the actual minimals and luatex on Mac OSX I get pdfError: Couldn't open fileimage file name Too many open files and then fatal error 70. With an older installation everything is ok, minimals on Windows are ok, too. The document has about 700

Re: [NTG-context] Minimals/MTXrun: 32-bit system with 64-bit kernel: `MTXrun | no 'texmf-linux-64'`

2011-01-24 Thread Paul Menzel
Am Sonntag, den 23.01.2011, 20:50 -0500 schrieb Aditya Mahajan: On Mon, 24 Jan 2011, Paul Menzel wrote: I am running a 32-bit system with a 64-bit kernel. So relying on uname -m to determine the architecture leads to problems [1]. So I do `cpu = i686` manually in

Re: [NTG-context] Minimals/MTXrun: 32-bit system with 64-bit kernel: `MTXrun | no 'texmf-linux-64'`

2011-01-24 Thread Aditya Mahajan
On Mon, 24 Jan 2011, Paul Menzel wrote: MTXrun | run: rsync -rpztlv --delete contextgarden.net::'minimals/current/base/tex/ minimals/current/base/metapost/ minimals/current/fonts/common/ minimals/current/fonts/other/ minimals/current/misc/web2c minimals/current/base/xetex/

[NTG-context] template for protocol (record) of experiment

2011-01-24 Thread Paul Menzel
Dear ConTeXt folks, does anyone of you use(d) ConTeXt for typesetting a protocol/record of an experiment (in my case physics, but it should not matter). I already found the sample documents in the Wiki [1] and probably will be able to come up with something, which would take me some time. So I

Re: [NTG-context] Minimals/MTXrun: 32-bit system with 64-bit kernel: `MTXrun | no 'texmf-linux-64'`

2011-01-24 Thread Paul Menzel
Am Montag, den 24.01.2011, 19:18 -0500 schrieb Aditya Mahajan: On Mon, 24 Jan 2011, Paul Menzel wrote: MTXrun | run: rsync -rpztlv --delete contextgarden.net::'minimals/current/base/tex/ minimals/current/base/metapost/ minimals/current/fonts/common/

[NTG-context] Problem calling Lua during \startsetups

2011-01-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I encountered a bit weird thing when I used Lua in \startsetup: --- \definelayer[T][x=0mm,y=0mm,width=\paperwidth,height=\paperheight] \directlua{n, m = 1, 11} % Initialization \startsetups layer % In my real code (= not in this example) % the value of 'n' is used here to set the

Re: [NTG-context] Problem calling Lua during \startsetups

2011-01-24 Thread Wolfgang Schuster
Am 25.01.2011 um 08:33 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I encountered a bit weird thing when I used Lua in \startsetup: --- \definelayer[T][x=0mm,y=0mm,width=\paperwidth,height=\paperheight] \directlua{n, m = 1, 11} % Initialization \startsetups layer % In