From 97b2bd3b5bc82bf719897c925bd2b2b642c8e5ad Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 28 Feb 2019 11:41:20 +0100 Subject: [PATCH] File not (X)HTML compliant Made generated file (X)HTML compliant --- .../doc/scripts/generate_how_to_cite.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Documentation/doc/scripts/generate_how_to_cite.py b/Documentation/doc/scripts/generate_how_to_cite.py index 1167b885ae0..69930d5d853 100644 --- a/Documentation/doc/scripts/generate_how_to_cite.py +++ b/Documentation/doc/scripts/generate_how_to_cite.py @@ -79,6 +79,21 @@ result_txt_footer=r""" */ """ +pre_html=r""" + + + + + + +CGAL ${CGAL_CREATED_VERSION_NUM} - Manual: Acknowledging CGAL + + +""" +post_html=r""" + +""" + result_html=r"""

how_to_cite_cgal.bib

 @book{cgal:eb-${CGAL_RELEASE_YEAR_ID},
   title = {{CGAL} User and Reference Manual},
@@ -212,4 +227,4 @@ result_txt+=result_txt_footer
 f = codecs.open(BUILD_DIR+"/how_to_cite_cgal.txt.in", 'w', encoding='utf-8')
 f.write(result_txt)
 f = codecs.open(BUILD_DIR+"/how_to_cite.html.in", 'w', encoding='utf-8')
-f.write(result_html)
+f.write(pre_html + result_html + post_html)