ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Christoph Hintermüller" <christoph@out-world.com>
To: ntg-context@ntg.nl
Subject: Howto metapost textext set or change basepoint (origin) baseline of text
Date: Thu, 20 Feb 2020 10:15:07 +0100	[thread overview]
Message-ID: <d70419c4822f745c8df9c7fd884c9e1d72a8facb.camel@out-world.com> (raw)

Hi 
I have the following problem. I convert a eps file using pstoedit into
meta post file. When running this file through mptopdf the resulting
pdf image is as expected. When i include, using the input command,  the
file within a startMPcode endMPcode or startMPpage stopMPpage   after
replacing simple draw <string>... by draw textext(<string) ... and
compile the tex file with context than texts inside the graphic are
schilfted bottom left. 

To mee it seems as textext uses a different basepoint/baseline of the
text, than pstoedit assumed. Maybe in additon effects related to
differences in fonts may be additional reason.

My questions are
What keywords do i have to enter in google or the context garden wiki
search box to obtain examples and questions dealing with similar
aspects

How do i explicitly set the position of the text origin point within
the textbox/lable box used by textext. eg. assume origin point bottom
left, left on baseline, center in the middle etc.


What else might i bee missing or having a wrong idea how things are
done by netapost/metafun/context in this context?

Best
Xristoph

-- 
-- 
Christoph Hintermüller
Dipl.-Ing. Dr. MBA. MSc
JKU Institute of Biomedical Mechatronics
Altenberger Straße 69,
4040 Linz, Austria,
Cell: +43 650 8827347
Tel. +43 732 2468 4813
Email: christoph.hintermueller@jku.at

___________________________________________________________________________________
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-20  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-20  9:15 Christoph Hintermüller [this message]
2020-02-20  9:28 ` Hans Hagen
2020-02-20 13:57   ` Christoph Hintermüller
2020-02-20 14:03   ` Christoph Hintermüller

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=d70419c4822f745c8df9c7fd884c9e1d72a8facb.camel@out-world.com \
    --to=christoph@out-world.com \
    --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).