summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xcookybooky
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-11 23:24:12 +0000
committerKarl Berry <karl@freefriends.org>2013-03-11 23:24:12 +0000
commit006780247c6134dde2eadbcd2f23a15d9598e2fe (patch)
tree46ee66480ec50c6e3ec1001cb8c9fcdaa03d5076 /Master/texmf-dist/doc/latex/xcookybooky
parent0c7bf14c7bad3782b103efabe8fc303c0e0f8087 (diff)
xcookybooky (11mar13)
git-svn-id: svn://tug.org/texlive/trunk@29345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/xcookybooky')
-rw-r--r--Master/texmf-dist/doc/latex/xcookybooky/README51
-rw-r--r--Master/texmf-dist/doc/latex/xcookybooky/example/example.pdfbin0 -> 387717 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xcookybooky/example/example.tex393
-rw-r--r--Master/texmf-dist/doc/latex/xcookybooky/example/pic/background.pdfbin0 -> 88626 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xcookybooky/example/pic/glass.jpgbin0 -> 23763 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xcookybooky/example/pic/ingredients.jpgbin0 -> 26418 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xcookybooky/xcookybooky.pdfbin0 -> 670026 bytes
7 files changed, 444 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/xcookybooky/README b/Master/texmf-dist/doc/latex/xcookybooky/README
new file mode 100644
index 00000000000..ede57308e33
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xcookybooky/README
@@ -0,0 +1,51 @@
+'xcookybooky' is a package for entering recipes
+and layout them in a nice way. This package is
+based on the 'cookybooky' package by Jürgen Gilg.
+Unfortunately it uses some special packages and
+fonts. Another handycap is missing possibility to
+create a PDF directly. This limitations are reversed.
+
+As a result of the changes not all options known
+from 'cookybooky' are implemented in this package.
+But nevertheless it provides some new options, e.g.
+an improved color and fontsize management and more
+recipe fields.
+
+
+Usage
+----------------------------------
+The recipes are inserted in a environment. There is
+the possibility to enter ingredients, preparation (steps),
+(two) pictures and a hint. Also there is an option
+to insert the recipetime, bakingtime, portions, calory
+content and source of the recipe (internet, friends,
+neighbours etc.).
+
+
+Package contents
+----------------------------------
+The current distribution is zipped up as
+ 'xcookybooky.zip'
+and includes the following files
+ 'xcookybooky.ins',
+ 'xcookybooky.dtx',
+ 'xcookybooky.pdf',
+ 'README'.
+Also there is a folder including an example, which
+helps you (hopefully) to understand the usage of this
+package.
+
+
+License
+----------------------------------
+This package may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in:
+
+http://www.latex-project.org/lppl.txt
+
+
+Current maintainer
+----------------------------------
+Sven Harder \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/xcookybooky/example/example.pdf b/Master/texmf-dist/doc/latex/xcookybooky/example/example.pdf
new file mode 100644
index 00000000000..875c1af09c3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xcookybooky/example/example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xcookybooky/example/example.tex b/Master/texmf-dist/doc/latex/xcookybooky/example/example.tex
new file mode 100644
index 00000000000..074804c2be1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xcookybooky/example/example.tex
@@ -0,0 +1,393 @@
+\documentclass[%
+a4paper,
+%twoside,
+11pt
+]{article}
+
+% encoding, font, language
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{lmodern}
+\usepackage[ngerman, english]{babel}
+
+\usepackage{nicefrac}
+
+\usepackage[
+ handwritten,
+ nowarnings,
+ %myconfig
+]
+{xcookybooky}
+
+\usepackage{blindtext} % only needed for generating test text
+
+\definecolor{mygreen}{rgb}{0,.5,0}
+\DeclareRobustCommand{\textcelcius}{\ensuremath{^{\circ}\mathrm{C}}}
+
+\setRecipeColors
+{%
+ recipename = mygreen,
+ ing = blue,
+ inghead = blue,
+ prep,
+ prephead,
+ hint,
+ hinthead,
+}
+
+\setcounter{secnumdepth}{1}
+\renewcommand*{\recipesection}[2][]
+{%
+ \subsection[#1]{#2}
+}
+\renewcommand{\subsectionmark}[1]
+{% no implementation to display the section name instead
+}
+
+
+%%%%%%%%%%
+% hyperref
+\usepackage{hyperref} % must be the last package
+\hypersetup{%
+ pdfauthor = {Sven Harder},
+ pdftitle = {Example Recipes},
+ pdfsubject = {Recipes},
+ pdfkeywords = {recipes},
+ pdfstartview = {FitV},
+ pdfview = {FitH},
+ pdfpagemode = {UseNone}, % Options; UseNone, UseOutlines
+ bookmarksopen = {true},
+ pdfpagetransition = {Glitter},
+ colorlinks = {true},
+ linkcolor = {black},
+ urlcolor = {black}
+ citecolor = {black},
+ filecolor = {black},
+}
+% hyperref
+%%%%%%%%%%
+
+
+
+\begin{document}
+
+\title{Examples for using \textbf{xcookybooky}}
+\author{Sven Harder}
+\maketitle
+
+\begin{center}
+ The examples in this document are using the version 1.2 of \texttt{xcookxbooky}.
+\end{center}
+
+\tableofcontents
+
+\vspace{9em}
+
+\section{Recipes}
+The following recipe is an example for the usage of the \texttt{xcookybooky} package. The copyright of the pictures is owned by Roman Gaus.
+
+\newpage
+
+% background graphic
+\setBackgroundPicture[x, y=-2cm, width=\paperwidth-4cm, height, orientation = pagecenter]
+{pic/background}
+
+\begin{recipe}
+[ %
+ preparationtime = {\unit[1]{h}},
+ bakingtime,
+ bakingtemperature,
+ portion = {\portion{5}},
+ calory,
+ source = R. Gaus
+]
+{Mousse au Chocolat}
+
+ \graph
+ {% pictures
+ small=pic/glass, % small picture
+ big=pic/ingredients % big picture
+ }
+
+ \ingredients
+ {%
+ 2 Tafeln & dunkle Schokolade (über \unit[70]{\%})\\
+ 3 & Eier\\
+ \unit[200]{ml} & Sahne\\
+ \unit[40]{g} & Zucker\\
+ \unit[50]{g} & Butter
+ }
+
+ \preparation
+ {%
+ \step Eier trennen, Eiweiß und Sahne separat steif schlagen. Butter und Schokolade vorsichtig im Wasserbad schmelzen.
+ \step Eigelb in einer großen Schüssel mit \unit[2]{EL} heißem Wasser cremig schlagen, den Zucker einrühren bis die Masse hell und cremig ist.
+ \step Die geschmolzene Schokolade unterheben, anschließend sofort Eischnee und Sahne unterheben (nicht mit dem Elektro-Mixer!)
+ \step Mindestens 2 Stunden im Kühlschrank kalt stellen. Aber nicht zu kalt servieren.
+ }
+
+ \hint
+ {%
+ Der Schokoladenanteil kann auch gesenkt werden.
+ }
+
+\end{recipe}
+
+\newpage % if you separate your recipes into single files this command is not necessary
+
+
+\begin{recipe}
+[ %
+ preparationtime = {\unit[1]{h}},
+ bakingtime={\unit[1]{h}},
+ bakingtemperature={\protect\bakingtemperature{fanoven=\unit[230]{\textcelcius}, topbottomheat=\unit[195]{°C}, topheat=\unit[195]{°C}, gasstove=Stufe 2}},
+ portion = {\portion{5-6}},
+ calory={\unit[3]{kJ}},
+ source = somebody
+]
+{Test Recipe}
+
+ \graph
+ {% pictures
+ small=pic/glass, % small picture
+ big=pic/ingredients % big picture
+ }
+
+ \ingredients
+ {%
+ 2 Tafeln & dunkle Schokolade (über \unit[70]{\%})\\
+ 3 & Eier\\
+ 200 ml & Sahne\\
+ 40 g & Zucker\\
+ 50 g & Butter
+ }
+
+ \preparation
+ {%
+ \step This recipe is intended to show you more display options.
+ \step Test, Test, Test, Test, Test, Test, Test, Test, Test, Test, Test, Test
+ \step Another Test, Test, Test, Test. And once again Test, Test, Test, Test
+ \step \blindtext
+ \step You maybe don't need a hint
+ }
+
+\end{recipe}
+
+
+
+\newpage
+
+
+\begin{recipe}
+[ %
+ preparationtime = {\unit[1]{h}},
+ bakingtime={\unit[1]{h}},
+ bakingtemperature={\protect\bakingtemperature{fanoven=\unit[230]{\textcelcius}, topbottomheat=\unit[195]{°C}, topheat=\unit[195]{°C}, gasstove=Stufe 2}},
+ portion = {\portion{5-6}},
+ calory={\unit[3]{kJ}},
+ source = someone else
+]
+{Test Recipe Number 2}
+
+ \graph
+ {% pictures
+ small,
+ big
+ }
+
+ \ingredients
+ {%
+ 2 Tafeln & dunkle Schokolade (über \unit[70]{\%})\\
+ 3 & Eier\\
+ 200 ml & Sahne\\
+ 40 g & Zucker\\
+ 50 g & Butter
+ }
+
+ \preparation
+ {%
+ \step The same recipe as before, but showing the result if you do not insert pictures.
+ \step Please note also that the overlong ingredient creates a line break.
+ \step Test, Test, Test, Test, Test, Test, Test, Test, Test, Test, Test, Test
+ \step Another Test, Test, Test, Test. And once again Test, Test, Test, Test
+ \step \blindtext
+ \step You maybe want this time an \textbf{empty hint}.
+ }
+
+ \hint{}
+
+\end{recipe}
+
+
+\newpage
+
+
+\begin{recipe}
+[ %
+ preparationtime = {\unit[1]{h}},
+ bakingtime,
+ bakingtemperature,
+ portion = {\portion{5}},
+ calory,
+ source = R. Gaus
+]
+{Test Recipe Number 3}
+
+ \graph
+ {% pictures
+ small=pic/glass, % small picture
+ big=pic/ingredients % big picture
+ }
+
+ \ingredients
+ {%
+ 2 Tafeln & dunkle Schokolade\\
+ & (über \unit[70]{\%})\\
+ 3 & Eier\\
+ \unit[200]{ml} & Sahne\\
+ \unit[40]{g} & Zucker\\
+ \unit[50]{g} & Butter
+ }
+
+ \preparation
+ {%
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ }
+
+ \hint
+ {%
+ Note that this hint is shown at the top of this (second) page. This allows you a clear view at the beautiful background image.
+ }
+
+\end{recipe}
+
+
+\newpage
+
+
+\begin{recipe}
+[ %
+ preparationtime = {\unit[1]{h}},
+ bakingtime,
+ bakingtemperature,
+ portion = {\portion{5}},
+ calory,
+ source = R. Gaus
+]
+{A longer recipe to show you how it will be displayed}
+
+ \graph
+ {% pictures
+ small=pic/glass, % small picture
+ big=pic/ingredients % big picture
+ }
+
+ \ingredients
+ {%
+ \unit[500]{ml} & milk\\
+ \unit[40]{g} & butter\\
+ \unit[50]{g} & sugar\\
+ \unit[50]{g} & something else\\
+ \unit[70]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \multicolumn{2}{c}{\textbf{Heading}}\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[5000]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \\
+ \multicolumn{2}{c}{\textbf{Soße}} \\
+ \unit[100]{ml} & Sahne\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ }
+
+ \preparation
+ {%
+ \step You can also use headings to structure your ingredients! And unfortunately you can see on second page of this recipe that not all packages are working with each other (see the white space that is left free).
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ }
+
+ \hint
+ {%
+ Enjoy typesetting recipes with {\textbf{\Large\LaTeX}} and {\textbf{\Large xcookybooky!}}
+ }
+
+\end{recipe}
+
+\newpage
+
+
+\begin{recipe}
+[ %
+ preparationtime = {\unit[1]{h}},
+ bakingtime,
+ bakingtemperature,
+ portion = {\portion{5}},
+ calory,
+ source = R. Gaus
+]
+{A really long recipe!}
+
+ \graph
+ {% pictures
+ small=pic/glass, % small picture
+ big=pic/ingredients % big picture
+ }
+
+ \ingredients
+ {%
+ \unit[500]{ml} & milk\\
+ \unit[40]{g} & butter\\
+ \unit[50]{g} & sugar\\
+ \unit[50]{g} & something else\\
+ \unit[70]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[250]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \multicolumn{2}{c}{\textbf{Heading}}\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[5000]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ \\
+ \multicolumn{2}{c}{\textbf{Soße}} \\
+ \unit[100]{ml} & Sahne\\
+ \unit[50]{g} & something else\\
+ \unit[50]{g} & something else\\
+ }
+
+ \preparation
+ {%
+ \step You can also use headings to structure your ingredients!
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ \step \blindtext
+ \step And your recipe can of course even be longer (if your really need it). But it shows at least the principle.
+ }
+
+ \hint
+ {%
+ Enjoy typesetting recipes with {\textbf{\Large\LaTeX}} and {\textbf{\Large xcookybooky!}}
+ }
+
+\end{recipe}
+
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/xcookybooky/example/pic/background.pdf b/Master/texmf-dist/doc/latex/xcookybooky/example/pic/background.pdf
new file mode 100644
index 00000000000..635996f2595
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xcookybooky/example/pic/background.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xcookybooky/example/pic/glass.jpg b/Master/texmf-dist/doc/latex/xcookybooky/example/pic/glass.jpg
new file mode 100644
index 00000000000..427884c4a3c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xcookybooky/example/pic/glass.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xcookybooky/example/pic/ingredients.jpg b/Master/texmf-dist/doc/latex/xcookybooky/example/pic/ingredients.jpg
new file mode 100644
index 00000000000..c54b0b0873a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xcookybooky/example/pic/ingredients.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xcookybooky/xcookybooky.pdf b/Master/texmf-dist/doc/latex/xcookybooky/xcookybooky.pdf
new file mode 100644
index 00000000000..23e1eac4d8f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xcookybooky/xcookybooky.pdf
Binary files differ