From: Jan Szejko Date: Fri, 30 Jun 2017 12:39:46 +0000 (+0200) Subject: subscripts in WL XML X-Git-Tag: 1.7~48 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/dd6f13725963dd34f96ebbf7688461ab1ce4466c?hp=43fe93caf99d223acd1defc31afdfda6b596551b subscripts in WL XML --- diff --git a/librarian/epub/xsltScheme.xsl b/librarian/epub/xsltScheme.xsl index c9c6a75..d6f69bb 100644 --- a/librarian/epub/xsltScheme.xsl +++ b/librarian/epub/xsltScheme.xsl @@ -264,6 +264,12 @@ + + + + + + diff --git a/librarian/fb2/inline.xslt b/librarian/fb2/inline.xslt index 03c6b65..3429e29 100644 --- a/librarian/fb2/inline.xslt +++ b/librarian/fb2/inline.xslt @@ -34,6 +34,11 @@ + + + + + diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 30dbf63..575f7c4 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -527,6 +527,9 @@ Letters={Uppercase} \newcommand{\wyroznienie}[1]{% \emph{#1}% } +\newcommand{\indeksdolny}[1]{% +\textsubscript{#1}% +} \newcommand{\osoba}[1]{% #1% diff --git a/librarian/pdf/wl2tex.xslt b/librarian/pdf/wl2tex.xslt index 43092e7..8a31a22 100644 --- a/librarian/pdf/wl2tex.xslt +++ b/librarian/pdf/wl2tex.xslt @@ -362,7 +362,7 @@ + match="pa|pe|pr|pt|mat|didask_tekst|slowo_obce|wyroznienie|osoba|indeks_dolny"> diff --git a/librarian/xslt/book2html.xslt b/librarian/xslt/book2html.xslt index d39a76a..07588b6 100644 --- a/librarian/xslt/book2html.xslt +++ b/librarian/xslt/book2html.xslt @@ -300,6 +300,10 @@ + + + + diff --git a/librarian/xslt/book2txt.xslt b/librarian/xslt/book2txt.xslt index 89c9dfd..322dd74 100644 --- a/librarian/xslt/book2txt.xslt +++ b/librarian/xslt/book2txt.xslt @@ -275,6 +275,10 @@ ** + + + + diff --git a/librarian/xslt/config.xml b/librarian/xslt/config.xml index e9e999c..4730f4b 100644 --- a/librarian/xslt/config.xml +++ b/librarian/xslt/config.xml @@ -36,6 +36,7 @@ + diff --git a/librarian/xslt/normalize.xslt b/librarian/xslt/normalize.xslt index 494d028..85a2a65 100644 --- a/librarian/xslt/normalize.xslt +++ b/librarian/xslt/normalize.xslt @@ -329,6 +329,12 @@ + + + + + + diff --git a/tests/files/example-wl.xml b/tests/files/example-wl.xml index d2fd87b..6a06517 100644 --- a/tests/files/example-wl.xml +++ b/tests/files/example-wl.xml @@ -127,6 +127,7 @@ rzu. tytul_dziela@typ=1, wyroznienie, slowo_obce +indeks_dolny: H2O [Przypisy: pa, pt, pr, pe]