Re: [NTG-context] Context Live

2023-05-24 Thread Taco Hoekwater via ntg-context
> On 24 May 2023, at 17:10, Jeroen via ntg-context wrote: > > I would like to setup a website with a live Context renderer like > live.contextgarden.net > Is there a procedure how to setup such a live setup? It is a chroot jail and a few scripts to integrate with the web browser. I will

Re: [NTG-context] Context Live setup ?

2009-11-17 Thread Patrick Gundlach
Hello, I would like to make a ConTeXt Live server in LAN for testing purposes, but I can not found any document for setup this kind of server. What are requirements ? Anyone could give me some help please ? You can find the sourcecode of live.contextgarden.net at github:

Re: [NTG-context] Context Live setup ?

2009-11-17 Thread Vnpenguin
On Tue, Nov 17, 2009 at 10:02, Patrick Gundlach patr...@gundla.ch wrote: Hello, I would like to make a ConTeXt Live server in LAN for testing purposes, but I can not found any document for setup this kind of server. What are requirements ? Anyone could give me some help please ? You can

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Peter Münster
On Mon, Nov 10 2008, Yue Wang wrote: As to the live, I think a patched Lua file (loslib.c) can solve this problem: remove the line {execute, os_execute}, in the static const luaL_Reg syslib[]. Moreover, if we do that, ConTeXt will not adapt to the stripped down LuaTeX. For

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Hans Hagen
Peter Münster wrote: On Mon, Nov 10 2008, Yue Wang wrote: As to the live, I think a patched Lua file (loslib.c) can solve this problem: remove the line {execute, os_execute}, in the static const luaL_Reg syslib[]. Moreover, if we do that, ConTeXt will not adapt to the stripped down

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Hans Hagen
Yue Wang wrote: Hi, Hans: there are provisions in mkiv to turn off os.execute etc in a tex run; since we have mplib embedded, there is not much reason for os.execute anyway so i can consider a --secure switch for mtx-context not that helpful. users can still use io.open(/etc/xxx, r) to

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Yue Wang
Hi, Hans: there are provisions in mkiv to turn off os.execute etc in a tex run; since we have mplib embedded, there is not much reason for os.execute anyway so i can consider a --secure switch for mtx-context not that helpful. users can still use io.open(/etc/xxx, r) to read files they want.

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Taco Hoekwater
Peter Münster wrote: LuaTeX (and TeX/ConTeXt in general) is not compatible with security. The Depends a bit on how you define security but it is true that context does not 'do well' in restricted environments. The luatex executable actually has a --safer switch (a la ghostscript) but if it

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Patrick Gundlach
Hi, btw, virtual machine is also a nice solution. I doubt that it will run on the garden server (no kernel modules etc). But true, it would be a nice solution! Patrick -- ConTeXt wiki and more: http://contextgarden.net

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Patrick Gundlach
Hi all, In my opinion, the only options for live.contextgarden.net are: a) just don't care, if there is a problem, restore from backup this is the current approach, and restore hasn't been needed yet (afaik). Right. b) chroot jail possible new approach, but I suspect it won't be

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Diego Depaoli
2008/11/10 Yue Wang [EMAIL PROTECTED]: maybe a bsd-like jail(8). http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html It is said that linux-vserver had the same feature. I hadn't tried that yet. I've done limited tests at home and it worked wery well. Setup is not so

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Yue Wang
Hi: pls try texexec --make --all luatools --generate context --make Yue Wang On Sun, Nov 9, 2008 at 7:35 PM, Pablo Rodríguez [EMAIL PROTECTED] wrote: Trying to typeset the default ConTeXt Live \starttext Hello world! \stoptext I get the following message: TeXExec | processing document

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Peter Münster
On Sun, Nov 09 2008, Pablo Rodríguez wrote: I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.776454 It seems that it doesn't work. It happens also with XeTeX and LuaTeX. Sure? No problem here with LuaTeX on live.contextgarden.net... Peter -- http://pmrb.free.fr/contact/

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Pablo Rodríguez
Thanks, Yue, for your reply. Yue Wang wrote: Hi: pls try texexec --make --all luatools --generate context --make Are you sure that users can access to http://live.contextgarden.net/? I think this would be a big security hole. Pablo Yue Wang On Sun, Nov 9, 2008 at 7:35 PM, Pablo

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Pablo Rodríguez
Thanks, Peter, for the reply. Peter Münster wrote: On Sun, Nov 09 2008, Pablo Rodríguez wrote: I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.776454 It seems that it doesn't work. It happens also with XeTeX and LuaTeX. Sure? No problem here with LuaTeX on

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Yue Wang
Hi: Let me try another trick: \starttext \directlua0{os.exec(luatools --generate)} Hello world! \stoptext Here is the log, please pay attention to the Luatools scanning path lines: LuaTools | running command: luatex

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Yue Wang
Hi, Aditya: So next time the Live is down, I can manually fix that :-) I think that this is a serious security risk. Replacing luatools --generate with any unix command works. I can cat files in /etc directory, so os.exec effectively gives me read access to the entire server. Is there a

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Aditya Mahajan
On Mon, 10 Nov 2008, Yue Wang wrote: Hi: Let me try another trick: \starttext \directlua0{os.exec(luatools --generate)} Hello world! \stoptext [snip] So next time the Live is down, I can manually fix that :-) I think that this is a serious security risk. Replacing luatools

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Yue Wang
Hi: On Mon, Nov 10, 2008 at 1:15 AM, Pablo Rodríguez [EMAIL PROTECTED] wrote: Thanks, Yue, for your reply. Yue Wang wrote: Hi: pls try texexec --make --all luatools --generate context --make Are you sure that users can access to http://live.contextgarden.net/? I think this would be a

