On 2/20/2020 10:15 AM, Christoph Hintermüller wrote:
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?
You can append a palcement suffix, like:

  textext.dflt

you can try:

  lft rt bot top ulft urt llft lrt d dflt drt origin raw

(if instead of an eps export you can use svg that can be an alternative route)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 via email to