Mailinglist Archive: opensuse-bugs (4284 mails)

< Previous Next >
[Bug 1039951] Please upgrade fontspec to 2.6 or later
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 23 May 2017 16:02:29 +0000
  • Message-id: <bug-1039951-21960-eLdVi65vJk@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1039951
http://bugzilla.suse.com/show_bug.cgi?id=1039951#c6

Leon Meier <Leon.Meier@xxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
Assignee|werner@xxxxxxxx |Leon.Meier@xxxxxxxxx

--- Comment #6 from Leon Meier <Leon.Meier@xxxxxxxxx> ---
Created attachment 726074
--> http://bugzilla.suse.com/attachment.cgi?id=726074&action=edit
The output of xelatex on file without \texttt{:}

Thank you for the information.

I see I have to be more precise on _what_ is going wrong in Leap 42.2. There
are two bugs here. One is concerning the colon ":" in the font "CMU Typewriter
Text": the command "xelatex input_file_name" won't compile. This bug, however,
is (probably) only weakly related to fontspec. To trigger another bug, which
_is_ very related to fontspec, comment out \texttt{:} and run "xelatex
input_file_name". If you run pdflatex or lualatex instead of xelatex,
everything goes well.

The input file is as follows:

\documentclass{article}
\usepackage{ifxetex,ifluatex}
\newif\ifxetexorluatex
\ifxetex
\xetexorluatextrue
\else
\ifluatex
\xetexorluatextrue
\else
\xetexorluatexfalse
\fi
\fi
\ifxetexorluatex
\usepackage{unicode-math}
\setmainfont{CMU Serif}
\setmonofont{CMU Typewriter Text}
\fi

\usepackage{amsthm}
\newtheorem{thm}{Theorem}
\begin{document}
\texttt{:}%%% Doesn't work with fontspec 2.4d and 2.5a. May work with versions
2.6 and 2.6a.
\begin{thm}
This text should be in italics. \emph{This text should be upright.}
\end{thm}
\end{document}

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >