Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Alan BRASLAU
On Wed, 13 Feb 2013 06:54:18 +0100
Lutz Haseloff lutz.hasel...@gmail.com wrote:

 Hi Hans, hi all,
 
 with the most recent ConTeXt
 (This is LuaTeX, Version beta-0.75.0-2013021110 (rev 4576)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.11  int: english/english)
 there is an alignment problem with labels using textext.
 Labels without textext work ok.
 
 Small example showing the problem:
 
 -
 \starttext
 \startMPpage
 pickup pencircle scaled 1mm ;
 path p ; p := fullcircle scaled 3cm ;
 draw p withcolor .625yellow ;
 label.rt (textext(right) , point 0 of p) ;
 label.top (textext(top) , point 2 of p) ;
 label.lft (textext(left) , point 4 of p) ;
 label.bot (textext(bottom) , point 6 of p) ;
 \stopMPpage
 \startMPpage
 pickup pencircle scaled 1mm ;
 path p ; p := fullcircle scaled 3cm ;
 draw p withcolor .625yellow ;
 label.rt (right , point 0 of p) ;
 label.top (top , point 2 of p) ;
 label.lft (left , point 4 of p) ;
 label.bot (bottom , point 6 of p) ;
 \stopMPpage
 \stoptext
 -
 
 Greetings
 
 Lutz

Looks OK with
ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.12  int: english/english

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Keith J. Schultz
Hi Lutz,

With
This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541) 
ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english

Things look fine. Actually, without textext the left and right seem to be 
aligned 
on the baseline. Where with textext it is aligned in the middle of the text, 
which
I find to be the correct way. 

regards
Keith



Am 13.02.2013 um 06:54 schrieb Lutz Haseloff lutz.hasel...@gmail.com:

 Hi Hans, hi all,
 
 with the most recent ConTeXt
 (This is LuaTeX, Version beta-0.75.0-2013021110 (rev 4576)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.11  int: english/english)
 there is an alignment problem with labels using textext.
 Labels without textext work ok.
 
 Small example showing the problem:
 
 -
 \starttext
 \startMPpage
 pickup pencircle scaled 1mm ;
 path p ; p := fullcircle scaled 3cm ;
 draw p withcolor .625yellow ;
 label.rt (textext(right) , point 0 of p) ;
 label.top (textext(top) , point 2 of p) ;
 label.lft (textext(left) , point 4 of p) ;
 label.bot (textext(bottom) , point 6 of p) ;
 \stopMPpage
 \startMPpage
 pickup pencircle scaled 1mm ;
 path p ; p := fullcircle scaled 3cm ;
 draw p withcolor .625yellow ;
 label.rt (right , point 0 of p) ;
 label.top (top , point 2 of p) ;
 label.lft (left , point 4 of p) ;
 label.bot (bottom , point 6 of p) ;
 \stopMPpage
 \stoptext
 -
 
 Greetings
 
 Lutz
 ___
 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
Hi Keith,

following testfile perhaps describes my problem better:

\starttext
\startMPpage
drawdot (origin);
label.rt (textext(right) , origin) ;
label.top (textext(top) , origin) ;
label.lft (textext(left) , origin) ;
label.bot (textext(bottom) , origin) ;
\stopMPpage
\stoptext

If i run it by texexec(mkii), all is ok, with context(mkiv) the labels
overlap.

I try to add the problematic mkiv pdf.

Greetings Lutz


2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 With
 This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english

 Things look fine. Actually, without textext the left and right seem to be
 aligned
 on the baseline. Where with textext it is aligned in the middle of the
 text, which
 I find to be the correct way.

 regards
 Keith




mkiv.pdf
Description: Adobe PDF document
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Alan BRASLAU
On Wed, 13 Feb 2013 11:11:23 +0100
Lutz Haseloff lutz.hasel...@gmail.com wrote:

 Hi Keith,
 
 following testfile perhaps describes my problem better:
 
 \starttext
 \startMPpage
 drawdot (origin);
 label.rt (textext(right) , origin) ;
 label.top (textext(top) , origin) ;
 label.lft (textext(left) , origin) ;
 label.bot (textext(bottom) , origin) ;
 \stopMPpage
 \stoptext
 
 If i run it by texexec(mkii), all is ok, with context(mkiv) the labels
 overlap.

I do not know what you expect exactly.
Each textext() label has a bounding box.
This bounding box is then aligned in the case of rt, top, lft, bot
with its appropriate edge centered at the origin.
The lft and rt text thus will not have their baselines aligned, unless you add 
a \strut.

(This is an issue with the chemical macros.)

Try label.rt (texttext(\strut right), origin) ;

