Skip to content

Commit

Permalink
xelatex can handle unicode, fixes #1166
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed Jan 13, 2020
1 parent bbd64b8 commit 0c2bbfb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class LatexUnicodeInspection : TexifyInspectionBase() {
*/
internal fun unicodeEnabled(file: PsiFile): Boolean {
// TeX Live 2018 is UTF-8 by default and loads inputenc automatically
if (TexifyProjectSettings.getInstance(file.project).compilerCompatibility == LatexCompiler.LUALATEX || LatexDistribution.texliveVersion >= 2018) {
val compilerCompat = TexifyProjectSettings.getInstance(file.project).compilerCompatibility
if (compilerCompat == LatexCompiler.LUALATEX || compilerCompat == LatexCompiler.XELATEX || LatexDistribution.texliveVersion >= 2018) {
return true
}

Expand Down

0 comments on commit 0c2bbfb

Please sign in to comment.