Re: [NTG-context] [mkvi] comment handling bug

2012-05-14 Thread Hans Hagen
On 13-5-2012 13:12, Philipp Gesang wrote: Hi all, seems the mkvi-style macros have trouble with groups in comments: % macros=mkvi \def\dosomething#content{%%%= fine with “#1” % { %%% Open unbalanced brace breaks

Re: [NTG-context] Split \startalign content on more pages

2012-05-14 Thread luigi scarso
2012/5/14 elgo...@libero.it elgo...@libero.it: Sorry for having given you a non working example! Here you can find a working one. The comments at the end of each line are in italian. Changing the height of the frame you can move the \startalign content in the page. As you will see, the whole

[NTG-context] Problem calling system

2012-05-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'd need to call the OS, namely lua in it. I have the following code: \write18{lua -e require 'lfs'} \write18{lua -e require'lfs'} \starttext A \stoptext When calling directly from the command line lua -e require 'lfs' - there is no error. From within the Context code,

[NTG-context] Split \startalign content on more pages

2012-05-14 Thread elgo...@libero.it
Yes it works. The only problem is that now I have the formulas aligned at the center of the page. Which command can I use to align the formulas on the left? ___ If your question is of interest to others as well,

Re: [NTG-context] Problem calling system

2012-05-14 Thread Hans Hagen
On 14-5-2012 10:56, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I'd need to call the OS, namely lua in it. I have the following code: \write18{lua -e require 'lfs'} \write18{lua -e require'lfs'} \starttext A \stoptext When calling directly from the command line lua -e

Re: [NTG-context] Problem calling system

2012-05-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\ctxlua{os.execute(lua -e require 'lfs')} ... Gives: ... fontslatin modern fonts are not preloaded languageslanguage en is active ! LuaTeX error main ctx instance:1: attempt to call global 'e' (a nil value) stack traceback: main ctx instance:1: in main chunk.

Re: [NTG-context] Problem calling system

2012-05-14 Thread Hans Hagen
On 14-5-2012 12:23, Procházka Lukáš Ing. - Pontex s. r. o. wrote: \ctxlua{os.execute(lua -e require 'lfs')} \ctxlua{os.execute([[lua -e require 'lfs']])} - Hans Hagen | PRAGMA ADE

Re: [NTG-context] [mkvi] comment handling bug

2012-05-14 Thread Philipp Gesang
On 2012-05-14 09:35, Hans Hagen wrote: On 13-5-2012 13:12, Philipp Gesang wrote: Hi all, seems the mkvi-style macros have trouble with groups in comments: % macros=mkvi \def\dosomething#content{%%%= fine with “#1”

Re: [NTG-context] hvdm-exm module fails

2012-05-14 Thread Wolfgang Schuster
Am 30.04.2012 um 18:16 schrieb Martin: Hi, I am trying to make use of the hvdm-exm module for a series of tests and that fails. Below is the basic code I am using. As I could not find a usage sample, I might have it wrong. It fails with \startexam as undefined and an internal

Re: [NTG-context] [mkvi] comment handling bug

2012-05-14 Thread Philipp Gesang
On 2012-05-14 15:22, Philipp Gesang wrote: On 2012-05-14 09:35, Hans Hagen wrote: On 13-5-2012 13:12, Philipp Gesang wrote: Hi all, seems the mkvi-style macros have trouble with groups in comments: %

[NTG-context] color as module parameter (mkiv)

2012-05-14 Thread Peter Schorsch
Hi, I am trying to pass a tex color as a paramter to a module. I used the example from the wiki as a base. But as soon I hand over a color directly it does not work. Any help is welcome as I am looking forward to hand in my first module. Are there any rules how and where to hand in a module for

Re: [NTG-context] color as module parameter (mkiv)

2012-05-14 Thread Wolfgang Schuster
Am 14.05.2012 um 17:53 schrieb Peter Schorsch: Hi, I am trying to pass a tex color as a paramter to a module. I used the example from the wiki as a base. But as soon I hand over a color directly it does not work. You can expand the value

[NTG-context] mutual color definition

2012-05-14 Thread Peter Rolf
Hi, while playing around with colors, I accidentally used two mutual color definitions. Stupid thing to do, but shit happens. :-D This example ends in an infinite loop. %-- \definecolor[foo][red] \definecolor[bar][foo] \starttext \definecolor[foo][bar] \color[foo] foo

[NTG-context] Specifying leading?

2012-05-14 Thread Bill Meahan
How does one specify leading in ConTeXt? In traditional typography, it is common to specify the type size and leading to indicate the inter-line spacing of a block of text. Setting type solid means to use no spacing between lines - not usually a good idea ;-) More often, good typography

Re: [NTG-context] Specifying leading?

2012-05-14 Thread Wolfgang Schuster
Am 14.05.2012 um 22:57 schrieb Bill Meahan: How does one specify leading in ConTeXt? In traditional typography, it is common to specify the type size and leading to indicate the inter-line spacing of a block of text. Setting type solid means to use no spacing between lines - not usually

Re: [NTG-context] Specifying leading?

2012-05-14 Thread Bill Meahan
Thanks, Wolfgang! I knew there had to be an easy way to do it. ConTeXt is wonderful but there are so many knobs and levers it is pretty easy for us folks moving to ConTeXt from LaTeX to get lost. :-) Bill Meahan K8QN I want to live other lives. I've never quite believed that one chance is

Re: [NTG-context] Specifying leading?

2012-05-14 Thread Aditya Mahajan
On Mon, 14 May 2012, Bill Meahan wrote: Thanks, Wolfgang! I knew there had to be an easy way to do it. ConTeXt is wonderful but there are so many knobs and levers it is pretty easy for us folks moving to ConTeXt from LaTeX to get lost. :-) Since you had difficulty in finding this solution,

Re: [NTG-context] Specifying leading?

2012-05-14 Thread Bill Meahan
Wiki updated. Can find entry using leading as well. Of course it is mixed in the search results for the term leading (as in leading zeroes). Ah, the vagaries of the English language. Bill Meahan K8QN I want to live other lives. I've never quite believed that one chance is all I get. Writing