Add center image support
Add latex package options support
Add a gs_cmd option for xelatex, which has no dvi output