Re: [NTG-context] Some problems creating a wiki page

2011-04-16 Thread Aditya Mahajan

On Fri, 15 Apr 2011, Cecil Westerhof wrote:


I started making a page about indent:
   http://wiki.contextgarden.net/indent


There is already a page at:

http://wiki.contextgarden.net/Indentation

I added explanation about first, next, odd, even options. I am not sute 
that the comments about blank and flowchart should go on the page on 
indentation. I think that they belong on a wiki page on blanks and 
flowchart respectively.


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-16 Thread Cecil Westerhof
2011/4/16 Aditya Mahajan adit...@umich.edu:
 On Fri, 15 Apr 2011, Cecil Westerhof wrote:

 I started making a page about indent:
   http://wiki.contextgarden.net/indent

 There is already a page at:

 http://wiki.contextgarden.net/Indentation

I did not know that.


 I added explanation about first, next, odd, even options. I am not sute that
 the comments about blank and flowchart should go on the page on indentation.
 I think that they belong on a wiki page on blanks and flowchart
 respectively.

I think they need to be there, because this where problems I
encountered when I wanted to use indentation. ;-}

With MKII there is no problem with blanks.

-- 
Cecil Westerhof
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Wolfgang Schuster

Am 15.04.2011 um 08:41 schrieb Cecil Westerhof:

 It compiles under ConTeXt without a problem, but on the wiki I get a texexec 
 error.

The fancybreak is only shipped with the minimals but not with TeXLive which is 
AFAIR used by the wiki.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Cecil Westerhof
2011/4/15 Wolfgang Schuster schuster.wolfg...@googlemail.com:
 It compiles under ConTeXt without a problem, but on the wiki I get a texexec 
 error.

 The fancybreak is only shipped with the minimals but not with TeXLive which 
 is AFAIR used by the wiki.

How can I only put the code on the wiki?

-- 
Cecil Westerhof
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Wolfgang Schuster

Am 15.04.2011 um 13:37 schrieb Cecil Westerhof:

 2011/4/15 Wolfgang Schuster schuster.wolfg...@googlemail.com:
 It compiles under ConTeXt without a problem, but on the wiki I get a 
 texexec error.
 
 The fancybreak is only shipped with the minimals but not with TeXLive which 
 is AFAIR used by the wiki.
 
 How can I only put the code on the wiki?

You can write code for the source and the output where you use fancbreak
in the source (already written by you) and for the output you just write
“\blank\noindentation” to simulate the \myblank command.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Cecil Westerhof
2011/4/15 Wolfgang Schuster schuster.wolfg...@googlemail.com:
 It compiles under ConTeXt without a problem, but on the wiki I get a 
 texexec error.

 The fancybreak is only shipped with the minimals but not with TeXLive which 
 is AFAIR used by the wiki.

 How can I only put the code on the wiki?

 You can write code for the source and the output where you use fancbreak
 in the source (already written by you) and for the output you just write
 “\blank\noindentation” to simulate the \myblank command.

Done.

-- 
Cecil Westerhof
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Mojca Miklavec
On Fri, Apr 15, 2011 at 13:25, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 15.04.2011 um 08:41 schrieb Cecil Westerhof:

 It compiles under ConTeXt without a problem, but on the wiki I get a texexec 
 error.

 The fancybreak is only shipped with the minimals but not with TeXLive which 
 is AFAIR used by the wiki.

No, wiki is not using TeX Live, but it doesn't contain modules. (I'll
fix that on the new machine.)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Cecil Westerhof
2011/4/15 Mojca Miklavec mojca.miklavec.li...@gmail.com:
 On Fri, Apr 15, 2011 at 13:25, Wolfgang Schuster
 schuster.wolfg...@googlemail.com wrote:

 Am 15.04.2011 um 08:41 schrieb Cecil Westerhof:

 It compiles under ConTeXt without a problem, but on the wiki I get a 
 texexec error.

 The fancybreak is only shipped with the minimals but not with TeXLive which 
 is AFAIR used by the wiki.

 No, wiki is not using TeX Live, but it doesn't contain modules. (I'll
 fix that on the new machine.)

But it uses texexec (MKII) and not context (MKIV)? The results I get
are the same as using texexec, not context.

-- 
Cecil Westerhof
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Aditya Mahajan

On Fri, 15 Apr 2011, Cecil Westerhof wrote:


2011/4/15 Mojca Miklavec mojca.miklavec.li...@gmail.com:

On Fri, Apr 15, 2011 at 13:25, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:


Am 15.04.2011 um 08:41 schrieb Cecil Westerhof:


It compiles under ConTeXt without a problem, but on the wiki I get a texexec 
error.


The fancybreak is only shipped with the minimals but not with TeXLive which is 
AFAIR used by the wiki.


No, wiki is not using TeX Live, but it doesn't contain modules. (I'll
fix that on the new machine.)


But it uses texexec (MKII) and not context (MKIV)? The results I get
are the same as using texexec, not context.


IIRC, there were some security concerns with MkIV:

   \ctxlua{os.execute(cat /etc/passwd)}

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Cecil Westerhof
2011/4/15 Aditya Mahajan adit...@umich.edu:
 On Fri, 15 Apr 2011, Cecil Westerhof wrote:

 2011/4/15 Mojca Miklavec mojca.miklavec.li...@gmail.com:

 On Fri, Apr 15, 2011 at 13:25, Wolfgang Schuster
 schuster.wolfg...@googlemail.com wrote:

 Am 15.04.2011 um 08:41 schrieb Cecil Westerhof:

 It compiles under ConTeXt without a problem, but on the wiki I get a
 texexec error.

 The fancybreak is only shipped with the minimals but not with TeXLive
 which is AFAIR used by the wiki.

 No, wiki is not using TeX Live, but it doesn't contain modules. (I'll
 fix that on the new machine.)

 But it uses texexec (MKII) and not context (MKIV)? The results I get
 are the same as using texexec, not context.

 IIRC, there were some security concerns with MkIV:

   \ctxlua{os.execute(cat /etc/passwd)}

If that is the only problem, you could use shadow passwords.

Would be a good idea to mention this. I personally would expect MKIV to be used.

-- 
Cecil Westerhof
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Some problems creating a wiki page

2011-04-15 Thread Hans Hagen

On 15-4-2011 7:44, Aditya Mahajan wrote:

On Fri, 15 Apr 2011, Cecil Westerhof wrote:


2011/4/15 Mojca Miklavec mojca.miklavec.li...@gmail.com:

On Fri, Apr 15, 2011 at 13:25, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:


Am 15.04.2011 um 08:41 schrieb Cecil Westerhof:


It compiles under ConTeXt without a problem, but on the wiki I get
a texexec error.


The fancybreak is only shipped with the minimals but not with
TeXLive which is AFAIR used by the wiki.


No, wiki is not using TeX Live, but it doesn't contain modules. (I'll
fix that on the new machine.)


But it uses texexec (MKII) and not context (MKIV)? The results I get
are the same as using texexec, not context.


IIRC, there were some security concerns with MkIV:

\ctxlua{os.execute(cat /etc/passwd)}


Althoug I admit that I tested it long ago (early days of mkiv) there is 
some control built in:


system.executionmode
system.executionlist

the mode can be set none or list an in the later case you need to 
mention the permitted programs. There are also some options for reading 
files.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___