From a0565394f3cc9979c44f31c8bb7503109461e5b0 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 12 Feb 2020 13:56:41 +0100 Subject: [PATCH] Add podtytul_* tags; refs #4005. --- librarian/epub/xsltScheme.xsl | 19 +++++++++++++++++++ librarian/fb2/paragraphs.xslt | 2 +- librarian/pdf/wl.cls | 27 +++++++++++++++++++++++++++ librarian/pdf/wl2tex.xslt | 2 +- librarian/xslt/book2html.xslt | 18 ++++++++++++++++++ librarian/xslt/book2txt.xslt | 10 ++++++++++ 6 files changed, 76 insertions(+), 2 deletions(-) diff --git a/librarian/epub/xsltScheme.xsl b/librarian/epub/xsltScheme.xsl index e67cda7..724d983 100644 --- a/librarian/epub/xsltScheme.xsl +++ b/librarian/epub/xsltScheme.xsl @@ -161,6 +161,25 @@ + +

+ +

+
+ + +

+ +

+
+ + +

+ +

+
+ +

diff --git a/librarian/fb2/paragraphs.xslt b/librarian/fb2/paragraphs.xslt index ed90d2a..e2dc26b 100644 --- a/librarian/fb2/paragraphs.xslt +++ b/librarian/fb2/paragraphs.xslt @@ -23,7 +23,7 @@ - +

diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index fb1c4e5..f8b7731 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -632,12 +632,24 @@ Letters={Uppercase} \addcontentsline{toc}{subsection}{#2}% \vspace{5ex}% } + +\newcommand{\podtytulakt}[1]{% +\par{\typosubsubsection{\LARGE #1}}% +\vspace{5ex}% +} + \newcommand{\naglowekczesc}[2]{% \pagebreak \subsection*{\typosubsection{\huge #1}}% \addcontentsline{toc}{subsection}{#2}% \vspace{5ex}% } + +\newcommand{\podtytulczesc}[1]{% +\par{\typosubsubsection{\LARGE #1}}% +\vspace{5ex}% +} + \newcommand{\srodtytul}[1]{% \subsection*{\typosubsection{#1}}% } @@ -647,12 +659,23 @@ Letters={Uppercase} \addcontentsline{toc}{subsubsection}{#2}% \vspace{5ex}% } + +\newcommand{\podtytulscena}[1]{% +\par{\large #1}% +\vspace{5ex}% +} + \newcommand{\naglowekrozdzial}[2]{% \subsubsection*{\typosubsubsection{\LARGE #1}}% \addcontentsline{toc}{subsubsection}{#2}% \vspace{5ex}% } +\newcommand{\podtytulrozdzial}[1]{% +\par{\large #1}% +\vspace{5ex}% +} + \newcommand{\naglowekosoba}[1]{% \medskip% \par{\textsc{\MakeLowercase{#1}}}\nopagebreak% @@ -661,6 +684,10 @@ Letters={Uppercase} \vspace{5ex}\par{#1}\nopagebreak% } +\newcommand{\podtytulpodrozdzial}[1]{% +\par{#1}\nopagebreak% +} + \newcommand{\miejsceczas}[1]{% \par{\emph{#1}}% } diff --git a/librarian/pdf/wl2tex.xslt b/librarian/pdf/wl2tex.xslt index 8a1eb08..43a3274 100644 --- a/librarian/pdf/wl2tex.xslt +++ b/librarian/pdf/wl2tex.xslt @@ -327,7 +327,7 @@ + match="naglowek_osoba|naglowek_podrozdzial|podtytul_podrozdzial|miejsce_czas|didaskalia|lista_osoba|akap|akap_dialog|akap_cd|motto_podpis|naglowek_listy|srodtytul|podtytul_czesc|podtytul_rozdzial|podtytul_akt|podtytul_scena"> diff --git a/librarian/xslt/book2html.xslt b/librarian/xslt/book2html.xslt index 3b094ac..7d2d6b5 100644 --- a/librarian/xslt/book2html.xslt +++ b/librarian/xslt/book2html.xslt @@ -180,16 +180,34 @@

+ +
+ +
+
+

+ +
+ +
+
+

+ +
+ +
+
+ diff --git a/librarian/xslt/book2txt.xslt b/librarian/xslt/book2txt.xslt index 8589121..4175e96 100644 --- a/librarian/xslt/book2txt.xslt +++ b/librarian/xslt/book2txt.xslt @@ -142,6 +142,16 @@ + + + + + + + + + + -- 2.20.1