Image::Index::LaTeX - Create an image index document using LaTeX
use Image::Index::LaTeX; my $generator = Image::Index::LaTeX->new("./mydir/"); print $generator->tex(flavour => 'ConTeXt');
Image::Index::LaTeX generates a TeX document that shows thumbnails of a set of given images (or directories) to create a printable image index.
This constructs an instance of Image::Index::LaTeX and returns it. It takes as parameters one or more directory or filenames. The directories are scanned for images and added to the list of images to create an index of. The files are added to that list as well (if they are images).
This module currently allows only image types that are compatible with pdflatex, namely JPG, PNG, PDF and EPS.
This creates a TeX document string from the list of images in a given flavour. The document string is returned.
These flavours exist:
This creates a LaTeX document string.
This creates a ConTeXt document string.
None by default.
none.
Tom Kirchner, <tom@tomkirchner.com>
Copyright (C) 2011 by Tom Kirchner
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.9 or, at your option, any later version of Perl 5 you may have available.
To install Image::Index::LaTeX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::Index::LaTeX
CPAN shell
perl -MCPAN -e shell install Image::Index::LaTeX
For more information on module installation, please visit the detailed CPAN module installation guide.