noib3 via ntg-context schrieb am 02.10.2021 um 17:50:
Coming from LaTeX, when I had some TikZ pictures I wanted to add in my
document I would usually keep them on a separate file, I would compile
them with the standalone class so that the resulting PDF's size would
be limited to exactly the dimensions of the figure. I would then
import the compiled PDF in my main document. All this to not slow down
compilation times.
What's the ConTeXt equivalent of this workflow? How can I keep the PDF
dimensions limited to the figure?
\usemodule[tikz]
% uncomment \starttext and \stoptext when you use
% multiple TEXpage environments in your document
%\starttext
\startTEXpage
\starttikzpicture
...
\stoptikzpicture
\stopTEXpage
%\stoptext
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________