Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
talks
Commits
6e5940f9
Commit
6e5940f9
authored
Jun 05, 2019
by
Julian Rother
Browse files
latex: Added latex-workshop.zip to makefile
parent
c2ddee68
Changes
1
Show whitespace changes
Inline
Side-by-side
workshops/latex/makefile
View file @
6e5940f9
...
...
@@ -4,6 +4,9 @@ EXAMPLES = examples/2h_fake.pdf examples/tabular.pdf examples/figure.pdf example
EXAMPLE_INPUTS
=
$(
wildcard
examples/
*
.tex
)
ZETAS_TEX
=
$(
shell
for
i
in
$$
(
seq
0 8
)
;
do
echo
beispieldokument/zeta_
$$
i.tex
;
done
)
ZETAS_PDF
=
$(
shell
for
i
in
$$
(
seq
0 8
)
;
do
echo
beispieldokument/zeta_
$$
i.pdf
;
done
)
ZETAS_IMAGES
=
$(
wildcard
beispieldokument/
*
.
{
eps,jpg
}
)
all
:
latex.pdf $(ZETAS_PDF) notes.pdf handout.pdf
latex.pdf
:
latex.tex $(EXAMPLES) $(EXAMPLE_INPUTS) $(ZETAS_PDF)
latexmk
-lualatex
latex.tex
...
...
@@ -22,3 +25,19 @@ examples/2h_fake.pdf: examples/2h_fake.tex
examples/preamble.pdf
:
examples/preamble.tex
cd
examples
;
latexmk
--lualatex
preamble.tex
handout.pdf
:
handout.tex
latexmk
-lualatex
handout.tex
latex-workshop.zip
:
handout.tex handout.pdf vorlage.tex $(ZETAS_TEX) $(ZETAS_PDF) $(ZETAS_IMAGES)
dir
=
$$
(
mktemp
-d
)
;
\
mkdir
"
$$
dir/latex-workshop"
;
\
cp
handout.tex handout.pdf vorlage.tex
"
$$
dir/latex-workshop"
;
\
mkdir
"
$$
dir/latex-workshop/latex-workshop"
;
\
cp
$(ZETAS_TEX)
$(ZETAS_PDF)
$(ZETAS_IMAGES)
"
$$
dir/latex-workshop/latex-workshop"
;
\
(
cd
"
$$
dir"
;
zip
-r
latex-workshop.zip latex-workshop
;
)
;
\
cp
"
$$
dir/latex-workshop.zip"
./
;
\
rm
-r
"
$$
dir"
clean
:
rm
-f
latex.pdf
$(ZETAS_PDF)
notes.pdf examples/2h_fake.pdf examples/preamble.pdf handout.pdf latex-workshop.zip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment