Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Using the very simple LaTeX document below, named test.tex:

\documentclass{scrartcl}

\begin{document}

\title{(Title)}
\subtitle{(Subtitle)}
\author{(Author)}

\maketitle

\end{document}

When running latex test.tex, I am getting the error reported as follows in the log file:

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, 
turkish, ukenglish, ukrainian, loaded.
(/usr/share/texmf/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2006/07/30 v2.95b KOMA-Script document class (article)

(/usr/share/texmf/tex/latex/koma-script/scrkbase.sty
(/usr/share/texmf/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

) (/usr/share/texmf/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/koma-script/typearea.sty
Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-2002

)) (./test.aux)
! Undefined control sequence.
l.6 \subtitle
             {(Subtitle)}
? 
[1] [2] (./test.aux) )
Output written on test.dvi (2 pages, 484 bytes).
Transcript written on test.log.

Is there something else I need to define or include to make this work?

share|improve this question
    
Welcome to TeX.sx! What should $ cat test.tex be? Commenting that line out, it works. But it seems your distribution hasn't been updated in a long time. –  Qrrbrbirlbel Oct 21 '12 at 19:33
2  
Seems like you are using an outdated LaTeX system, Update your system and your code will work (commenting out the $ cat test.tex line) –  Gonzalo Medina Oct 21 '12 at 19:35
    
The $ cat test.tex is just the UNIX command line for printing the file to the screen. My system is running Fedora 16 and is completely up-to-date. I'll look into finding more up-to-date LaTeX packages. –  Quincy Bowers Oct 21 '12 at 19:48
1  
@QuincyBowers I've removed the shell commands that, as you see, can be confusing for people not acquainted with the shell; who knows about the shell is sometimes surprised that other people have never heard about it. By the way, Qrrbrbirlbel was surely referring to the TeX distribution rather than the operating system. From the log file it can be seen that scrartcl is from 2006, while in the most recent TeX distributions it is dated 29 July 2012. –  egreg Oct 21 '12 at 19:56
    
I just assumed that if Fedora said I was up to date than I should be reasonably up-to-date. Apparently Fedora has an embarrassingly old version of LaTeX though. I am updating it now. –  Quincy Bowers Oct 21 '12 at 20:03
show 5 more comments

closed as too localized by cmhughes, Kurt, Werner, Qrrbrbirlbel, Heiko Oberdiek Oct 22 '12 at 3:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.