GeneralPage numbering... again

LaTeX specific issues not fitting into one of the other forums of this category.
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Page numbering... again

Post by kostoglotov »

Hi all,
I have already posted this question and had some replies from you, but... It still doesn't work as I want to... I have no idea where the problem is despite the fact I had tried so many options to place commands \pagenumbering{arabic}....
I need to have numbered my thesis from the very first page in arabic letter (excluding the very title page). How can I do that?
It somehow keeps numbering the first part in roman letter although I can't see anything regarding this numbering anywhere in my document. It eventually disappears when I insert \pagenumbering{arabic} command but... Then it starts numbering twice....
Would it be the option to place here my tex files? Or? Would be willig someone to give an advice via Skype?
Sorry to bother you again but I really have to solve it somehow....
Thanks a lot...
a.k.

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

Page numbering... again

Post by localghost »

Many words can't describe what is going wrong. So, please get used to providing always a minimal working example (MWE) with your requests. Follow the advices on the linked site. This MWE has to show the undesired behaviour. Reduce the code of your document to demonstrate what is going wrong. Otherwise giving specific help gets nearly impossible.
kostoglotov wrote:[…] Would it be the option to place here my tex files? Or? Would be willig someone to give an advice via Skype? […]
You can place your source file(s) here as attachment. Some kind of private help via Skype or on similar ways is no good idea, because other users can't follow the discussion, hence they wouldn't benefit in that case.


Best regards
Thorsten¹
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering... again

Post by kostoglotov »

Well, you're right... Was a sight of a frustration I guess rather than well-formulated question...
I'll try better.

I need to have: All pages numbered (except title page) in arabic letters

I have: First section numbered in roman letters

I attached main tex file as well as cls file.

I can see in cls file a note "starts roman page numbering until chapter 1" but I do not know WHERE it i defined so where I can change it...
Attachments
thesis.tex
(8.3 KiB) Downloaded 288 times
PhDthesisPSnPDF.cls
(12.64 KiB) Downloaded 280 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Page numbering... again

Post by localghost »

Sorry, but the source is not compilable for me. It begins with a very strange identification of the used class.

Code: Select all

\ProvidesClass{Latex/Classes/PhDthesisPSnPDF}[2007/09/06 v2 PhD thesis class]
This demands a certain directory structure. That's not the problem. After creating this structure in the working directory and moving the class to that path the compiler was able to find it. Nevertheless, to give a path in the identification makes the structure not even flexible. And that leads me to the next problem.

The file thesis.tex demands some files to be included and therefore doesn't represent a MWE as I requested.

Code: Select all

%: Macro file for Latex
% Macros help you summarise frequently repeated Latex commands.
% Here, they are placed in an external file /Latex/Macros/MacroFile1.tex
% An macro that you may use frequently is the figuremacro (see introduction.tex)
\include{Latex/Macros/MacroFile1}

...

%: ----------------------- generate cover page ------------------------

\maketitle  % command to print the title page with above variables

%: ----------------------- tie in front matter ------------------------

\frontmatter
\include{9_backmatter/declaration}
\include{0_frontmatter/dedication}
\include{0_frontmatter/acknowledgement}


%: ----------------------- abstract ------------------------

% Your institution may have specific regulations if you need an abstract and where it is to be placed in the document. The default here is just after title.

\include{0_frontmatter/abstract}

% The original template provides and abstractseparate environment, if your institution requires them to be separate. I think it's easier to print the abstract from the complete thesis by restricting printing to the relevant page.
% \begin{abstractseparate}
%   \input{Abstract/abstract}
% \end{abstractseparate}

...

%: ----------------------- subdocuments ------------------------

% Parts of the thesis are included below. Rename the files as required.
% But take care that the paths match. You can also change the order of appearance by moving the include commands.

%\include{9_backmatter/declaration}
\include{1_introduction/introduction}	% background information
\include{2/aims}				% aims of the project
\include{3/Interface}			
\include{4/Luminescence}	
\include{5/Materials}
\include{6/Calibration}
\include{10/Composite}
\include{11/Suggestions}
%\include{7/discussion}               % discussion of results

%\include{8/materials_methods}        % description of lab methods
So you have to put the complete document structure as is with all needed files into an archive and place it here as an attachment. Then we will see what we can do. Nevertheless, I strongly recommend to contact the author of this class file and make him solve the occurring problems. Finally its him who caused them. That is the curse with these class templates.
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering... again

Post by kostoglotov »

I am sorry mate,
i do not really understand what you mean... Do you really need ALL files? There is nothing special in them - they all have this structure:

\chapter{Reinforced polymer matrix composites}

\ifpdf
\graphicspath{{2/figures/PNG/}{2/figures/PDF/}{2/figures/}}
\else
\graphicspath{{2/figures/EPS/}{2/figures/}}
\fi

I thought that there must be somewhere in the document source of that romans numbering...
I have found that "PhDthesisPSnPDF" file but it contains only this:

../../thesis.tex

That's it....
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Page numbering... again

Post by localghost »

Even if setting all \include and \includegraphics commands as comment, I am not able to compile thesis.tex without any error messages.

Code: Select all

! Package ifpdf Error: Name clash, \ifpdf is already defined.

See the ifpdf package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.142     }
           %
)))
After studying thesis.tex very carefully, I can only suggest just to omit the \frontmatter and the \mainmatter command. Seems that I didn't get this immediately although it's obviously the cause of the page numbering.
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering... again

Post by kostoglotov »

I wanted to do it at first but i didn't want to messed up everything since I do not know understand LaTeX too much...
So would you suggest to put there the files directly e.g. /include file xy rather then /include front matter/file xy?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Page numbering... again

Post by localghost »

kostoglotov wrote:[…] So would you suggest to put there the files directly e.g. /include file xy rather then /include front matter/file xy?
I don't understand that question. Just omit these two commands. The file inclusion remains untouched.
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering... again

Post by kostoglotov »

That's why i asked if there is any other way of communication (e.g. Skype) - although I fully understand the reason why is it good to post everything here - that something I try to describe (as a complete novice - so probably not too understandable to you) could have been easier and quicker to solve some other way...

I have attached the original files...
Btw I compile it on Mac but it should be an issue since it works ok on my PC as well....
Attachments
PhD_na upravovani 3.zip
(194.68 KiB) Downloaded 187 times
kostoglotov
Posts: 58
Joined: Sun Apr 27, 2008 12:50 pm

Re: Page numbering... again

Post by kostoglotov »

Well, when I omit /front matter and /main matter commands I get rd of romans numbering and there is only arabic. GOOD. But it does two separate sets of numbering. First that front matter (abstract, dedication, etc), but it starts afterwards over again....
Post Reply