From: Jan Szejko Date: Wed, 5 Sep 2018 11:12:31 +0000 (+0200) Subject: fix children books in toc X-Git-Tag: 1.7~12 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/6a4cff9d955a0dbf417f684bf98a288f089bf46b?hp=05bb39f39042b3a48e5a902c35b74e0dff3f80f7 fix children books in toc --- 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 @@ - - - - + + + + + + + + +