[784ddf5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[784ddf5] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fce275e] | 7 | <!ENTITY paps-download-http "&sourceforge-repo;/paps/paps-&paps-version;.tar.gz">
|
---|
[784ddf5] | 8 | <!ENTITY paps-download-ftp " ">
|
---|
[201b03d] | 9 | <!ENTITY paps-md5sum "e9508132bf27609bf2fded2bfd9cb3f1">
|
---|
| 10 | <!ENTITY paps-size "460 KB">
|
---|
| 11 | <!ENTITY paps-buildsize "3 MB">
|
---|
[784ddf5] | 12 | <!ENTITY paps-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="paps" xreflabel="paps-&paps-version;">
|
---|
| 16 | <?dbhtml filename="paps.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[a675788] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[784ddf5] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>paps-&paps-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="paps">
|
---|
| 26 | <primary sortas="a-paps">paps</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to paps</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>paps</application> is a text to PostScript converter
|
---|
| 33 | that works through <application>Pango</application>. Its input is a UTF-8
|
---|
| 34 | encoded text file and it outputs vectorized PostScript. It may be used for
|
---|
| 35 | printing any complex script supported by <application>Pango</application>.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[8cd3010] | 38 | &lfs77_checked;
|
---|
[79f2facb] | 39 |
|
---|
[784ddf5] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&paps-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&paps-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &paps-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &paps-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &paps-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &paps-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[ff07022a] | 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Required patch:
|
---|
| 67 | <ulink url="&patch-root;/paps-&paps-version;-freetype_fix-1.patch"/>
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <!--
|
---|
[784ddf5] | 73 | <listitem>
|
---|
[9f12e36] | 74 | <para>DejaVu fonts for European languages:
|
---|
[784ddf5] | 75 | <ulink url="http://dejavu.sourceforge.net"/></para>
|
---|
| 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
[9f12e36] | 78 | <para>Arphic fonts for Chinese:
|
---|
[784ddf5] | 79 | <ulink url="http://cle.linux.org.tw/fonts/Arphic"/></para>
|
---|
| 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
[9f12e36] | 82 | <para>Kochi fonts for Japanese:
|
---|
[784ddf5] | 83 | <ulink url="http://sourceforge.jp/projects/efont"/></para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
| 86 | -->
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect3">paps Dependencies</bridgehead>
|
---|
[2976d9e] | 89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[201b03d] | 90 | <para role="required"><xref linkend="pango"/></para>
|
---|
[784ddf5] | 91 |
|
---|
[201b03d] | 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 93 | <para role="optional"><xref linkend="doxygen"/></para>
|
---|
[784ddf5] | 94 |
|
---|
| 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/Paps"/></para>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of paps</title>
|
---|
| 102 |
|
---|
| 103 | <para>Install <application>paps</application> by running the following
|
---|
| 104 | commands:</para>
|
---|
| 105 |
|
---|
[ff07022a] | 106 | <screen><userinput>patch -Np1 -i ../paps-&paps-version;-freetype_fix-1.patch &&
|
---|
[2ecfa2a6] | 107 | ./configure --prefix=/usr --mandir=/usr/share/man &&
|
---|
[784ddf5] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | <para>To test the results, issue: <command>src/test_libpaps >
|
---|
[a675788] | 111 | test.ps</command>. View the output file in any available PostScript viewer
|
---|
[201b03d] | 112 | and visually compare it to
|
---|
| 113 | <filename>doxygen-doc/html/example-output.png</filename> in the source tree.
|
---|
[a675788] | 114 | The results of the output will be more robust with DejaVu, Arphic, and
|
---|
| 115 | Kochi fonts installed as explained in the <xref
|
---|
[784ddf5] | 116 | linkend="xft-font-protocol"/> Section of the X Window System
|
---|
| 117 | configuration.</para>
|
---|
| 118 |
|
---|
| 119 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 120 |
|
---|
[201b03d] | 121 | <screen role="root"><userinput>make install &&
|
---|
| 122 | install -v -m755 -d /usr/share/doc/paps-&paps-version; &&
|
---|
| 123 | install -v -m644 doxygen-doc/html/* /usr/share/doc/paps-&paps-version;</userinput></screen>
|
---|
[784ddf5] | 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
[201b03d] | 127 | <!-- <sect2 role="commands">
|
---|
[784ddf5] | 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
| 130 | <para><command>make DOXYGEN=true; make DOXYGEN=true -k install</command>:
|
---|
| 131 | Use these commands if <application>Doxygen</application> is not installed.
|
---|
| 132 | Documentation will not be installed.</para>
|
---|
| 133 |
|
---|
[201b03d] | 134 | </sect2> -->
|
---|
[784ddf5] | 135 |
|
---|
[201b03d] | 136 | <!--
|
---|
[784ddf5] | 137 | <sect2 role="configuration">
|
---|
| 138 | <title>Configuring paps</title>
|
---|
| 139 |
|
---|
| 140 | <sect3 id="paps-config">
|
---|
| 141 | <title>Config Files</title>
|
---|
| 142 |
|
---|
| 143 | </sect3>
|
---|
| 144 |
|
---|
| 145 | <sect3>
|
---|
| 146 | <title>Configuration Information</title>
|
---|
| 147 |
|
---|
| 148 | </sect3>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
[201b03d] | 151 | -->
|
---|
[784ddf5] | 152 |
|
---|
| 153 | <sect2 role="content">
|
---|
| 154 | <title>Contents</title>
|
---|
| 155 |
|
---|
| 156 | <segmentedlist>
|
---|
| 157 | <segtitle>Installed Program</segtitle>
|
---|
| 158 | <segtitle>Installed Library</segtitle>
|
---|
| 159 | <segtitle>Installed Directory</segtitle>
|
---|
| 160 |
|
---|
| 161 | <seglistitem>
|
---|
| 162 | <seg>paps</seg>
|
---|
| 163 | <seg>libpaps.a</seg>
|
---|
[201b03d] | 164 | <seg>/usr/share/doc/paps-&paps-version;</seg>
|
---|
[784ddf5] | 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="paps-prog">
|
---|
| 174 | <term><command>paps</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>is a text to PostScript converter that supports UTF-8
|
---|
[a675788] | 177 | character encoding.</para>
|
---|
[784ddf5] | 178 | <indexterm zone="paps paps-prog">
|
---|
| 179 | <primary sortas="b-paps">paps</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | </variablelist>
|
---|
| 185 |
|
---|
| 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | </sect1>
|
---|