Description of problem: When overriding the default sheets.map in ~/.a2ps/sheets.map and including /usr/share/a2ps/sheets/sheets.map, a2ps aborts with error "too many includes". Version-Release number of selected component (if applicable): Fedora Core release 1 (Yarrow) How reproducible: Put include(/usr/share/a2ps/sheets/sheets.map) in ~/.a2ps/sheets.map Steps to Reproduce: 1. mkdir ~/.a2ps 2. echo 'include(/usr/share/a2ps/sheets/sheets.map)' >~/.a2ps/sheets.map 3.a2ps -o ~/hosts.ps /etc/hosts Actual results: a2ps: too many includes Expected results: PostScript file ~/hosts.ps created. Additional info:
Created attachment 100061 [details] Patch for sheets-map.l I found this patch at http://mail.gnu.org/archive/html/bug-a2ps/2002-01/msg00005.html but it seems it is not integrated in the latest version available from http://www.infres.enst.fr/~demaille/a2ps/ and it is not listed as known bug, either. I didn't test this patch too carefully but it works for me.
Oops. The filename in the first line of the patch is incorrect. Remove the '.orig'. Apologies.
Fixed in CVS. Thanks.