GeneralThesis predefined template gives an error

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pircalabelu1
Posts: 3
Joined: Wed Jun 16, 2010 3:42 pm

Thesis predefined template gives an error

Post by pircalabelu1 »

Hello,

I have used latex before for some school projects, but now i want to use it for the Master thesis also. The faculty provided a template for a PhD thesis, and i want to use that one, modify it a bit (spaces, title...) and use it. The problems are:
1. i am new to latex and have little experience with it;
2. running the template that they offered produced 2 warnings and no output document.
I am using Miktex 2.8, and i have updated all my packages before trying the code (i have pasted the tex syntax and the log file).
Can anyone tell me where is the problem? and why it does not work.

Thank you very much and have a great day ahead!
Attachments
phd.tex
The template source
(10.41 KiB) Downloaded 273 times
phd.log
The according log
(8.96 KiB) Downloaded 261 times

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Thesis predefined template gives an error

Post by localghost »

On my Linux machine your code compiles smoothly except the missing external graphics files. To me it seems that the log file is incomplete. One of the warnings (from babel) concerns missing hyphenation pattern for your language (Dutch). Go to the MiKTeX Settings (Admin) and add your language as seen in the attachment.

The other warning is due to your compiling route (LaTeX → DVI → PS → PDF). You can add the linktocpage for hyperref to obtain the page numbers as links in all the lists (ToC, LoF, LoT).


Best regards and welcome to the board
Thorsten
Attachments
Choosing a language in the MiKTeX Settings (Admin).
Choosing a language in the MiKTeX Settings (Admin).
MiKTeXOptions-Languages.png (29.85 KiB) Viewed 3159 times
pircalabelu1
Posts: 3
Joined: Wed Jun 16, 2010 3:42 pm

Re: Thesis predefined template gives an error

Post by pircalabelu1 »

Hello again,
First, Thank you for your reply!
Second, unfortunately it did not solve the problem.

As you have suggested i have added Dutch from Start->programs->Miktex2.8->Maintenance(Admin)->Settings->Languages, and when i check for it, it appears with a "v" sign(like in the picture that you have attached), so i guess that it is loaded (i can send also a print screen).

When running the code, the same warning message about the language appears.

Now for the compile part which is my biggest problem.I have Windows XP as operating system (i should have mentioned it from the start, i am sorry that i forgot to do that).
With TeXnicCenter which i use, i can compile LATEX=>DVI or LATEX=>PS or LATEX=>PDF and i have tried to use each of them (i guess that i am missing something to compile from DVI to PS and then to PDF, is this so? what is missing?) but even with LATEX=>DVI i still get an error message.
I have posted below the errors that I get, and tell me if i should put also the log files, and which ones.

Question: what am i doing wrong? do i need to install also other packages or do i have to modify some other settings in order to compile this file smoothly?

Thank you very much and have a great day ahead!


LATEX=>DVI
Message: Windows API error 2: The system cannot find the file specified.
Data: C:\Documents and Settings\dell\Desktop\phd.dvi
Source: Libraries\MiKTeX\Core\win\winFile.cpp
Line: 477
MiKTeX: 2.8
OS: Microsoft Windows XP Professional Service Pack 2 (build 2600)
SystemAdmin: yes
PowerUser: no
Root0: C:\Documents and Settings\dell\Application Data\MiKTeX\2.8
Root1: C:\Documents and Settings\dell\Local Settings\Application Data\MiKTeX\2.8
Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.8
Root3: C:\Program Files\MiKTeX 2.8
UserInstall: C:\Documents and Settings\dell\Application Data\MiKTeX\2.8
UserConfig: C:\Documents and Settings\dell\Application Data\MiKTeX\2.8
UserData: C:\Documents and Settings\dell\Local Settings\Application Data\MiKTeX\2.8
CommonInstall: C:\Program Files\MiKTeX 2.8
CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.8
CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.8

LATEX=>PDF
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
cannot execute the command
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Thesis predefined template gives an error

Post by localghost »

I had the opportunity to test your example on my Windows system² (I'm using primarily Linux so that the other system is rarely started). With an up-to-date MiKTeX 2.8 system I get the same result (0 errors, 2 warnings, 3 bad boxes). As I already said, the warning from hyperref occurs only with the above mentioned compiling route. Regarding the other issue I can't give further advice.
pircalabelu1
Posts: 3
Joined: Wed Jun 16, 2010 3:42 pm

Re: Thesis predefined template gives an error

Post by pircalabelu1 »

After reinstalling Miktex 2.8 on my Windows XP, and updating some packages, all went smoothly, and in the end i obtained my pdf example-version of the template. So, problem solved.
Thank you for your patience and guidence.
Have a nice day ahead!
Post Reply