[BLFS Trac] #1689: New package: PAPS-0.6

BLFS Trac trac at linuxfromscratch.org
Sun May 14 22:39:23 PDT 2006


#1689: New package: PAPS-0.6
--------------------------------------------+-------------------------------
 Reporter:  alexander at linuxfromscratch.org  |        Owner:  blfs-book at linuxfromscratch.org
     Type:  enhancement                     |       Status:  new                           
 Priority:  low                             |    Milestone:  future                        
Component:  BOOK                            |      Version:  SVN                           
 Severity:  minor                           |   Resolution:                                
 Keywords:                                  |  
--------------------------------------------+-------------------------------
Old description:

> PAPS is a command line tool that converts UTF-8 encoded text files to
> PostScript. This would be a nice addition to the Printing section of the
> book,
> since neither A2PS nor Enscript support UTF-8 as the input encoding.
>
> Dependencies: Pango (required), Doxygen (easy to avoid). The build
> instructions
> are just "./configure --prefix=/usr && make && make install" if one has
> Doxygen
> installed. A way to avoid this dependency is:
>
> ./configure --prefix=/usr
> make DOXYGEN=true
> make DOXYGEN=true -k install
>
> This does result in a fully functional installation, but without
> documentation.
>
> One can then install TrueType fonts and test PAPS with this command:
> src/test_libpaps >test.ps (then view test.ps with your favourite
> PostScript
> viewer). Note that you must have TrueType fonts for all of the languages
> mentioned in that test file.
>
> Then one can invoke the converter with a command similar to the
> following:
>
> paps --family monospace UTF-8-demo.txt >UTF-8-demo.ps
>
> Once PAPS is in the BLFS book, I will remove the statement about
> "inability to
> print plain-text UTF-8 files from the command line" from the UTF-8 LFS
> book.

New description:

 PAPS is a command line tool that converts UTF-8 encoded text files to
 PostScript. This would be a nice addition to the Printing section of the
 book,   since neither A2PS nor Enscript support UTF-8 as the input
 encoding.


 Dependencies: Pango (required), Doxygen (easy to avoid).

 The build instructions are just {{{./configure --prefix=/usr && make &&
 make install}}} if one has Doxygen installed. A way to avoid this
 dependency is:
 {{{
 ./configure --prefix=/usr
 make DOXYGEN=true
 make DOXYGEN=true -k install
 }}}
 This does result in a fully functional installation, but without
 documentation.

 One can then install TrueType fonts and test PAPS with this command:
 src/test_libpaps >test.ps (then view test.ps with your favourite
 PostScript viewer). Note that you must have TrueType fonts for all of the
 languages mentioned in that test file.

 Then one can invoke the converter with a command similar to the following:

 paps --family monospace UTF-8-demo.txt > UTF-8-demo.ps

 Once PAPS is in the BLFS book, I will remove the statement about
 "inability to print plain-text UTF-8 files from the command line" from the
 UTF-8 LFS book.

Comment (by bdubbs at linuxfromscratch.org):

 Where is the file UTF-8-demo.txt?  It is not in the paps-0.6.6.tar.gz file
 from http://freshmeat.net/projects/paps/?branch_id=61377&release_id=226470

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1689>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list