I see that it is preferable to remove the spacing in the comma-separated
list of prerequisites. But then the following patch to configure.py is
also needed, where all latex classes are marked unavailable before
actually running chkconfig.ltx.
--
Julien
Index: lib/configure.py
===================================================================
--- lib/configure.py (revision 33864)
+++ lib/configure.py (working copy)
@@ -892,7 +892,7 @@
"article" "article" "article" "false" "article.cls"
"scrbook" "scrbook" "book (koma-script)" "false" "scrbook.cls"
- "svjog" "svjour" "article (Springer - svjour/jog)" "false"
"svjour.cls, svjog.clo"
+ "svjog" "svjour" "article (Springer - svjour/jog)" "false"
"svjour.cls,svjog.clo"
'''
def checkForClassExtension(x):
'''if the extension for a latex class is not
@@ -915,7 +915,7 @@
else:
prereq_list = optAll[1:-1].split(',')
prereq_list = map(checkForClassExtension, prereq_list)
- prereq_latex = ', '.join(prereq_list)
+ prereq_latex = ','.join(prereq_list)
prereq_docbook = {'true':'', 'false':'docbook'}[bool_docbook]
prereq = {'LaTeX':prereq_latex,
'DocBook':prereq_docbook}[classtype]
return '"%s" "%s" "%s" "%s" "%s"\n' % (classname, opt, desc, avai,
prereq)