Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated EPUB frontmatter
  • Loading branch information
Klaus Thoden committed Mar 19, 2018
1 parent 0ed0ed6 commit dec2644
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
41 changes: 41 additions & 0 deletions data/epub_files/epubintro-sources.xhtml
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>TITLE</title>
<link href="eoa-epub.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h3>author</h3>
<h1>TITLE</h1>

<p><b>Series Editors</b><br />
Ian T. Baldwin, Gerd Graßhoff, Jürgen Renn, Dagmar Schäfer, Robert Schlögl, Bernard F. Schutz</p>


<p><b>Edition Open Access Development Team</b><br />
Lindy Divarci, Samuel Gfrörer, Klaus Thoden, Malte Vogl, Dirk Wintergrün</p>
<p><b>Editor-in-chief</b><br/>Matteo Valleriani<br/>Max Planck Institute for History of Science, Berlin</p>

<p><b>Other Editors</b><br/>Stephen P. Weldon<br/>Department of History of Science, University of Oklahoma<br/>
Esther Chen<br/>Library of the Max Planck Institute for the History of Science, Berlin<br/>
Kerry V. Magruder<br/>History of Science Collections, University of Oklahoma Libraries<br/>
Anne-Laurence Caudano<br/>History Faculty, The University of Winnipeg<br/>
Massimiliano Badino<br/>Facultat de Ciéncies, Universitat Autònoma de Barcelona<br/>
Robert G. Morrison<br/>Department of Religion, Bowdoin College
</p>


<p>First published year<br />
Edition Open Access<br />
http://www.edition-open-access.de<br />
Published under Creative Commons by-nc-sa 3.0 Germany Licence<br />
http://creativecommons.org/licenses/by-nc-sa/3.0/de/<br />
The Deutsche Nationalbibliothek lists this publication in the Deutsche Nationalbibliografie; detailed bibliographic data are available on the Internet at http://dnb.d-nb.de.</p>

AdditionalInformation

<p>Max Planck Research Library for the History and Development of Knowledge<br />
series number</p>

</body></html>
2 changes: 1 addition & 1 deletion data/epub_files/epubintro.xhtml
Expand Up @@ -14,7 +14,7 @@ Ian T. Baldwin, Gerd Graßhoff, Jürgen Renn, Dagmar Schäfer, Robert Schlögl,


<p><b>Edition Open Access Development Team</b><br />
Lindy Divarci, Georg Pflanz, Klaus Thoden, Dirk Wintergrün</p>
Lindy Divarci, Samuel Gfrörer, Klaus Thoden, Malte Vogl, Dirk Wintergrün</p>

<p><b>Scientific Board</b><br />Markus Antonietti, Ian Baldwin,
Antonio Becchi, Fabio Bevilacqua, William G. Boltz, Jens Braarvik,
Expand Down
5 changes: 4 additions & 1 deletion imxml2epub.py
Expand Up @@ -265,7 +265,10 @@ def addToTocncx(tocncx, Label, intTechnicalChapterNumber):
print("-------------------")
print("Preparing intro.xhtml")
print("-------------------")
tmpFilePath = EPUB_FILES + "epubintro.xhtml"
if cfgPublication.get("Technical", "Serie") == "Sources":
tmpFilePath = EPUB_FILES + "epubintro-sources.xhtml"
else:
tmpFilePath = EPUB_FILES + "epubintro.xhtml"
tmpFile = open(tmpFilePath, "r")
strIntroHTML = tmpFile.read()
tmpFile.close()
Expand Down

0 comments on commit dec2644

Please sign in to comment.