[XeTeX] fontspec error (maybe?), but only in class file
patcarr at gmail.com
Mon May 23 04:11:45 CEST 2016
Pertaining to these two minimal files:
Minimal testing.cls file:
Minimal tex file:
This is a test.\\
When run as above, I get this error:
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015)
restricted \write18 enabled.
entering extended mode
Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
Document Class: testing
! LaTeX Error: The font size command \normalsize is not defined:
there is probably something wrong with the class file.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
% to overcome the encoding changing the current font size
When run with the call to fontspec in the class file commented out and
uncommented in the tex file, it runs fine. That's line 293 from
fontspec-xetex.sty; in the method that runs correctly it loads
xunicode and moves on.
The fontspec files are dated 1 february 2016, which I think is
current. I'm editing the tex files in TeXShop and the class files in
emacs, if it's some source file encoding issue, but I'm doing it the
same for both. Xunicode is of course from 2011.
Did I just miss or screw up an update or something? I tried searching
on the errors and the best I could describe it here, on stack
exchange, and the googles, but maybe I was searching for the wrong
More information about the XeTeX