Re: [NTG-context] A bibliography difficulty
Hello, I am not sure if I understand you correctly, but do you directly edit a bbl file? Normally, a .bib file is made by the user and ConTeXt (and LaTeX as well) generate the .bbl file for you. Your example works for me using the following code \setupbibtex[database={library}] \setuppublications[alternative=ams] \starttext Bla\cite{birn06} \placepublications[criterium=all] \stoptext with a .bib file containing @article{birn06, author = {Dieter Birnbache}, title = {The Socratic method in teaching medical ethics: Potentials and limitations}, year = {1999}, journal = {Medicine, Health Care and Philosophy}, volume = {2}, issue = {3}, pages = {219-224} } More information is on the wiki page: http://wiki.contextgarden.net/Bibliography, e.g. why you do not need to use a module any more. On May 30, 2012, at 6:58 AM, Alasdair McAndrew wrote: In my list of references, I can't get the author or title (of journal article) to print. In my .tex file, I have the following lines: \usemodule[bib] \setuppublications[alternative=ams,refcommand=num,numbering=yes] and in my .bbl file the (so far) only reference is: \startpublication[k=birn06, t=article, a=D.~Birnbache, y=1999] \author{Dieter}{}{Birnbache} \title{The Socratic method in teaching medical ethics: Potentials and limitations} \pubyear{1999} \journal{Medicine, Health Care and Philosophy} \volume{2} \issue{3} \pages{219-224} \stoppublication However, when I typeset the file, the reference list consists of [1] , Medicine, Health Care and Philosophy 2, 219 (1999). I'm a little confused about all the variables, commands and parameters. So - first, what am I doing wrong? Second, are there somewhere out there some example files of bibliography usage (I learn best by seeing what other people have done, and adapting that to my own ends)? Third: can I include the references in the body of the .tex file (as you can do with LaTeX and the thebibliography environment)? Thanks, Alasdair -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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 ___ ___ 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] Where is the documentation of the letter module
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/064695.html http://www.ntg.nl/pipermail/ntg-context/2012/065039.html Michael, thanks a lot. These were in fact the missing links! With the help of the comments in the thread above and looking into the sources I was able to reproduce most of my old letter template. However, 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 \startletter[enclosure={list:one,two,three}, ...] to get an itemized list. But this does not seem to be implemented yet. How would I get this right? It does work but you need MkIV: \usemodule[letter] \setupletterdescription [enclosure] [ location=top, leftmargin=1em, symbol=bullet, ] \setupletter [enclosure={list:One,Two,Three}] \startletter \input knuth \stopletter Wolfgang, I believe I found a bug that introduces some extra space in the backaddress: fromname, extra space, fromaddress. Here is the fix: […] Fixed. 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 ___
[NTG-context] Argument to ConTeXt
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 former case gives expected: ConTeXt ver: 2012.04.26 22:27 MKIV fmt: 2012.4.30 int: english/english ... @@@ 6 backend xmp using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' ... whilst the latter doesn't: ConTeXt ver: 2012.04.26 22:27 MKIV fmt: 2012.4.30 int: english/english ... @@@ nil backend xmp using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' ... Is use of more dots in the file name prohibited? - I'm forced to do so, although personally I don't tend to do so... Any way how to solve the latter case (other than to rename the latter file)? TIA. Kind regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t6.mkiv Description: Binary data t6.2.mkiv Description: Binary data ___ 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] Is it possible to define a custom imposition schema? (sure it is, but how?)
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 imposition schema (code below). I dropped the ConTeXt-based solution with layers because of the amount of work required to bootstrap it. As a side note, I stumbled in a psutils bug (no surprise, the version on the CTAN is *12* years old), where the %%BoundingBox and %%DocumentMedia header where inserted correctly, but the original preserved, leading to viewer (and even printer?) to believe the PS had still the old dimensions (so I removed them with sed before passing it to pstops). Cheers #!/bin/bash set -e set -o pipefail # avoid to use polluted path, or the debug will be impossible export PATH=/usr/bin:/bin # the input document should have exactly the width set to half of # this, and the height set to half too, which means 16cmx22cm. Paper # is 32cm x 44cm width=907 height=1247 # usual check if [ ! -f $1 ]; then echo $1 is not a file, exiting exit fi # naming convention input=$1 output=${input%%.pdf}-imposed.pdf # the scheme: U means rotated 180°, the parens indicate the shifting # after the rotation. We use the w and h flag to avoid math :-) # pages are numbered from 0. p1=15(0,0)+0(0.5w,0)+12U(0.5w,1h)+3U(1w,1h) p2=1(0,0)+14(0.5w,0)+2U(0.5w,1h)+13U(1w,1h) p3=11(0,0)+4(0.5w,0)+8U(0.5w,1h)+7U(1w,1h) p4=5(0,0)+10(0.5w,0)+6U(0.5w,1h)+9U(1w,1h) # the sed string is needed to avoid a broken DSC pdftops -level3 $input - | \ sed -e '/^%%BoundingBox:/d' -e '/^%%DocumentMedia:/d' | \ pstops -b -w$width -h$height \ 16:$p1,$p2,$p3,$p4 | \ ps2pdf -dPDFSETTINGS=/prepress \ -dDEVICEWIDTHPOINTS=$width -dDEVICEHEIGHTPOINTS=$height \ - $output pdfinfo $output pdffonts $output echo $input = $output exit 0 -- Marco ___ 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] Where is the documentation of the letter module
[...] 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 \startletter[enclosure={list:one,two,three}, ...] to get an itemized list. But this does not seem to be implemented yet. How would I get this right? It does work but you need MkIV: \usemodule[letter] \setupletterdescription [enclosure] [ location=top, leftmargin=1em, symbol=bullet, ] \setupletter [enclosure={list:One,Two,Three}] \startletter \input knuth \stopletter Thanks, Wolfgang, got that working now. But I'd like to change the formatting of the list further from encl: * One * Two * Three to encl: One Two Three without symbols. So I tried: \setupletterdescription [enclosure] [symbol=bullet] This did not work so I tried: \definesymbol[nosymbol][{}] \setupletterdescription [enclosure] [symbol=nosymbol] But that results in: encl:too much space One too much space Two too much space Three I cannot remove the extra space with: \setupletterdescription [enclosure] [symbol=nosymbol,distance=0em] Note, that this works: \setupitemize[each][fit][distance=0em] \startitemize \item no extra space before bullet \stopitemize -- *no extra space before bullet However, it does not work with an enumeration once the symbol was removed: \setupitemize[each][fit][symbol={},distance=0em] \startitemize \item item \stopitemize -- too much space item Florian ___ 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] Where is the documentation of the letter module
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/ntg-context/2012/064721.html Wolfgang proposed \startletter[enclosure={list:one,two,three}, ...] to get an itemized list. But this does not seem to be implemented yet. How would I get this right? It does work but you need MkIV: \usemodule[letter] \setupletterdescription [enclosure] [ location=top, leftmargin=1em, symbol=bullet, ] \setupletter [enclosure={list:One,Two,Three}] \startletter \input knuth \stopletter Thanks, Wolfgang, got that working now. But I'd like to change the formatting of the list further from encl: * One * Two * Three to encl: One Two Three without symbols. So I tried: \setupletterdescription [enclosure] [symbol=bullet] This did not work so I tried: \definesymbol[nosymbol][{}] \setupletterdescription [enclosure] [symbol=nosymbol] ConTeXt has a empty symbol with the name “none”. But that results in: encl:too much space One too much space Two too much space Three I cannot remove the extra space with: \setupletterdescription [enclosure] [symbol=nosymbol,distance=0em] Note, that this works: \setupitemize[each][fit][distance=0em] \startitemize \item no extra space before bullet \stopitemize -- *no extra space before bullet However, it does not work with an enumeration once the symbol was removed: \setupitemize[each][fit][symbol={},distance=0em] \setupitemize[each][symbol=none,width=0pt,distance=0pt] \startitemize \item item \stopitemize -- too much space item I uploaded a new revision which doesn’t insert an extra space when you use “symbol=none”. 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] Where is the documentation of the letter module
[...] 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 \startletter[enclosure={list:one,two,three}, ...] to get an itemized list. But this does not seem to be implemented yet. How would I get this right? It does work but you need MkIV: \usemodule[letter] \setupletterdescription [enclosure] [ location=top, leftmargin=1em, symbol=bullet, ] \setupletter [enclosure={list:One,Two,Three}] \startletter \input knuth \stopletter Thanks, Wolfgang, got that working now. But I'd like to change the formatting of the list further from encl: * One * Two * Three to encl: One Two Three without symbols. So I tried: \setupletterdescription [enclosure] [symbol=bullet] This did not work so I tried: \definesymbol[nosymbol][{}] \setupletterdescription [enclosure] [symbol=nosymbol] ConTeXt has a empty symbol with the name “none”. Very helpful indeed! But that results in: encl:too much space One too much space Two too much space Three I cannot remove the extra space with: \setupletterdescription [enclosure] [symbol=nosymbol,distance=0em] Note, that this works: \setupitemize[each][fit][distance=0em] \startitemize \item no extra space before bullet \stopitemize -- *no extra space before bullet However, it does not work with an enumeration once the symbol was removed: \setupitemize[each][fit][symbol={},distance=0em] \setupitemize[each][symbol=none,width=0pt,distance=0pt] Good! \startitemize \item item \stopitemize -- too much space item I uploaded a new revision which doesn’t insert an extra space when you use “symbol=none”. Thanks for this quick enhancement, works now! Just for completeness: How do I change the distance between bullet and item text in your original suggestion? Adding 'width=' here does not change anything: \setupletterdescription [enclosure] [ location=top, leftmargin=1em, width=5pt, symbol=bullet ] Florian ___ 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] A bibliography difficulty
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 andytho...@web.de wrote: Hello, I am not sure if I understand you correctly, but do you directly edit a bbl file? Normally, a .bib file is made by the user and ConTeXt (and LaTeX as well) generate the .bbl file for you. Your example works for me using the following code \setupbibtex[database={library}] \setuppublications[alternative=ams] \starttext Bla\cite{birn06} \placepublications[criterium=all] \stoptext with a .bib file containing @article{birn06, author = {Dieter Birnbache}, title = {The Socratic method in teaching medical ethics: Potentials and limitations}, year = {1999}, journal = {Medicine, Health Care and Philosophy}, volume = {2}, issue = {3}, pages = {219-224} } More information is on the wiki page: http://wiki.contextgarden.net/Bibliography, e.g. why you do not need to use a module any more. On May 30, 2012, at 6:58 AM, Alasdair McAndrew wrote: In my list of references, I can't get the author or title (of journal article) to print. In my .tex file, I have the following lines: \usemodule[bib] \setuppublications[alternative=ams,refcommand=num,numbering=yes] and in my .bbl file the (so far) only reference is: \startpublication[k=birn06, t=article, a=D.~Birnbache, y=1999] \author{Dieter}{}{Birnbache} \title{The Socratic method in teaching medical ethics: Potentials and limitations} \pubyear{1999} \journal{Medicine, Health Care and Philosophy} \volume{2} \issue{3} \pages{219-224} \stoppublication However, when I typeset the file, the reference list consists of [1] , Medicine, Health Care and Philosophy 2, 219 (1999). I'm a little confused about all the variables, commands and parameters. So - first, what am I doing wrong? Second, are there somewhere out there some example files of bibliography usage (I learn best by seeing what other people have done, and adapting that to my own ends)? Third: can I include the references in the body of the .tex file (as you can do with LaTeX and the thebibliography environment)? Thanks, Alasdair -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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 ___ ___ 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 ___ -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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] bibtex sample file and possible bibtex bug
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. Thanks, Andy On 27.05.2012, at 20:39, Andy Thomas wrote: Hello, while looking to include a citation in a sample document, I was wondering if the 'sample.bib' in 'standalone/tex/texmf-context/tex/context/bib/sample.bib' can be used the same way as e.g. '\input tufte', but I could not make it work. example document: \setupbibtex[database=sample,sort=author] \setuppublications[alternative=apa] \starttext document.\cite[Eijkhout1991] \placepublications[criterium=all] \stoptext Also note that the 'alternative=apa' line leads to 'publications warning: unknown cite argument Eijkhout1991 on line \the\inputlineno' instead of the actual number. Andy ___ 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 ___ ___ 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] bibtex sample file and possible bibtex bug
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 would then try to update the wiki. I'm fairly sure that at some point sample.bib was automatically found in its default place in the ConTeXt tree. I noticed last year that it had stopped working (see http://archive.contextgarden.net/message/20110922.215858.812822eb.en.html ) but I'm not sure if this is a bug or a deliberate change. The only way I know of to include it reliable is to copy it to the same directory as the document source. Pont ___ 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] alignment in a footer
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 \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 permission of COMPANY. This document is copyrighted by COMPANY with all rights reserved.} \startoverlay {\leftaligned{title}} {\midaligned{1/1}} {\rightaligned{\externalfigure[jc_logo_small][width=4cm]}} \stopoverlay Unfortunately I have two problems with code above. I need to have the text and figure in overlay top aligned and also the text in the frame should have the exactly same width as the overlay. How can I achieve this please? best regards Jan -- Tato zpráva byla vytvořena převratnou poštovní aplikací Opery: http://www.opera.com/mail/ ___ 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 ___ ___ 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 ___
[NTG-context] MetaPost transformation
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,0); errors with --- ! Missing `)' has been inserted. to be read again , l.26 ^^Ishow identity transformed (0,0,0,1, -0.5,0); --- I am using MetaPost 1.504, and the problem seems to be that MetaPost does not like me using the sextuple (0,0,0,1,-0.5,0) directly, but this is the most convenient method for me to describe my transformations. Is this a bug in MetaPost, or am I not allowed to use transformations directly with sextuples? Troy Henderson ___ 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 ___
[NTG-context] graphictext fails
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 ___ 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] MetaPost transformation
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 show identity transformed (0,0,0,1,-0.5,0); errors with --- ! Missing `)' has been inserted. to be read again , l.26 ^^Ishow identity transformed (0,0,0,1, -0.5,0); --- I am using MetaPost 1.504, and the problem seems to be that MetaPost does not like me using the sextuple (0,0,0,1,-0.5,0) directly, but this is the most convenient method for me to describe my transformations. Is this a bug in MetaPost, or am I not allowed to use transformations directly with sextuples? It looks like sextuples are no basic datatype. I think that the show is just a way to output the internal representation. Of course it would make sense to have sixtuples (I can even think of a generic n-tuple). 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 ___
Re: [NTG-context] MetaPost transformation
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 ___ 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] [metapost] MetaPost transformation
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/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___