git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39006
a592a061-630c-0410-9148-
cb99ea01b6c8
conv = m.group(1)
fmat = m.group(2)
args = m.group(3)
- flavor = "pdflatex"
- if conv in ("platex", "xetex", "luatex"):
+ conv2fl = {
+ "luatex": "lualatex",
+ "pplatex": "latex",
+ "xetex": "xelatex",
+ }
+ if conv in conv2fl.keys():
+ flavor = conv2fl[conv]
+ else:
flavor = conv
- return (True,
+ if flavor == "latex":
+ return no_match
+ return (True,
"\\converter \"%s\" \"%s\" \"%s\" \"latex=%s\"" % (conv, fmat, args, flavor))
emre = re.compile(r'^\\[Ff]ormat\s+(.*)\s+"(document[^"]*?)"')
- On Windows, improve detection of the TeX engine when the file system does
not support short names and the temp directory contains spaces.
+- Fixed the latex flag set by the prefs2prefs script (bug 7610).
+
* USER INTERFACE