LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show HTML 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:
Ulrike Fischer <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Wed, 30 Apr 2014 14:59:04 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Am Wed, 30 Apr 2014 13:38:54 +0100 schrieb David Carlisle:

> yes agreed although rather than inputenc try to guess that the font 
> encoding isn't going to work it would probably be better if fontenc
> warned if it was on xe/latex with utf8 input encoding that it can't load 
> unicode fonts.

That's not a good idea. At first fontspec loads fontenc too, and so
you would get warnings even if the document (correctly) uses
fontspec. 

At second there are cases (e.g. chessfonts) where fontenc is needed
and useful even with xelatex or lualatex. 

fontenc could check 
- if it has been loaded after fontspec (that means \f@encoding is
EU1 or EU2). Normally this is not intended. 
- if at begin document \f@encoding is EU1 or EU2 and issue a warning
if not.
 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

ATOM RSS1 RSS2