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
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,

if you comment in/out babel then compile twice afterwards, or remove the produced .aux file before compiling again. The first try could raise an error, the second compiler run may work. It happened often to me like this, for instance when I changed the babel language.

Stefan
LaTeX.org admin

Recommended reading 2024:

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

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

skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Octavo package does not recognise \tableofcontents

Post by skanda »

Stefan_K wrote:if you comment in/out babel then compile twice afterwards, or remove the produced .aux file before compiling again. The first try could raise an error, the second compiler run may work.
Tried all of that:
Got the same error, and I discovered also that commenting the \maketitle gives this additional error: !No pages!

Code: Select all

Package hyperref Warning: Rerun to get /PageLabels entry.
! TeX capacity exceeded, sorry [input stack size=5000].
\@currentlabelname ->\contentsname
\@mkboth {\MakeUppercase \contentsname } ...
l.22 \tableofcontents
No pages of output.
Transcript written on mwe.log.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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,
Considering the current deadlock I have reached regarding
MikTeX, I have two requests:

1. Could you please write a quick set of instructions for
me to try and re-build the format files once more
on windows (GUI or commandline)? Even URLs to these are
welcome to start with.
2. Would you be kind enough to share your working babel
files with me so I can try to use these working copies?

Either option is more than welcome by me. I greatly
appreciate your help in this matter.

Thanks,
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,

I'm travelling at the moment, just writing on a terminal in the airport between two flights, there's not real TeX work possible for me.
I could look earliest tomorrow night at the problem, perhaps someone else could provide help in the meantime.

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 »

Hallo my friend,
I appreciate your taking the time for writing here in the first place.
Stefan_K wrote:Hi Skanda,
I'm travelling at the moment, just writing on a terminal in the airport between two flights, there's not real TeX work possible for me. I could look earliest tomorrow night at the problem, perhaps someone else could provide help in the meantime.
Stefan
As I was mentioning in my last few posts, I was travelling for the last two days myself. So, I understand your problem. Get back to me in peace. If someone can help in the meanwhile, that is fine, else... It can wait.

Regards,
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 Stefan,
Just a gentle enquiry from my side. Have you had a chance to settle down from the travel? Did you have some spare time to look into my issue with babel? I know you you happen to do this from your personal free time; I appreciate your help. Please get back at your own convenience.

Many thanks,
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,

the destination of my travel was a job, currently I'm working as IT admin on a cruise ship. There wasn't much free time for me during the first days.

I don't think my format files would be useful for you or babel, because I'm having just a basic MiKTeX installation here because I've switched to TeX Live.

To solve your problem with MiKTeX finally you could consider installing TeX Live. I'm using the current version of 2008. Because the problem could be caused by corrupt or obsolete MiKTeX format files switching the distribution could fix it.
Another way, if you cannot get rid of the MiKTeX problem but want to use MiKTeX without installing Windows again would be installing MiKTeX 2.8 beta portable on another partition or drive.

I've got another idea: you could check if MiKTeX works if you use a different user profile on your computer, a different user account, to check if it's caused by user data.

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 »

Hallo Stefan,
Stefan_K wrote:the destination of my travel was a job, currently I'm working as IT admin on a cruise ship. There wasn't much free time for me during the first days.
That sounds very interesting to me :) ; unless they bring you in to work, only when the ship is docked in port -- that is not so good :(
Stefan_K wrote:To solve your problem with MiKTeX finally you could consider installing TeX Live. I'm using the current version of 2008. Because the problem could be caused by corrupt or obsolete MiKTeX format files switching the distribution could fix it.
I am currently downloading TeX Live!.... 1.2GB ISO image download... taking its time.

I am sad that this is the only way of recovering from this.... This really puts LaTeX/MikTeX several steps backward in terms of convenience of use... I am truly surprised. Exactly why does this problem occur - and not go away, even if I re-install MikTeX n+1 times??? Can I not edit the fmt file manually... Can I not rewrite portions of it using diff? Why? Why not? It should not mean I have to download 1.2GB of data to re-start again... :( :o :? :? :?

I am sorry Stefan... This is not aimed at you or anyone else or anything in general... Just a soliloquy to ease the pain of weeks of trial and failure...

Stefan_K wrote:Another way, if you cannot get rid of the MiKTeX problem but want to use MiKTeX without installing Windows again would be installing MiKTeX 2.8 beta portable on another partition or drive.

did not try that one......yet! I hope I do not have to do this circus too
Stefan_K wrote:I've got another idea: you could check if MiKTeX works if you use a different user profile on your computer, a different user account, to check if it's caused by user data.
Tried this today -- no change... :(

Then I searched to see where all the *.fmt files were (Docum~1\All Users\etc..)
I renamed them and regenerated a new set of fmt files.

Then I proceeded the cmdline way...initex latex.ltx. Then I moved the compiled fmt file back to here the fmt files were. I renamed the old file and placed this new cmdline one....

None of this had any effect really!! :(

Question regarding TeX Live!
I am downloading the ISO image, but I do not want to burn it to a DVD, but install it on the hard-drive, so I can update and add packages in a later date. How can I achieve this using the ISO image? A few lines should help me take things forward

Thanks for your help.
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 »

Hi Skanda,

I would use the net installer. Just download the installer and start it, the packages will be downloaded over the internet. I did it and it worked fine. Installer and instructions can be found on tug.org.

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,
I took the suggestion and actually installed TeX live using the net installer after I had uninstalled MikTeX completely, restarted etc., first. It had some issues with creating the latex.fmt, pdf*tex.fmt files, so I manually created them. Now, when I try running the mwe examples, I still get the follwoing error....

Sorry about the huge log file.

Code: Select all

D$ latex mwe.tex
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
%&-line parsing enabled.
kpathsea: Running mktexfmt latex.fmt
Running: pdftex --ini --jobname=latex --progname=latex -translate-file=cp227.tcx *latex.in
i <nul
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (INITEX)
%&-line parsing enabled.
(c:/Program Files/texlive/2008/texmf/web2c/cp227.tcx)
entering extended mode
(c:/Program Files/texlive/2008/texmf-dist/tex/latex/latexconfig/latex.ini
(c:/Program Files/texlive/2008/texmf/tex/generic/config/pdftexconfig.tex)
(c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/latex.ltx
(c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/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, compatibility for TeX 2, parameters,
LaTeX2e <2005/12/01>
hacks, control, par, spacing, files, font encodings, lengths,
====================================
Local config file fonttext.cfg used
====================================
(c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/fonttext.cfg
(c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===
(c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/omlenc.def)
(c:/Program Files/texlive/2008/texmf-dist/tex/latex/base/t1enc.def)
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I re-ran couple of times.... The message is the same. What is going wrong you think??

Thanks and Regards,
Skanda.
Post Reply