[NTG-context] odd and even test: incorrect behavior on the first two lines

2012-09-06 Thread stdin | Alexandre Leray
Hi, I'm trying to make the content of an environment behave differently weither it appears on a right page or on a left page. It works mainly, except that with the following code, from the second page, the two first lines of subsequent pages don't show the expected behavior.

[NTG-context] reading from standard input

2012-06-08 Thread stdin | Alexandre Leray
Hi, I was wondering if there was a way to make context read from stdin instead of reading from a file? cat /path/to/src.tex | context --result=/path/to/result.pdf I'd like to do something like this in python: def generate_pdf(self): src = \starttext

Re: [NTG-context] reading from standard input

2012-06-08 Thread stdin | Alexandre Leray
Thank you, I will try this! Alex On 08/06/2012 15:31, Aditya Mahajan wrote: On Fri, 8 Jun 2012, stdin | Alexandre Leray wrote: Hi, I was wondering if there was a way to make context read from stdin instead of reading from a file? cat /path/to/src.tex | context --result=/path