LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stephan Hennig <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Thu, 16 Jul 2015 18:54:46 +0200
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (1458 bytes) , bug-array-fontspec.zip (21 kB)
Hi,

the following example, which uses a \fontspec statement in a tabular
column declaration as per >{}

\listfiles
\documentclass{article}
\usepackage{fontspec}
\usepackage{array}
\begin{document}
% \begin{tabular}{>{\sffamily}l}% works
% \begin{tabular}{>{\fontfamily{lmss}\selectfont}l}% works
\begin{tabular}{>{\fontspec{Latin Modern Sans}}l}% fails
  text
\end{tabular}
\end{document}

breaks with the following message

> luaotfload | cache : Lookup cache loaded from C:/texlive/2015/texmf-var/luatex-c
> ache/generic/names/luaotfload-lookup-cache.luc.
> luaotfload | load : Lookup/name: "Latin Modern Sans" -> "lmsans10-regular.otf"
> luaotfload | load : Lookup/name: "Latin Modern Sans" -> "lmsans10-regular.otf"
> Runaway argument?
> {\__keys_if_value_p:n {required}\unskip \relax \d@llarend \hfil \hskip \ETC.
> ! Forbidden control sequence found while scanning use of \bool_if:nTF.
> <inserted text> 
> \par 
> l.9   t
>      ext
> ? 
> ! Emergency stop.
> <inserted text> 
> \par 
> l.9   t
>      ext
> End of file on the terminal!

when compiling with

  * TL2015 (up-to-date)
  * TL2014 (indefinite update state)

The example compiles fine with

  * TL2013 (indefinite update state)

Traditional NFSS style font commands within >{}, such as \fontfamily,
work in all three TL versions.

Log files (of successful runs) containing file versions are attached.[1]
 System is Windows 7.

Best regards,
Stephan Hennig

[1] As archive since I exceeded mail server's 2000 lines limit when
sending uncompressed.



ATOM RSS1 RSS2