##// END OF EJS Templates
Backport PR #4043: don't 'restore_bytes' in from_JSON...
Backport PR #4043: don't 'restore_bytes' in from_JSON It makes no sense to turn base64-encoded unicode strings into base64-encoded byte strings. I can't think why we do this, but we should be very careful about testing before merging this fix. fixes the issue tested in #4036.

File last commit:

r12465:b2940d33
r12466:3ff9c5cf
Show More
Makefile
23 lines | 516 B | text/x-makefile | MakefileLexer
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608
MinRK
Backport PR #4178: add missing data_javascript...
r12465 all: ../latex/skeleton/null.tplx ../latex/skeleton/display_priority.tplx
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608
# convert jinja syntax to tex
# cf http://flask.pocoo.org/snippets/55/
MinRK
Backport PR #4178: add missing data_javascript...
r12465 ../latex/skeleton/%.tplx: %.tpl
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 @echo 'generating tex equivalent of $^: $@'
@echo '((= autogenerated file do not edit =))' > $@
@sed \
-e 's/{%/((*/g' \
-e 's/%}/*))/g' \
-e 's/{{/(((/g' \
-e 's/}}/)))/g' \
-e 's/{#/((=/g' \
-e 's/#}/=))/g' \
Matthias BUSSONNIER
lots of modification for latex
r9611 -e "s/tpl'/tplx'/g" \
Matthias BUSSONNIER
prepare ability to convert template for Tex
r9608 $^ >> $@
clean:
@echo "cleaning generated tplx files..."
MinRK
Backport PR #4178: add missing data_javascript...
r12465 @rm ../latex/skeleton/*