Re: [NTG-context] alignment in a footer

2012-05-30 Thread Jan Pohanka
Thank you for answer, I have discovered, that \tbox does the job for me. \startoverlay {\leftaligned{nazev}} {\midaligned{\pagenumber /\totalnumberofpages}} {\rightaligned{\tbox{\externalfigure[jc_logo_small][width=4cm]}}} \stopoverlay regards Jan Dne Wed, 30 May 2012 17

Re: [NTG-context] [metapost] MetaPost transformation

2012-05-30 Thread Dan Luecking
At 07:56 PM 5/30/2012, Troy Henderson wrote: Well then in case anyone needs such a transformation, I've constructed the (non-unique) transformation T > t:=angle(f,e); > q:=e++f; > p:=(c*f-d*e)/q; > s:=(c*e+d*f)/(q**2); > transform T; > T:=identity rotated t xscaled p yscaled q slanted s shifted

Re: [NTG-context] [metapost] MetaPost transformation

2012-05-30 Thread Troy Henderson
Thanks Dan. This is much better than what I was doing. Troy ___ 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/

Re: [NTG-context] MetaPost transformation

2012-05-30 Thread Troy Henderson
Well then in case anyone needs such a transformation, I've constructed the (non-unique) transformation T > t:=angle(f,e); > q:=e++f; > p:=(c*f-d*e)/q; > s:=(c*e+d*f)/(q**2); > transform T; > T:=identity rotated t xscaled p yscaled q slanted s shifted (a,b); This yields T=(a,b,c,d,e,f). Troy

Re: [NTG-context] MetaPost transformation

2012-05-30 Thread Hans Hagen
On 30-5-2012 23:10, Troy Henderson wrote: I've encountered a MetaPost issue, and since many MetaPost users also use ConTeXt (and vice-versa), I am posting this question on both lists. The command show identity rotated 270 yscaled 0.5; outputs (0,0,0,1,-0.5,0) as expected, while the command

[NTG-context] graphictext fails

2012-05-30 Thread Marco
Hi, the macro graphictext fails. In MkIV the resulting .mpy file is empty and no text is generated, MkII throws ! Missing `)' has been inserted. but finally creates the image. Example: \starttext \startMPcode graphictext "Test"; \stopMPcode \stoptext Marco __

[NTG-context] MetaPost transformation

2012-05-30 Thread Troy Henderson
I've encountered a MetaPost issue, and since many MetaPost users also use ConTeXt (and vice-versa), I am posting this question on both lists. The command > show identity rotated 270 yscaled 0.5; outputs (0,0,0,1,-0.5,0) as expected, while the command > show identity transformed (0,0,0,1,-0.5,

Re: [NTG-context] alignment in a footer

2012-05-30 Thread Willi Egger
In such cases I define a layer and put the individual pieces into the right spot. The layer can be used as a background then. Willi On May 30, 2012, at 2:19 PM, Jan Pohanka wrote: > Hello, > I'm making a template for company documents and we need to have something > similar in the footer >

Re: [NTG-context] bibtex sample file and possible bibtex bug

2012-05-30 Thread Pontus Lurcock
On Wed 30 May 2012, Andy Thomas wrote: > I apologize to bumb my own post, but does anyone know, where to put > sample.bib? Or did the default search path for bibtex change? The > basic example on http://wiki.contextgarden.net/Bibliography_mkiv > does not work as well, because of the same reason. I

Re: [NTG-context] bibtex sample file and possible bibtex bug

2012-05-30 Thread Andy Thomas
Hello, I apologize to bumb my own post, but does anyone know, where to put sample.bib? Or did the default search path for bibtex change? The basic example on http://wiki.contextgarden.net/Bibliography_mkiv does not work as well, because of the same reason. I would then try to update the wiki.

[NTG-context] alignment in a footer

2012-05-30 Thread Jan Pohanka
Hello, I'm making a template for company documents and we need to have something similar in the footer \framed[frame=off,bottomframe=on,width=broad,align=flushleft]{\ss No part of this document may be reproduced, modified or disclosed to third parties in any form without the prior written

Re: [NTG-context] A bibliography difficulty

2012-05-30 Thread Alasdair McAndrew
Thanks - I sorted it out by using a standard BibTeX .bib file. I was trying to do it all in one file, and finding the bib module documentation quite confusing. And for what it's worth, I'm using mkii. -Alasdair On Wed, May 30, 2012 at 4:09 PM, Andy Thomas wrote: > Hello, > > I am not sure if

Re: [NTG-context] Where is the documentation of the letter module

2012-05-30 Thread Florian Wobbe
>> [...] I'm struggling to get the enclosures into an itemized list. This >> used to work with the old letter module but now fails: \startletter[enclosure={A\\B\\C}, ...] --> encl: AcrlfBcrlfC In http://www.ntg.nl/pipermail/ntg-context/2012/064721.html Wolfgang

Re: [NTG-context] Where is the documentation of the letter module

2012-05-30 Thread Wolfgang Schuster
Am 30.05.2012 um 11:58 schrieb Florian Wobbe: > [...] I'm struggling to get the enclosures into an itemized list. This > used to work with the old letter module but now fails: >>> >>> \startletter[enclosure={A\\B\\C}, ...] --> encl: AcrlfBcrlfC >>> >>> In http://www.ntg.nl/pipermail/nt

Re: [NTG-context] Where is the documentation of the letter module

2012-05-30 Thread Florian Wobbe
[...] I'm struggling to get the enclosures into an itemized list. This used to work with the old letter module but now fails: >> >> \startletter[enclosure={A\\B\\C}, ...] --> encl: AcrlfBcrlfC >> >> In http://www.ntg.nl/pipermail/ntg-context/2012/064721.html Wolfgang >> proposed \star

Re: [NTG-context] Is it possible to define a custom imposition schema? (sure it is, but how?)

2012-05-30 Thread Marco Pessotto
As a follow-up, just in case someone will search the archive for a similar problem, this is my “solution”, regardless of the question if the imposition scheme is really suitable for binding or not. It's quite an hack, but it seems to work and is way simpler for a profane like me to create a custom

[NTG-context] Argument to ConTeXt

2012-05-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, please see the following calling cases: 1) context.exe t6.mkiv --address=6 2) context.exe t6.2.mkiv --address=6 Content ot both .mkiv is identical - just to print the passed address value: \starttext A \directlua{print("@@@", document.arguments.address)} \stoptext The forme

Re: [NTG-context] Where is the documentation of the letter module

2012-05-30 Thread Wolfgang Schuster
Am 30.05.2012 um 01:30 schrieb Florian Wobbe: >>> is there anyone else who knows where the current correspondence docu >>> resides? I tried again to locate it but to no avail. >> >> There is some guidance about what's new in these messages: >> >> http://www.ntg.nl/pipermail/ntg-context/2012/06