-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem building PDF (continuous) with debian #45
Labels
bug
Something isn't working
Comments
(har btw ikke set om det er fuldstændig optimal, eller om der er nogle fejl)
makefile: FILE=main.tex
OUTPUT_DIR=output
all: pdf
dvi:
@echo "Compiling .tex to .dvi"
mkdir -p $(OUTPUT_DIR)
latex -output-directory=$(OUTPUT_DIR) $(FILE)
makeindex $(OUTPUT_DIR)/main
latex -output-directory=$(OUTPUT_DIR) $(FILE)
ps: dvi
@echo "Converting .dvi to .ps"
dvips $(OUTPUT_DIR)/main.dvi -o $(OUTPUT_DIR)/main.ps
#pdf:
# @echo "Compiling .tex to .pdf with A5 paper size"
# mkdir -p $(OUTPUT_DIR)
# pdflatex -output-directory=$(OUTPUT_DIR) -interaction=nonstopmode "\def\papersize{a5paper} \input{$(FILE)}"
# makeindex $(OUTPUT_DIR)/main
# pdflatex -output-directory=$(OUTPUT_DIR) -interaction=nonstopmode "\def\papersize{a5paper} \input{$(FILE)}"
# @echo "PDF should be generated in the $(OUTPUT_DIR) directory: $(OUTPUT_DIR)/main.pdf"
pdf: dvi
@echo "Compiling .dvi to .pdf with A4 paper size"
mkdir -p $(OUTPUT_DIR)
dvipdfmx -p a4 -o $(OUTPUT_DIR)/main.pdf $(OUTPUT_DIR)/main.dvi
@echo "PDF should be generated in the $(OUTPUT_DIR) directory: $(OUTPUT_DIR)/main.pdf"
booklet: ps
@echo "Creating booklet"
./ps2book.sh $(OUTPUT_DIR)/main.ps
ps2pdf $(OUTPUT_DIR)/main_book.ps $(OUTPUT_DIR)/main_book.pdf
rm $(OUTPUT_DIR)/main.ps $(OUTPUT_DIR)/main_book.ps $(OUTPUT_DIR)/main.dvi
clean:
rm -rf $(OUTPUT_DIR) *.aux *.log *.idx *.ilg *.ind *.toc *.out *.dvi *.ps *.pdf
|
Den tester jeg nok lige lidt senere, nice med |
Open
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently I (On a completely "clean" Debian Virtual Machine) cannot
build pdf
.It seems that the process gets stuck on line 17 of Makefile given the message after cancelling the build (giving it plenty of time to complete) "^Cmake: *** [Makefile:17: pdf] Interrupt"
It reaches all the way to the last song "lilleprinsesse" but not outputting the PDF.
Booklet builds without issues.
The text was updated successfully, but these errors were encountered: