From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107995 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Minimum METAPOST code produces problematic PDF Date: Wed, 8 Jul 2020 20:14:22 +0200 Message-ID: References: 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="===============0448668344853772645==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24042"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 08 20:14:56 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 1jtEau-00067E-2h for gctc-ntg-context-518@m.gmane-mx.org; Wed, 08 Jul 2020 20:14:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 34ED61856C0; Wed, 8 Jul 2020 20:14:28 +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 lIo1bgFFVH3R; Wed, 8 Jul 2020 20:14:26 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B6C3A1856BB; Wed, 8 Jul 2020 20:14:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9AB541856B2 for ; Wed, 8 Jul 2020 20:14:25 +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 PDu--7JaYuHs for ; Wed, 8 Jul 2020 20:14:24 +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 96CCF1856AE for ; Wed, 8 Jul 2020 20:14:24 +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 7C3AA544C7AE for ; Wed, 8 Jul 2020 20:14:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1594232062; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5PpCBkxZWbabqTv8DcihJbQXRwxh4Oa8DXXtqsMLxPA=; b=i9a+lx9m6yBcdnaiJHY03FRl7E5R5KdfgK64f2a4NOZtR2Hc43GzzET3dmwcfQ+IxhtJh+ YVikJ1BFSaJoUr0BxL0EkG/lXI4j1pD3sKpgMvy4xwAavP7PVqT+61pf4Ewy9FJ47KM/U8 EZmNNtMsmBTcV/sRe4L4fYO9RBKiT2EJ6DZh54tb4KC/S9I8hMjR5PN044jteKZZTzjxyw UvxXXvtevzU8nwC7SWU14iGVkD4pi+f4YJPp2KXixyEdRPm02RzFYkxRSxiyntezsCWp9S WGZ4beCYFHN3W3QqGMxmSkRAWbS3rlwsOt8orxI9VTve0E+tgT+YjGiAFrjojA== In-Reply-To: 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:107995 Archived-At: --===============0448668344853772645== Content-Type: multipart/alternative; boundary="Apple-Mail=_913661A1-4A6C-4FD9-ADD5-47EFA6732233" --Apple-Mail=_913661A1-4A6C-4FD9-ADD5-47EFA6732233 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the = maximum should be 14,400 by 14,400 units. Apparently, Adobe InDesign demands that in a hard way. G > On 8 Jul 2020, at 01:08, Jairo A. del Rio = wrote: >=20 > Evince and Okular (Linux) open the PDF output without warnings nor = issues. >=20 > Jairo :) >=20 > El mar., 7 de jul. de 2020 a la(s) 17:50, Gerben Wierda = (gerben.wierda@rna.nl ) escribi=C3=B3: > The following code: >=20 > \startMPpage[instance=3Ddoublefun] > draw (0,0)--(100,0) dashed withdots; > \stopMPpage >=20 > When run through LuaMetaTeX produces a PDF about which Acrobat = complains: >=20 > The dimensions of this page are out-of-range. Page content might = be truncated. >=20 > and Adobe InDesign cannot handle it at all (displays empty).=20 >=20 > The error message stays with >=20 > \startMPpage[instance=3Ddoublefun] > draw (0,0)--(100,0)=E2=80=94(100,2) dashed withdots; > \stopMPpage >=20 > but disappears with >=20 > \startMPpage[instance=3Ddoublefun] > draw (0,0)--(100,0)=E2=80=94(100,3) dashed withdots; > \stopMPpage >=20 >=20 > Additionally, on the Adobe forums I have been told: >=20 > Also, the color space is device gray (not RGB or CMYK) >=20 > 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. >=20 > ConTeXt standalone: >=20 > 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 >=20 >=20 > G >=20 >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_913661A1-4A6C-4FD9-ADD5-47EFA6732233 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = found out this in the PDF spec:

The minimum page size should be 3 by 3 units in default user = space; the maximum should be 14,400 by 14,400 units.

Apparently, Adobe = InDesign demands that in a hard way.

G

On 8 Jul = 2020, at 01:08, Jairo A. del Rio <jairoadelrio6@gmail.com> wrote:

Evince and Okular (Linux) open the PDF output = without warnings nor issues.

Jairo = :)

El mar., 7 de jul. de 2020 a la(s) = 17:50, Gerben Wierda (gerben.wierda@rna.nl) escribi=C3=B3:
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

___________________________________________________= ________________________________
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
= __________________________________________________________________________= _________
= __________________________________________________________________________= _________
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
_______________________________________________________________= ____________________

= --Apple-Mail=_913661A1-4A6C-4FD9-ADD5-47EFA6732233-- --===============0448668344853772645== 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== --===============0448668344853772645==--