ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with MPpage
@ 2011-10-20  5:18 Lutz Haseloff
  2011-10-20  8:34 ` Meer, H. van der
  0 siblings, 1 reply; 4+ messages in thread
From: Lutz Haseloff @ 2011-10-20  5:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

next Metapost problem.

\starttext
\startMPpage
pickup pencircle scaled 2mm ;
draw (0,0)--(5cm,5cm) withcolor red;
\stopMPpage
\stoptext

The resulting pdf does not show the whole red line.
The size of the pdf is right but it is shifted to the upper right.

Thanks for any help

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
___________________________________________________________________________________


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

* Re: Problem with MPpage
  2011-10-20  5:18 Problem with MPpage Lutz Haseloff
@ 2011-10-20  8:34 ` Meer, H. van der
  2011-10-20  8:43   ` Lutz Haseloff
  0 siblings, 1 reply; 4+ messages in thread
From: Meer, H. van der @ 2011-10-20  8:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Does your result differ from mine here? 
The endpoints on the line suggest it was fully drawn and thus metapost behaves correctly.
This was with ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.19  int: english/english on a Macintosh.


[-- Attachment #2: standalone.pdf --]
[-- Type: application/pdf, Size: 3081 bytes --]

[-- Attachment #3: ATT00001.txt --]
[-- Type: text/plain, Size: 509 bytes --]



Hans van der Meer

On 20 okt. 2011, at 07:18, Lutz Haseloff wrote:

> Hi all,
> 
> next Metapost problem.
> 
> \starttext
> \startMPpage
> pickup pencircle scaled 2mm ;
> draw (0,0)--(5cm,5cm) withcolor red;
> \stopMPpage
> \stoptext
> 
> The resulting pdf does not show the whole red line.
> The size of the pdf is right but it is shifted to the upper right.
> 
> Thanks for any help
> 
> Lutz
> ___________________________________________________________________________________


[-- Attachment #4: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Problem with MPpage
  2011-10-20  8:34 ` Meer, H. van der
