##// END OF EJS Templates
Backport PR #8098: Remove image resizer...
Backport PR #8098: Remove image resizer This PR removes the image resizer for images. Removing the resizer helps a lot to solve the image overflow issue in #7701. Related PR: #8062. Before: ![screenshot from 2015-03-20 10 48 02](https://cloud.githubusercontent.com/assets/599274/6756414/624077fa-ceef-11e4-8df2-53d0bdf7338e.png) ...

File last commit:

r12661:a408ca51
r21016:80ed08e4
Show More
Makefile
24 lines | 680 B | text/x-makefile | MakefileLexer
TPLS := $(patsubst %.tpl,../latex/skeleton/%.tplx,$(wildcard *.tpl))
all: clean $(TPLS)
# Convert standard Jinja2 syntax to LaTeX safe Jinja2
# see http://flask.pocoo.org/snippets/55/ for more info
../latex/skeleton/%.tplx: %.tpl
@echo 'generating tex equivalent of $^: $@'
@echo '((= Auto-generated template file, DO NOT edit directly!\n' \
' To edit this file, please refer to ../../skeleton/README.md' \
'=))\n\n' > $@
@sed \
-e 's/{%/((*/g' \
-e 's/%}/*))/g' \
-e 's/{{/(((/g' \
-e 's/}}/)))/g' \
-e 's/{#/((=/g' \
-e 's/#}/=))/g' \
-e "s/tpl'/tplx'/g" \
$^ >> $@
clean:
@echo "cleaning generated tplx files..."
@-rm ../latex/skeleton/*.tplx