Re: [NTG-context] ConTeXt Live not working

2008-11-09 Thread Yue Wang
Hi, As to the live, I think a patched Lua file (loslib.c) can solve this problem: remove the line {execute, os_execute}, in the static const luaL_Reg syslib[]. Moreover, if we do that, ConTeXt will not adapt to the stripped down LuaTeX. For example, mtxrun.lua contains many functions

Re: [NTG-context] ConTeXt live

2005-12-02 Thread Hans Hagen
VnPenguin wrote: Hi, I'm trying to build a page ConTeXt live on a Apache web server with PHP. Here is the simple test - \enableregime[utf] \setupencoding[default=t5] \usetypescript[berry][t5] \usetypescript[palatino][t5]

Re: [NTG-context] ConTeXt live

2005-12-02 Thread VnPenguin
On 12/2/05, Hans Hagen [EMAIL PROTECTED] wrote: it has to do with the tex distribution being configured as too paranoid which means no writing can you try the --notparanoid switch? Just added this option to texexec, but it does not help. The problem is still there. Thanks --

Re: [NTG-context] ConTeXt live

2005-12-02 Thread Hans Hagen
VnPenguin wrote: On 12/2/05, Hans Hagen [EMAIL PROTECTED] wrote: it has to do with the tex distribution being configured as too paranoid which means no writing can you try the --notparanoid switch? Just added this option to texexec, but it does not help. The problem is still there.

Re: [NTG-context] ConTeXt-live distribution

2003-12-10 Thread Zunbeltz Izaola
On Wed, 10 Dec 2003, Maurice Diamantini wrote: Le 10 déc. 03, à 11:39, Patrick Gundlach a écrit : Bob Kerstetter [EMAIL PROTECTED] writes: ... that a user like me with no root access might encounter to get the system to run. In short, someone who can lead me in small steps through

Re: [NTG-context] ConTeXt-live distribution

2003-12-10 Thread Hans Hagen
At 13:55 10/12/2003, you wrote: This would also make much easier to give acces to context to beginer (without the need of texmf experience). There is indeed such an iso image (100 MB including all doc). But .. as an experiment you try the following: (1) download one of:

Re: [NTG-context] ConTeXt-live distribution

2003-12-10 Thread Adam Lindsay
Is this another way of saying that there's a new version (+ beta) on the site? :) Hans Hagen said this at Wed, 10 Dec 2003 17:32:29 +0100: At 13:55 10/12/2003, you wrote: This would also make much easier to give acces to context to beginer (without the need of texmf experience). There is

Re: [NTG-context] ConTeXt-live distribution (Typesetting music in ConTeXt)

2003-12-10 Thread Hans Hagen
At 16:10 10/12/2003, you wrote: On Wed, 10 Dec 2003 13:55:34 +0100 Maurice Diamantini [EMAIL PROTECTED] wrote: : 3 - some package or binding to Lilypond (for writing music/midi and : xml) That

Re: [NTG-context] ConTeXt-live distribution (Typesetting music in ConTeXt)

2003-12-10 Thread Willi Egger
Hans Hagen wrote: At 16:10 10/12/2003, you wrote: On Wed, 10 Dec 2003 13:55:34 +0100 Maurice Diamantini [EMAIL PROTECTED] wrote: : 3 - some package or binding to Lilypond (for writing