Skip to content

Commit

Permalink
slides: updating inkscape parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegHahm committed Dec 2, 2023
1 parent 663cdf7 commit defff21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion slides/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $(FILENAME).pdf: $(SRC) $(DEPS)
$(foreach B,$(filter before-%.tex,$^),-B $(B)) -o $@ $(PDFLAGS) $<

pictures/%.pdf: pictures/%.svg
inkscape --export-pdf=$@ $<
inkscape --export-latex=$@ $<

clean:
rm -f $(FILENAME)* $(filter pictures/%.pdf,$(DEPS)) \
Expand Down
4 changes: 2 additions & 2 deletions slides/scripts/pandoc-svg
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ from pandocfilters import toJSONFilter, Image

# TODO add emf export if fmt=="docx" ?
fmt_to_option = {
"latex": ("--export-pdf", "pdf"),
"beamer": ("--export-pdf", "pdf"),
"latex": ("--export-latex", "pdf"),
"beamer": ("--export-latex", "pdf"),
# because of IE
"html": ("--export-png", "png")
}
Expand Down

0 comments on commit defff21

Please sign in to comment.