ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Figure reference failing
@ 2024-04-10 11:04 Willi Egger
  2024-04-10 11:30 ` [NTG-context] " Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2024-04-10 11:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

Hello,

It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59.

Could some one confirm this?

Kind regards
Willi

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 14442 bytes --]

[-- Attachment #3: test.tex --]
[-- Type: application/octet-stream, Size: 345 bytes --]


\setupexternalfigures[location=default]

\starttext
  \startsubsubject[title=Tesst on external figure reference]
  
  In this example (\in{Fig.}[example5]) we see a cow.
  
  
  \startplacefigure
  	[mode=columns,
  	 reference=example5,
     title=]
  	{\externalfigure[cow][width=\textwidth]} 
  \stopplacefigure 
  
\stopsubsubject
\stoptext

[-- Attachment #4: 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] 5+ messages in thread

* [NTG-context] Re: Figure reference failing
  2024-04-10 11:04 [NTG-context] Figure reference failing Willi Egger
@ 2024-04-10 11:30 ` Taco Hoekwater
  2024-04-10 12:21   ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2024-04-10 11:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 10 Apr 2024, at 13:04, Willi Egger <w.egger@boede.nl> wrote:
> 
> Hello,
> 
> It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59.
> 
> Could some one confirm this?

It fails for me as well, when "mode=columns" is used.

Best wishes,
Taco

___________________________________________________________________________________
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] 5+ messages in thread

* [NTG-context] Re: Figure reference failing
  2024-04-10 11:30 ` [NTG-context] " Taco Hoekwater
@ 2024-04-10 12:21   ` Hans Hagen
  2024-04-10 14:14     ` Willi Egger
  2024-04-10 14:34     ` Henning Hraban Ramm
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2024-04-10 12:21 UTC (permalink / raw)
  To: Taco Hoekwater, mailing list for ConTeXt users

On 4/10/2024 1:30 PM, Taco Hoekwater wrote:
> 
> 
>> On 10 Apr 2024, at 13:04, Willi Egger <w.egger@boede.nl> wrote:
>>
>> Hello,
>>
>> It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59.
>>
>> Could some one confirm this?
> 
> It fails for me as well, when "mode=columns" is used.
compare with and without mode columns:

\starttext

     \enablemode[columns]

     As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} 
we can have
     more than one cell in a row.

     \startplacetable[mode=columns,reference=demo-1]
         \externalfigure[cow][width=\textwidth]
     \stopplacetable

     \samplefile{tufte}

\stoptext

so basically we have an "at the spot" placement or a float

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
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] 5+ messages in thread

* [NTG-context] Re: Figure reference failing
  2024-04-10 12:21   ` Hans Hagen
@ 2024-04-10 14:14     ` Willi Egger
  2024-04-10 14:34     ` Henning Hraban Ramm
  1 sibling, 0 replies; 5+ messages in thread
From: Willi Egger @ 2024-04-10 14:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hm, I see.

This question appeared while using the tug-boat-style. Taking the example at the end of the style I adapted my article accordingly. However I missed the point to enable the mode “columns”…

Thanks for the explanation!
Willi

> On 10 Apr 2024, at 14:21, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> On 4/10/2024 1:30 PM, Taco Hoekwater wrote:
>>> On 10 Apr 2024, at 13:04, Willi Egger <w.egger@boede.nl> wrote:
>>> 
>>> Hello,
>>> 
>>> It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59.
>>> 
>>> Could some one confirm this?
>> It fails for me as well, when "mode=columns" is used.
> compare with and without mode columns:
> 
> \starttext
> 
>    \enablemode[columns]
> 
>    As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have
>    more than one cell in a row.
> 
>    \startplacetable[mode=columns,reference=demo-1]
>        \externalfigure[cow][width=\textwidth]
>    \stopplacetable
> 
>    \samplefile{tufte}
> 
> \stoptext
> 
> so basically we have an "at the spot" placement or a float
> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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] 5+ messages in thread

* [NTG-context] Re: Figure reference failing
  2024-04-10 12:21   ` Hans Hagen
  2024-04-10 14:14     ` Willi Egger
@ 2024-04-10 14:34     ` Henning Hraban Ramm
  1 sibling, 0 replies; 5+ messages in thread
From: Henning Hraban Ramm @ 2024-04-10 14:34 UTC (permalink / raw)
  To: ntg-context

Am 10.04.24 um 14:21 schrieb Hans Hagen:
>> It fails for me as well, when "mode=columns" is used.
> compare with and without mode columns:
> 
> \starttext
> 
>      \enablemode[columns]
> 
>      As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} 
> we can have
>      more than one cell in a row.
> 
>      \startplacetable[mode=columns,reference=demo-1]
>          \externalfigure[cow][width=\textwidth]
>      \stopplacetable
> 
>      \samplefile{tufte}
> 
> \stoptext
> 
> so basically we have an "at the spot" placement or a float

Is "mode" in floats something new? How is it related to “general” modes?

Hraban
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2024-04-10 14:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 11:04 [NTG-context] Figure reference failing Willi Egger
2024-04-10 11:30 ` [NTG-context] " Taco Hoekwater
2024-04-10 12:21   ` Hans Hagen
2024-04-10 14:14     ` Willi Egger
2024-04-10 14:34     ` Henning Hraban Ramm

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