From 033ad12b5f34f976f85024d3f12b7f891206816b Mon Sep 17 00:00:00 2001 From: kthoden Date: Tue, 21 Jan 2020 12:43:50 +0100 Subject: [PATCH] Latest changes in schema and transformation --- xxe/eoa/eoa.incl | 1 + xxe/eoa/rnc/eoa-tei-strict.rnc | 2 +- xxe/eoa/xsl/tei2eoatex.xsl | 27 ++++++++-- .../eoatex_processinginstructions.xsl | 4 +- xxe/eoa/xsl/tei2eoatex/eoatex_textparts.xsl | 52 +++++++++++-------- xxe/tei.xxe | 7 ++- 6 files changed, 61 insertions(+), 32 deletions(-) diff --git a/xxe/eoa/eoa.incl b/xxe/eoa/eoa.incl index ef909a1..f760335 100755 --- a/xxe/eoa/eoa.incl +++ b/xxe/eoa/eoa.incl @@ -108,6 +108,7 @@ true false false + false true false false diff --git a/xxe/eoa/rnc/eoa-tei-strict.rnc b/xxe/eoa/rnc/eoa-tei-strict.rnc index 2864518..060ee39 100644 --- a/xxe/eoa/rnc/eoa-tei-strict.rnc +++ b/xxe/eoa/rnc/eoa-tei-strict.rnc @@ -458,7 +458,7 @@ figure = # attribute n { xsd:integer }?)| # attribute n { "nonumber" } ), attribute n { xsd:integer | "nonumber" }?, - attribute place { "t" | "ht" | "!ht" | "H" }?, + attribute place { "b" | "hb" | "!hb" |"t" | "ht" | "!ht" | "H" }?, attribute xml:id { xsd:NCName }?, attribute rend { "landscape" }?, attribute type { xsd:NCName }?, diff --git a/xxe/eoa/xsl/tei2eoatex.xsl b/xxe/eoa/xsl/tei2eoatex.xsl index 3b5647b..1bee564 100644 --- a/xxe/eoa/xsl/tei2eoatex.xsl +++ b/xxe/eoa/xsl/tei2eoatex.xsl @@ -8,7 +8,9 @@ version="2.0"> + + @@ -24,7 +26,7 @@ - + @@ -102,8 +104,15 @@ contexts, a double replacement is performed. - \input{texfiles/frontmatter.tex} - + + + \input{texfiles/frontmatter-manual.tex} + + + \input{texfiles/frontmatter.tex} + + + @@ -120,8 +129,15 @@ contexts, a double replacement is performed. \EOAchapternonumber{List of Contributors}{List of Contributors} - \input{texfiles/contributors.tex} - + + + \input{texfiles/contributors-manual.tex} + + + \input{texfiles/contributors.tex} + + + @@ -141,6 +157,7 @@ contexts, a double replacement is performed. \end{document} + diff --git a/xxe/eoa/xsl/tei2eoatex/eoatex_processinginstructions.xsl b/xxe/eoa/xsl/tei2eoatex/eoatex_processinginstructions.xsl index 284c4cc..6f7d5ce 100644 --- a/xxe/eoa/xsl/tei2eoatex/eoatex_processinginstructions.xsl +++ b/xxe/eoa/xsl/tei2eoatex/eoatex_processinginstructions.xsl @@ -8,10 +8,12 @@ version="2.0"> + - + + diff --git a/xxe/eoa/xsl/tei2eoatex/eoatex_textparts.xsl b/xxe/eoa/xsl/tei2eoatex/eoatex_textparts.xsl index 4806ab8..b7c57e1 100644 --- a/xxe/eoa/xsl/tei2eoatex/eoatex_textparts.xsl +++ b/xxe/eoa/xsl/tei2eoatex/eoatex_textparts.xsl @@ -15,17 +15,17 @@ \noindent\EOAemph{Traduzione italiana a p.~\EOApageref{ }.} - \vspace{2\baselineskip} + \vspace{2\baselineskip} \vspace{-2\baselineskip} \noindent\EOAemph{Versione originale latina a p.~\EOApageref{ }.} - \vspace{2\baselineskip} + \vspace{2\baselineskip} - + @@ -65,7 +65,7 @@ - + @@ -298,7 +298,7 @@ - + \EOAchapter @@ -373,7 +373,14 @@ - \EOAfigure + + + \EOAlsfigure + + + \EOAfigure + + nonumber{ @@ -407,27 +414,30 @@ { } - - { - - }{ - - - - + + { + + }{ - - !ht + + - ht + + + !ht + + + ht + + - + } + - } - + @@ -654,7 +664,7 @@ [ - + ] diff --git a/xxe/tei.xxe b/xxe/tei.xxe index cf6db6e..13af5c6 100755 --- a/xxe/tei.xxe +++ b/xxe/tei.xxe @@ -26,21 +26,20 @@ xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"> com.xmlmind.xml.xinclude.XIncludeScheme - - + fr.unicaen.mrshcertic.xml.xxe.docx.DocxConvertCommand