By the way, you can use:
draw textext.rt (\strut right) ;
draw textext.top(\strut top) ;
draw textext.lft(\strut left) ;
draw textext.bot(\strut bottom) ;
which gives a tighter fit than label().



Alan

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Keith J. Schultz
Hi Lutz,

Just updated, to make sure I have the latest.

I see the problems. 
top  bottom labels are not centered correctly
bottom label not low enough
left and right labels are not aligned at the same height

Sorry, no ansers.

regards
Keith.

Am 13.02.2013 um 11:11 schrieb Lutz Haseloff lutz.hasel...@gmail.com:

 Hi Keith,
 
 following testfile perhaps describes my problem better:
 
 \starttext
 \startMPpage
 drawdot (origin);
 label.rt (textext(right) , origin) ;
 label.top (textext(top) , origin) ;
 label.lft (textext(left) , origin) ;
 label.bot (textext(bottom) , origin) ;
 \stopMPpage
 \stoptext
 
 If i run it by texexec(mkii), all is ok, with context(mkiv) the labels 
 overlap.
 
 I try to add the problematic mkiv pdf.
 
 Greetings Lutz
 
 
 2013/2/13 Keith J. Schultz keithjschu...@web.de
 Hi Lutz,
 
 With
 This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541) 
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english
 
 Things look fine. Actually, without textext the left and right seem to be 
 aligned 
 on the baseline. Where with textext it is aligned in the middle of the text, 
 which
 I find to be the correct way. 
 
 regards
   Keith
 

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
It seems to me, that the label.xx mechanism is completely broken.
the results of label, label.rt and label.lft are exactly the same if i set
labeloffset := 0bp ;
(default is 3bp)


2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 Just updated, to make sure I have the latest.

 I see the problems.
 top  bottom labels are not centered correctly
 bottom label not low enough
 left and right labels are not aligned at the same height

 Sorry, no ansers.

 regards
 Keith.

 Am 13.02.2013 um 11:11 schrieb Lutz Haseloff lutz.hasel...@gmail.com:

 Hi Keith,

 following testfile perhaps describes my problem better:

 \starttext
 \startMPpage
 drawdot (origin);
 label.rt (textext(right) , origin) ;
 label.top (textext(top) , origin) ;
 label.lft (textext(left) , origin) ;
 label.bot (textext(bottom) , origin) ;
 \stopMPpage
 \stoptext

 If i run it by texexec(mkii), all is ok, with context(mkiv) the labels
 overlap.

 I try to add the problematic mkiv pdf.

 Greetings Lutz


 2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 With
 This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english

 Things look fine. Actually, without textext the left and right seem to be
 aligned
 on the baseline. Where with textext it is aligned in the middle of the
 text, which
 I find to be the correct way.

 regards
 Keith




 ___
 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Failing MPruns

2013-02-13 Thread Marco Patzer
Hi,

The following used to work:

\startMPrun{foo}
  beginfig(1);
fill fullcircle scaled 1cm;
  endfig;
\stopMPrun

\starttext
  \externalfigure [mprun:foo.1] [width=4cm]
\stoptext

now I get:

! LuaTeX error ...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:690: 
bad argument #1 to 'isfile' (string expected, got nil)
stack traceback:
[C]: in function 'isfile'
...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:690: in 
function 'locate'
...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:922: in 
function 'identifier'
...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:940: in 
function 'identify'
[string \directlua ]:1: in main chunk.

[…]

\grph_include_place ...ctxlua {figures.identify()}
  \ifconditional \c_grph_inc...
