ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Placing a figure with a command for the file in mkiv
@ 2018-01-27 10:28 Otared Kavian
  2018-01-27 10:43 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2018-01-27 10:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I have a document (sort of proceedings of a meeting) which have to contain several pages, with each page dedicated to an author and a specific figure (say a photo). In mkii I used to do have a command like
	\define\authorpicture{hacker.jpg}
and then use a command like:
	\externalfigure[\authorpicture]
to include that figure in the text, and everythinng worked ver nicely in my big document.

Unfortunately this scheme does not work anymore in mkiv… 
How can I change the following code (which works in mkii) in order to have it work in mkiv?

Thanks in advance for any help: OK

%%% begin dynamic-filename-figure.tex
\starttext
\define\authorpicture{hacker.jpg}

\placefigure[here][fig:Myfigure]{}
	{\externalfigure[\authorpicture]}
	
\stoptext
%%% end dynamic-filename-figure.tex
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-01-27 13:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-27 10:28 Placing a figure with a command for the file in mkiv Otared Kavian
2018-01-27 10:43 ` Wolfgang Schuster
2018-01-27 11:31   ` Otared Kavian
2018-01-27 11:39     ` Wolfgang Schuster
2018-01-27 13:36       ` Otared Kavian

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