ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mplib problem of latest beta on luatex 0.40
@ 2009-04-27  0:33 Wei-Wei Guo
  2009-04-27  2:55 ` Longmin Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Wei-Wei Guo @ 2009-04-27  0:33 UTC (permalink / raw)
  To: ConTeXt users

Dear developers,

Here is the example and warnings.

Example:

     \startuseMPgraphic{mpos:par:columnset:textuline}
       \iftracepositions show_multi_pars \else draw_multi_pars \fi ;
       path p ; p := boundingbox currentpicture ;
       currentpicture := currentpicture shifted (0,-0.3*StrutDepth) ;
       setbounds currentpicture to p ;
     \stopuseMPgraphic

     \definetextbackground
       [underline]
       [location=text,
        alternative=1,
        mp=mpos:par:columnset:textuline,
        background=,
        frame=off]

     \starttext

     \underline{blurblur}

     \stoptext

The compiled result has no underline and ConTeXt complains during compilation:

     mplib           : making 'metafun.mp' into 
'/var/cache/texmf/luatex-cache/context/b51cb04348b3b14d1dfc7333fc9b63f2/formats/cont-en-metafun.mem'
     mplib           : problems with 'metafun.mp' from 
'/var/cache/texmf/luatex-cache/context/b51cb04348b3b14d1dfc7333fc9b63f2/formats/cont-en-metafun.mem'



Best wishes,
Wei-Wei
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Mplib problem of latest beta on luatex 0.40
  2009-04-27  0:33 Mplib problem of latest beta on luatex 0.40 Wei-Wei Guo
@ 2009-04-27  2:55 ` Longmin Wang
  2009-04-27  3:54   ` Wei-Wei Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Longmin Wang @ 2009-04-27  2:55 UTC (permalink / raw)
  To: ntg-context

On Mon, Apr 27, 2009 at 08:33:04AM +0800, Wei-Wei Guo wrote:
>Dear developers,
>
>Here is the example and warnings.
>
>The compiled result has no underline and ConTeXt complains during compilation:
>
>     mplib           : making 'metafun.mp' into 
>'/var/cache/texmf/luatex-cache/context/b51cb04348b3b14d1dfc7333fc9b63f2/formats/cont-en-metafun.mem'
>     mplib           : problems with 'metafun.mp' from 
>'/var/cache/texmf/luatex-cache/context/b51cb04348b3b14d1dfc7333fc9b63f2/formats/cont-en-metafun.mem'
>
It works fine here with the latest beta and luatex 0.40. You may try
to delete luatex-cache and regenerate it. 

-- 
Longmin Wang <longminwang@gmail.com>
Math. Dept., Nankai Univ., China
http://math.nankai.edu.cn/~wanglm/
GnuPG-Key ID: 1024D/2A5CFA5C
Fingerprint: 8587 1246 3AAD C185 D419  ADF1 B620 D8B8 2A5C FA5C
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Mplib problem of latest beta on luatex 0.40
  2009-04-27  2:55 ` Longmin Wang
@ 2009-04-27  3:54   ` Wei-Wei Guo
  0 siblings, 0 replies; 3+ messages in thread
From: Wei-Wei Guo @ 2009-04-27  3:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

Longmin Wang 写道:

Hi Longmin,

> It works fine here with the latest beta and luatex 0.40. You may try
> to delete luatex-cache and regenerate it. 
> 

It solves the problem, thanks.

I find another problem with the example in my previous email. I changed the
example a little bit.

Example:

     \startuseMPgraphic{mpos:par:columnset:textuline}
       \iftracepositions show_multi_pars \else draw_multi_pars \fi ;
       path p ; p := boundingbox currentpicture ;
       currentpicture := currentpicture shifted (0,0.3*StrutDepth) ;
       setbounds currentpicture to p ;
     \stopuseMPgraphic

     \definetextbackground
       [underline]
       [location=text,
        alternative=1,
        mp=mpos:par:columnset:textuline,
        background=,
        frame=off]

     \starttext

     \underline{blurblur}

     \underline{blurblur}

     \underline{blurblur}

     \underline{blurblur}

     \stoptext

The vertical positions of underlines are not stable. See the attached PDF file.


Best wishes,
Wei-Wei

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 3448 bytes --]

[-- Attachment #3: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-27  3:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-27  0:33 Mplib problem of latest beta on luatex 0.40 Wei-Wei Guo
2009-04-27  2:55 ` Longmin Wang
2009-04-27  3:54   ` Wei-Wei Guo

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).