1 {% load catalogue_tags %}
2 <TeXML xmlns="http://getfo.sourceforge.net/texml/ns1">
4 \documentclass[a4paper, oneside, 11pt]{book}
6 \usepackage[MeX]{polski}
8 \usepackage[xetex]{graphicx}
13 \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref}
15 \usepackage{longtable}
19 UprightFont = JunicodeWL-Regular,
20 ItalicFont = JunicodeWL-Italic,
21 BoldFont = JunicodeWL-Regular,
22 BoldItalicFont = JunicodeWL-Italic,
23 SmallCapsFont = JunicodeWL-Regular,
24 SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
36 \definecolor{note}{gray}{.3}
38 \setlength{\hoffset}{-1cm}
39 \setlength{\oddsidemargin}{0pt}
40 \setlength{\marginparsep}{0pt}
41 \setlength{\marginparwidth}{0pt}
43 \setlength{\voffset}{0pt}
44 \setlength{\topmargin}{0pt}
45 \setlength{\headheight}{0pt}
46 \setlength{\headsep}{0pt}
47 \setlength{\leftmargin}{0em}
48 \setlength{\rightmargin}{0em}
49 \setlength{\textheight}{24cm}
50 \setlength{\textwidth}{17.5cm}
55 \renewcommand{\headrulewidth}{0pt}
56 \renewcommand{\footrulewidth}{0pt}
57 \lfoot{\footnotesize Katalog biblioteki internetowej WolneLektury.pl, \today}
59 \rfoot{\footnotesize \thepage}
65 % see http://osdir.com/ml/tex.xetex/2005-10/msg00003.html
66 \newsavebox{\ximagebox}\newlength{\ximageheight}
67 \newsavebox{\xglyphbox}\newlength{\xglyphheight}
69 {\savebox{\ximagebox}{#1}\settoheight{\ximageheight}{\usebox {\ximagebox}}%
70 \savebox{\xglyphbox}{\char32}\settoheight{\xglyphheight}{\usebox {\xglyphbox}}%
71 \raisebox{\ximageheight}[0pt][0pt]{%\raisebox{-\xglyphheight}[0pt] [0pt]{%
72 \makebox[0pt][l]{\usebox{\xglyphbox}}}%}%
74 \raisebox{0pt}[0pt][0pt]{\makebox[0pt][r]{\usebox{\xglyphbox}}}}
77 \newcommand{\name}[1]{%
82 \newcommand{\note}[1]{%
83 \small{\color{note}{#1}}%
89 \noindent \begin{minipage}[t]{.35\textwidth}\vspace{0pt}
90 \href{http://www.wolnelektury.pl}{\xbox{\includegraphics[width=\textwidth]{wl-logo.png}}}
93 \begin{minipage}[t]{.65\textwidth}\vspace{0pt}
95 \section*{Katalog biblioteki internetowej
96 \href{http://www.wolnelektury.pl/}{WolneLektury.pl}.}
101 \begin{longtable}{p{9.5cm} p{5.5cm}r p{2cm}}
104 {% book_tree_texml orphans books_by_parent %}
105 {% for author, group in books_by_author.items %}
107 <cmd name="name"><parm>{{ author }}</parm></cmd>
110 {% book_tree_texml group books_by_parent %}