Skip to content

Commit

Permalink
add docker image to run presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainmetayer committed Aug 20, 2019
1 parent e8c38f7 commit dd0def2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion soutenance/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ pympress-deps-debian: ## Debian install of pympress

presentation: build ## Run présentation mode
pympress main.pdf -t 20


docker-presentation-x11: ## Run presentation with docker image, for X11 graphics environments.
xhost +
docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $$(pwd)/main.pdf:/data/main.pdf sylvainmetayer/pympress
xhost -

build: clean ## Build the presentation without docker
@lualatex --shell-escape -synctex=1 -interaction=nonstopmode -halt-on-error ${filename}.tex
@lualatex --shell-escape -synctex=1 -interaction=nonstopmode -halt-on-error ${filename}.tex > /dev/null
Expand Down

0 comments on commit dd0def2

Please sign in to comment.