Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
talks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
talks
Commits
6e5940f9
Commit
6e5940f9
authored
6 years ago
by
Julian Rother
Browse files
Options
Downloads
Patches
Plain Diff
latex: Added latex-workshop.zip to makefile
parent
c2ddee68
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
workshops/latex/makefile
+19
-0
19 additions, 0 deletions
workshops/latex/makefile
with
19 additions
and
0 deletions
workshops/latex/makefile
+
19
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment