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] Centering last line of paragraph

2008-11-09 Thread dw
On Sun, 9 Nov 2008 15:46:48 -0500 (EST), Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Sun, 9 Nov 2008, Wolfgang Schuster wrote: > >> >> Am 09.11.2008 um 20:18 schrieb <[EMAIL PROTECTED]> >> <[EMAIL PROTECTED]>: >> >>> Hi all, >>> >>> For some long-winded subtitles, I need a paragraph shape which

Re: [NTG-context] Centering last line of paragraph

2008-11-09 Thread Aditya Mahajan
On Sun, 9 Nov 2008, Wolfgang Schuster wrote: > > Am 09.11.2008 um 20:18 schrieb <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]>: > >> Hi all, >> >> For some long-winded subtitles, I need a paragraph shape which has >> flush >> sides except the last line, which is centered. I haven't come across >> any >

Re: [NTG-context] Centering last line of paragraph

2008-11-09 Thread Wolfgang Schuster
Am 09.11.2008 um 20:18 schrieb <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>: > Hi all, > > For some long-winded subtitles, I need a paragraph shape which has > flush > sides except the last line, which is centered. I haven't come across > any > solutions for this... any clues? http://www.tug.o

[NTG-context] Centering last line of paragraph

2008-11-09 Thread dw
Hi all, For some long-winded subtitles, I need a paragraph shape which has flush sides except the last line, which is centered. I haven't come across any solutions for this... any clues? Best, David ___ If your questi

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 MKIV Bug: transparent does not work as should in mplib's textext

2008-11-09 Thread Hans Hagen
Yue Wang wrote: > Hi Hans: > > It seems that \definecolor[ foobar][some transparent color] does not > work in MKIV. I attach the test file and result pdf in the attachment. > Can you take a look? thanks! it's some tricky interference between graphic states in the pdf code so i now opt for a more

Re: [NTG-context] ConTeXt MKIV Bug: transparent does not work as should in mplib's textext

2008-11-09 Thread Yue Wang
Hi, > It works but in normal text but if you use MetaPost graphics > only the first text is transparent. Yes, so it is a bug. Yue Wang ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] ConTeXt MKIV Bug: transparent does not work as should in mplib's textext

2008-11-09 Thread Wolfgang Schuster
Am 09.11.2008 um 13:27 schrieb Yue Wang: > Hi Hans: > > It seems that \definecolor[ foobar][some transparent color] does not > work in MKIV. I attach the test file and result pdf in the attachment. > Can you take a look? thanks! It works but in normal text but if you use MetaPost graphics only t

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/

[NTG-context] ConTeXt MKIV bug: Chinese left aligned does not work as should

2008-11-09 Thread Yue Wang
Hi, Hans: It seems that left aligned (flushright) does not work for chinese. I attach the minimal test files in the mail. To test the file, please download the zhfonts.tex from http://code.google.com/p/ctxnotes/downloads/list, and the adobe Chinese fonts. (I also mailed you these files long ago fo

[NTG-context] ConTeXt MKIV Bug: transparent does not work as should in mplib's textext

2008-11-09 Thread Yue Wang
Hi Hans: It seems that \definecolor[ foobar][some transparent color] does not work in MKIV. I attach the test file and result pdf in the attachment. Can you take a look? thanks! Yue Wang card.pdf Description: Adobe PDF document card.tex Description: TeX document __

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] Pb with verb-pas

2008-11-09 Thread Eric DÉTREZ
Hello A funny problem When I use pascal verbatim I've got a curious feature (?) Here is a minimal problem \starttext \startPAS i/ 2; nom/ 2; ; \stopPAS \stoptext When I typeset it the i desappear. I only occurs when the / is followed by a space and when the variable before / is made

Re: [NTG-context] TABLEs and backgroundcolor

2008-11-09 Thread Peter Münster
On Sat, Nov 08 2008, Andreas Harder wrote: > \bTABLE[background=color,backgroundcolor=blue] > \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR > \bTR \bTD left \eTD\bTD right \eTD\eTR > \bTR \bTD left \eTD\bTD right \eTD\eTR > \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eT

[NTG-context] TABLEs and backgroundcolor

2008-11-09 Thread Andreas Harder
Hello everyone, this TABLE used to work not long time ago: \setupcolors[state=start] \starttext % \showframe \bTABLE[framecolor=gray] % split=yes \setupTABLE[column][first] [background=color,backgroundcolor=red] \setupTABLE[column][last] [background=color,backgroundcolor=green] \setupTABLE[fir