document.tex 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. % Maybe a "Punches chapter?"
  52. \backmatter
  53. \input{91-groups}
  54. \input{92-menus}
  55. % Glossaries (consider re-ordering)
  56. \printglossary[type=tech,nonumberlist] %Techniques
  57. \printglossary[type=eqpt,nonumberlist] %Equiptment
  58. \printglossary[type=term,nonumberlist] %Terms
  59. % Index
  60. \printindex
  61. \end{document}
  62. %%% Local Variables:
  63. %%% mode: latex
  64. %%% TeX-master: t
  65. %%% End: