1
2 a2ps README
3
4 (or PRINTME if a2ps runs fine :)
5
6
7 Please send problems and feedback to bug-a2ps (a] gnu.org.
8
9 Please send happiness messages to both Akim & Miguel
10 (akim (a] freefriends.org, Miguel.Santana (a] st.com)
11
12 See the file ANNOUNCE for a presentation of a2ps, if you're still
13 unsure it is indeed a filter from Anything To Probably Something.
14
15
16 Contents:
17 =========
18
19 1. Installation
20 2. Upgrading from versions prior to 4.10
21 3. Upgrading from versions prior to 4.12
22 4. Upgrading from versions prior to 4.13
23 5. Distribution content
24 6. More?
25
26
27 1. Installation
28 ===============
29
30 Some notes on the distribution:
31
32 Most of the work for the installation is done by ./configure. If you
33 never ever read the file `INSTALL', then you really should do it
34 *now*.
35
36 Some choices are to make, and to give to ./configure
37
38 --disable-nls
39 if you do not want to use Native Language Support
40 (i.e. the ability to speak another tongue than English)
41 --with-gnu-gettext
42 if you want to use the GNU gettext library for
43 NLS, instead of available NLS services. I recommend it.
44 --without-extensions
45 Fewer files will get installed. a2ps is still usable
46 for Western Europe and American. You should avoid unless
47 you are really short on disk. This does not imply
48 --disable-nls, you have to add it yourself.
49
50 The following choices *are not irreversible*. They just correspond to
51 settings in the file etc/a2ps-site.cfg:
52
53 --with-medium=MEDIUM
54 define the default medium used by a2ps (A4, Letter etc.)
55 There is a special medium name: `libpaper', which means
56 that you have libpaper installed, and that a2ps should
57 use the medium specified by it. If you don't know,
58 just let configure decide for you. You can change it later.
59 --with-encoding=ENCODING
60 define the default encoding (ascii, latin1..., latin6,
61 hp, mac, ibmpc, pcg, cp1250).
62
63 Note (for novices). If you are not root, you should give
64 ./configure the option --prefix=$HOME to be able to install.
65
66 There are several things a2ps needs to know about your system in
67 order to work properly. Running configure should be enough to have
68 apropriate values, nevertheless, it sure is better if you good check
69 the following items:
70
71 1. At the end of etc/a2ps_cfg, the lines
72 a. FileCommand:
73 b. Variable: lp.default
74 c. Variable: lp
75
76 2. At the top of etc/a2ps-site.cfg, the lines
77 a. Options: --encoding=
78 b. Options: --medium=
79
80 There are some architectures, typically Solaris, that will fail saying
81 that symbols `bindtextdomain' etc. are missing. Then re-configure but
82 specifying --with-included-gettext.
83
84 Remember that \`make install' is mandatory for a2ps to work correctly.
85 Once the \`make install' done, you may remove the build directory (the
86 one which has been extracted from the .gz, which you can also removed,
87 BTW).
88
89 If you encounter problems while configuring or running, it is likely
90 that somebody already fell on the same problems. Hence please read
91
92 http://www.inf.enst.fr/~demaille/a2ps/bugs.html
93
94 which lists the known problems, and the fixes. Check out also for the
95 FAQ, and for a newer version of a2ps: don't send me reports for
96 prehistoric versions!
97
98 If the trouble persists, then, indeed, you may wish to send a bug
99 report (i.e. something *precise* about the problem and your
100 configuration :-) to
101
102 mailto:bug-a2ps (a] gnu.org
103
104 Do not, *ever*, send bug reports to a2ps (a] gnu.org. Well, pleeeeeease,
105 I mean.
106
107
108
109 2. Upgrading from versions prior to 4.10
110 ========================================
111
112 Because the organization of the library files is different, it is
113 strongly suggested to get rid of your old library files (usually rm
114 -rf .../share/a2ps is enough).
115
116 There _will_be_ problems if you don't remove them, because the new
117 a2ps may use files meant for the old versions. If you don't want to
118 remove these files, at least make sure they won't be installed in the
119 same place.
120
121 There can be strange things happening with `make check'. This is due
122 to a painful behavior of some shared library handlers: they use an old
123 a2ps library with the new a2ps executable.
124
125 Doing `make install' _before_ make check solves the problem.
126
127
128
129
130 3. Upgrading from versions prior to 4.12
131 ========================================
132
133 The most sensitive changes in the interface are that -D no longer
134 means --setpagedevice, but --define, and -S no longer means
135 --statusdict, but --setpagedevice.
136
137
138
139 4. Upgrading from versions prior to 4.13
140 ========================================
141
142 There's a big change in the syntax of the style sheets. I must
143 confess I took a very bad decision when I first implemented this: I
144 wanted to be compatible with the regexp of Emacs, for obscure and not
145 really interesting reasons.
146
147 *All* the style sheets shipped with a2ps are updated (of course,
148 otherwise my life would be in danger). While I did try, I probably
149 didn't managed to fix your own .ssh file hidden on your disk. So you
150 may have to handle this by yourself. Here's the piece of NEWS stating
151 the problem:
152
153 * Regexp are now \`egrep' and \`Perl' like, and no longer \`Emacs' like.
154 Before some characters had to be backslashed to denote the
155 operators. Now, it is just the contrary. For instance before
156 `\\(' and `\\)' used to be the grouping operator and `(' and `)'
157 were standing for the characters parentheses; while now it is the
158 converse.
159 Affected characters are `(', `)', `|', `{', and `}'.
160 Make sure to update your own style sheets.
161
162
163
164 5. Distribution content
165 =======================
166
167 Some interesting files/directories you might want to look at are:
168
169 README This message
170 INSTALL Information on the installation process
171 ABOUT_NLS A presentation of GNU's Native Language Support
172 project
173 TODO Some things to be done
174 afm/ Files that describe the width of the chars of a font
175 arch/ Files to help to port a2ps to non Unix OSes
176 doc/ The whole documentation
177 encoding/ Description of the encodings.
178 etc/a2ps_cfg The default configuration (after configure/make)
179 po/ Files for the translation
180 sheets/ Style sheets for pretty printing support
181 tests/ Sanity checks of a2ps
182 contrib/emacs/ Useful emacs files for a2ps
183 contrib/sample/ A sample on using liba2ps
184 ogonkify/ The full distribution of the fantastic
185 ogonkify package, that fixes a font designed for
186 Latin1 so that other Latin encodings are supported.
187
188
189
190 6. More ?
191 =========
192
193 a2ps has a home page where the latest version may be found.
194
195 http://www.inf.enst.fr/~demaille/a2ps/
196
197 There, you will also find the documentation in various formats.
198
199 There is also a mailing list, to which you can subscribe by sending an
200 email to a2ps-request (a] gnu.org, with "subscribe" as subject.
201
202 *NOTE* The mailing list is not a place to drop your bug reports or the
203 problems you have. It is a place to discuss about a2ps, to make the
204 announcements, wishes etc. Before sending a mail there, remember many
205 people will read your mail.
206
207 Bug reports should be sent to bug-a2ps (a] gnu.org
208
209 PS(um): if you're happy with this program, or just if you installed
210 it, please _let_us_know_! That's about the only contact we have from
211 the world of outside, since there are never bug reports 8*)
212
213 Local Variables:
214 mode: indented-text
215 End:
216