cannot use \appendix

1,375 views
Skip to first unread message

mizi

unread,
Oct 22, 2012, 10:24:31 AM10/22/12
to utmthesi...@googlegroups.com
when i include the 

"\appendix" in my main thesis file 

mikTex cannot compile

and gives the following error 

! Undefined control sequence.
\appendix ->\@appendixtrue \settocdepth
                                        {chapter} \pagebreak \settocdepth {c...
l.1 \appendix


if i remove the "\appendix"  then everything is ok and mixTex can build by thesis successfully...

Muhammad Nadzir Marsono

unread,
Oct 22, 2012, 6:17:44 PM10/22/12
to utmthesi...@googlegroups.com

Please include minimum working file. Only then we can help to debug

--
To post to this group, email to utmthesi...@googlegroups.com
To unsubscribe, email to utmthesis-disc...@googlegroups.com
For more, visit http://groups.google.com/group/utmthesis-discuss?hl=en

mizi

unread,
Nov 3, 2012, 2:11:24 AM11/3/12
to utmthesi...@googlegroups.com
Here, i have uploaded my Thesis latex files as a '.zip' file.

The problem arises when i add the \appendix in the "MyThesis.tex" file.. mixTex cannot compile "MyThesis.tex" when i do so..
I may have overlooked something as i only started using LaTeX for about 3 months swithing from MS Word.

Any Help is appreciated
My Thesis.zip

YS Yap

unread,
Nov 13, 2012, 12:59:57 AM11/13/12
to utmthesi...@googlegroups.com
Hi Mizi,

Sorry for the late reply. 
Did you manage to overcome your problem with the appendices section?

mizi

unread,
Nov 14, 2012, 3:43:00 AM11/14/12
to utmthesi...@googlegroups.com

Unfortunately not... the same problem persists.

YS Yap

unread,
Nov 14, 2012, 3:50:09 AM11/14/12
to utmthesi...@googlegroups.com
Hi Mizi,

I've downloaded and tested your files.

It appears that you commented tocvsec2 package in utmthesis.cls.
The file requires that package to work properly.

Please uncomment it and you will find that it will work.

Regards.




mizi

unread,
Nov 14, 2012, 4:31:58 AM11/14/12
to utmthesi...@googlegroups.com
Thanks for the fast reply... i did uncomment the  "\RequirePackage{tocvsec2}" in "utmthesis.cls"


but when doing so, mikTex still could not compile...

it throws an error saying the following:

! Undefined control sequence.
<argument> \tableofcontents

and the following:

Package tocvsec2 Warning: I don't recognize any divisions but I'll do my best on input line 34.


Is there anything i missed ? because when i comment the  "\RequirePackage{tocvsec2}" in "utmthesis.cls" mikTex compiles without error. But the result being that i cannot use appendix as u suggested.

Kindda weird though.... 

Muhammad Nadzir Marsono

unread,
Nov 14, 2012, 5:30:24 AM11/14/12
to utmthesi...@googlegroups.com

You must have basic miktex installed.

mizi

unread,
Nov 14, 2012, 7:46:10 AM11/14/12
to utmthesi...@googlegroups.com
Hi,

i am already using mikTex. what do you mean by i have to have basic mikTex ? am i missing something here ?

YS Yap

unread,
Nov 14, 2012, 9:12:06 AM11/14/12
to utmthesi...@googlegroups.com
Hi Mizi,

I am also using MikTeX and it auto-installs the missing packages but I am also having the same problem.

When the "undefined" error occurs, please press "q" to tell the compiler to continue process it quietly..
If there are no other user errors, it will still successfully compile your .tex file.

Try this out. It worked for me when I used your main tex file (without other files).



mizi

unread,
Nov 14, 2012, 10:06:48 PM11/14/12
to utmthesi...@googlegroups.com

Hi, 

Thanks for the reply. i've tried your suggestion and everything works fine ! Thank you so much :)
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages