ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Minimum METAPOST code produces problematic PDF
Date: Wed, 8 Jul 2020 00:49:57 +0200	[thread overview]
Message-ID: <BBE887B6-DEDA-4FD2-A5ED-47143575C5B3@rna.nl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1121 bytes --]

The following code:

\startMPpage[instance=doublefun]
  draw (0,0)--(100,0) dashed withdots;
\stopMPpage

When run through LuaMetaTeX produces a PDF about which Acrobat complains:

	The dimensions of this page are out-of-range. Page content might be truncated.

and Adobe InDesign cannot handle it at all (displays empty). 

The error message stays with

\startMPpage[instance=doublefun]
  draw (0,0)--(100,0)—(100,2) dashed withdots;
\stopMPpage

but disappears with

\startMPpage[instance=doublefun]
  draw (0,0)--(100,0)—(100,3) dashed withdots;
\stopMPpage


Additionally, on the Adobe forums I have been told:

	Also, the color space is device gray (not RGB or CMYK)

which might be a more generic problem with LMTX output, I don’t know. It might also be an Adobe problem. Previw.app on macOS handles the result without problems.

ConTeXt standalone:

This is LuaMetaTeX, Version 2.06.02 
open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.05.12 16:21 MKIV beta  fmt: 2020.5.16  int: english/english


G



[-- Attachment #1.2: Type: text/html, Size: 3439 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2020-07-07 22:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-07 22:49 Gerben Wierda [this message]
2020-07-07 23:08 ` Jairo A. del Rio
2020-07-08 18:14   ` Gerben Wierda
2020-07-09  6:32     ` Hans Hagen
     [not found]       ` <FA33AC5F-7924-460A-9669-2E14687A0745@elvenkind.com>
2020-07-09 10:10         ` Hans Hagen
2020-07-09 12:07           ` Gerben Wierda
2020-07-09  6:37     ` Aditya Mahajan
2020-07-11 12:22       ` Gerben Wierda

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=BBE887B6-DEDA-4FD2-A5ED-47143575C5B3@rna.nl \
    --to=gerben.wierda@rna.nl \
    --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).