ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: comparing pdfs
Date: Wed, 21 Oct 2009 16:13:19 +0200	[thread overview]
Message-ID: <fe8d59da0910210713h7e665822s640a95c3fd1e0fa3@mail.gmail.com> (raw)

Maybe stupid
Consider this (you must have cow.pdf in the same dir):

%%test-1.tex
\setupcolors[state=start]
\setupinteraction[state=start]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Chapter}
\section{Section}
\input tufte
\externalfigure[cow]
\chapter{Chapter 2}
\section{Section}
\input knuth
\stopbodymatter
\stoptext

with markii
$>texexec --pdf test-1.tex
$>cp test-1.pdf test-1a.pdf
$>texexec --pdf test-1.tex
$>pdftoppm test-1a.pdf  test-1a-
$>pdftoppm test-1.pdf  test-1-
$> cmp test-1a.pdf test-1.pdf
test-1a.pdf test-1.pdf differ: byte 35086, line 220
of course at least /ID is different

$>for j in `seq 1 4`; do cmp test-1a--$j.ppm test-1--$j.ppm ; done
and, again of course, *no differences* because the files are equals page-by-page
-- so they are equals

Is there a way more quick and clean than  for cycle and ppm files?

--
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2009-10-21 14:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21 14:13 luigi scarso [this message]
2009-10-23  8:50 ` luigi scarso
2009-10-25  9:16   ` Taco Hoekwater
2009-10-25 13:21 ` Sanjoy Mahajan
2009-10-26 20:33 ` Henning Hraban Ramm
2009-10-26 23:16   ` luigi scarso

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=fe8d59da0910210713h7e665822s640a95c3fd1e0fa3@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).