From 31df923c2c54fea336caa1fc939e5f0477ad740d Mon Sep 17 00:00:00 2001 From: lharries Date: Fri, 3 Aug 2018 15:22:59 +0100 Subject: [PATCH 1/3] moved cls and glyphtounicode to root --- Classes/PhDThesisPSnPDF.cls => PhDThesisPSnPDF.cls | 0 Classes/glyphtounicode.tex => glyphtounicode.tex | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename Classes/PhDThesisPSnPDF.cls => PhDThesisPSnPDF.cls (100%) rename Classes/glyphtounicode.tex => glyphtounicode.tex (100%) diff --git a/Classes/PhDThesisPSnPDF.cls b/PhDThesisPSnPDF.cls similarity index 100% rename from Classes/PhDThesisPSnPDF.cls rename to PhDThesisPSnPDF.cls diff --git a/Classes/glyphtounicode.tex b/glyphtounicode.tex similarity index 100% rename from Classes/glyphtounicode.tex rename to glyphtounicode.tex From 4614ffda44fd2a0d70bfa9079d0b39e7cdcb16e0 Mon Sep 17 00:00:00 2001 From: lharries Date: Fri, 3 Aug 2018 15:33:53 +0100 Subject: [PATCH 2/3] global replace of Classes/PhDThesisPSnPDF.cls --- README.md | 8 ++++---- thesis.tex | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 47efd92..e977961 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ The class file, `PhDThesisPSnPDF`, is based on the standard `book` class It supports the following custom options in the documentclass in thesis.tex: -(Usage `\documentclass[a4paper,11pt,print]{Classes/PhDThesisPSnPDF}`) +(Usage `\documentclass[a4paper,11pt,print]{PhDThesisPSnPDF}`) * `a4paper` (default as per the University guidelines) or `a5paper`: Paper size @@ -287,7 +287,7 @@ the bottom of the page. Pagewise line numbering is added on every page. `draft` ### Choosing the page style -`PhDThesisPSnPDF` defines 3 different page styles (header and footer). The following definition is for `twoside` layout. To choose a page style, include it in the `documentclass` options: `\documentclass[PageStyleI]{Classes/PhDThesisPSnPDF}`. Alternatively, page style can be changed by adding `\pagestyle{PageStyleI}` or `\pagestyle{PageStyleII}` in `thesis.tex`. Note: Using `\pagestyle` command will override `documentclass` options when used globally. +`PhDThesisPSnPDF` defines 3 different page styles (header and footer). The following definition is for `twoside` layout. To choose a page style, include it in the `documentclass` options: `\documentclass[PageStyleI]{PhDThesisPSnPDF}`. Alternatively, page style can be changed by adding `\pagestyle{PageStyleI}` or `\pagestyle{PageStyleII}` in `thesis.tex`. Note: Using `\pagestyle` command will override `documentclass` options when used globally. * `default (leave empty)`: For Page Numbers in Header (Left Even, Right Odd) and Chapter Name in Header (Right Even) and Section #. Section Name (Left Odd). Blank Footer. @@ -484,9 +484,9 @@ You can also mail -------------------------------------------------------------------------------- ## Troubleshooting warnings -#### _W1_: I get the LaTeX Warning: You have requested document class `Classes/PhDThesisPSnPDF`, but the document class provides `PhDThesisPSnPDF`, should I be concerned? +#### _W1_: I get the LaTeX Warning: You have requested document class `PhDThesisPSnPDF`, but the document class provides `PhDThesisPSnPDF`, should I be concerned? -No! Do nothing, or if you don't want any warning messages change the line near the top of the class file to \ProvidesClass{Classes/PhDthesisPSnPDF} if you're not going to install the class file in a more standard location. You can install it in a standard location like `/usr/share/texmf/tex/latex/` and run `texhash` to reconfigure. +No! Do nothing, or if you don't want any warning messages change the line near the top of the class file to \ProvidesClass{PhDThesisPSnPDF} if you're not going to install the class file in a more standard location. You can install it in a standard location like `/usr/share/texmf/tex/latex/` and run `texhash` to reconfigure. #### _W2_:I get the package Fancyhdr Warning: \fancyhead's `E` option without twoside option is useless on input line \# or \#. What should I do? diff --git a/thesis.tex b/thesis.tex index b730ba0..f3ea112 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,7 +1,7 @@ % ******************************* PhD Thesis Template ************************** % Please have a look at the README.md file for info on how to use the template -\documentclass[a4paper,12pt,times,numbered,print,index]{Classes/PhDThesisPSnPDF} +\documentclass[a4paper,12pt,times,numbered,print,index]{PhDThesisPSnPDF} % ****************************************************************************** % ******************************* Class Options ******************************** From e0be1eb41228b5cc9d887bd003aa0cb8f293a86e Mon Sep 17 00:00:00 2001 From: lharries Date: Fri, 3 Aug 2018 15:34:54 +0100 Subject: [PATCH 3/3] remove troubleshoot as problem no longer exists --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e977961..c6d094c 100644 --- a/README.md +++ b/README.md @@ -484,32 +484,28 @@ You can also mail -------------------------------------------------------------------------------- ## Troubleshooting warnings -#### _W1_: I get the LaTeX Warning: You have requested document class `PhDThesisPSnPDF`, but the document class provides `PhDThesisPSnPDF`, should I be concerned? - -No! Do nothing, or if you don't want any warning messages change the line near the top of the class file to \ProvidesClass{PhDThesisPSnPDF} if you're not going to install the class file in a more standard location. You can install it in a standard location like `/usr/share/texmf/tex/latex/` and run `texhash` to reconfigure. - -#### _W2_:I get the package Fancyhdr Warning: \fancyhead's `E` option without twoside option is useless on input line \# or \#. What should I do? +#### _W1_:I get the package Fancyhdr Warning: \fancyhead's `E` option without twoside option is useless on input line \# or \#. What should I do? Nothing. The warning is because the twoside option is also defined in the class, although only the oneside option is currently used. -#### _W3_: I get the Class PhDThesisPSnPDF Warning: Unknown or non-standard option 'something'. Will see if I can load it from the book class. If you get a warning unused global option(s): `something` then the option is not supported! on input line \#. +#### _W2_: I get the Class PhDThesisPSnPDF Warning: Unknown or non-standard option 'something'. Will see if I can load it from the book class. If you get a warning unused global option(s): `something` then the option is not supported! on input line \#. You are either trying to use a undefined option or a non-standard option which is in the book class but not defined in the PhD Thesis Template. If it can be used it will be loaded and you will get no further warnings. If not, the option you chose is unavailable. -#### _W4_: I get LaTeX Warning: Unused global option(s):[something]. +#### _W3_: I get LaTeX Warning: Unused global option(s):[something]. You are trying to load an option that is not supported in the PhDThesisClass and the Book Class. Are you sure you are using the right option? Check your spelling! -#### _W5_: I get I'm skipping whatever remains of this command line \# of file thesis.aux \@input{Chapter1/chapter1.aux} +#### _W4_: I get I'm skipping whatever remains of this command line \# of file thesis.aux \@input{Chapter1/chapter1.aux} If you are generating a separate abstract for your thesis submission, ignore this warning and good luck with your submission. If you are compiling your thesis and see this warning, please remove the option `abstract` from the document class. -#### _W6_: I get blank pages between chapters +#### _W5_: I get blank pages between chapters This is normal for a book class. Usually, a new chapter in a book always starts on the right hand side, which is why you see a blank page. You can remove the extra blank page by passing `openany` option to the documentclass. This works for double sided printing. However, if you are printing on a single side, please pass `oneside` option to the document class. -#### _W7_: My references aren't listed in the ordered in which I cite them +#### _W6_: My references aren't listed in the ordered in which I cite them This is controlled by the bibliography style. Please use `\bibliographystyle{unsrt}` in `thesis.tex` instead of `apalike`. This applicable only for numerically sorted references.