richard.stephens@converteam.com wrote:
Hello again,
I have generated some ConTeXt documents with figures using MetaPost. The figures have labels which use \sometxt{}. Everything works beautifully! Now I have an unenlightened customer (he does not use ConTeXt) who wants to import my figures into his documents. He can accept eps or pdf files or any of the common graphics formats (png, gif, even svg I think). I have tried to generate the figures as standalone files in two ways:
1) I compiled the metapost to a PS file using "texexec --mptex file.mp". Unfortunately, the resulting figure does not have any labels, presumably because it isn't accessing TeX to generate them?
2) Inserted \starttext ... \stoptext around the metapost code and used ConTeXt to generate a PDF document. This is great except that each figure covers a full page.
Is there any way of sharing my figures with the unenlightened masses?
Thanks,
Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188
Registered in England and Wales.
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
\starttext \startMPpage draw fullcircle scaled 10cm ; \stopMPPage \stoptext please wikify this ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi Richard I can only tell you what I usually do. My figures normally reside in an external file. At the bottom of this file I add; \starttext \startTEXpage \useMPgraphic{graphicnameA} \stopTEXpag \startTEXpage \useMPgraphic{graphicnameB} \stopTEXpag \stoptext In this way I get each graphic on a page cropped to the size of the original MP-image. Kind regards Willi On Aug 14, 2009, at 11:57 AM, richard.stephens@converteam.com wrote:
Hello again,
I have generated some ConTeXt documents with figures using MetaPost. The figures have labels which use \sometxt{}. Everything works beautifully! Now I have an unenlightened customer (he does not use ConTeXt) who wants to import my figures into his documents. He can accept eps or pdf files or any of the common graphics formats (png, gif, even svg I think). I have tried to generate the figures as standalone files in two ways:
1) I compiled the metapost to a PS file using "texexec --mptex file.mp". Unfortunately, the resulting figure does not have any labels, presumably because it isn't accessing TeX to generate them?
2) Inserted \starttext ... \stoptext around the metapost code and used ConTeXt to generate a PDF document. This is great except that each figure covers a full page.
Is there any way of sharing my figures with the unenlightened masses?
Thanks,
Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188
Registered in England and Wales.
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
Please consider the environment before printing this e-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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
participants (3)
-
Hans Hagen
-
richard.stephens@converteam.com
-
Willi Egger