Commit 63b33b9e authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Target for i4bbb since it can't handle embedded fonts.

The special target %_bbb.pdf will address this issue by converting them into paths - which will increase the file size and disable copy & paste of text, however this shouldn't be an issue for presentations and the document is displayed correctly in BigBlueButton.
parent d0ff7576
Pipeline #50677 passed with stage
in 37 seconds
......@@ -55,6 +55,8 @@ $(CACHE_DIR):; @mkdir -p $(CACHE_DIR)
%_web.pdf: %.pdf
@ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(GS_QUALITY) -dDetectDuplicateImages=true -dFastWebView -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$@ $<
%_bbb.pdf: %.pdf
@ghostscript -dNoOutputFonts -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(GS_QUALITY) -dFastWebView -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$@ $<
preview-%: %.tex $(wildcard *.bib) $(PACKAGE_TGT) | $(CACHE_DIR)
@cd $(dir $< ) && $(COMPILE_TEX) $(notdir $<) -pvc -interaction=nonstopmode -view=pdf
......@@ -78,6 +80,7 @@ help::
@echo " [FILE]_1x2.pdf Generate printable version with two slides per page"
@echo " [FILE]_2x2.pdf Generate printable version with four slides per page"
@echo " [FILE]_web.pdf Generate a compressed version for web"
@echo " [FILE]_bbb.pdf Generate a version to be uploaded in BigBlueButton"
@echo
@echo "Concatenation is supported: [FILE]_handout_2x2_web.pdf"
@echo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment