stepbystep:archi1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
stepbystep:archi1 [2021/05/24 17:26]
giancarlo [Useful tools and binaries]
stepbystep:archi1 [2021/05/24 18:25] (current)
giancarlo
Line 1163: Line 1163:
 $ pdfalto $ pdfalto
 pdfalto version 0.4 pdfalto version 0.4
 +Usage: pdfalto [options] <PDF-file> [<xml-file>]
 +  -f <int>                      : first page to convert
 +  -l <int>                      : last page to convert
 +  -verbose                      : display pdf attributes
 +  -noImage                      : do not extract Images (Bitmap and Vectorial)
 +  -noImageInline                : do not include images inline in the stream
 +  -outline                      : create an outline file xml
 +  -annotation                   : create an annotations file xml
 +  -noLineNumbers                : do not output line numbers added in manuscript-style textual documents
 +  -readingOrder                 : blocks follow the reading order
 +  -noText                       : do not extract textual objects (might be useful, but non-valid ALTO)
 +  -charReadingOrderAttr         : include TYPE attribute to String elements to indicate right-to-left reading order (might be useful, but non-valid ALTO)
 +  -fullFontName                 : fonts names are not normalized
 +  -nsURI <string>               : add the specified namespace URI
 +  -opw <string>                 : owner password (for encrypted files)
 +  -upw <string>                 : user password (for encrypted files)
 +  -filesLimit <int>             : limit of asset files be extracted
 +  -q                            : don't print any messages or errors
 +  -v                            : print version info
 +  -h                            : print usage information
 +  -help                         : print usage information
 +  --help                        : print usage information
 +  -?                            : print usage information
 +</code>
 +Update pdfalto to master for an issue on namespace
 +<code bash>
 +$ git clone https://github.com/kermitt2/pdfalto.git
 +$ cd pdfalto/
 +$ ./install_deps.sh
 +$ git clone https://github.com/kermitt2/xpdf-4.03
 +$ cmake .
 +$ make
 +$ cd ..
 +$ sudo mv pdfalto /usr/local/src/pdfalto-0.5-SNAPSHOT
 +$ sudo rm /usr/local/bin/pdfalto
 +$ sudo ln -s /usr/local/src/pdfalto-0.5-SNAPSHOT/pdfalto /usr/local/bin/pdfalto
 +
 +$ pdfalto
 +pdfalto version 0.5
 Usage: pdfalto [options] <PDF-file> [<xml-file>] Usage: pdfalto [options] <PDF-file> [<xml-file>]
   -f <int>                      : first page to convert   -f <int>                      : first page to convert
  • stepbystep/archi1.txt
  • Last modified: 2021/05/24 18:25
  • by giancarlo