#20 \it deprecated in LaTeX2e, use \itshape

closed-fixed
Simon Wright
None
5
2011-11-03
2011-09-30
Anonymous
No

The command \it has been deprecated in LaTeX2e; the recommended usage is now \itshape. Some packages, like the memoir class, do not allow \it to be used at all (along with \bf, \rm, and others). nuweb 1.56 currently typesets fragment names with \it; replacing these with \itshape seems to produce the same typeset output, but also works with memoir and other persnickety packages.

The fragment name seems to be written in three places in the source code; I changed each of the \it commands to \itshape, and my nuweb .tex files now run in memoir. The three lines in question are 2242, 2763, and 2838.

Discussion

  • Simon Wright
    Simon Wright
    2011-10-03

    I was wrong about \textit{whatever}; 'make check' fails because
    \textit{text with \verb@something@} is illegal; we shouldn't stop that working.

     
  • Simon Wright
    Simon Wright
    2011-11-03

    • assigned_to: nobody --> simonjwright
     
  • Simon Wright
    Simon Wright
    2011-11-03

    • status: open --> closed-fixed
     
  • Simon Wright
    Simon Wright
    2011-11-03

    Fixed in Release 1.57.