Re: [NTG-context] Howto metapost textext set or change basepoint (origin) baseline of text

2020-02-20 Thread Christoph Hintermüller
Hi Hans
On Thu, 2020-02-20 at 10:28 +0100, Hans Hagen wrote:
> On 2/20/2020 10:15 AM, Christoph Hintermüller wrote:
> 
> 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
> 


Thanks again.

textext.origin

was the solution i was not able to properly figure


Best
Xristoph


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


Re: [NTG-context] Howto metapost textext set or change basepoint (origin) baseline of text

2020-02-20 Thread Christoph Hintermüller
Hi Hans
On Thu, 2020-02-20 at 10:28 +0100, Hans Hagen wrote:
> On 2/20/2020 10:15 AM, Christoph Hintermüller wrote:
> > 
> 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
> 


Thank you very much, that was what i missed to properly get when
reading manuals.

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


Yes i know but i want text inside figure to be typeset by context to be
able to use all the cool stuff including math fonts and others offered
by context and its packages. And again i was not able to deduce any
hint that this magically would happen for SVG directly. What i
understood is it will be converted to pdf via cli interface of inkscape
and simply included as pdf image. 

Best 
Xristoph


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


Re: [NTG-context] Howto metapost textext set or change basepoint (origin) baseline of text

2020-02-20 Thread Hans Hagen

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 ... by draw textext(
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
___


[NTG-context] Howto metapost textext set or change basepoint (origin) baseline of text

2020-02-20 Thread Christoph Hintermüller
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 ... by draw textext(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
___