minwidth not working ?
![](https://secure.gravatar.com/avatar/532990f0c5a8331f60e3d0e1173292a6.jpg?s=120&d=mm&r=g)
Hi, Shouldn't minwidth set a default minimal width for external figures? But this here does not work ========================================================== \setupexternalfigures [ maxwidth=\textwidth, minwidth=\textwidth, location={local,global,default}, ] \starttext \externalfigure[cow.pdf] \externalfigure[cow.pdf][width=\textwidth] \stoptext ========================================================== Am I missing something here? Best, Denis
![](https://secure.gravatar.com/avatar/cf2ff07b06d14aa5d84fc763991c72ed.jpg?s=120&d=mm&r=g)
Hi again, another follow up. Can anyone confirm this issue? Is there a way to set the minimal width of graphics? Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Mittwoch, 10. April 2024 12:47 An: ntg-context@ntg.nl Betreff: minwidth not working ? Hi, Shouldn't minwidth set a default minimal width for external figures? But this here does not work ========================================================== \setupexternalfigures [ maxwidth=\textwidth, minwidth=\textwidth, location={local,global,default}, ] \starttext \externalfigure[cow.pdf] \externalfigure[cow.pdf][width=\textwidth] \stoptext ========================================================== Am I missing something here? Best, Denis
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 4/19/24 17:51, Denis Maier via ntg-context wrote:
Hi again,
another follow up. Can anyone confirm this issue? Is there a way to set the minimal width of graphics?
Hi Denis, maximum widht or height work fine, but their minimum counterparts seem not to be working at all: \showframe \starttext \doloopoverlist{none, width, height, maxwidth, maxheight} {\externalfigure[cow.pdf][\recursestring=.125\textwidth]} \page \doloopoverlist{none, width, height, minwidth, minheight} {\externalfigure[cow.pdf][\recursestring=.33\textwidth]} \stoptext Just to confirm the issue, Pablo
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
denis.maier@unibe.ch schrieb am 10.04.2024 um 12:47:
Hi,
Shouldn’t minwidth set a default minimal width for external figures? But this here does not work
==========================================================
\setupexternalfigures
[
maxwidth=\textwidth,
minwidth=\textwidth,
location={local,global,default},
]
\starttext
\externalfigure[cow.pdf]
\externalfigure[cow.pdf][width=\textwidth]
\stoptext
==========================================================
Am I missing something here?
There are no minwidth/minheight values for \externalfigure. Wolfgang
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Denis Maier schrieb am 19.04.2024 um 22:55:
Wolfgang Schuster
hat am 19.04.2024 20:32 CEST geschrieben: denis.maier@unibe.ch schrieb am 10.04.2024 um 12:47: Hi,
Shouldn’t minwidth set a default minimal width for external figures? But this here does not work
[...]
Am I missing something here?
There are no minwidth/minheight values for \externalfigure.
Wolfgang
So the wiki is wrong here? https://wiki.contextgarden.net/Command/setupexternalfigure
Yes the comment at the end of page is wrong and the text about the strut setting can also be removed, only the orientation value is missing in the command table. Wolfgang
![](https://secure.gravatar.com/avatar/cf2ff07b06d14aa5d84fc763991c72ed.jpg?s=120&d=mm&r=g)
-----Ursprüngliche Nachricht----- Von: Wolfgang Schuster
Gesendet: Samstag, 20. April 2024 11:56 An: Denis Maier Cc: mailing list for ConTeXt users ; denis.maier@unibe.ch Betreff: Re: [NTG-context] Re: minwidth not working ? Denis Maier schrieb am 19.04.2024 um 22:55:
Wolfgang Schuster
hat am 19.04.2024 20:32 CEST geschrieben: denis.maier@unibe.ch schrieb am 10.04.2024 um 12:47: Hi,
Shouldn’t minwidth set a default minimal width for external figures? But this here does not work
[...]
Am I missing something here?
There are no minwidth/minheight values for \externalfigure.
Wolfgang
So the wiki is wrong here? https://wiki.contextgarden.net/Command/setupexternalfigure
Yes the comment at the end of page is wrong and the text about the strut setting can also be removed, only the orientation value is missing in the command table.
Wolfgang
Thanks you for the clarification, Wolfgang. I've changed the wiki page. Best, Denis
participants (5)
-
Denis Maier
-
denis.maier@unibe.ch
-
denismaier@mailbox.org
-
Pablo Rodriguez
-
Wolfgang Schuster