Document ClassesRe: Octavo package does not recognise \tableofcontents

Information and discussion about specific document classes and how to create your own document classes.
User avatar
skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Octavo package does not recognise \tableofcontents

Post by skanda »

Hello Stefan,
Update on the issue. I am sorry in advance about the long log files taking up space in post. I couldn't see a way of embedding it as attachment.
Stefan_K wrote:For the update of babel use your package manager. With MiKTeX click Start/ MiKTeX/ Browse Packages, with TeX Live use the tlmgr program.
I uninstalled babel and re-installed again using the package manager
Stefan_K wrote: Perhaps you will have to rebuild the format files afterwards, you can find information here: Updating babel.
Stefan
Did this step as well.

Now, I think MikTeX is well and truly broken. When I issue a simple call to build the "mwe.tex" (the one shared later on in this post), I get this log.

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
(Fatal format file error; I'm stymied)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
latex.log produces the following:

Code: Select all

This is TeX, Version 3.1415926 (MiKTeX 2.7) (INITEX) 17 MAY 2009 10:33
**latex.ini
("C:\Program Files\MiKTeX 2.7\tex\latex\config\latex.ini"
("C:\Program Files\MiKTeX 2.7\tex\latex\base\latex.ltx"
("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\texsys.cfg")
./texsys.aux found
\@currdir set to: ./.
Assuming \openin and \input
have the same search path.
Defining UNIX/DOS style filename parser.
catcodes, registers,
\maxdimen=\dimen10
\hideskip=\skip10
\p@=\dimen11
\z@=\dimen12
\z@skip=\skip11
\voidb@x=\box10
compatibility for TeX 2, parameters,
\normalbaselineskip=\skip12
\normallineskip=\skip13
\normallineskiplimit=\dimen13
\interfootnotelinepenalty=\count23
\strutbox=\box11
LaTeX2e <2005/12/01>
hacks,
\@tempcnta=\count24
\@tempcntb=\count25
\@tempdima=\dimen14
\@tempdimb=\dimen15
\@tempdimc=\dimen16
\@tempboxa=\box12
\@tempskipa=\skip14
\@tempskipb=\skip15
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Looks like it is well and truly broken (to me at least).

I am thinking of re-installing MikTex from scratch and take if forward again.

Any other suggestions?

Thanks,
Skanda.
Update!:
I managed to uninstall and re-install MikTeX
Update!:
Even after uninstalling-restarting-re-installing MikTeX, I am encountering the same problems. Could anyone be kind enough to give a set of instructions for resetting the cfg files and babel for MikTeX? There is no write-up on the net upto my own Google searching, and I am not expert enough to figure out what is going wrong...
Thanks in advance,
Skanda

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Octavo package does not recognise \tableofcontents

Post by Stefan Kottwitz »

Perhaps you could work just for the moment without babel because english is supported by default?

Stefan
LaTeX.org admin
User avatar
skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Octavo package does not recognise \tableofcontents

Post by skanda »

Hello Stefan_K,
Thanks for posting:
Stefan_K wrote:Perhaps you could work just for the moment without babel because english is supported by default?
Here's the real problem. I've re-installed MikTeX at least thrice today, and even after I completely omit the \usepackage{babel} command, I am getting the same old:

Code: Select all

(Fatal format file error; I'm stymied)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
message with plain old latex :( .

I am truly in a soup now! Any other suggestions from your end?

Regards,
Skanda.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Octavo package does not recognise \tableofcontents

Post by Stefan Kottwitz »

Hi Skanda,

strange... try to update MiKTeX in addition to the installation, have a look here.

Stefan
LaTeX.org admin
User avatar
skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Octavo package does not recognise \tableofcontents

Post by skanda »

Dear Stefan,
Stefan_K wrote:Hi Skanda,
strange... try to update MiKTeX in addition to the installation, have a look here.
Stefan
Just to be sure:
Start --> Programs --> MikTeX 2.7 --> "Settings" --> "General" tab Click on
Update Formats button.
Is this what I ought to do?

Thanks for the reply,
Skanda.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Octavo package does not recognise \tableofcontents

Post by Stefan Kottwitz »

Yes, this is what I've done earlier in such a situation. That error can occur if the format files do not fit to the tex version, rebuilding the format files could help and would be my first step.

Stefan
LaTeX.org admin
User avatar
skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Octavo package does not recognise \tableofcontents

Post by skanda »

OK, I tried doing just that, then I ran lates on the mwe. I got the same error that I posted earlier. "Fatal format file error; I'm stymied"

What can we do next, Stefan?

Best,
Skanda.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Octavo package does not recognise \tableofcontents

Post by Stefan Kottwitz »

In that case I guess that there could be old MiKTeX files left from a previous installation. Perhaps try a clean installation again. Before the installation remove all MiKTeX files, you will find them probably below C:\Program Files\MiKTeX... have a look also to the user directories, "Documents and Settings", "Application data" if there are MiKTeX files.
Perhaps do a complete hard drive search for *.fmt to locate any format file that could be obsolete to remove it.

Of course those are just suggestions, be careful and don't delete important files, just the MiKTeX files that you could install again.

Stefan
LaTeX.org admin
User avatar
skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Octavo package does not recognise \tableofcontents

Post by skanda »

Stefan_K wrote: C:\Program Files\MiKTeX... have a look also to the user directories, "Documents and Settings", "Application data" if there are MiKTeX files.
Perhaps do a complete hard drive search for *.fmt to locate any format file that could be obsolete to remove it.
Of course those are just suggestions, be careful and don't delete important files, just the MiKTeX files that you could install again.
Stefan
OK,
These steps will take some time. Perhaps by tomorrow I will be able to let you know of the outcome!

Dear God in heaven! What a nightmare this is turning out to be!

Thanks for your help.
Best,
Skanda.
User avatar
skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Octavo package does not recognise \tableofcontents

Post by skanda »

Hello there Stefan,
I am back and I have good news and bad news.
Good News:
MikTeX is back and working on my PC! :D
Bad News:
Commenting the babel package line in the mwe.tex file results in an error! :?
Sorry about the long post.

Code: Select all

D$ latex mwe.tex
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
entering extended mode
(mwe.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\octavo\octavo.cls"
Document Class: octavo 2007/03/07 v1.2 a LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\octavo\oct10.clo"))
("C:\Program Files\MiKTeX 2.7\tex\latex\lettrine\lettrine.sty"
("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\keyval.sty")
Loading lettrine.cfg
("C:\Program Files\MiKTeX 2.7\tex\latex\lettrine\lettrine.cfg"))
("C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\hyperref.sty"
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\ifpdf.sty")
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\ifvtex.sty")
("C:\Program Files\MiKTeX 2.7\tex\latex\ifxetex\ifxetex.sty")
("C:\Program Files\MiKTeX 2.7\tex\latex\oberdiek\hycolor.sty"
("C:\Program Files\MiKTeX 2.7\tex\latex\oberdiek\xcolor-patch.sty"))
("C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\pd1enc.def")
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\etexcmds.sty"
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\infwarerr.sty"))
("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\hyperref.cfg")
("C:\Program Files\MiKTeX 2.7\tex\latex\oberdiek\kvoptions.sty")
Implicit mode ON; LaTeX internals redefined
("C:\Program Files\MiKTeX 2.7\tex\latex\ltxmisc\url.sty")
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\bitset.sty"
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\intcalc.sty")
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\bigintcalc.sty"
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\pdftexcmds.sty")))
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\kvsetkeys.sty")
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\atbegshi.sty"))
*hyperref using default driver hdvips*
("C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\hdvips.def"
("C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\pdfmark.def"))
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\newcent.sty")
("C:\Program Files\MiKTeX 2.7\tex\latex\fncychap\fncychap.sty") (mwe.aux
! Package babel Error: You haven't loaded the option english yet.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I am travelling out of town for the next two days. If I am able to catch your reply in the next hour or so and I am able to implement it, well and good. Else you will hear from me in three days or so.

Thanks in advance,
Best,
Skanda.
Post Reply