21 Nov
2010
21 Nov
'10
9:12 a.m.
On Sun, Nov 21, 2010 at 10:07 AM, Cecil Westerhof
2010/11/21 luigi scarso
: I am making flowcharts with ConTeXt. Because the flowcharts have to be included in other documents, I would like to make graphic files (jpeg, png, ...). Also not bigger as needed to represent the flowchart. Can this be done. Just convert the pdf in jpeg with (for example) ghostscript.
This works, but the problem is that I get an image the size of an A4. This is mostly whitespace. Is it not possible to only get the used part? Maybe wrap your flowcharts-code in \startTEXpage ... \stopTEXpage, ie something like this \starttext \startTEXpage Put your flowcharts-code here... \stopTEXpage \stoptext -- luigi