pdf to djvu.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 28 Sep 2014 23:24:01 +0300
changeset 1608 4258662f3a95
parent 1607 2fd95feb3135
child 1609 e65b971b2aa1
pdf to djvu.
djvu.rst
--- a/djvu.rst	Sun Sep 28 23:21:15 2014 +0300
+++ b/djvu.rst	Sun Sep 28 23:24:01 2014 +0300
@@ -62,10 +62,10 @@
 
 For 'pdftoppm' install xpdf (both Linux and Cygwin)::
 
-  $ pdftoppm -mono -r 600 -aa yes $PDF $PDF
-  $ for PBM in $PDF*.pbm; do  cjb2 -dpi $DPI $PBM $PBM.djvu;  rm -f $PBM;  done
+  $ pdftoppm -mono -r 600 -aa yes  $PREFIX.pdf  $PREFIX
+  $ for pbm in $PREFIX*.pbm; do  cjb2 -dpi $DPI $pbm $pbm.djvu;  rm -f $pbm;  done
 
-  $ djvm -c $OUTFILE $MASK*.pbm.djvu
+  $ djvm -c $OUTFILE  $PREFIX*.pbm.djvu
 
 pdf2djvu.
 ---------