\grph_include_figure ...h_include_place [#1][][#2]
  \else \grph_include_place ...
\syst_helpers_triple_empty_three_spaced ...{#3}][]

to be read again
   \stoptext
l.9 \stoptext

It might have something to do with the recent changes concerning the
graphics search path, but that's just a blind guess.

Marco


signature.asc
Description: Digital signature
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Search path for external figures changed

2013-02-13 Thread Marco Patzer
On 2013–02–08 Hans Hagen wrote:

 default: texmftree
 local  : relative to source
 global : path list
 
 these can be combined

How to include MP graphics sitting in a dedicated directory, e.g.
“graphs”?

%% file: graphs/foo.mp
beginfig(1);
  fill unitsquare scaled 2cm withcolor red;
endfig;

%% file: test.tex
\setupexternalfigures
  [directory=graphs,
   %% location=???,
  ]

\startMPrun
  %% including the path works
  %% input graphs/foo.mp;

  input foo.mp;
\stopMPrun

\starttext
  \externalfigure [mprun.1]
\stoptext

Marco


signature.asc
Description: Digital signature
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] code after \stopbuffer

2013-02-13 Thread H. van der Meer
Is it possible to have a command automatically executed each time \stopbuffer 
has been read? Preferably coupled to a specific named \startbuffer[this_one], 
iff possible at all of course.

Thus:
\startbuffer[this_one]
..contents..
\stopbuffer % in execution followed by \command

Hans van der Meer



___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Failing MPruns

2013-02-13 Thread Hans Hagen

On 2/13/2013 1:39 PM, Marco Patzer wrote:

Hi,

The following used to work:

\startMPrun{foo}
   beginfig(1);
 fill fullcircle scaled 1cm;
   endfig;
\stopMPrun

\starttext
   \externalfigure [mprun:foo.1] [width=4cm]
\stoptext

now I get:


fixed ... also added . instead of : support as mprun: is a prefix and 
doesn't mix well with other prefixes (schemes)


\starttext

\startTEXpage

\startMPrun{foo}
beginfig(2) ;
fill fullcircle scaled 1cm withcolor blue ;
endfig ;
beginfig(1) ;
fill fullcircle scaled 2cm withcolor red ;
endfig ;
\stopMPrun

\startMPrun
beginfig(6) ;
fill fullcircle scaled 15mm withcolor green ;
endfig ;
\stopMPrun

\startoverlay
{\externalfigure [mprun.foo.1]}
{\externalfigure [mprun.6]}
{\externalfigure [mprun:foo.2]}
\stopoverlay

\stopTEXpage

\stoptext

beta later

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Locating a figure

2013-02-13 Thread Hans Hagen

On 2/12/2013 10:27 AM, Mojca Miklavec wrote:

On Tue, Feb 12, 2013 at 9:47 AM, Wolfgang Schuster wrote:


The location key accepts three arguments:

- local (search in the current directory)
- global (search path specified with the directory key)
- default (search in the tex directory)

The default setup for the search is 
\setupexternalfigures[location={local,global}].


Just curious: how do PDFs from $TEXMF/doc/... sneak in (under default setup)?


there is no specific pattern for pdf so so it's a sort of wildcard search

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-13 Thread Marco Patzer
Hi,

I know that MPinclusions are included only once and
MPinitializations are included once for each graphic. But how do
MPextensions fit in?

How can I define variables or definitions that are local to a
particular MP instance?

Marco


signature.asc
Description: Digital signature
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] using different xml-tree's?

2013-02-13 Thread H. van der Meer
I would like to process my dvd nodes in more than one way but I am stuck with 
the implementation.

The trees could start in a different setup:
\startxmlsetups xml:dvdfirst:dvd .. \stopxmlsetups
\startxmlsetups xml:dvdfirst:setups
\xmlsetsetup{\xmldocument}
{error|setup|dvd ..

and

\startxmlsetups xml:dvdsecond:dvd .. \stopxmlsetups
\startxmlsetups xml:dvdsecond:setups .. 

I thought I could call the variants (data collected in a buffer) with:

\xmlprocessbuffer{dvd}{data.xml}{xml:dvdfirst:dvd}
en
\xmlprocessbuffer{dvd}{data.xml}{xml:dvdsecond:dvd}

But this does not work. Neither for example ..{xml:dvdfirst}

Guess I am mistreating the 3rd parameter of 
\xmlprocessbuffer{}{}{initial-xml-setup}. The manual says process the tree 
starting with initial-xml-setup.

What am I doing wrong?

Hans van der Meer



___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Logical Page Numbers (PDF Bookmarks)

2013-02-13 Thread Troy Henderson
I know how to make the page numbers in the frontmatter to use Roman
numerals, say, and in the bodymatter use Arabic numerals.  I also know how
to reset the page counter so that the numbering starts over after the
frontmatter.  However, I would like to have the page numbers appear in the
PDF bookmarks appear as

i, ii, iii, ... , 1, 2, 3, ...

If there are 5 pages in the frontmatter, then all of my page numbers are
off by 5 in the PDF bookmarks.  How can this be fixed?

Troy Henderson
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] code after \stopbuffer

2013-02-13 Thread Wolfgang Schuster

Am 13.02.2013 um 17:49 schrieb H. van der Meer h.vanderm...@uva.nl:

 Is it possible to have a command automatically executed each time \stopbuffer 
 has been read? Preferably coupled to a specific named \startbuffer[this_one], 
 iff possible at all of course.
 
 Thus:
 \startbuffer[this_one]
 ..contents..
 \stopbuffer % in execution followed by \command

\def\startmybuffer
  {\grabbufferdata[mybuffer][startmybuffer][stopmybuffer]}

\def\stopmybuffer
  {\startframedtext[width=max]
   \getbuffer[mybuffer]
   \stopframedtext}

