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 sen

[NTG-context] Context Live

2023-05-24 Thread Jeroen via ntg-context
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? Thanks, Jeroen ___ If your question is of interest to others as well, pleas

Re: [NTG-context] Context Live setup ?

2009-11-17 Thread Vnpenguin
On Tue, Nov 17, 2009 at 10:02, Patrick Gundlach 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 find t

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: http://github.c

[NTG-context] Context Live setup ?

2009-11-17 Thread Vnpenguin
Hi, 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 ? Thanks, ___ If

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

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 w

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

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

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

Re: [NTG-context] ConTeXt Live not working

2008-11-10 Thread Yue Wang
On Mon, Nov 10, 2008 at 4:26 PM, Peter Münster <[EMAIL PROTECTED]> 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 s

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

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 the

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 fu

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 luatool

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 > thi

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 --fmt="/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/form

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 li

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, Pa

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

[NTG-context] ConTeXt Live not working

2008-11-09 Thread Pablo Rodríguez
Trying to typeset the default ConTeXt Live \starttext Hello world! \stoptext I get the following message: TeXExec | processing document 'texweb.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file texweb.top TeXExec | using r

[NTG-context] context live @ contextgarden.net doesn't support Chinese

2005-12-06 Thread Xiao Jianfeng
Hello, When I tried to create PDF on the fly in the wiki, I found that context live @ contextgarden.net doesn't support Chinese -_- Is it possible that context live @ contextgarden.net is reconfigured with Chinese support ? Regards, xiaojf ___ ntg-con

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"

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 -- http

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]

[NTG-context] ConTeXt "live"

2005-12-02 Thread VnPenguin
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] \setupbodyfont[palat

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 music

Re: [NTG-context] ConTeXt-live distribution

2003-12-10 Thread Hans Hagen
At 17:43 10/12/2003, you wrote: Is this another way of saying that there's a new version (+ beta) on the site? :) since i synced the sit ewith my machine ... indeed (unless something went wrong) Hans ___ ntg-context mailing list [EMAIL PROTECTED] htt

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) Tha

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). >

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: http://www.pragm

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

2003-12-10 Thread Pavel Stupin
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 would be very-very nice. By

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 s

[NTG-context] ConTeXt-live distribution

2003-12-10 Thread Maurice Diamantini
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 the installation process." Do such instructions already exist