document.tex 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. \documentclass[paper=a5,fontsize=11pt,parskip=half,twoside,DIV=16]{scrbook}
  2. \KOMAoptions{toc=flat}
  3. \KOMAoptions{toc=idx}
  4. \usepackage{helpers}
  5. \usepackage{version-and-copyright}
  6. \usepackage{recipe}
  7. \usepackage{hyperxmp}
  8. \usepackage[type={CC},modifier={by-sa},version={4.0}]{doclicense}
  9. \usepackage{makeidx}
  10. \makeindex
  11. \usepackage[toc,style=altlist,nopostdot,nomain]{glossaries}
  12. \newglossary*{term}{Cooking Terms}
  13. \newglossary*{tech}{Cooking Techniques}
  14. \newglossary*{eqpt}{Equipment}
  15. \makeglossaries
  16. \loadglsentries[term]{term-glossary}
  17. \loadglsentries[tech]{tech-glossary}
  18. \loadglsentries[eqpt]{eqpt-glossary}
  19. \glsaddall
  20. \title{The Open Source Cookbook}
  21. \lowertitleback{This compilation \copyrightRange{2020} Samuel Flint,
  22. licensed \doclicenseName (\doclicenseIcon). Recipes copyright their
  23. respective contributors, and under the same terms unless otherwise
  24. noted.
  25. Revision \texttt{\gitrevision}.
  26. }
  27. \usepackage{hyperref}
  28. \hypersetup{
  29. pdftitle={The Open Source Cookbook},
  30. pdfcreator={LatexMk},
  31. pdflang={en-US},
  32. colorlinks=true,
  33. linkcolor=black,
  34. citecolor=black,
  35. filecolor=black,
  36. urlcolor=black
  37. }
  38. \begin{document}
  39. \maketitle
  40. \frontmatter
  41. \tableofcontents
  42. \mainmatter
  43. \input{01-basics}
  44. \input{02-salads-dressings}
  45. \input{03-soups}
  46. \input{04-appetizers}
  47. \input{05-mains-and-entrees}
  48. \input{06-sides}
  49. \input{07-desserts}
  50. \input{08-snacks}
  51. \backmatter
  52. \input{91-groups}
  53. \input{92-menus}
  54. % Glossaries
  55. \printglossary[type=tech,nonumberlist]
  56. \printglossary[type=eqpt,nonumberlist]
  57. \printglossary[type=term,nonumberlist]
  58. % Index
  59. \printindex
  60. \end{document}
  61. %%% Local Variables:
  62. %%% mode: latex
  63. %%% TeX-master: t
  64. %%% End: