ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl
Subject: Re: Reproducible PDF output not working
Date: Tue, 24 Apr 2018 09:44:09 +0200	[thread overview]
Message-ID: <78995388-82c0-fff2-091a-b4cd87558638@xs4all.nl> (raw)
In-Reply-To: <87sh7l8bya.fsf@gmail.com>

On 4/24/2018 6:28 AM, N. Raghavendra wrote:
> At 2018-04-23T23:49:19+02:00, Arthur Reutenauer wrote:
> 
>> it seems the identifier uses the time of compilation, when it should
>> probably use the time of last modification of the source file.
> 
> Yes, with the 2018.04.19 version, the identifier in the output of
> `context --nodates' includes the compilation time, as in
> 
>    <pdfx:ID>foo.2018-04-24T01:49:47-19:00</pdfx:ID>.
> 
> On the other hand, with the 2017.11.14 version, the identifier in the
> output of `context --nodates' is just
> 
>    <pdfx:ID>foo</pdfx:ID>
> 
> Raghu.
fixed in beta but no beta soon ... in lpdf-ini.lua you can try to fix this

     function lpdf.id(date)
         local banner = environment.jobname or tex.jobname or "unknown"
         if not date then
             return banner
         else
             return format("%s | %s",banner,timestamp)
         end
     end


and then run context --make

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2018-04-24  7:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 20:30 N. Raghavendra
2018-04-23 21:49 ` Arthur Reutenauer
2018-04-24  4:28   ` N. Raghavendra
2018-04-24  7:44     ` Hans Hagen [this message]
2018-04-24  8:37       ` N. Raghavendra
2018-04-24  8:03     ` Arthur Reutenauer
2018-04-24  8:40       ` N. Raghavendra

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=78995388-82c0-fff2-091a-b4cd87558638@xs4all.nl \
    --to=j.hagen@xs4all.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).