From: Xiao-Yong Jin <jinxiaoyong@gmail.com>
To: ntg-context@ntg.nl
Subject: metapost dashpattern (on 1) not shown in Mountain Lion Preview
Date: Tue, 25 Sep 2012 14:28:43 +0900 [thread overview]
Message-ID: <B9AD1227-265B-4841-B58B-068A48C74438@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1280 bytes --]
Dear all,
I just upgrade to Mountain Lion and found out that "dashed dashpattern (on 1)" no longer shows any line in Preview. The attached file is a snapshot of the Preview window showing the pdf file generated by the following code.
\starttext
\startMPpage
draw unitsquare scaled 4cm dashed dashpattern (on 1cm off 1cm) ;
draw unitsquare scaled 4cm shifted (5cm,0) dashed dashpattern (on 1cm) ;
draw unitsquare scaled 4cm shifted (10cm,0) dashed dashpattern (off 1cm) ;
setbounds currentpicture to boundingbox currentpicture enlarged 0.1cm ;
\stopMPpage
\stoptext
You can see, from the attached file, that the unitsquare which was supposed to appear in the middle does not show up in the Preview window. However the same file is displayed correctly in Acrobat Reader.
I am not sure whether it is a context problem, or it is just a bug in Mountain Lion. I found out this issue when I saw that all the pdf files I previously generated with gnuplot context term are showing up incorrectly under the Preview after upgrading to Mountain Lion. I had to change the dash pattern in file "metapost/context/third/gnuplot/mp-gnuplot.mp", so the pdf generated by gnuplot context term can be viewed correctly with Preview under Mountain Lion.
Best,
Xiaoyong
[-- Attachment #1.2.1: Type: text/html, Size: 1918 bytes --]
[-- Attachment #1.2.2: preview window.png --]
[-- Type: image/png, Size: 26829 bytes --]
[-- Attachment #2: 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
___________________________________________________________________________________
next reply other threads:[~2012-09-25 5:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 5:28 Xiao-Yong Jin [this message]
2012-09-25 8:45 ` Mojca Miklavec
2012-09-26 0:57 ` Xiao-Yong Jin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B9AD1227-265B-4841-B58B-068A48C74438@gmail.com \
--to=jinxiaoyong@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).