ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan-Erik Hägglöf" <janerik.hagglof@bahnhof.se>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Label in externalfigures
Date: Wed, 12 Feb 2020 18:01:14 +0100	[thread overview]
Message-ID: <BF1EF84F-EF7B-4783-827D-D6F93926EA60@bahnhof.se> (raw)
In-Reply-To: <20200212171654.b110370fd28801a09d28318e@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2176 bytes --]

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=sharing <https://drive.google.com/file/d/13pCuUvNeL7T_Hs7-qrKZclkadcJ7_jVV/view?usp=sharing>

So that I have a picture so I can change the label text inside according to different needs e.g change from 37° to 41° 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ägglöf <janerik.hagglof@bahnhof.se> wrote:
> 
>> Dear Members!
>> 
>> I have a question on how to achieve something like this.
>> 
>> \IncludePicture[picture.pdf][xpos=2, ypos= 4, label=some 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’s 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3742 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-02-12 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12 15:49 Jan-Erik Hägglöf
2020-02-12 16:16 ` Wolfgang Schuster
2020-02-12 17:01   ` Jan-Erik Hägglöf [this message]
2020-02-12 19:10     ` Hans Hagen
2020-02-13  9:35       ` Jan-Erik Hägglöf
2020-02-14 22:22         ` Jan-Erik Hägglöf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BF1EF84F-EF7B-4783-827D-D6F93926EA60@bahnhof.se \
    --to=janerik.hagglof@bahnhof.se \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).