Dear Developers,

it seems the recent test failures with LuaTeX, Russian/Ukrainean, and
Polyglossia are due to an upstream bug (either LuaLaTeX, polyglossia, or
fontspec).

The problem is present with the \url macro as well as with \verb, as seen by
compiling the following minimal example:

\documentclass[10pt,a4paper,russian]{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{FreeSerif}
\setsansfont[Scale=0.9,Mapping=tex-text]{FreeSans}
\setmonofont[Scale=0.95]{FreeMono}
\usepackage{url}

\usepackage[colorlinks,linkcolor=blue]{hyperref}
\usepackage{polyglossia}
\setdefaultlanguage{russian}

\begin{document}

Normally, monospaced font works without error:

\texttt{Машинописный шрифт} используется для названий программ и файлов, ...

However, when compiling with LuaTeX, the "verb" and "url" macros trigger an
error and spurious output:

главний сайт LyX \url{http://www.lyx.org/}.

\verb+href+

It works, if the URL is given as "href":
\texttt{\href{http://www.lyx.org/}{http://www.lyx.org/}}.

It alsow works with XeTeX.
\end{document}


Besides the spurious

  ! Package polyglossia Error: The current roman font does not contain the 
Cyrill
  ic script!
  (polyglossia)                Please define \cyrillicfont with \newfontfamily.


I get also spurious instances of

   \FontspecSetCheckBoolTrue \FontspecSetCheckBoolFalse
   
in the output.

Versions:

  LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) 

  fontspec {2016/02/01}{2.5a}

  polyglossia [2015/08/06 v1.42.0] 

Could someone reproduce and eventually report upstream?

Thanks,

Günter

Reply via email to