[NTG-context] Set up external figure for particular image type
Thangalin
thangalin at gmail.com
Fri Jul 8 17:46:59 CEST 2022
A document has a mix of SVG and PNG images. Changing the parameters for
`\setupexternalfigure` affects both SVG and PNG images. Consider the
following code:
\setupexternalfigures[
order={svg,pdf,png,jpg},
location={local,default,global},
directory={images},
maxwidth=\textwidth,
maxheight=0.4\textheight
]
I'd like to change the `maxheight` option for only PNG images, such as:
\setupexternalfigure[
method=png,
maxwidth=\textwidth,
maxheight=\textheight,
]
However, this affects SVG images as well.
How do you apply different external figure setups based on image type?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220708/5ef1c973/attachment.htm>
More information about the ntg-context
mailing list