links - pdf and djvu [links - soft] [links] [home] [search

pdf general

xpdf

build instruction (for xpdf 3.02):
  1. apply xpdf-3.02pl[12].patch
  2. apply this patch to get rid of all these fucking protections (for more info see Gallery of Adobe Remedies by Dave Touretzky)
  3. in XPDFViewer.h, define DISABLE_OUTLINE (to get rid of fucking "bookmarks" and "thumbnails" once and for all)
  4. export CFLAGS="$CFLAGS -I/usr/local/freetype/include/freetype2 -I/usr/X11R6/LessTif/Motif2.0/include"
  5. export CXXFLAGS="$CXXFLAGS -I/usr/local/freetype/include/freetype2 -I/usr/X11R6/LessTif/Motif2.0/include"
  6. export CPPFLAGS="-I/usr/local/freetype/include/freetype2 -I/usr/X11R6/LessTif/Motif2.0/include"
  7. export LDFLAGS=-L/usr/local/freetype/lib
  8. ./configure --prefix=/usr/local/xpdf-3.02pl2 --with-Xm-library=/usr/X11R6/LessTif/Motif2.0/lib
  9. make; make install
  10. uncomment and specify correct path to ghostscript fonts in xpdfrc
to make pdftotext print to stdout, supply - as a filename; for example: pdftotext input.pdf -

djvu



created Jun 3 2006
last updated Fri May 9 20:21:58 GMT 2008