document.tex 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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-breads}
  45. \input{03-salads-dressings}
  46. \input{04-soups}
  47. \input{05-appetizers}
  48. \input{06-mains-and-entrees}
  49. \input{07-sides}
  50. \input{08-desserts}
  51. \input{09-snacks}
  52. % Maybe a "Punches chapter?"
  53. \backmatter
  54. \input{91-groups}
  55. \input{92-menus}
  56. % Glossaries (consider re-ordering)
  57. \printglossary[type=tech,nonumberlist] %Techniques
  58. \printglossary[type=eqpt,nonumberlist] %Equiptment
  59. \printglossary[type=term,nonumberlist] %Terms
  60. % Index
  61. \printindex
  62. \end{document}
  63. %%% Local Variables:
  64. %%% mode: latex
  65. %%% TeX-master: t
  66. %%% End: