diff --git a/src/stylesheets/tei2html/tei2html.xsl b/src/stylesheets/tei2html/tei2html.xsl index c6a0ab9..5fc60f4 100644 --- a/src/stylesheets/tei2html/tei2html.xsl +++ b/src/stylesheets/tei2html/tei2html.xsl @@ -35,12 +35,17 @@ Publications + + + + + diff --git a/src/stylesheets/tei2html/tei2html_chapter.xsl b/src/stylesheets/tei2html/tei2html_chapter.xsl index 118ba46..8f05dc0 100644 --- a/src/stylesheets/tei2html/tei2html_chapter.xsl +++ b/src/stylesheets/tei2html/tei2html_chapter.xsl @@ -18,6 +18,9 @@ + + + diff --git a/src/stylesheets/tei2html/tei2html_chapter_utils.xsl b/src/stylesheets/tei2html/tei2html_chapter_utils.xsl index 7cf65e9..f6834cf 100644 --- a/src/stylesheets/tei2html/tei2html_chapter_utils.xsl +++ b/src/stylesheets/tei2html/tei2html_chapter_utils.xsl @@ -34,8 +34,10 @@ + diff --git a/src/stylesheets/tei2html/tei2html_publ_frontpage.xsl b/src/stylesheets/tei2html/tei2html_publ_frontpage.xsl index 929bc81..449c6d9 100644 --- a/src/stylesheets/tei2html/tei2html_publ_frontpage.xsl +++ b/src/stylesheets/tei2html/tei2html_publ_frontpage.xsl @@ -18,6 +18,9 @@ Publications + + + diff --git a/src/stylesheets/tei2html/tei2html_publ_frontpage_utils.xsl b/src/stylesheets/tei2html/tei2html_publ_frontpage_utils.xsl index 830c8cf..6515acb 100644 --- a/src/stylesheets/tei2html/tei2html_publ_frontpage_utils.xsl +++ b/src/stylesheets/tei2html/tei2html_publ_frontpage_utils.xsl @@ -27,8 +27,6 @@ - Edition Open Access - http://edition-open-access.de diff --git a/src/stylesheets/tei2html/utils/common.xsl b/src/stylesheets/tei2html/utils/common.xsl index 6055c2c..4779170 100644 --- a/src/stylesheets/tei2html/utils/common.xsl +++ b/src/stylesheets/tei2html/utils/common.xsl @@ -13,9 +13,7 @@ indent="yes" /> - - - + ' diff --git a/src/stylesheets/tei2html/utils/render.xsl b/src/stylesheets/tei2html/utils/render.xsl index 495c6fd..e59170a 100644 --- a/src/stylesheets/tei2html/utils/render.xsl +++ b/src/stylesheets/tei2html/utils/render.xsl @@ -31,8 +31,10 @@ + @@ -58,7 +60,7 @@
diff --git a/src/tei2html.py b/src/tei2html.py index 7b9d291..7a445a6 100755 --- a/src/tei2html.py +++ b/src/tei2html.py @@ -128,9 +128,15 @@ def copy_dir( type = Path, help="static files of publication (relative to OUTPUT_DIR, or absolute)" ) + parser.add_argument( + "-n", "--platform-name", + default = 'dummy-platform', + type = str, + help="internal links must be absolute, to this address, or relative, if empty" + ) parser.add_argument( "-u", "--platform-uri", - default = '', + default = 'http://dummy-platform.com', type = str, help="internal links must be absolute, to this address, or relative, if empty" ) @@ -204,6 +210,7 @@ def copy_dir( f"output_dir={output_dir}", f"webdesign_url={args.webdesign}", f"publ_static_url={args.static}", + f"platform_name={args.platform_name}", f"platform_uri={args.platform_uri}", ] + args.param,