> 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
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:
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
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
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
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
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.
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
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
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
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
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
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/
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
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
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
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
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
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
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
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]
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
--
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.
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
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:
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
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
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
28 matches
Mail list logo