[tex-live] Class scrartcl Error: undefined old font command '\it' and '\rm'

Reinhard Kotucha reinhard.kotucha at web.de
Sat Jul 2 00:19:24 CEST 2016


On 2016-07-01 at 17:41:33 +0200, Uwe Siart wrote:

 > Michael Berger <idest at online.de> writes:
 > 
 > > This error turned up AFTER I started using the laTest availabe
 > > TL2016, I never ever typed \is and/or \rm.  And I never saw this
 > > error when using TL2013 with LyX 2.1.
 > 
 > I'm not a LyX user/expert at all, but my rough guess is that LyX
 > creates/uses those commands and scrartcl.cls stomached them in
 > earlier versions but issues an error now.

This is exactly what I assume too.  However, at a first glance it
seems that LyX is the culprit because it creates the LaTeX code.  But
it's also possible and certainly more likely that these deprecated
commands are inherited from another macro package.

The LaTeX team declared the old commands as being deprecated.  But in
order to support old (LaTeX 2.09) documents too, they were kept.  If
they aren't disabled (\let\rm\undefined), they are definitely allowed,
though deprecated.

What, on earth, is the variable

  enabledeprecatedfontcommands
  
good for?  Is it a LyX variable?  Does it control whether LyX itself
inserts \bfseries instead of \bf?  I doubt.  I suppose that the sole
purpose of this variable is to deliberately break everything by
default in order to educate package authors.

Since all the old font commands are still valid in LaTeX2e, though
deprecated, no program should reject them deliberately.

Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------


More information about the tex-live mailing list