merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 28 Oct 2010 00:45:04 +0300
changeset 638 a360ae19b5a3
parent 630 26f0d8c50fb9 (current diff)
parent 637 fc4f97c313ef (diff)
child 644 2a0bed0e3bba
merged
--- a/djvu.rst	Wed Oct 27 17:20:08 2010 +0300
+++ b/djvu.rst	Thu Oct 28 00:45:04 2010 +0300
@@ -1,5 +1,10 @@
 -*- mode:outline; coding: utf-8 -*-
 
+* About djvu.
+
+  http://djvu.org/links/
+                many useful links
+
 * Viewer.
 
  * DjVuLibre (all OS).
@@ -26,3 +31,45 @@
 Currently not maintained.
 
   http://www.djvu.org/resources/
+
+* djvu to pdf.
+
+** djvulibre.
+
+  $ ddjvu -format=tiff book.djvu book.tiff
+  $ tiff2pdf -o book.pdf book.tiff
+
+* pdf to djvu.
+
+** djvulibre.
+
+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
+
+  $ djvm -c $OUTFILE $MASK*.pbm.djvu
+
+** pdf2djvu.
+
+  $ pdf2djvu file.pdf
+
+  http://code.google.com/p/pdf2djvu/
+                home page
+
+* jpg to djvu.
+
+** JPEG to bitonal DjVu.
+
+  $ anytopnm page.djvu | ppmtopgm | pgmtopbm -value 0.499 > page.pbm
+  $ cjb2 -dpi $DPI page.pbm page.djvu
+
+  $ djvm -c $OUTFILE $MASK.djvu    # Many .djvu to single .djvu.
+
+
+** JPEG to low colour DjVu.
+
+  $ cpaldjvu -dpi $DPI -colors $NCOLORS $i $i.djvu
+
+  $ djvm -c $OUTFILE $MASK.djvu    # Many .djvu to single .djvu.
+
--- a/emacs.rst	Wed Oct 27 17:20:08 2010 +0300
+++ b/emacs.rst	Thu Oct 28 00:45:04 2010 +0300
@@ -264,3 +264,18 @@
 * Debugging C code.
 
   -*- mode: grep; mode: auto-revert-tail; default-directory: "~/devel/proj" -*-
+
+* XML modes.
+
+** XSLT-process.
+
+XSLT-process is a minor mode for GNU Emacs/XEmacs which transforms it into a powerful editor with
+XSLT processing and debugging capabilities.
+
+The mode currently supports two Java XSLT processors:
+
+ * Saxon - fully supported, including debugging capabilities.
+ * Xalan - fully supported, including debugging capabilities.
+
+  http://xslt-process.sourceforge.net/
+                home page
--- a/xml.rst	Wed Oct 27 17:20:08 2010 +0300
+++ b/xml.rst	Thu Oct 28 00:45:04 2010 +0300
@@ -12,8 +12,22 @@
 
 * CLI utilities for processing xml.
 
+** xmlstar.
+
+XMLStarlet is a set of command line utilities (tools) which can be used to transform,
+query, validate, and edit XML documents and files using simple set of shell commands in
+similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join,
+etc.
+
+  http://xmlstar.sourceforge.net/overview.php
+                home page
+
 ** Cygwin.
 
   cmd# setup.exe -p libxml2,libxslt
 
 'libxslt' provide 'xsltproc, 'libxml2' provide 'xmlcatalog' and 'xmllint'
+
+** XPath query from CLI.
+
+  $ xmllint --xpath $XPATH file.xml