\starttext
\startmybuffer
\input knuth
\stopmybuffer
\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-13 Thread Hans Hagen

On 2/13/2013 6:59 PM, Marco Patzer wrote:

Hi,

I know that MPinclusions are included only once and
MPinitializations are included once for each graphic. But how do
MPextensions fit in?

How can I define variables or definitions that are local to a
particular MP instance?


by defining a new instance

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MPinclusions, MPextensions, MPinitializations and MPinstances

2013-02-13 Thread Marco Patzer
On 2013–02–14 Hans Hagen wrote:

 I know that MPinclusions are included only once and
 MPinitializations are included once for each graphic. But how do
 MPextensions fit in?
 
 How can I define variables or definitions that are local to a
 particular MP instance?
 
 by defining a new instance

I guess I didn't make myself clear.

  \startMPinitializations
numeric n; n=4cm;
  \stopMPinitializations

Now I can use “n” in all MP instances (unless switched off for the
particular instance). I'd like to define some variables only visible
in instance “foo”. Something like

  \startMPinitializations [foo]
numeric n; n=4cm;
  \stopMPinitializations

I tried

  \startMPcode{foo}
numeric n; n=4cm;
  \stopMPcode

but this adds some vertical space and doesn't seem to be the right
solution given the face that there are already three other
environments to include MetaPost code. Maybe I'm missing the obvious
here.

Marco


signature.asc
Description: Digital signature
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Alignment problem with labels and textext

2013-02-13 Thread Lutz Haseloff
It seems, that my ConTeXt installation was broken in this point.
A complete new installation of the standalone heped.
Sorry for the noise.


2013/2/13 Lutz Haseloff lutz.hasel...@gmail.com

 It seems to me, that the label.xx mechanism is completely broken.
 the results of label, label.rt and label.lft are exactly the same if i set
 labeloffset := 0bp ;
 (default is 3bp)


 2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 Just updated, to make sure I have the latest.

 I see the problems.
 top  bottom labels are not centered correctly
  bottom label not low enough
 left and right labels are not aligned at the same height

 Sorry, no ansers.

 regards
 Keith.

 Am 13.02.2013 um 11:11 schrieb Lutz Haseloff lutz.hasel...@gmail.com:

 Hi Keith,

 following testfile perhaps describes my problem better:

 \starttext
 \startMPpage
 drawdot (origin);
 label.rt (textext(right) , origin) ;
 label.top (textext(top) , origin) ;
 label.lft (textext(left) , origin) ;
 label.bot (textext(bottom) , origin) ;
 \stopMPpage
 \stoptext

 If i run it by texexec(mkii), all is ok, with context(mkiv) the labels
 overlap.

 I try to add the problematic mkiv pdf.

 Greetings Lutz


 2013/2/13 Keith J. Schultz keithjschu...@web.de

 Hi Lutz,

 With
 This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541)
 ConTeXt  ver: 2013.02.05 22:32 MKIV  fmt: 2013.2.9  int: english/english

 Things look fine. Actually, without textext the left and right seem to
 be aligned
 on the baseline. Where with textext it is aligned in the middle of the
 text, which
 I find to be the correct way.

 regards
 Keith




 ___
 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___



___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Failing MPruns

2013-02-13 Thread Keith J. Schultz
Hi Hans, All,

with your example below I noticed that the red circle is not
quite in the graphic. it seems to be clip on the right!

Just mentioning this.

regards
Keith.

Am 13.02.2013 um 17:54 schrieb Hans Hagen pra...@wxs.nl:

 On 2/13/2013 1:39 PM, Marco Patzer wrote:
 Hi,
 
 The following used to work:
 
 \startMPrun{foo}
   beginfig(1);
 fill fullcircle scaled 1cm;
   endfig;
 \stopMPrun
 
 \starttext
   \externalfigure [mprun:foo.1] [width=4cm]
 \stoptext
 
 now I get:
 
 fixed ... also added . instead of : support as mprun: is a prefix and doesn't 
 mix well with other prefixes (schemes)
 
 \starttext
 
\startTEXpage
 
\startMPrun{foo}
beginfig(2) ;
fill fullcircle scaled 1cm withcolor blue ;
endfig ;
beginfig(1) ;
fill fullcircle scaled 2cm withcolor red ;
endfig ;
\stopMPrun
 
\startMPrun
beginfig(6) ;
fill fullcircle scaled 15mm withcolor green ;
endfig ;
\stopMPrun
 
\startoverlay
{\externalfigure [mprun.foo.1]}
{\externalfigure [mprun.6]}
{\externalfigure [mprun:foo.2]}
\stopoverlay
 
\stopTEXpage
 
 \stoptext
 
 beta later
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___