From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107986 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Minimum METAPOST code produces problematic PDF Date: Wed, 8 Jul 2020 00:49:57 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Content-Type: multipart/mixed; boundary="===============2640754335819661097==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36692"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 08 00:50:22 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jswPt-0009R6-3z for gctc-ntg-context-518@m.gmane-mx.org; Wed, 08 Jul 2020 00:50:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BCA8C1854B9; Wed, 8 Jul 2020 00:50:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hxa-D77V7CZl; Wed, 8 Jul 2020 00:50:00 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D7E9E185618; Wed, 8 Jul 2020 00:50:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 136B3185607 for ; Wed, 8 Jul 2020 00:50:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XPsgKjNE7Yku for ; Wed, 8 Jul 2020 00:49:59 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5B7451854B9 for ; Wed, 8 Jul 2020 00:49:59 +0200 (CEST) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rna.nl (Postfix) with ESMTPSA id 5143F54425E8 for ; Wed, 8 Jul 2020 00:49:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1594162198; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=2Y9ALNhwhRdDVXbpA1S8v6akv+grNs9CB4g8fQIvmpU=; b=UqivfQFwHnlyS7zINRlZIJzoG5tqY/sKfHNPZPgPepRsHM4ZyimkNB6LROcgU/5E4cTxnj 34bt5JSptPEl1R9yKlF95ZBi2FrwQ2XBIn+B4hyqmnZwZ5eFoLoas+35VL95CDXxBQp3zw t3rEXUuoAdMflGwq935wJyMuuP1cTRilFgCkyHDldyTrAJUMmuvFRSrAkAf7V1G2Wbj5tZ BYZVBy3RtC7cw0vN/IBeqBeC1DHt1FpbIlMrGF5QM8m+HCM8R0rv0nZR5xx+bxHEpdOkpl iP/ZynyZjZoDt8hd7iYJfEbFF2SK9O690vxicGohqADOYCtQu0F62C7Xg4/Yaw== X-Mailer: Apple Mail (2.3445.104.14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:107986 Archived-At: --===============2640754335819661097== Content-Type: multipart/alternative; boundary="Apple-Mail=_E11BA5CB-5281-41FB-B761-A85CDADB45D8" --Apple-Mail=_E11BA5CB-5281-41FB-B761-A85CDADB45D8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The following code: \startMPpage[instance=3Ddoublefun] 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).=20 The error message stays with \startMPpage[instance=3Ddoublefun] draw (0,0)--(100,0)=E2=80=94(100,2) dashed withdots; \stopMPpage but disappears with \startMPpage[instance=3Ddoublefun] draw (0,0)--(100,0)=E2=80=94(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=E2=80=99t = 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=20 open source > level 1, order 1, name 'cont-yes.mkiv' system >=20 system > ConTeXt ver: 2020.05.12 16:21 MKIV beta fmt: = 2020.5.16 int: english/english G --Apple-Mail=_E11BA5CB-5281-41FB-B761-A85CDADB45D8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 The = following code:

\startMPpage[instance=3Ddoublefun]
  = 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=3Ddoublefun]
  = draw (0,0)--(100,0)=E2=80=94(100,2) dashed withdots;
\stopMPpage

but disappears with

\startMPpage[instance=3Ddoublefun]
  = draw (0,0)--(100,0)=E2=80=94(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=E2=80=99t 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

= --Apple-Mail=_E11BA5CB-5281-41FB-B761-A85CDADB45D8-- --===============2640754335819661097== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2640754335819661097==--