@ 2011-10-20  8:43   ` Lutz Haseloff
  2011-10-20 11:36     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Lutz Haseloff @ 2011-10-20  8:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Yes it differs, but i think it is a problem of last nights Context beta only.
My older ConTeXts work ok.


2011/10/20 Meer, H. van der <H.vanderMeer@uva.nl>:
> Does your result differ from mine here?
> The endpoints on the line suggest it was fully drawn and thus metapost behaves correctly.
> This was with ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.19  int: english/english on a Macintosh.
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>

[-- Attachment #2: minitest.pdf --]
[-- Type: application/pdf, Size: 3060 bytes --]

[-- Attachment #3: minitest.log --]
[-- Type: application/octet-stream, Size: 14870 bytes --]

(minitest.tex

ConTeXt  ver: 2011.10.19 23:10 MKIV  fmt: 2011.10.20  int: english/english

system          > cont-new.mkiv loaded
(C:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > minitest.top loaded

system          > options > start used options

used options    > % runtime options files (command line driven)
used options    > \unprotect
used options    > % feedback and basic job control
used options    > % handy for special styles
used options    > \startluacode
used options    > document = document or { }
used options    > document.arguments={
used options    >  ["autopdf"]=true,
used options    >  ["pdf"]=true,
used options    > }
used options    > document.files={
used options    >  "minitest.tex",
used options    > }
used options    > \stopluacode
used options    > % process info
used options    > \setupsystem[inputfile=minitest.tex]
used options    > \setupsystem[\c!n=1,\c!m=1]
used options    > % modes
used options    > % options (not that important)
used options    > \startsetups *runtime:options
used options    > \stopsetups
used options    > % styles and modules
used options    > \startsetups *runtime:modules
used options    > \stopsetups
used options    > % done
used options    > \protect \endinput

system          > options > stop used options

(minitest.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(C:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv) (C:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv)
files           > readfile > asked name: 'loc', not found
{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
metapost        > initializing instance 'metafun' using format 'metafun'
metapost        > loading 'metafun': C:/contextminimal/texmf-context/metapost/context/base/metafun.mpiv
backend         > xmp > using file 'C:/contextminimal/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
 )

system          > files > start used files

used files      >    1: filename=mult-mps.lua | filetype=tex | format=tex | foundname=C:/contextminimal/texmf-context/tex/context/base/mult-mps.lua | usedmethod=database
used files      >    2: filename=minitest.tex | foundname=minitest.tex | usedmethod=direct
used files      >    3: filename=cont-new.mkiv | filetype=tex | foundname=C:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database
used files      >    4: filename=minitest.top | foundname=minitest.top | usedmethod=direct
used files      >    5: filename=lang-us.lua | filetype=lua | foundname=C:/contextminimal/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database
used files      >    6: filename=mkiv-base.map | filetype=map | format=map | foundname=C:/contextminimal/texmf-context/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files      >    7: filename=type-siz.mkiv | filetype=tex | foundname=C:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv | usedmethod=database
used files      >    8: filename=type-otf.mkiv | filetype=tex | foundname=C:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv | usedmethod=database
used files      >    9: filename=lm-math.lfg | filetype=tex | foundname=C:/contextminimal/texmf-context/tex/context/fonts/lm-math.lfg | usedmethod=database
used files      >   10: filename=lm-math.map | filetype=map | format=map | foundname=C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files      >   11: filename=lm-rm.map | filetype=map | format=map | foundname=C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files      >   12: filename=lmroman12-regular | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files      >   13: filename=lmroman7-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmroman7-regular.otf | usedmethod=database
used files      >   14: filename=rm-lmr7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/rm-lmr7.tfm | usedmethod=database
used files      >   15: filename=lmmi7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmmi7.tfm | usedmethod=database
used files      >   16: filename=lmsy7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmsy7.tfm | usedmethod=database
used files      >   17: filename=lmex10.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmex10.tfm | usedmethod=database
used files      >   18: filename=msam7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/msam7.tfm | usedmethod=database
used files      >   19: filename=msbm7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/msbm7.tfm | usedmethod=database
used files      >   20: filename=stmary10.afm | filetype=afm | format=afm | foundname=C:/contextminimal/texmf-fonts/fonts/afm/stmaryrd/stmary10.afm | usedmethod=database
used files      >   21: filename=stmary10.pfb | filetype=pfb | format=pfb | foundname=C:/contextminimal/texmf-fonts/fonts/type1/stmaryrd/stmary10.pfb | usedmethod=database
used files      >   22: filename=lmroman7-bold.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmroman7-bold.otf | usedmethod=database
used files      >   23: filename=lmmib7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmmib7.tfm | usedmethod=database
used files      >   24: filename=lmsans8-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmsans8-regular.otf | usedmethod=database
used files      >   25: filename=lmmono8-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmmono8-regular.otf | usedmethod=database
used files      >   26: filename=eufm7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/eufm7.tfm | usedmethod=database
used files      >   27: filename=eufb7.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/eufb7.tfm | usedmethod=database
used files      >   28: filename=lmroman9-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmroman9-regular.otf | usedmethod=database
used files      >   29: filename=rm-lmr9.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/rm-lmr9.tfm | usedmethod=database
used files      >   30: filename=lmmi9.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmmi9.tfm | usedmethod=database
used files      >   31: filename=lmsy9.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmsy9.tfm | usedmethod=database
used files      >   32: filename=msam10.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/msam10.tfm | usedmethod=database
used files      >   33: filename=msbm10.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/msbm10.tfm | usedmethod=database
used files      >   34: filename=lmroman9-bold.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmroman9-bold.otf | usedmethod=database
used files      >   35: filename=lmmib10.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmmib10.tfm | usedmethod=database
used files      >   36: filename=lmsans9-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmsans9-regular.otf | usedmethod=database
used files      >   37: filename=lmmono9-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmmono9-regular.otf | usedmethod=database
used files      >   38: filename=eufm10.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/eufm10.tfm | usedmethod=database
used files      >   39: filename=eufb10.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/ams/eufb10.tfm | usedmethod=database
used files      >   40: filename=lmroman12-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmroman12-regular.otf | usedmethod=database
used files      >   41: filename=rm-lmr12.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/rm-lmr12.tfm | usedmethod=database
used files      >   42: filename=lmmi12.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmmi12.tfm | usedmethod=database
used files      >   43: filename=lmsy10.tfm | filetype=tfm | format=tfm | foundname=C:/contextminimal/texmf/fonts/tfm/public/lm/lmsy10.tfm | usedmethod=database
used files      >   44: filename=lmroman12-bold.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmroman12-bold.otf | usedmethod=database
used files      >   45: filename=lmsans12-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmsans12-regular.otf | usedmethod=database
used files      >   46: filename=lmmono12-regular.otf | filetype=otf | format=otf | foundname=C:/contextminimal/texmf/fonts/opentype/public/lm/lmmono12-regular.otf | usedmethod=database
used files      >   47: filename=metafun.mpiv | filetype=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/metafun.mpiv | usedmethod=database
used files      >   48: filename=mp-base.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-base.mpiv | usedmethod=database
used files      >   49: filename=mp-tool.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-tool.mpiv | usedmethod=database
used files      >   50: filename=mp-mlib.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-mlib.mpiv | usedmethod=database
used files      >   51: filename=mp-core.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-core.mpiv | usedmethod=database
used files      >   52: filename=mp-page.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-page.mpiv | usedmethod=database
used files      >   53: filename=mp-butt.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-butt.mpiv | usedmethod=database
used files      >   54: filename=mp-shap.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-shap.mpiv | usedmethod=database
used files      >   55: filename=mp-grph.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-grph.mpiv | usedmethod=database
used files      >   56: filename=mp-grid.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-grid.mpiv | usedmethod=database
used files      >   57: filename=mp-form.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-form.mpiv | usedmethod=database
used files      >   58: filename=mp-figs.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-figs.mpiv | usedmethod=database
used files      >   59: filename=mp-func.mpiv | filetype=mp | format=mp | foundname=C:/contextminimal/texmf-context/metapost/context/base/mp-func.mpiv | usedmethod=database
used files      >   60: filename=lpdf-pdx.xml | filetype=tex | foundname=C:/contextminimal/texmf-context/tex/context/base/lpdf-pdx.xml | usedmethod=database

system          > files > stop used files


system          > structure > start used structure

used structure  > text: minitest

system          > structure > stop used structure


mkiv lua stats  > used config file          - selfautoparent:texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - C:/contextminimal/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606
mkiv lua stats  > resource resolver         - loadtime 0.010 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 60 found files, scanned paths: 
mkiv lua stats  > stored bytecode data      - 297 modules, 63 tables, 360 chunks
mkiv lua stats  > cleaned up reserved nodes - 38 nodes, 9 lists of 424
mkiv lua stats  > node memory usage         - 4 glue, 4 penalty, 15 attribute, 27 glue_spec, 5 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 4 instances (re)created, 2429 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 2548 direct, 3028 indirect, 5576 total
mkiv lua stats  > randomizer                - resumed with value 0.99832148197882
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file      - minitest.pdf
mkiv lua stats  > loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.178 seconds 
mkiv lua stats  > metapost processing time  - 0.000 seconds, loading: 0.042 seconds, execution: 0.000 seconds, n: 1
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.71.0-2011101423 (rev 4358)
mkiv lua stats  > control sequences         - 31113 of 165536
mkiv lua stats  > current memory usage      - 34 MB (ctx: 35 MB)
mkiv lua stats  > runtime                   - 0.560 seconds, 1 processed pages, 1 shipped pages, 1.786 pages/second


[-- Attachment #4: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Problem with MPpage
  2011-10-20  8:43   ` Lutz Haseloff
@ 2011-10-20 11:36     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2011-10-20 11:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 20-10-2011 10:43, Lutz Haseloff wrote:
> Yes it differs, but i think it is a problem of last nights Context beta only.

fixed (side effects of makeup's now having inheritance and fallback on 
layout with the same name

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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-10-20 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-20  5:18 Problem with MPpage Lutz Haseloff
2011-10-20  8:34 ` Meer, H. van der
2011-10-20  8:43   ` Lutz Haseloff
2011-10-20 11:36     ` Hans Hagen

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