Menu

Commit [r28057]  Maximize  Restore  History

The Scons compilation of the PDF and HTML manuals now checks for replicated titles.

A new replicate_title_check target has been added to the scons scripts. This calls the find()
method of the replicate LaTeX title finding script to determine if any titles are replicated, and if
so the scons target returns with a sys.exit(1) call. This target is set at the start of the
user_manual_pdf, user_manual_pdf_nofetch, user_manual_html, user_manual_html_nofetch scons targets.

The result is that the manual cannot be compiled if replicate titles exist, forcing the titles to be
changed. The result will be that the HTML pages at http://www.nmr-relax.com/manual/ will all be
unique, as replicated titles results in only one HTML page being created for all the sections.

bugman 2015-10-15

changed /trunk/scons/manuals.py
changed /trunk/sconstruct
/trunk/scons/manuals.py Diff Switch to side-by-side view
Loading...
/trunk/sconstruct Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.