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

2012-09-06 Thread stdin | Alexandre Leray
. \setuppagenumbering[alternative=doublesided] \definestartstop[foo][ before={\doifrightpageelse{(right)}{(left)}}, ] \starttext \dorecurse{100}{ \startfoo hello world\par \stopfoo } \stoptext Is it a known problem? How can one fix this? Thanks, Alex -- Alexandre Leray media

[NTG-context] reading from standard input

2012-06-08 Thread stdin | Alexandre Leray
= subprocess.Popen(cmd.split( ), stdout=subprocess.PIPE, stdin=subprocess.PIPE) (stdout, stderr) = p1.communicate(stdin=src) Thanks, Alex -- Alexandre Leray media graphic design http://stdin.fr | http://osp.constantvzw.org/ rue Gallaitstraat 80 1030 Bruxelles +32 (0)4 87 04 70 30

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

[NTG-context] doublesided layout with floating text blocks wrapped in the main text

2011-10-10 Thread Alexandre Leray
Hi, how can I insert text blocks of texts of half the width of the text zone (+ gutter) tand make the main text flow wrap around them? I'd like the blocks to be aligned on the outer side of the page (the document is doublesided). My guess was to use floats but I don't need captions. Could

Re: [NTG-context] doublesided layout with floating text blocks wrapped in the main text

2011-10-10 Thread Alexandre Leray
Thanks, Unfortunatly they don't have a fixed height... any other option? ;) Alex On 10/10/2011 11:38, luigi scarso wrote: On Mon, Oct 10, 2011 at 11:31 AM, Alexandre Leray newslett...@alexandreleray.com wrote: Hi, how can I insert text blocks of texts of half the width of the text zone

Re: [NTG-context] vertically aligned side margin footnotes

2011-10-09 Thread Alexandre Leray
Hi, Would it be possible to typeset the text on the left page and the comments on the right page? Thanks Alex There is an experimental stream feature but I haven't looked into that one for a while. ___ If your

Re: [NTG-context] vertically aligned side margin footnotes

2011-10-07 Thread Alexandre Leray
Hello Wolfgang, Thanks for your reply. I will adjust my text flow manually if necessary as I only have a couple of pages to deal with. While I was searching for an answer in the mailing list archive I found this email: [NTG-context] Flowfram-like behavior?

Re: [NTG-context] vertically aligned side margin footnotes

2011-10-06 Thread Alexandre Leray
Hi and thanks for your help. it works except that when the sidenote is too long it overflows the page. Is there a way to make the note continuing on the next page if it doesn't fit? Thanks again, Alex On 06/09/2011 22:27, Wolfgang Schuster wrote: Am 06.09.2011 um 18:25 schrieb Alexandre

[NTG-context] Retrieve the content of comments

2011-09-06 Thread Alexandre Leray
Hi, I have a text with commented spans. The comments come later in the book, and I'd like to show the commented parts just above the comments themselves. Here is a pseudo code: Vestibulum ante \commented[mycomment]{ipsum primis} in faucibus orci luctus et ultrices posuere cubilia Curae;

[NTG-context] vertically aligned side margin footnotes

2011-09-06 Thread Alexandre Leray
Hi again, is there a way to typeset footnotes in the margin, but placed at the same vertical distance as the text they refer to? Thanks, Alex ___ If your question is of interest to others as well, please add an

[NTG-context] styling \at

2011-08-15 Thread Alexandre Leray
Hi, I would like to style the \at labels: define a custom font for them and make them superscript. What is the best way to achieve this? Thanks, Alex ___ If your question is of interest to others as well, please

[NTG-context] Using mycrotypography features with simplefont module and OTF/TTF

2011-07-22 Thread Alexandre Leray
Dear all, I'm trying to enable protrusion on a text composed with a ttf font (tried otf converted from ttf as well) and using the simplefont module. We have tried different things but did not see any difference in the results. Our context version is 2011.07.20 14:10 The full context code is

[NTG-context] Custom function

2011-06-07 Thread Alexandre Leray
Hello, I'm rather new to ConTeXt and would like to simplify my document, in order to simplify processing of documents. I have this: \defineparagraphs[infos][n=1] \setupparagraphs[infos][1][ style={\switchtobodyfont[6pt]}, %command=, ] \starttext \startinfos

[NTG-context] writing the name of the section on all the pages

2011-05-19 Thread Alexandre Leray
Hi, how could I write the name of the current \section or \subject in the outer margin, with a rotation of 90°? Best, Alex -- stdin Alexandre Leray graphic and media design http://stdin.fr/ Munthofstraat 27 1060 Bruxelles

Re: [NTG-context] writing the name of the section on all the pages

2011-05-19 Thread Alexandre Leray
archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- stdin Alexandre Leray graphic and media design http://stdin.fr/ +32 (0)4 85 27 76 08 Munthofstraat 27 1060