From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99945 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Placing a figure with a command for the file in mkiv Date: Sat, 27 Jan 2018 11:43:26 +0100 Message-ID: <5A6C57CE.5090809@gmail.com> References: <9E7E90A3-EF51-4DE9-BC1D-167BD4E33EE9@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8197928395873401877==" X-Trace: blaine.gmane.org 1517049749 2541 195.159.176.226 (27 Jan 2018 10:42:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Jan 2018 10:42:29 +0000 (UTC) User-Agent: Postbox 5.0.22 (Macintosh/20171208) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 27 11:42:25 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efNwB-0008VG-U3 for gctc-ntg-context-518@m.gmane.org; Sat, 27 Jan 2018 11:42:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2536A4238AB; Sat, 27 Jan 2018 11:44:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Znc5W_XDFsjS; Sat, 27 Jan 2018 11:43:55 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F4EB423820; Sat, 27 Jan 2018 11:43:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A68D442388E for ; Sat, 27 Jan 2018 11:43:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JSTlp0IU_7Fq for ; Sat, 27 Jan 2018 11:43:40 +0100 (CET) Original-Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3556042381A for ; Sat, 27 Jan 2018 11:43:30 +0100 (CET) Original-Received: by mail-wr0-f171.google.com with SMTP id d9so2563639wre.3 for ; Sat, 27 Jan 2018 02:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=Sln9uUrSMEhd7nwko4Rkg2QonbbqnwV+LTLC/wojjZM=; b=uvEDJdYBckdRN1iabYMWi/hG/tDK0RLMzAh4OBs9Yl+GxhP5R7lg+UHbRBKji+y0lE TWQiK2biqYHRx2E5OTQfroDDH+xFdUmE6C4T+HUVapG+qJmRms6NfitmBla8c7j+CqqY SOVg2vD4aAXJxWBJgwMRQLjJ+HS1Np31yc4zdZ9rjX7FAMK2+2HcYQu5tYGzQzq75F3Q keXOUr42Yr4ehDay/UOsequvvAIQSN+a8CaR5iIiOw4W6N8RunvYkBBAF1wawBgTwG3n l3kqMtb9nMx6DV/vOMN4AxheMBj8j+686YLO+sdqVqcYh9VwghYkyVpx5oKmpRIzR2Bd 208A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=Sln9uUrSMEhd7nwko4Rkg2QonbbqnwV+LTLC/wojjZM=; b=l3JlLkr27udWM6cokmw6lo3iREHe0NI8r+nM2KrTAtwyjNMJP5oYAmmcPYLXh2WbyN ci8qMgtcXy6TjMXkupY+ZFxxZFnuSkhkJCUBGveMeutk6S5Rvl8IxsLkpcP3r3mDOanJ cMeSuQCJw8ukWyup9TmsTS01PinO+F/5MGeBSaWU0cXQU7I+NiYvDgYp0yNRF9ro7SU0 P/XN973B3W0PZkKdHvOoil+0CusDUstv/UmLIRgjLIdtcZLUuMMXDrkdW56TFhI1Ts1S D1fSs7s+Z6EUb23zg2sLJdhQlrOTDWfbZhkG6vTvmyvBg1OicGhxGx0lleZsJSE4KShA O6FA== X-Gm-Message-State: AKwxytdAVgKn/9Et2OshjQ9jqHiVbulkPSL9E0JTGnevhg+I2yD9lrxh usRo9uW0/WfXMiEPB4XRJtrFMOmN X-Google-Smtp-Source: AH8x227hge68QtEmYQzJteiufhDNOCR9pnDfsBW2tC9xDcXo1eiNjEGiAG2EKgVCirCUPHLB65ZQ/g== X-Received: by 10.223.135.18 with SMTP id a18mr14093829wra.122.1517049809585; Sat, 27 Jan 2018 02:43:29 -0800 (PST) Original-Received: from [192.168.1.10] (x590f973a.dyn.telefonica.de. [89.15.151.58]) by smtp.gmail.com with ESMTPSA id i203sm5836562wmf.34.2018.01.27.02.43.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jan 2018 02:43:29 -0800 (PST) In-Reply-To: <9E7E90A3-EF51-4DE9-BC1D-167BD4E33EE9@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:99945 Archived-At: This is a multi-part message in MIME format. --===============8197928395873401877== Content-Type: multipart/alternative; boundary="------------040609090106080709020908" This is a multi-part message in MIME format. --------------040609090106080709020908 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Otared Kavian > 27. Januar 2018 um 11:28 > 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} \defineexpandable\...{...} Wolfgang --------------040609090106080709020908 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
27. Januar 2018 um 11:28
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}

\defineexpandable\...{...}

Wolfgang
--------------040609090106080709020908-- --===============8197928395873401877== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8197928395873401877==--