ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* comparing pdfs
@ 2009-10-21 14:13 luigi scarso
  2009-10-23  8:50 ` luigi scarso
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: luigi scarso @ 2009-10-21 14:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-26 23:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-21 14:13 comparing pdfs luigi scarso
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

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).