Egil Andreas Vartdal wrote:
Is there any way to change the output of /tableofcontents, /listoffigures etc. so that the heading of the TOC would not be "Contents" but ie. "Innhaldsliste"? I tried editing the report.cls in miktex/tex/latex/base where I ie. changed \newcommand\contentsname{Contents} to \newcommand\contentsname{Innhaldsliste}. This does not seem to work. Any suggestions how to solve this problem?
This is usually done by setting the correct document language, unless your language isn't supported yet.
Anyway, I don't recommend changing the latex base. Put that newcommand in the document preamble instead. It will probably have to be a "renewcommand" instead.
If you want to translate lots of such strings, consider adding
the new language to the babel package.
Helge Hafting
