Re: [dev-context] startpagefigure (mkxl) bug

2021-11-15 Thread Hans Hagen

On 11/15/2021 12:36 PM, Taco Hoekwater wrote:

Hi,


\defineexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay] % we force a 
parent

\permanent\tolerant\protected\def\startpagefigure[#1]#*[#2]%
   {\bgroup
\setupexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay,#2]%

\startTEXpage[\c!offset=\namedexternalfigureparameter{\v!page:\v!figure}\c!offset,\c!align=\v!normal]%
  \externalfigure[#1]\ignorespaces} % so we can put some text below the 
graphic


I think that last line should be

  \externalfigure[#1[\v!page:\v!figure]]\ignorespaces} % so we can put some 
text below the graphic

you didn't test it  ... missing ] in the patch

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
-
___
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context


[dev-context] startpagefigure (mkxl) bug

2021-11-15 Thread Taco Hoekwater
Hi,


\defineexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay] % we force a 
parent

\permanent\tolerant\protected\def\startpagefigure[#1]#*[#2]%
  {\bgroup
   \setupexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay,#2]%
   
\startTEXpage[\c!offset=\namedexternalfigureparameter{\v!page:\v!figure}\c!offset,\c!align=\v!normal]%
 \externalfigure[#1]\ignorespaces} % so we can put some text below the 
graphic


I think that last line should be 

 \externalfigure[#1[\v!page:\v!figure]]\ignorespaces} % so we can put some 
text below the graphic

?

Best wishes,
Taco

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context