Use xelatex
Improve usage of local variable for xelatex
Some useful local variables
One python block, using options
R block
Index
Change the R code block to a named block

This makes it centered in LaTeX as well as in html