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
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
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
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
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
-----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