mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
* lyxpreview2bitmap.py: color pdf also with XeTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38119 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
717c4176f5
commit
fe76628b9e
@ -113,7 +113,7 @@ def extract_metrics_info(dvipng_stdout):
|
||||
|
||||
|
||||
def color_pdf(latex_file, bg_color, fg_color):
|
||||
use_preview_pdf_re = re.compile("(\s*\\\\usepackage\[[^]]+)(pdftex\]{preview})")
|
||||
use_preview_pdf_re = re.compile("(\s*\\\\usepackage\[[^]]+)(pdftex|xetex\]{preview})")
|
||||
|
||||
tmp = mkstemp()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user