ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: attachments working again (issue with /EmbeddedFiles)
Date: Fri, 7 Feb 2020 21:55:04 +0100	[thread overview]
Message-ID: <b0049403-ef29-4454-29a4-41792a8881ce@gmx.es> (raw)
In-Reply-To: <a9f7e816-a4ca-06d7-e925-006f8f0ebb7d@rik.users.panix.com>

On 2/7/20 9:19 PM, Rik Kabel wrote:
>
> On 2/7/2020 14:46, Pablo Rodriguez wrote:
>> many thanks for having fixed the issues with attachments (in latest beta
>> from 2020.02.07 18:36). I haven’t tested attachments with PDF/A-3a.
>>
> PDF/A-3a attachments still fail validation with the same issues.

Hi Rik,

it has way less issues, at least using verapdf-1.5.18 and the following
sample:

    \setuptagging[state=start]

    \setupbodyfont[30pt]

    \setupbackend
      [format=PDF/A-3a,
       intent=sRGB IEC61966-2.1,
       profile={sRGB.icc,default_gray.icc},
       level=0]

    \setupcolors[pagecolormodel=auto]

    \setupinteraction[state=start]
    \starttext
    \startTEXpage[offset=1em]
    an attachment\attachment[file=xml-mkiv.pdf,
        type={application/pdf}]
    \stopTEXpage
    \stoptext

With "method=hidden" (no attachment annotation) it has no issue.

Both issues are related to annotations in general:

- If the flag annotation is present (/F key), it should be set to print
and disable everything else.
- Annotations need an appearance dictionary (unless their /Rect is one
and the same point, or /Popup or /Link annotations).

Actual value of the annotation flag key is "/F null". I wonder whether
this is a bug (for having wanted to avoid the presence of /F at all).

Otherwise, I don’t think that setting all embedded file annotations to
printable is a good default.

Just in case it helps to the discussion,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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-02-07 20:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 19:46 Pablo Rodriguez
2020-02-07 20:19 ` Rik Kabel
2020-02-07 20:55   ` Pablo Rodriguez [this message]
2020-02-07 21:37     ` Hans Hagen
2020-02-08  8:20       ` Pablo Rodriguez
2020-02-08 12:45       ` Peter Rolf
2020-02-08 17:32         ` Pablo Rodriguez
2020-02-08 21:13           ` Rik Kabel
2020-02-12 19:20             ` Pablo Rodriguez
2020-02-12 22:22               ` Rik Kabel
2020-02-12 23:45                 ` Rik Kabel
2020-02-13  8:56                   ` Hans Hagen
2020-02-14  2:43                     ` Rik Kabel
2020-02-14 21:23                       ` Pablo Rodriguez

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=b0049403-ef29-4454-29a4-41792a8881ce@gmx.es \
    --to=oinos@gmx.es \
    --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).