ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] minwidth not working ?
@ 2024-04-10 10:47 denis.maier
  2024-04-19 15:51 ` [NTG-context] " Denis Maier via ntg-context
  2024-04-19 18:32 ` Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: denis.maier @ 2024-04-10 10:47 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 491 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2897 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: minwidth not working ?
  2024-04-10 10:47 [NTG-context] minwidth not working ? denis.maier
@ 2024-04-19 15:51 ` Denis Maier via ntg-context
  2024-04-19 17:05   ` Pablo Rodriguez via ntg-context
  2024-04-19 18:32 ` Wolfgang Schuster
  1 sibling, 1 reply; 7+ messages in thread
From: Denis Maier via ntg-context @ 2024-04-19 15:51 UTC (permalink / raw)
  To: ntg-context; +Cc: denismaier


[-- Attachment #1.1: Type: text/plain, Size: 771 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 3751 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: minwidth not working ?
  2024-04-19 15:51 ` [NTG-context] " Denis Maier via ntg-context
@ 2024-04-19 17:05   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 7+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-04-19 17:05 UTC (permalink / raw)
  To: Denis Maier via ntg-context; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: minwidth not working ?
  2024-04-10 10:47 [NTG-context] minwidth not working ? denis.maier
  2024-04-19 15:51 ` [NTG-context] " Denis Maier via ntg-context
@ 2024-04-19 18:32 ` Wolfgang Schuster
  2024-04-19 20:55   ` Denis Maier via ntg-context
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2024-04-19 18:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users, denis.maier


[-- Attachment #1.1: Type: text/plain, Size: 638 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 2874 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: minwidth not working ?
  2024-04-19 18:32 ` Wolfgang Schuster
@ 2024-04-19 20:55   ` Denis Maier via ntg-context
  2024-04-20  9:56     ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Denis Maier via ntg-context @ 2024-04-19 20:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Wolfgang Schuster, denis.maier
  Cc: Denis Maier

[-- Attachment #1: Type: text/html, Size: 2204 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: minwidth not working ?
  2024-04-19 20:55   ` Denis Maier via ntg-context
@ 2024-04-20  9:56     ` Wolfgang Schuster
  2024-04-22 12:39       ` Denis Maier via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2024-04-20  9:56 UTC (permalink / raw)
  To: Denis Maier; +Cc: mailing list for ConTeXt users, denis.maier

Denis Maier schrieb am 19.04.2024 um 22:55:

>> Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: minwidth not working ?
  2024-04-20  9:56     ` Wolfgang Schuster
@ 2024-04-22 12:39       ` Denis Maier via ntg-context
  0 siblings, 0 replies; 7+ messages in thread
From: Denis Maier via ntg-context @ 2024-04-22 12:39 UTC (permalink / raw)
  To: 'Wolfgang Schuster'
  Cc: 'mailing list for ConTeXt users', denis.maier, denismaier

> -----Ursprüngliche Nachricht-----
> Von: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
> Gesendet: Samstag, 20. April 2024 11:56
> An: Denis Maier <denismaier@mailbox.org>
> Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>; denis.maier@unibe.ch
> Betreff: Re: [NTG-context] Re: minwidth not working ?
> 
> Denis Maier schrieb am 19.04.2024 um 22:55:
> 
> >> Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-22 12:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 10:47 [NTG-context] minwidth not working ? denis.maier
2024-04-19 15:51 ` [NTG-context] " Denis Maier via ntg-context
2024-04-19 17:05   ` Pablo Rodriguez via ntg-context
2024-04-19 18:32 ` Wolfgang Schuster
2024-04-19 20:55   ` Denis Maier via ntg-context
2024-04-20  9:56     ` Wolfgang Schuster
2024-04-22 12:39       ` Denis Maier via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).