# HG changeset patch # User Oleksandr Gavenko # Date 1411935841 -10800 # Node ID 4258662f3a95110e624a8023e8ceb0bcdb71bf39 # Parent 2fd95feb3135ef5f0b9efe2b79d5964dc5926b02 pdf to djvu. diff -r 2fd95feb3135 -r 4258662f3a95 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. ---------