Sun, 16 Mar 2003 15:37:16 +0000
added README, INSTALL.
INSTALL | file | annotate | diff | revisions | |
Makefile | file | annotate | diff | revisions | |
README | file | annotate | diff | revisions |
1.1 diff -r 5d3d2dccb3ff -r 82d6f19753d6 INSTALL 1.2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 +++ b/INSTALL Sun Mar 16 15:37:16 2003 +0000 1.4 @@ -0,0 +1,18 @@ 1.5 +tumble: build a PDF file from image files 1.6 +Copyright 2003 Eric Smith <eric@brouhaha.com> 1.7 +$Id: INSTALL,v 1.1 2003/03/16 07:37:16 eric Exp $ 1.8 + 1.9 +Tumble requires libtiff, which in turn requires libjpeg and libz: 1.10 + 1.11 + http://www.libtiff.org/ 1.12 + http://www.???.org */ 1.13 + 1.14 +Building Tumble requires GNU Make, GCC, Bison, and Flex, all of which are 1.15 +free software provided by the Free Software Foundation. These are provided 1.16 +as part of most Linux distributions, and are also avaiable for many other 1.17 +operatng systems. See the FSF web site for more information 1.18 + 1.19 + http://www.gnu.org/ 1.20 + 1.21 +The supplied Makefile should work on most systems with only minor 1.22 +modifications.
2.1 diff -r 5d3d2dccb3ff -r 82d6f19753d6 Makefile 2.2 --- a/Makefile Sun Mar 16 15:27:06 2003 +0000 2.3 +++ b/Makefile Sun Mar 16 15:37:16 2003 +0000 2.4 @@ -1,6 +1,6 @@ 2.5 # tumble: build a PDF file from image files 2.6 # Makefile 2.7 -# $Id: Makefile,v 1.32 2003/03/14 00:24:37 eric Exp $ 2.8 +# $Id: Makefile,v 1.33 2003/03/16 07:37:16 eric Exp $ 2.9 # Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 2.10 # 2.11 # This program is free software; you can redistribute it and/or modify 2.12 @@ -35,6 +35,8 @@ 2.13 ifdef DEBUG 2.14 CFLAGS := $(CFLAGS) -g 2.15 LDFLAGS := $(LDFLAGS) -g 2.16 +else 2.17 +CFLAGS := $(CFLAGS) -O3 2.18 endif 2.19 2.20 ifdef EFENCE 2.21 @@ -55,7 +57,7 @@ 2.22 # let me know why so I can improve this Makefile. 2.23 # ----------------------------------------------------------------------------- 2.24 2.25 -VERSION = 0.27 2.26 +VERSION = 0.28 2.27 2.28 PACKAGE = tumble 2.29 2.30 @@ -69,7 +71,7 @@ 2.31 OSRCS = scanner.l parser.y 2.32 HDRS = tumble.h semantics.h bitblt.h bitblt_tables.h \ 2.33 pdf.h pdf_private.h pdf_util.h pdf_prim.h pdf_name_tree.h 2.34 -MISC = COPYING Makefile 2.35 +MISC = COPYING README INSTALL Makefile 2.36 2.37 DISTFILES = $(MISC) $(HDRS) $(CSRCS) $(OSRCS) 2.38 DISTNAME = $(PACKAGE)-$(VERSION)
3.1 diff -r 5d3d2dccb3ff -r 82d6f19753d6 README 3.2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 +++ b/README Sun Mar 16 15:37:16 2003 +0000 3.4 @@ -0,0 +1,69 @@ 3.5 +tumble: build a PDF file from image files 3.6 +Copyright 2003 Eric Smith <eric@brouhaha.com> 3.7 +$Id: README,v 1.1 2003/03/16 07:37:16 eric Exp $ 3.8 + 3.9 +Tumble is a utility to construct PDF files from one or more image 3.10 +files. Currently the only input image format supported is black & 3.11 +white TIFF files, which may be either single- or multi-page files. In 3.12 +the future additional file formats will be supported, including gray 3.13 +scale and color. Black and white images will be encoded in the PDF 3.14 +output using lossless Group 4 fax compression (ITU-T recommendation 3.15 +T.6). This provides a very good compression ratio for text and line 3.16 +art. 3.17 + 3.18 +The current version of Tumble will only work on little-endian systems, 3.19 +such as x86, VAX, and Alpha. The byte order dependencies will be fixed 3.20 +in a later release. 3.21 + 3.22 +The input and output files can be specified on the command line. 3.23 +Alternatively, a control file, typically with a ".tum" suffix, may be 3.24 +used which allows for more control over the files and options. 3.25 + 3.26 +The general command line syntax is: 3.27 + 3.28 + tumble [options] <input.tif>... -o <output.pdf> 3.29 + 3.30 +The options in this mode are: 3.31 + 3.32 + -v verbose 3.33 + -b <fmt> create bookmarks 3.34 + 3.35 +If the "-b" option is given, bookmarks will be created using the 3.36 +format string, which may contain arbitrary text and/or the following 3.37 +format specifiers: 3.38 + 3.39 + %F file name, sans suffix e.g., "foo.tif" will just appear as "foo" 3.40 + %p page number of input file, useful for multipage TIFF files 3.41 + 3.42 +There is currently no documentation for the control file syntax, as it 3.43 +is still being refined, and many of the options planned for use in 3.44 +control files are not yet fully implemented. Features that will be 3.45 +available in control files include: 3.46 + 3.47 + image resolution specification - useful for input files with 3.48 + unspecified resolution, or to override 3.49 + image rotation, in units of 90 degrees 3.50 + image cropping 3.51 + grouping to allow different specifications for individual pages 3.52 + or groups of consecutive pages (e.g., chapters) 3.53 + ability to control operations independently on even and odd pages 3.54 + (e.g., different rotation or cropping) 3.55 + more flexible bookmark control 3.56 + page labels, so that the PDF file can present the actual document 3.57 + page numbers such as xvii or 3-27 3.58 + 3.59 + 3.60 +This program is free software; you can redistribute it and/or modify 3.61 +it under the terms of the GNU General Public License version 2 as 3.62 +published by the Free Software Foundation. Note that permission is 3.63 +not granted to redistribute this program under the terms of any other 3.64 +version of the General Public License. 3.65 + 3.66 +This program is distributed in the hope that it will be useful, but 3.67 +WITHOUT ANY WARRANTY; without even the implied warranty of 3.68 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 3.69 +General Public License for more details. 3.70 + 3.71 +You should have received a copy of the GNU General Public License 3.72 +along with this program; if not, write to the Free Software 3.73 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA