Am 06.10.2026 um 05:17 schrieb Andres Conrado Montoya:
I have been using figures like this for several books:
%%%%%%%%%%
\define[1]\fuentefig{\par\blank[2pt]\start\switchtobodyfont[8pt]\emph{Fuente:}~#1\par\stop}
\def\propia{\fuentefig{elaboración propia}}
\defineexternalfigure[figuramd][maxwidth=.6\textwidth]
\setupcaptions[style={\small},
width=max,
prefix=yes,
way=bychapter,
prefixsegments=chapter,
headstyle={\tf},
suffixseparator={},
distance={.5em},
align={middle,nothyphenated,verytolerant,stretch}]
\startdocument
\startplacefigure[list={Convergencia absoluta para una muestra grande de
países},title={Convergencia absoluta para una muestra grande de
países\propia}]
\externalfigure[2_Crecimiento/media/image8.pdf][figuramd]
\stopplacefigure
\stopdocument
%%%%%%%%%%
Use sectionblocks (\startfrontmatter etc.) and check with the mode
mechanism in which block you are.
%%%% begin example
\define[1]\fuentefig
{\doifmode{*bodypart}
{\par\blank[2pt]{\switchtobodyfont[8pt]\emph{Fuente:}~#1\par}}}
\define\propia
{\fuentefig{elaboración propia}}
\startdocument
\startfrontmatter
\completelistoffigures
\stopfrontmatter
\startbodymatter
\startplacefigure[title={Convergencia absoluta para una muestra grande
de países\propia}]
\externalfigure[dummy]
\stopplacefigure
\stopbodymatter
\stopdocument
%%%% end example
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________