Commit 9ae770b0 authored by Georges Khaznadar's avatar Georges Khaznadar

fixed two issues: the title page, and low-res images

parent 750f40f0
......@@ -143,14 +143,14 @@ latexpdf:
cd $(BUILDDIR)/latex; \
sed -i '/\\usepackage{sphinx}/a\
\\usepackage{pdfpages}' eyes17.tex; \
sed -i 's/\\maketitle/\\includepdf{coverpage.pdf}\n\\includepdf{preface.pdf}/' eyes17.tex;
sed -i 's/\\sphinxmaketitle/\\includepdf{coverpage.pdf}\n\\includepdf{preface.pdf}/' eyes17.tex;
@echo launching prettyLaTeX.py
python3 prettyLaTeX.py $(BUILDDIR)/latex eyes17.tex
@echo generating PDF images in the LaTeX directory
cd $(BUILDDIR)/latex; \
for f in *.png; do g=$$(echo $$f| sed 's/png$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 240x180 $$g; done;\
for f in *.jpg; do g=$$(echo $$f| sed 's/jpg$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 240x180 $$g; done;\
for f in *.svg; do g=$$(echo $$f| sed 's/svg$$/pdf/'); echo "$$f ==> $$g"; rsvg-convert -f pdf $$f --width 240 -o $$g; done;
for f in *.png; do g=$$(echo $$f| sed 's/png$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 960x720 $$g; done;\
for f in *.jpg; do g=$$(echo $$f| sed 's/jpg$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 960x720 $$g; done;\
for f in *.svg; do g=$$(echo $$f| sed 's/svg$$/pdf/'); echo "$$f ==> $$g"; rsvg-convert -f pdf $$f --width 960 -o $$g; done;
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
......
......@@ -143,14 +143,14 @@ latexpdf:
cd $(BUILDDIR)/latex; \
sed -i '/\\usepackage{sphinx}/a\
\\usepackage{pdfpages}' eyes17.tex; \
sed -i 's/\\maketitle/\\includepdf{coverpage.pdf}\n\\includepdf{preface.pdf}/' eyes17.tex;
sed -i 's/\\sphinxmaketitle/\\includepdf{coverpage.pdf}\n\\includepdf{preface.pdf}/' eyes17.tex;
@echo launching prettyLaTeX.py
python3 prettyLaTeX.py $(BUILDDIR)/latex eyes17.tex
@echo generating PDF images in the LaTeX directory
cd $(BUILDDIR)/latex; \
for f in *.png; do g=$$(echo $$f| sed 's/png$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 240x180 $$g; done;\
for f in *.jpg; do g=$$(echo $$f| sed 's/jpg$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 240x180 $$g; done;\
for f in *.svg; do g=$$(echo $$f| sed 's/svg$$/pdf/'); echo "$$f ==> $$g"; rsvg-convert -f pdf $$f --width 240 -o $$g; done;
for f in *.png; do g=$$(echo $$f| sed 's/png$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 960x720 $$g; done;\
for f in *.jpg; do g=$$(echo $$f| sed 's/jpg$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 960x720 $$g; done;\
for f in *.svg; do g=$$(echo $$f| sed 's/svg$$/pdf/'); echo "$$f ==> $$g"; rsvg-convert -f pdf $$f --width 960 -o $$g; done;
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
......
......@@ -143,14 +143,14 @@ latexpdf:
cd $(BUILDDIR)/latex; \
sed -i '/\\usepackage{sphinx}/a\
\\usepackage{pdfpages}' eyes17.tex; \
sed -i 's/\\maketitle/\\includepdf{coverpage.pdf}\n\\includepdf{preface.pdf}/' eyes17.tex;
sed -i 's/\\sphinxmaketitle/\\includepdf{coverpage.pdf}\n\\includepdf{preface.pdf}/' eyes17.tex;
@echo launching prettyLaTeX.py
python3 prettyLaTeX.py $(BUILDDIR)/latex eyes17.tex
@echo generating PDF images in the LaTeX directory
cd $(BUILDDIR)/latex; \
for f in *.png; do g=$$(echo $$f| sed 's/png$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 240x180 $$g; done;\
for f in *.jpg; do g=$$(echo $$f| sed 's/jpg$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 240x180 $$g; done;\
for f in *.svg; do g=$$(echo $$f| sed 's/svg$$/pdf/'); echo "$$f ==> $$g"; rsvg-convert -f pdf $$f --width 240 -o $$g; done;
for f in *.png; do g=$$(echo $$f| sed 's/png$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 960x720 $$g; done;\
for f in *.jpg; do g=$$(echo $$f| sed 's/jpg$$/pdf/'); echo "$$f ==> $$g"; convert $$f -resize 960x720 $$g; done;\
for f in *.svg; do g=$$(echo $$f| sed 's/svg$$/pdf/'); echo "$$f ==> $$g"; rsvg-convert -f pdf $$f --width 960 -o $$g; done;
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
......
Markdown is supported
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