diff --git a/tei2html.py b/tei2html.py index 41a210f..8f53445 100755 --- a/tei2html.py +++ b/tei2html.py @@ -72,7 +72,7 @@ def main( ) parser.add_argument( "--root-dir", - default = Path.cwd(), + default = Path.cwd() / "output", help="internal html links on the page will use this location as a prefix" ) parser.add_argument( diff --git a/tei2html/tei2html.xsl b/tei2html/tei2html.xsl index 3e33e4c..2e04491 100644 --- a/tei2html/tei2html.xsl +++ b/tei2html/tei2html.xsl @@ -13,13 +13,15 @@ indent="yes" /> - + + - - + + + @@ -35,10 +37,31 @@ --> - domain: + + + + + + + + + + + + + + + + + - + + @@ -60,7 +84,7 @@ indent="yes" href="{concat($output_subdir, '/', position(), '/index.html')}" > - + diff --git a/tei2html/tei2html_chapter.xsl b/tei2html/tei2html_chapter.xsl index 5754395..2c9a339 100644 --- a/tei2html/tei2html_chapter.xsl +++ b/tei2html/tei2html_chapter.xsl @@ -26,12 +26,10 @@ - + - printing chapter . head: - + + diff --git a/tei2html/tei2html_chapter_utils.xsl b/tei2html/tei2html_chapter_utils.xsl index 888b35f..b88eb05 100644 --- a/tei2html/tei2html_chapter_utils.xsl +++ b/tei2html/tei2html_chapter_utils.xsl @@ -22,7 +22,7 @@ - + @@ -176,7 +176,7 @@ - putting in mathjax +