frampton / ExPex

6 stars 5 forks source link

KOMA-Script throws warnings about \rm #4

Open carbeck opened 7 years ago

carbeck commented 7 years ago

The KOMA-Script document classes don't particularly like ExPex's use of \rm:

Class scrartcl Warning: Usage of deprecated font command \rm! (scrartcl) You should note, that in 1994 font command \rm has (scrartcl) been defined for compatiblitiy to Script 2.0 only. (scrartcl) Now, after two decades of LaTeX2e and NFSS2, you (scrartcl) shouldn't use such commands any longer and within (scrartcl) KOMA-Script usage of \rm is definitely deprecated. (scrartcl) See fntguide.pdf for more information about (scrartcl) recommended font commands. (scrartcl) Note also, that KOMA-Script will remove the definition (scrartcl) of \rm anytime until release of about version 3.20. (scrartcl) But for now, KOMA-Script will replace deprecated \rm (scrartcl) by \normalfont \rmfamily on input line 2753.

When compiling, this warning is issued for every example, AFAICT.

EDIT: All it would need is a line \let\rm=\rmfamily after \let\it=\itshape close to the beginning of expex.tex.

vkusvody commented 7 years ago

Added the \let fix (as suggested by @carbeck, but with \normalfont as well) for \rm, \sc and \tt --- all deprecated font commands found in expex.tex. Adding pull request.