From 6a4cff9d955a0dbf417f684bf98a288f089bf46b Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 5 Sep 2018 13:12:31 +0200 Subject: [PATCH] fix children books in toc --- librarian/pdf/wl.cls | 6 ++++++ librarian/pdf/wl2tex.xslt | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 97049f3..ff6e2b0 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -356,6 +356,12 @@ Letters={Uppercase} \addcontentsline{toc}{section}{#2}% } +\newcommand{\nazwanadpodutworu}[2]{% +\authortoc{}% +\nazwapodutworu{#1}{#2}% +\authortoc{}% +} + \newcommand{\autorutworu}[1]{% \subsection*{\typosubsection{#1}}% } diff --git a/librarian/pdf/wl2tex.xslt b/librarian/pdf/wl2tex.xslt index 99244ee..a61842e 100644 --- a/librarian/pdf/wl2tex.xslt +++ b/librarian/pdf/wl2tex.xslt @@ -231,10 +231,15 @@ - - - - + + + + + + + + + -- 2.20.1