From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106267 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?B?SmFuLUVyaWsgSMOkZ2dsw7Zm?= Newsgroups: gmane.comp.tex.context Subject: Re: Label in externalfigures Date: Wed, 12 Feb 2020 18:01:14 +0100 Message-ID: References: <31ABCCAF-E6D4-43E5-8959-8CCDA28A6E38@bahnhof.se> <20200212171654.b110370fd28801a09d28318e@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Content-Type: multipart/mixed; boundary="===============8886391745522080129==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="123064"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 12 18:02:11 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1vOp-000Vmo-GB for gctc-ntg-context-518@m.gmane-mx.org; Wed, 12 Feb 2020 18:02:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E87B7181BE5; Wed, 12 Feb 2020 18:01:22 +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 D2iFmyt5Sjcc; Wed, 12 Feb 2020 18:01:20 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6F55E181BDB; Wed, 12 Feb 2020 18:01:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2337B181BDB for ; Wed, 12 Feb 2020 18:01:19 +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 dGg4ixePppxB for ; Wed, 12 Feb 2020 18:01:17 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=79.136.2.41; helo=pio-pvt-msa2.bahnhof.se; envelope-from=janerik.hagglof@bahnhof.se; receiver= Original-Received: from pio-pvt-msa2.bahnhof.se (pio-pvt-msa2.bahnhof.se [79.136.2.41]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6750F18083F for ; Wed, 12 Feb 2020 18:01:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTP id 738E23F405 for ; Wed, 12 Feb 2020 18:01:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Original-Received: from pio-pvt-msa2.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TjQTLbQhro-G for ; Wed, 12 Feb 2020 18:01:15 +0100 (CET) Original-Received: from jan-eriks-air.orebro.se (unknown [194.103.203.145]) (Authenticated sender: mb287648) by pio-pvt-msa2.bahnhof.se (Postfix) with ESMTPA id 67DC63F260 for ; Wed, 12 Feb 2020 18:01:15 +0100 (CET) In-Reply-To: <20200212171654.b110370fd28801a09d28318e@gmail.com> X-Mailer: Apple Mail (2.3608.60.0.2.5) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:106267 Archived-At: --===============8886391745522080129== Content-Type: multipart/alternative; boundary="Apple-Mail=_94D891FE-FD19-4196-A6E8-124994B8B18E" --Apple-Mail=_94D891FE-FD19-4196-A6E8-124994B8B18E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The expected output should be like this, see example in the link below = https://drive.google.com/file/d/13pCuUvNeL7T_Hs7-qrKZclkadcJ7_jVV/view?usp= =3Dsharing = So that I have a picture so I can change the label text inside according = to different needs e.g change from 37=C2=B0 to 41=C2=B0 without = reediting it in Inkscape. A similar properties like latex export picture.pdf_tex which is a = function in Inkscape I investigate the details manual tip you provided, thanks a lot. > 12 feb. 2020 kl. 17:16 skrev Wolfgang Schuster = : >=20 > On Wed, 12 Feb 2020 16:49:02 +0100 > Jan-Erik H=C3=A4ggl=C3=B6f wrote: >=20 >> Dear Members! >>=20 >> I have a question on how to achieve something like this. >>=20 >> \IncludePicture[picture.pdf][xpos=3D2, ypos=3D 4, label=3Dsome text] >=20 > What is the expected output of this command? >=20 >> I know there is a similar function in the simple slides module but I = need it in my documents, often exams to my students, so caption is = mainly not necessary. >>=20 >> The background to this is that I often creating pictures in Inkscape = and export it to pdf but sometimes I do screenshots and save it in .png = or .pdf format. So I just want to put labels in it like a layer in same = size as the included picture. >>=20 >> Or is this something that=E2=80=99s already solved so "reinventing = wheel" is unnecessary? >=20 > Look at the example for \layeredtext, \collectedtext or \setcollector = in the details [1] manual. >=20 > [1] http://www.pragma-ade.nl/general/manuals/details.pdf >=20 > Wolfgang > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_94D891FE-FD19-4196-A6E8-124994B8B18E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 The = expected output should be like this, see example in the link below


So that I have a picture so I can change the label text = inside according to different needs e.g change from 37=C2=B0 to 41=C2=B0 = without reediting it in Inkscape.

A similar properties like latex export = picture.pdf_tex which is a function in Inkscape

I investigate the details manual tip = you provided, thanks a lot.


12 feb. 2020 kl. 17:16 skrev Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>:

On = Wed, 12 Feb 2020 16:49:02 +0100
Jan-Erik H=C3=A4ggl=C3=B6f = <janerik.hagglof@bahnhof.se> wrote:

Dear Members!

I have a question on how to achieve something = like this.

\IncludePicture[picture.pdf][xpos=3D2, ypos=3D 4, label=3Dsome = text]

What is the expected = output of this command?

I know there is a similar function in the = simple slides module but I need it in my documents, often exams to my = students, so caption is mainly not necessary.

The background to this is that I often creating pictures in = Inkscape and export it to pdf but sometimes I do screenshots and save it = in .png or .pdf format. So I just want to put labels in it like a layer = in same size as the included picture.

Or is = this something that=E2=80=99s already solved so "reinventing wheel" is = unnecessary?

Look at the = example for \layeredtext, \collectedtext or \setcollector in the details = [1] manual.

[1] http://www.pragma-ade.nl/general/manuals/details.pdf

Wolfgang
_______________________________________________________________= ____________________
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
_______________________________________________________________= ____________________

= --Apple-Mail=_94D891FE-FD19-4196-A6E8-124994B8B18E-- --===============8886391745522080129== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8886391745522080129==--