From b48b8bb302c246d5b96c613a1e8d0d246101532d Mon Sep 17 00:00:00 2001 From: kthoden Date: Mon, 15 Nov 2021 21:10:25 +0100 Subject: [PATCH] Fix series replacement string --- src/data/epub_files/epubintro-sources.xhtml | 2 +- src/data/epub_files/epubintro.xhtml | 2 +- src/imxml2epub.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/epub_files/epubintro-sources.xhtml b/src/data/epub_files/epubintro-sources.xhtml index 4d9214e..cd5c267 100644 --- a/src/data/epub_files/epubintro-sources.xhtml +++ b/src/data/epub_files/epubintro-sources.xhtml @@ -36,6 +36,6 @@ The Deutsche Nationalbibliothek lists this publication in the Deutsche Nationalb AdditionalInformation

Edition Open Sources
-series number

+eoaseries number

diff --git a/src/data/epub_files/epubintro.xhtml b/src/data/epub_files/epubintro.xhtml index c97536a..740e505 100644 --- a/src/data/epub_files/epubintro.xhtml +++ b/src/data/epub_files/epubintro.xhtml @@ -39,6 +39,6 @@ The Deutsche Nationalbibliothek lists this publication in the Deutsche Nationalb AdditionalInformation

Max Planck Research Library for the History and Development of Knowledge
-mprlseries number

+eoaseries number

diff --git a/src/imxml2epub.py b/src/imxml2epub.py index 9822707..385e19a 100755 --- a/src/imxml2epub.py +++ b/src/imxml2epub.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8; mode: python -*- -# Time-stamp: <2021-07-02 12:15:51 (kthoden)> +# Time-stamp: <2021-11-15 21:09:52 (kthoden)> """ Convert a customized DocBook XML file into a set of files that constitute the contents of an EPUB file. @@ -658,7 +658,7 @@ def add_css_snippet(css_snippet, css_file): strIntroHTML = re.sub("author", strAuthorString, strIntroHTML) strIntroHTML = re.sub("TITLE", strTitleString, strIntroHTML) strIntroHTML = re.sub("year", cfgPublication.get("Technical", "PublicationYear"), strIntroHTML) -strIntroHTML = re.sub("mprlseries", publication_series, strIntroHTML) +strIntroHTML = re.sub("eoaseries", publication_series, strIntroHTML) strIntroHTML = re.sub("number", publication_number, strIntroHTML) strIntroHTML = re.sub("epubisbn", publication_isbn, strIntroHTML) strIntroHTML = re.sub("pubdoi", publication_doi, strIntroHTML)