├── thesis-example.scriv ├── Files │ ├── version.txt │ ├── Data │ │ ├── E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5 │ │ │ ├── synopsis.txt │ │ │ ├── notes.rtf │ │ │ └── content.rtf │ │ ├── BDD323AB-2E43-4C47-806D-FB72D1A1009C │ │ │ ├── content.styles │ │ │ └── content.rtf │ │ ├── 106C43CB-B466-45AA-8B57-391BA10CE6C5 │ │ │ ├── content.styles │ │ │ ├── notes.rtf │ │ │ └── content.rtf │ │ ├── 51B85016-3802-4545-847A-B547A7742527 │ │ │ ├── content.styles │ │ │ └── content.rtf │ │ ├── 7031D787-6B71-4FFD-9F70-D50BBC3E123F │ │ │ ├── content.styles │ │ │ └── content.rtf │ │ ├── 981E68DD-9C96-463B-B88A-C04BE1FE3B8F │ │ │ ├── content.styles │ │ │ └── content.rtf │ │ ├── CEB28ADA-5CCC-46F0-AEED-A7A2139E86C1 │ │ │ ├── content.styles │ │ │ └── content.rtf │ │ ├── 42A23ABF-4D08-40BE-8D66-C58ED4A805BC │ │ │ └── content.pdf │ │ ├── 5493308B-8018-4B77-925C-DEA8F3063513 │ │ │ └── notes.rtf │ │ ├── BCD0C532-FFD3-4F53-B8D4-7B2612656980 │ │ │ └── content.rtf │ │ ├── F8F18BB9-AD38-430A-A101-934E64A767F3 │ │ │ └── content.rtf │ │ ├── FA85D51A-A5B6-4A33-9CD7-296EC1D649AE │ │ │ └── content.rtf │ │ ├── 6EBD3FB9-3F94-4F7F-9A9F-AC289DC2E742 │ │ │ └── notes.rtf │ │ ├── 04FF7E06-D773-4908-BC7C-EFF9A3B67241 │ │ │ └── content.rtf │ │ ├── 61520D82-ACD7-460E-A0A1-519CEABB163C │ │ │ └── content.rtf │ │ ├── B776C532-B14B-439B-81C8-D2396271511B │ │ │ └── content.rtf │ │ ├── D3CE9386-07B9-44A2-B963-0E3C130FF8AD │ │ │ └── content.rtf │ │ ├── 902BE313-6918-4F62-A221-8EB5BF33D23F │ │ │ └── content.rtf │ │ ├── F777C263-709B-4455-90F7-A4B77B395FE9 │ │ │ └── content.rtf │ │ ├── docs.checksum │ │ └── E85B58D4-A154-4923-B21F-50DE629C86C1 │ │ │ └── content.rtf │ ├── binder.autosave │ ├── binder.backup │ ├── user.lock │ ├── writing.history │ └── styles.xml ├── Settings │ ├── favorites.xml │ ├── recents.txt │ ├── compile.xml │ └── scriptformat.xml └── thesis-example.scrivx ├── my-thesis.pdf ├── appendix ├── appendix1.tex ├── appendix2.tex ├── appendix3.tex ├── appendix4.tex ├── appendix1.aux ├── appendix2.aux ├── appendix3.aux └── appendix4.aux ├── figures ├── cropped │ ├── Figure-C1.pdf │ ├── Figure-C2.pdf │ └── Figure-C3.pdf ├── original │ ├── Figure-C1.pdf │ ├── Figure-C2.pdf │ └── Figure-C3.pdf ├── texs │ ├── fig:c2.tex │ ├── fig:c1.tex │ └── fig:c3.tex └── all-figures.tex ├── scrivener-customization ├── zotero-bibtex-export.png ├── scrivener-figure-latex-1.png ├── scrivener-figure-latex-2.png ├── scrivener-latex-text-1.png ├── scrivener-latex-text-2.png ├── scrivener-compile-settings.png ├── scrivener-chapter-text-labels.png └── zotpicknix-pd ├── chapters ├── chapter4.tex ├── chapter2.tex ├── chapter1.tex └── chapter3.tex ├── helpers ├── bib.tex └── acronym.tex ├── front_matter ├── acknowledgment.tex ├── publications.tex ├── cover_page.tex ├── certificate.tex ├── declaration.tex └── dedication.tex ├── literature.bib ├── LICENSE ├── .gitignore ├── my-thesis-main.tex ├── my-thesis.tex ├── styles └── fltpage.sty ├── README.md └── scrivener_mmd_compile.py /thesis-example.scriv/Files/version.txt: -------------------------------------------------------------------------------- 1 | 23 -------------------------------------------------------------------------------- /my-thesis.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/my-thesis.pdf -------------------------------------------------------------------------------- /appendix/appendix1.tex: -------------------------------------------------------------------------------- 1 | \chapter[Appendix-1]{Appendix-1}\label{appendix-1} 2 | 3 | 4 | \input{helpers/bib} 5 | -------------------------------------------------------------------------------- /appendix/appendix2.tex: -------------------------------------------------------------------------------- 1 | \chapter[Appendix-2]{Appendix-2}\label{appendix-2} 2 | 3 | 4 | \input{helpers/bib} 5 | -------------------------------------------------------------------------------- /appendix/appendix3.tex: -------------------------------------------------------------------------------- 1 | \chapter[Appendix-3]{Appendix-3}\label{appendix-3} 2 | 3 | 4 | \input{helpers/bib} 5 | -------------------------------------------------------------------------------- /appendix/appendix4.tex: -------------------------------------------------------------------------------- 1 | \chapter[Appendix-4]{Appendix-4}\label{appendix-4} 2 | 3 | 4 | \input{helpers/bib} 5 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5/synopsis.txt: -------------------------------------------------------------------------------- 1 | Title page to the manuscript. -------------------------------------------------------------------------------- /figures/cropped/Figure-C1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/figures/cropped/Figure-C1.pdf -------------------------------------------------------------------------------- /figures/cropped/Figure-C2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/figures/cropped/Figure-C2.pdf -------------------------------------------------------------------------------- /figures/cropped/Figure-C3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/figures/cropped/Figure-C3.pdf -------------------------------------------------------------------------------- /figures/original/Figure-C1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/figures/original/Figure-C1.pdf -------------------------------------------------------------------------------- /figures/original/Figure-C2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/figures/original/Figure-C2.pdf -------------------------------------------------------------------------------- /figures/original/Figure-C3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/figures/original/Figure-C3.pdf -------------------------------------------------------------------------------- /thesis-example.scriv/Files/binder.autosave: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/thesis-example.scriv/Files/binder.autosave -------------------------------------------------------------------------------- /thesis-example.scriv/Files/binder.backup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/thesis-example.scriv/Files/binder.backup -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/BDD323AB-2E43-4C47-806D-FB72D1A1009C/content.styles: -------------------------------------------------------------------------------- 1 | 98BD0011-2D28-4E73-AA41-64564459867C,3F913246-3CC8-4989-9221-D99AB54A6ABC -------------------------------------------------------------------------------- /scrivener-customization/zotero-bibtex-export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/scrivener-customization/zotero-bibtex-export.png -------------------------------------------------------------------------------- /scrivener-customization/scrivener-figure-latex-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/scrivener-customization/scrivener-figure-latex-1.png -------------------------------------------------------------------------------- /scrivener-customization/scrivener-figure-latex-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/scrivener-customization/scrivener-figure-latex-2.png -------------------------------------------------------------------------------- /scrivener-customization/scrivener-latex-text-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/scrivener-customization/scrivener-latex-text-1.png -------------------------------------------------------------------------------- /scrivener-customization/scrivener-latex-text-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/scrivener-customization/scrivener-latex-text-2.png -------------------------------------------------------------------------------- /scrivener-customization/scrivener-compile-settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/scrivener-customization/scrivener-compile-settings.png -------------------------------------------------------------------------------- /scrivener-customization/scrivener-chapter-text-labels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/scrivener-customization/scrivener-chapter-text-labels.png -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/106C43CB-B466-45AA-8B57-391BA10CE6C5/content.styles: -------------------------------------------------------------------------------- 1 | 98BD0011-2D28-4E73-AA41-64564459867C,3F913246-3CC8-4989-9221-D99AB54A6ABC,8A5D27F3-B263-47F5-B878-2FBFE89D70EA -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/106C43CB-B466-45AA-8B57-391BA10CE6C5/notes.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf250 2 | {\fonttbl} 3 | {\colortbl;\red255\green255\blue255;} 4 | } -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/51B85016-3802-4545-847A-B547A7742527/content.styles: -------------------------------------------------------------------------------- 1 | 98BD0011-2D28-4E73-AA41-64564459867C,3F913246-3CC8-4989-9221-D99AB54A6ABC,8A5D27F3-B263-47F5-B878-2FBFE89D70EA -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/7031D787-6B71-4FFD-9F70-D50BBC3E123F/content.styles: -------------------------------------------------------------------------------- 1 | 98BD0011-2D28-4E73-AA41-64564459867C,3F913246-3CC8-4989-9221-D99AB54A6ABC,8A5D27F3-B263-47F5-B878-2FBFE89D70EA -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/981E68DD-9C96-463B-B88A-C04BE1FE3B8F/content.styles: -------------------------------------------------------------------------------- 1 | 98BD0011-2D28-4E73-AA41-64564459867C,3F913246-3CC8-4989-9221-D99AB54A6ABC,8A5D27F3-B263-47F5-B878-2FBFE89D70EA -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/CEB28ADA-5CCC-46F0-AEED-A7A2139E86C1/content.styles: -------------------------------------------------------------------------------- 1 | 98BD0011-2D28-4E73-AA41-64564459867C,8A5D27F3-B263-47F5-B878-2FBFE89D70EA,3F913246-3CC8-4989-9221-D99AB54A6ABC -------------------------------------------------------------------------------- /chapters/chapter4.tex: -------------------------------------------------------------------------------- 1 | \markedchapter{Discussion}{Discussion}\label{chapter-4} 2 | 3 | \hypertarget{section-4.1}{% 4 | \section{Section}\label{section-4.1}} 5 | 6 | 7 | \input{helpers/bib} 8 | -------------------------------------------------------------------------------- /helpers/bib.tex: -------------------------------------------------------------------------------- 1 | % This is helper file which you can use in every chapter if you want to have separate biblography for each chapter 2 | 3 | \clearpage 4 | \bibliographystyle{abbrvnat} 5 | \bibliography{literature} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/42A23ABF-4D08-40BE-8D66-C58ED4A805BC/content.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/HEAD/thesis-example.scriv/Files/Data/42A23ABF-4D08-40BE-8D66-C58ED4A805BC/content.pdf -------------------------------------------------------------------------------- /figures/texs/fig:c2.tex: -------------------------------------------------------------------------------- 1 | \begin{Mfigure}{Futurama} 2 | \centering 3 | \includegraphics[width=\linewidth]{Figure-C2.pdf} 4 | \caption[\figuretitle] 5 | {\textbf{(A) Futurama.} Add as much text here as you want.} 6 | \label{fig:c2} 7 | \end{Mfigure} 8 | 9 | -------------------------------------------------------------------------------- /figures/texs/fig:c1.tex: -------------------------------------------------------------------------------- 1 | \begin{Mfigure}{Lorem Ipsum} 2 | \centering 3 | \includegraphics[width=\linewidth]{Figure-C1.pdf} 4 | \caption[\figuretitle] 5 | {\textbf{(A) Lorem Ipsum.} Add as much text here as you want.} 6 | \label{fig:c1} 7 | \end{Mfigure} 8 | 9 | -------------------------------------------------------------------------------- /figures/texs/fig:c3.tex: -------------------------------------------------------------------------------- 1 | \begin{Mfigure}{He is not that kind of doctor.} 2 | \centering 3 | \includegraphics[width=\linewidth]{Figure-C3.pdf} 4 | \caption[\figuretitle] 5 | {\textbf{(A) Doctor Who?} Add as much text here as you want.} 6 | \label{fig:c3} 7 | \end{Mfigure} 8 | -------------------------------------------------------------------------------- /helpers/acronym.tex: -------------------------------------------------------------------------------- 1 | 2 | \renewcommand*{\glstextformat}[1]{\textcolor{black}{#1}} 3 | \renewcommand{\glsnamefont}[1]{\textbf{#1}} 4 | \glssetwidest{consectetuer} 5 | 6 | \newacronym{jo}{JO}{Johnston's Organ} 7 | \newacronym{ammc}{AMMC}{Antennal Mechanosensory and Motor Cortex} 8 | 9 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/user.lock: -------------------------------------------------------------------------------- 1 | [General] 2 | platform=win 3 | host=amaterasu 4 | user=dinesh 5 | uuid=9E4DB2AF-D649-47C5-A6EC-CDCB7A29E05E 6 | project_path=Z:/home/dinesh/Projects/scrivener-latex/thesis-example.scriv 7 | app_path=C:/Program Files/Scrivener/Scrivener.exe 8 | -------------------------------------------------------------------------------- /front_matter/acknowledgment.tex: -------------------------------------------------------------------------------- 1 | \chapter[Acknowledgments]{\centering Acknowledgments} 2 | 3 | Captain Carrot Ironfoundersson for his forthrightness and Commander Samuel Vines for persecacity. And of course, the Rohit Suratekar of sphereworld (a.k.a Earth) for bestowing me a barebone version of this manuscript in papyrus. 4 | 5 | -------------------------------------------------------------------------------- /front_matter/publications.tex: -------------------------------------------------------------------------------- 1 | \chapter[Publication]{\centering Publication} 2 | 3 | \textbf{Dibbler, C.M.O.T}, Ironfoundersson, Carrot. The chronicles of Blind Io.\textit{ Fiction?}. 229018 Oct. 4 | \\\\ 5 | {\footnotesize Content from the above publication has been incorporated in the thesis with permission from the publisher.} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/writing.history: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2019-01-23 4 | 2019-03-03 5 | 2019-03-04 6 | 7 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/5493308B-8018-4B77-925C-DEA8F3063513/notes.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fnil\fcharset0\fprq2 Segoe UI;}{\f1\fnil\fcharset0\fprq2 ArialMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \ltrch\loch {\f1\fs24\b0\i0 All footnotes will get inserted here upon print.}} -------------------------------------------------------------------------------- /thesis-example.scriv/Settings/favorites.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BB9EF7E0-D886-47C9-BC7F-69F7B8F72661 6 | 7 | 8 | BB9EF7E0-D886-47C9-BC7F-69F7B8F72661 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/BCD0C532-FFD3-4F53-B8D4-7B2612656980/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\markedchapter\{Discussion\}\{<$title>\}\\label\{<$label>-<$position>\}}} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/F8F18BB9-AD38-430A-A101-934E64A767F3/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\chapter[<$title>]\{<$title>\}\\label\{<$label>-3\}} 7 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/FA85D51A-A5B6-4A33-9CD7-296EC1D649AE/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\chapter[<$title>]\{<$title>\}\\label\{<$label>-4\}} 7 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /front_matter/cover_page.tex: -------------------------------------------------------------------------------- 1 | \begin{titlepage} 2 | \centering 3 | \vfill 4 | {\huge\bfseries The chronicles of Blind Io. \par} 5 | \vspace{2cm} 6 | {\Large A Thesis\par} 7 | \vfill 8 | Submitted to the\par 9 | {\Large The temple of Ankh-Morpork\par 10 | for the degree of Doctor of Theosophology\par} 11 | \vspace{1cm} 12 | by\par 13 | \vspace{0.5cm} 14 | {\Large \bfseries C.M.O.T Dibbler\par} 15 | \vfill 16 | 17 | % Bottom of the page 18 | {\large The temple of Ankh-Morpork\par 19 | Ankh-Morpork, Discworld\par} 20 | {October, 229018} 21 | \end{titlepage} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/6EBD3FB9-3F94-4F7F-9A9F-AC289DC2E742/notes.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fnil\fcharset0\fprq2 Segoe UI;}{\f1\fnil\fcharset0\fprq2 ArialMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \ltrch\loch {\f1\fs24\b0\i0 Use `Edit > Copy Special > Copy Documents as ToC` if you are compiling to RTF or to PDF, DOC, DOCX or Print and have Microsoft Word installed.}} -------------------------------------------------------------------------------- /front_matter/certificate.tex: -------------------------------------------------------------------------------- 1 | \chapter[Certificate]{\centering Certificate} 2 | I certify that this thesis entitled “\textbf{The chronicles of Blind Io.}” comprises fictive work carried out by \textbf{C.M.O.T Dibbler} at Diskworld under the supervision of \textbf{Captain Carrot} during the period 2012 - 2018 for the degree of Doctor of Theosophology. The results presented in this thesis have not been submitted previously to this or any other world for a PhD or any other degree. 3 | \\\\\\\\\\\\\\\\ 4 | \null\hfill \textbf{Head of Fiction}\\ 5 | \null\hfill Ankh-Morpork\\ 6 | \null\hfill Discworld\\ 7 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/04FF7E06-D773-4908-BC7C-EFF9A3B67241/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\chapter[<$title>]\{<$title>\}\\label\{<$label>-1\}} 7 | \par\plain \f0\fs26\b0\i0 8 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/61520D82-ACD7-460E-A0A1-519CEABB163C/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\markedchapter\{Futurama\}\{<$title>\}\\label\{<$label>-<$position>\}} 7 | \par\plain \f0\fs26\b0\i0 8 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/B776C532-B14B-439B-81C8-D2396271511B/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\markedchapter\{Doctor Who\}\{<$title>\}\\label\{<$label>-<$position>\}} 7 | \par\plain \f0\fs26\b0\i0 8 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/D3CE9386-07B9-44A2-B963-0E3C130FF8AD/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\markedchapter\{Lorem Ipsum\}\{<$title>\}\\label\{<$label>-<$position>\}} 7 | \par\plain \f0\fs26\b0\i0 8 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/902BE313-6918-4F62-A221-8EB5BF33D23F/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 \\chapter[<$title>]\{<$title>\}\\label\{<$label>-2\}} 7 | \par\plain \f0\fs26\b0\i0 8 | \par\plain \f0\fs26\b0\i0 9 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/F777C263-709B-4455-90F7-A4B77B395FE9/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 ## <$title>\{#<$label>-<$parentposition>.<$position>\}} 7 | \par\plain \f0\fs26\b0\i0 8 | \par\plain \f0\fs26\b0\i0 9 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /figures/all-figures.tex: -------------------------------------------------------------------------------- 1 | %%%%%%%%%% Chapter - 1 %%%%%%%%%% 2 | 3 | \begin{Mfigure}{Lorem Ipsum} 4 | \centering 5 | \includegraphics[width=\linewidth]{Figure-C1.pdf} 6 | \caption[\figuretitle] 7 | {\textbf{(A) Lorem Ipsum.} Add as much text here as you want.} 8 | \label{fig:c1} 9 | \end{Mfigure} 10 | 11 | 12 | \begin{Mfigure}{Futurama} 13 | \centering 14 | \includegraphics[width=\linewidth]{Figure-C2.pdf} 15 | \caption[\figuretitle] 16 | {\textbf{(A) Futurama.} Add as much text here as you want.} 17 | \label{fig:c2} 18 | \end{Mfigure} 19 | 20 | 21 | \begin{Mfigure}{He is not that kind of doctor.} 22 | \centering 23 | \includegraphics[width=\linewidth]{Figure-C3.pdf} 24 | \caption[\figuretitle] 25 | {\textbf{(A) Doctor Who?} Add as much text here as you want.} 26 | \label{fig:c3} 27 | \end{Mfigure} -------------------------------------------------------------------------------- /literature.bib: -------------------------------------------------------------------------------- 1 | @article{Zongkerchicken2005 2 | author = "Doug Zongker", 3 | title = "Chicken Chicken Chicken: Chicken Chicken", 4 | year = "2005" 5 | } 6 | 7 | @article{upper1974unsuccessful, 8 | title={THE UNSUCCESSFUL SELF-TREATMENT OF A CASE OF “WRITER'S BLOCK” 1}, 9 | author={Upper, Dennis}, 10 | journal={Journal of Applied Behavior Analysis}, 11 | volume={7}, 12 | number={3}, 13 | pages={497--497}, 14 | year={1974}, 15 | publisher={Wiley Online Library} 16 | } 17 | 18 | 19 | @article{stribling2005rooter, 20 | title={Rooter: A methodology for the typical unification of access points and redundancy}, 21 | author={Stribling, Jeremy and Aguayo, Daniel and Krohn, Maxwell}, 22 | journal={Journal of Irreproducible Results}, 23 | volume={49}, 24 | number={3}, 25 | pages={5}, 26 | year={2005}, 27 | publisher={SOCIETY FOR BASIC IRREPRODUCIBLE RESULTS} 28 | } 29 | 30 | -------------------------------------------------------------------------------- /front_matter/declaration.tex: -------------------------------------------------------------------------------- 1 | \chapter[Declaration]{\centering Declaration} 2 | This fiction is a presentation of my original research work. Wherever contributions of others are involved, every effort is made to indicate this clearly, with due reference to the literature, and acknowledgement of collaborative research and discussions. 3 | \\ 4 | The work was done under the guidance of Captain Carrot Ironfoundersson, at the temple of Ankh-Morpork. 5 | \\\\\\\\ 6 | \null\hfill \textbf{ C.M.O.T Dibbler}\\ 7 | \null\hfill The temple of Ankh-Morpork, Ankh-Morpork, Discworld 8 | \\\\\\\\ 9 | In my capacity as supervisor of the candidate’s thesis, I certify that the above statements are true to the best of my knowledge. 10 | \\\\\\\\ 11 | \null\hfill \textbf{Captain Carrot Ironfoundersson}\\ 12 | \null\hfill The temple of Ankh-Morpork, Ankh-Morpork, Discworld\\ 13 | \\ 14 | \null\hfill \textbf{Date} : \qquad\qquad\qquad\qquad\qquad\\ -------------------------------------------------------------------------------- /front_matter/dedication.tex: -------------------------------------------------------------------------------- 1 | % For this page we need to remove chapter title and space above the title 2 | 3 | % Following definition will remove the chapter title 4 | \makeatletter 5 | \newcommand{\unchapter}[1]{% 6 | \begingroup 7 | \let\@makechapterhead\@gobble % make \@makechapterhead do nothing 8 | \chapter*{#1} % Used * so that it won't appear in Table of Content 9 | \endgroup 10 | } 11 | \makeatother 12 | 13 | %Adjust Vspace to shift chapter above so that without title it will look like middle of the space 14 | \unchapter{\vspace{-5cm}} 15 | 16 | % Make sure to use closed center enviornment instead \centering 17 | %else all other chapters will also become center 18 | \begin{center} 19 | \topskip0pt 20 | \vspace*{\fill} 21 | {\large Dedicated to all \par} 22 | \vspace{0.5cm} 23 | {\LARGE whatever you want!} 24 | \vspace*{\fill} 25 | \end{center} 26 | 27 | % Following will remove the page number 28 | \thispagestyle{empty} 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Dinesh Natesan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5/notes.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fnil\fcharset0\fprq2 Segoe UI;}{\f1\fnil\fcharset0\fprq2 ArialMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\ltrch\loch {\f1\fs24\b0\i0 This is the title page of the manuscript. Note that \loch\af1\hich\af1\dbch\af1\uc1\u8220\'93Compile As-Is\u8221\'94 is ticked - this ensures that the title page\u8217\'92s formatting doesn\u8217\'92t get changed during the Compile process, even though the formatting of other text documents will be overridden to use a standard 12-point manuscript font.} 7 | \par\plain \f1\fs24\b0\i0\cf1 8 | \par\pard\plain \ltrch\loch {\f1\fs24\b0\i0 The <$projecttitle> and <$fullname> tags get replaced with the information set in Project > Meta-Data Settings\loch\af1\hich\af1\dbch\af1\uc1\u8230\'85 > Project Properties. You can edit those settings or just replace this text altogether.}} -------------------------------------------------------------------------------- /thesis-example.scriv/Settings/recents.txt: -------------------------------------------------------------------------------- 1 | C6541D2A-C616-49DE-851A-12016AD0F6C5 2 | D3CE9386-07B9-44A2-B963-0E3C130FF8AD 3 | 720893BB-7B81-44CB-B4E5-26E8883AA2AD 4 | 981E68DD-9C96-463B-B88A-C04BE1FE3B8F 5 | 51B85016-3802-4545-847A-B547A7742527 6 | B776C532-B14B-439B-81C8-D2396271511B 7 | F777C263-709B-4455-90F7-A4B77B395FE9 8 | BCD0C532-FFD3-4F53-B8D4-7B2612656980 9 | BDD323AB-2E43-4C47-806D-FB72D1A1009C 10 | CEB28ADA-5CCC-46F0-AEED-A7A2139E86C1 11 | 106C43CB-B466-45AA-8B57-391BA10CE6C5 12 | 7031D787-6B71-4FFD-9F70-D50BBC3E123F 13 | 5493308B-8018-4B77-925C-DEA8F3063513 14 | FA85D51A-A5B6-4A33-9CD7-296EC1D649AE 15 | F8F18BB9-AD38-430A-A101-934E64A767F3 16 | 902BE313-6918-4F62-A221-8EB5BF33D23F 17 | 04FF7E06-D773-4908-BC7C-EFF9A3B67241 18 | 61520D82-ACD7-460E-A0A1-519CEABB163C 19 | A1B54186-86DD-403A-A8B9-45EAAE0E440A 20 | 5A4B29CB-FCE3-4D6A-83D1-BBF4D54AA62C 21 | 7EE56996-4C34-4D84-BD6E-2BCDB854D2F5 22 | 2D1A7FC2-E2AA-4369-B462-F602F25F3DD1 23 | 42A23ABF-4D08-40BE-8D66-C58ED4A805BC 24 | 6EBD3FB9-3F94-4F7F-9A9F-AC289DC2E742 25 | 1FB901E7-DDBA-4294-890D-0C509C9CCE6C 26 | E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5 27 | E85B58D4-A154-4923-B21F-50DE629C86C1 28 | 2FA8D88C-CFE5-420F-BE8E-2836425904DB 29 | BB9EF7E0-D886-47C9-BC7F-69F7B8F72661 30 | 6C33001E-72D7-4EE0-BF22-FD273D32CD64 -------------------------------------------------------------------------------- /appendix/appendix1.aux: -------------------------------------------------------------------------------- 1 | \relax 2 | \providecommand\hyper@newdestlabel[2]{} 3 | \@writefile{toc}{\contentsline {chapter}{Appendix \numberline {A}Appendix-1}{23}{Appendix.a.A}} 4 | \@writefile{lof}{\addvspace {10\p@ }} 5 | \@writefile{lot}{\addvspace {10\p@ }} 6 | \newlabel{appendix-1}{{A}{23}{Appendix-1}{Appendix.a.A}{}} 7 | \bibstyle{abbrvnat} 8 | \bibdata{literature} 9 | \@setckpt{appendix/appendix1}{ 10 | \setcounter{page}{24} 11 | \setcounter{equation}{0} 12 | \setcounter{enumi}{0} 13 | \setcounter{enumii}{0} 14 | \setcounter{enumiii}{0} 15 | \setcounter{enumiv}{0} 16 | \setcounter{footnote}{0} 17 | \setcounter{mpfootnote}{0} 18 | \setcounter{part}{0} 19 | \setcounter{chapter}{1} 20 | \setcounter{section}{0} 21 | \setcounter{subsection}{0} 22 | \setcounter{subsubsection}{0} 23 | \setcounter{paragraph}{0} 24 | \setcounter{subparagraph}{0} 25 | \setcounter{figure}{0} 26 | \setcounter{table}{0} 27 | \setcounter{NAT@ctr}{0} 28 | \setcounter{parentequation}{0} 29 | \setcounter{ContinuedFloat}{0} 30 | \setcounter{FP@figureC}{0} 31 | \setcounter{FP@tableC}{0} 32 | \setcounter{subfigure}{0} 33 | \setcounter{subtable}{0} 34 | \setcounter{currfiledepth}{0} 35 | \setcounter{LT@tables}{0} 36 | \setcounter{LT@chunks}{0} 37 | \setcounter{idxcols}{2} 38 | \setcounter{su@anzahl}{0} 39 | \setcounter{@pps}{1} 40 | \setcounter{@ppsavesec}{4} 41 | \setcounter{@ppsaveapp}{0} 42 | \setcounter{Item}{0} 43 | \setcounter{Hfootnote}{0} 44 | \setcounter{bookmark@seq@number}{20} 45 | \setcounter{section@level}{1} 46 | } 47 | -------------------------------------------------------------------------------- /appendix/appendix2.aux: -------------------------------------------------------------------------------- 1 | \relax 2 | \providecommand\hyper@newdestlabel[2]{} 3 | \@writefile{toc}{\contentsline {chapter}{Appendix \numberline {B}Appendix-2}{25}{Appendix.a.B}} 4 | \@writefile{lof}{\addvspace {10\p@ }} 5 | \@writefile{lot}{\addvspace {10\p@ }} 6 | \newlabel{appendix-2}{{B}{25}{Appendix-2}{Appendix.a.B}{}} 7 | \bibstyle{abbrvnat} 8 | \bibdata{literature} 9 | \@setckpt{appendix/appendix2}{ 10 | \setcounter{page}{26} 11 | \setcounter{equation}{0} 12 | \setcounter{enumi}{0} 13 | \setcounter{enumii}{0} 14 | \setcounter{enumiii}{0} 15 | \setcounter{enumiv}{0} 16 | \setcounter{footnote}{0} 17 | \setcounter{mpfootnote}{0} 18 | \setcounter{part}{0} 19 | \setcounter{chapter}{2} 20 | \setcounter{section}{0} 21 | \setcounter{subsection}{0} 22 | \setcounter{subsubsection}{0} 23 | \setcounter{paragraph}{0} 24 | \setcounter{subparagraph}{0} 25 | \setcounter{figure}{0} 26 | \setcounter{table}{0} 27 | \setcounter{NAT@ctr}{0} 28 | \setcounter{parentequation}{0} 29 | \setcounter{ContinuedFloat}{0} 30 | \setcounter{FP@figureC}{0} 31 | \setcounter{FP@tableC}{0} 32 | \setcounter{subfigure}{0} 33 | \setcounter{subtable}{0} 34 | \setcounter{currfiledepth}{0} 35 | \setcounter{LT@tables}{0} 36 | \setcounter{LT@chunks}{0} 37 | \setcounter{idxcols}{2} 38 | \setcounter{su@anzahl}{0} 39 | \setcounter{@pps}{1} 40 | \setcounter{@ppsavesec}{4} 41 | \setcounter{@ppsaveapp}{0} 42 | \setcounter{Item}{0} 43 | \setcounter{Hfootnote}{0} 44 | \setcounter{bookmark@seq@number}{21} 45 | \setcounter{section@level}{1} 46 | } 47 | -------------------------------------------------------------------------------- /appendix/appendix3.aux: -------------------------------------------------------------------------------- 1 | \relax 2 | \providecommand\hyper@newdestlabel[2]{} 3 | \@writefile{toc}{\contentsline {chapter}{Appendix \numberline {C}Appendix-3}{27}{Appendix.a.C}} 4 | \@writefile{lof}{\addvspace {10\p@ }} 5 | \@writefile{lot}{\addvspace {10\p@ }} 6 | \newlabel{appendix-3}{{C}{27}{Appendix-3}{Appendix.a.C}{}} 7 | \bibstyle{abbrvnat} 8 | \bibdata{literature} 9 | \@setckpt{appendix/appendix3}{ 10 | \setcounter{page}{28} 11 | \setcounter{equation}{0} 12 | \setcounter{enumi}{0} 13 | \setcounter{enumii}{0} 14 | \setcounter{enumiii}{0} 15 | \setcounter{enumiv}{0} 16 | \setcounter{footnote}{0} 17 | \setcounter{mpfootnote}{0} 18 | \setcounter{part}{0} 19 | \setcounter{chapter}{3} 20 | \setcounter{section}{0} 21 | \setcounter{subsection}{0} 22 | \setcounter{subsubsection}{0} 23 | \setcounter{paragraph}{0} 24 | \setcounter{subparagraph}{0} 25 | \setcounter{figure}{0} 26 | \setcounter{table}{0} 27 | \setcounter{NAT@ctr}{0} 28 | \setcounter{parentequation}{0} 29 | \setcounter{ContinuedFloat}{0} 30 | \setcounter{FP@figureC}{0} 31 | \setcounter{FP@tableC}{0} 32 | \setcounter{subfigure}{0} 33 | \setcounter{subtable}{0} 34 | \setcounter{currfiledepth}{0} 35 | \setcounter{LT@tables}{0} 36 | \setcounter{LT@chunks}{0} 37 | \setcounter{idxcols}{2} 38 | \setcounter{su@anzahl}{0} 39 | \setcounter{@pps}{1} 40 | \setcounter{@ppsavesec}{4} 41 | \setcounter{@ppsaveapp}{0} 42 | \setcounter{Item}{0} 43 | \setcounter{Hfootnote}{0} 44 | \setcounter{bookmark@seq@number}{22} 45 | \setcounter{section@level}{1} 46 | } 47 | -------------------------------------------------------------------------------- /appendix/appendix4.aux: -------------------------------------------------------------------------------- 1 | \relax 2 | \providecommand\hyper@newdestlabel[2]{} 3 | \@writefile{toc}{\contentsline {chapter}{Appendix \numberline {D}Appendix-4}{29}{Appendix.a.D}} 4 | \@writefile{lof}{\addvspace {10\p@ }} 5 | \@writefile{lot}{\addvspace {10\p@ }} 6 | \newlabel{appendix-4}{{D}{29}{Appendix-4}{Appendix.a.D}{}} 7 | \bibstyle{abbrvnat} 8 | \bibdata{literature} 9 | \@setckpt{appendix/appendix4}{ 10 | \setcounter{page}{30} 11 | \setcounter{equation}{0} 12 | \setcounter{enumi}{0} 13 | \setcounter{enumii}{0} 14 | \setcounter{enumiii}{0} 15 | \setcounter{enumiv}{0} 16 | \setcounter{footnote}{0} 17 | \setcounter{mpfootnote}{0} 18 | \setcounter{part}{0} 19 | \setcounter{chapter}{4} 20 | \setcounter{section}{0} 21 | \setcounter{subsection}{0} 22 | \setcounter{subsubsection}{0} 23 | \setcounter{paragraph}{0} 24 | \setcounter{subparagraph}{0} 25 | \setcounter{figure}{0} 26 | \setcounter{table}{0} 27 | \setcounter{NAT@ctr}{0} 28 | \setcounter{parentequation}{0} 29 | \setcounter{ContinuedFloat}{0} 30 | \setcounter{FP@figureC}{0} 31 | \setcounter{FP@tableC}{0} 32 | \setcounter{subfigure}{0} 33 | \setcounter{subtable}{0} 34 | \setcounter{currfiledepth}{0} 35 | \setcounter{LT@tables}{0} 36 | \setcounter{LT@chunks}{0} 37 | \setcounter{idxcols}{2} 38 | \setcounter{su@anzahl}{0} 39 | \setcounter{@pps}{1} 40 | \setcounter{@ppsavesec}{4} 41 | \setcounter{@ppsaveapp}{0} 42 | \setcounter{Item}{0} 43 | \setcounter{Hfootnote}{0} 44 | \setcounter{bookmark@seq@number}{23} 45 | \setcounter{section@level}{1} 46 | } 47 | -------------------------------------------------------------------------------- /scrivener-customization/zotpicknix-pd: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## INSTALLATION ## 4 | # See README.md for details 5 | # The default text editor is set to Scrivener. Edit Preferences below if you use a different program. 6 | 7 | ## PREFERENCES ## 8 | textEditor="Scrivener" # Replace "Scrivener" with the name of your preferred text editor (as it appears in the program window) 9 | CAYW_URL="http://localhost:23119/better-bibtex/cayw?format=pandoc" # Edit the URL as needed for a different citation marker format. 10 | LOG=/home/dinesh/Logs/zotpickpd.log 11 | 12 | BBT_status=$(/usr/bin/curl --noproxy "*" 'http://localhost:23119/better-bibtex/cayw?probe=probe' 2>/dev/null) 13 | 14 | if [ "$BBT_status" == "ready" ] 2>/dev/null; then 15 | notify-send "Accessing Zotero picker..." 16 | citation=$(/usr/bin/curl --noproxy "*" $CAYW_URL 2>/dev/null) 17 | 18 | if [[ "$(uname)" =~ Darwin ]]; then 19 | echo $citation | pbcopy -selection c 20 | else 21 | echo $citation | xclip -selection c 22 | fi 23 | 24 | exit 0; 25 | 26 | elif [ -z "$BBT_status" ]; then 27 | notify-send "Please launch Zotero with the Better BibTeX plugin. If Zotero is running, check 'Enable export by HTTP' in BBT and restart Zotero." 28 | xdotool windowactivate $widTE 29 | exit 4; 30 | 31 | elif [ "$BBT_status" == "No endpoint found" ] 2>/dev/null; then 32 | notify-send "Better BibTeX cannot find your library. Ensure only one Zotero instance is open. If so, reinstall Better BibTeX." 33 | else 34 | notify-send "Unknown error in Better BibTex. Please restart Zotero and try again." 35 | fi 36 | xdotool windowactivate $widTE 37 | exit 5; 38 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | MANIFEST 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | .pytest_cache/ 49 | 50 | # Translations 51 | *.mo 52 | *.pot 53 | 54 | # Django stuff: 55 | *.log 56 | local_settings.py 57 | db.sqlite3 58 | 59 | # Flask stuff: 60 | instance/ 61 | .webassets-cache 62 | 63 | # Scrapy stuff: 64 | .scrapy 65 | 66 | # Sphinx documentation 67 | docs/_build/ 68 | 69 | # PyBuilder 70 | target/ 71 | 72 | # Jupyter Notebook 73 | .ipynb_checkpoints 74 | 75 | # pyenv 76 | .python-version 77 | 78 | # celery beat schedule file 79 | celerybeat-schedule 80 | 81 | # SageMath parsed files 82 | *.sage.py 83 | 84 | # Environments 85 | .env 86 | .venv 87 | env/ 88 | venv/ 89 | ENV/ 90 | env.bak/ 91 | venv.bak/ 92 | 93 | # Spyder project settings 94 | .spyderproject 95 | .spyproject 96 | 97 | # Rope project settings 98 | .ropeproject 99 | 100 | # mkdocs documentation 101 | /site 102 | 103 | # mypy 104 | .mypy_cache/ 105 | 106 | # Misc 107 | To-Do 108 | old/ 109 | 110 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/docs.checksum: -------------------------------------------------------------------------------- 1 | 04FF7E06-D773-4908-BC7C-EFF9A3B67241/content.rtf=f9bec54d7a1f51d7ac0d753e3b60504bb6c5083a 2 | 106C43CB-B466-45AA-8B57-391BA10CE6C5/content.rtf=6cae495fa5f940a1a39371c8463b01cd63920c0c 3 | 106C43CB-B466-45AA-8B57-391BA10CE6C5/notes.rtf=37c2c7fca7881f631d0326b9f928f1bc5b1caf64 4 | 51B85016-3802-4545-847A-B547A7742527/content.rtf=11c61d4401a94ead58bd6e11431b7648736c5ad9 5 | 5493308B-8018-4B77-925C-DEA8F3063513/notes.rtf=3f45857acd6cbc945b17eafeba0e8b055b7a65f4 6 | 61520D82-ACD7-460E-A0A1-519CEABB163C/content.rtf=891613fd20b4bb6355fc264e7bd676257bf4d7c1 7 | 6C33001E-72D7-4EE0-BF22-FD273D32CD64/content.rtf=21ab415bc5ada2c8a81a9eb58edd837cc0fb6d85 8 | 6EBD3FB9-3F94-4F7F-9A9F-AC289DC2E742/notes.rtf=d7d53578fad7ae98fc98f18b43014e167aeb3109 9 | 7031D787-6B71-4FFD-9F70-D50BBC3E123F/content.rtf=ca97c84f39799e67d7d0b5f4e4f801d3113febf6 10 | 902BE313-6918-4F62-A221-8EB5BF33D23F/content.rtf=3b201280c22a8ec3c2762ff3375f692f96ee7b58 11 | 981E68DD-9C96-463B-B88A-C04BE1FE3B8F/content.rtf=e658cfffceb6fc397af71c067a24640ea69548b8 12 | B776C532-B14B-439B-81C8-D2396271511B/content.rtf=7bbe8b3586cf60f898a06f4296f99ba1e572036e 13 | BCD0C532-FFD3-4F53-B8D4-7B2612656980/content.rtf=1c0e461bcf04ad5a50400f02fd96d3e6204e6cca 14 | BDD323AB-2E43-4C47-806D-FB72D1A1009C/content.rtf=71d9b3573e992ad39951470eb947a0c5ed41b7ae 15 | CEB28ADA-5CCC-46F0-AEED-A7A2139E86C1/content.rtf=64eeef7cc998dcf6cad8cb7ffa61ba64d0fd4265 16 | D3CE9386-07B9-44A2-B963-0E3C130FF8AD/content.rtf=c01ca1247a32f5a158c85e17220ea78571993947 17 | E85B58D4-A154-4923-B21F-50DE629C86C1/content.rtf=21ab415bc5ada2c8a81a9eb58edd837cc0fb6d85 18 | E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5/content.rtf=69eb5aee4a287e49d7c84df3e9d8f221405c97e4 19 | E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5/notes.rtf=3aa82550335d750d0e9bbfaa3062e8da2384eed6 20 | E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5/synopsis.txt=b10607ccc99f8ddbc1e078e8c4acb271e82625b9 21 | F777C263-709B-4455-90F7-A4B77B395FE9/content.rtf=4acbd0ebe19ce165afd5f9de816da7e5441aafc3 22 | F8F18BB9-AD38-430A-A101-934E64A767F3/content.rtf=3f0dd91dd8a072230164dfd7d8afae2e3d765b11 23 | FA85D51A-A5B6-4A33-9CD7-296EC1D649AE/content.rtf=78237cbf059296a8b0ef7bf08f92217460d02fa2 24 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/E8BD77A9-DEB7-4DAB-A21F-73361C9B30A5/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 TimesNewRomanPSMT;}{\f2\fmodern\fcharset0\fprq2 CourierNewPSMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 5 | \pgnrestart\pgnstarts0 6 | \pard\plain \ltrch\loch \f2\fs24\b0\i0 7 | 8 | 9 | \trowd\trgaph108 \trautofit1\lastrow \trbrdrt\brdrnil \trbrdrr\brdrnil \trbrdrb\brdrnil \trbrdrl\brdrnil 10 | \clvertalt \clshdrawnil\clbrdrt\brdrnil \clbrdrr\brdrnil \clbrdrb\brdrnil \clbrdrl\brdrnil \cellx4320 11 | 12 | \clvertalt \clshdrawnil\clbrdrt\brdrnil \clbrdrr\brdrnil \clbrdrb\brdrnil \clbrdrl\brdrnil \cellx8640 13 | 14 | \pard\plain \intbl\itap1\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql{\f1\fs24\b0\i0 Your name} 15 | \par\plain \intbl\itap1{\f1\fs24\b0\i0 Your address} 16 | \par\plain \intbl\itap1{\f1\fs24\b0\i0 Your phone number} 17 | \par\plain \intbl\itap1{\f1\fs24\b0\i0 Your e-mail address} 18 | \par\plain \intbl\itap1\f1\fs24\b0\i0\cf1 19 | \par\plain \intbl\itap1{\f1\fs24\b0\i0 Your agent\loch\af1\hich\af1\dbch\af1\uc1\u8217\'92s name} 20 | \par\plain \intbl\itap1{\f1\fs24\b0\i0 Your agent\loch\af1\hich\af1\dbch\af1\uc1\u8217\'92s address}\cell 21 | \pard\plain \intbl\itap1\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qr{\f1\fs24\b0\i0 <$wc100> words.}\cell{ 22 | \trowd\trgaph108 \trautofit1\lastrow \trbrdrt\brdrnil \trbrdrr\brdrnil \trbrdrb\brdrnil \trbrdrl\brdrnil 23 | \clvertalt \clshdrawnil\clbrdrt\brdrnil \clbrdrr\brdrnil \clbrdrb\brdrnil \clbrdrl\brdrnil \cellx4320 24 | 25 | \clvertalt \clshdrawnil\clbrdrt\brdrnil \clbrdrr\brdrnil \clbrdrb\brdrnil \clbrdrl\brdrnil \cellx8640 26 | \row}\pard 27 | \pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\ltrch\loch \f1\fs24\b0\i0\cf1 28 | \par\plain \f1\fs24\b0\i0\cf1 29 | \par\plain \f1\fs24\b0\i0\cf1 30 | \par\plain \f1\fs24\b0\i0\cf1 31 | \par\plain \f1\fs24\b0\i0\cf1 32 | \par\plain \f1\fs24\b0\i0\cf1 33 | \par\plain \f1\fs24\b0\i0\cf1 34 | \par\plain \f1\fs24\b0\i0\cf1 35 | \par\plain \f1\fs24\b0\i0\cf1 36 | \par\plain \f1\fs24\b0\i0\cf1 37 | \par\plain \f1\fs24\b0\i0\cf1 38 | \par\plain \f1\fs24\b0\i0\cf1 39 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\ltrch\loch \f1\fs24\b0\i0\cf1 40 | \par\plain {\f1\fs24\b0\i0 <$projecttitle>} 41 | \par\plain \f1\fs24\b0\i0\cf1 42 | \par\plain {\f1\fs24\b0\i0 by <$fullname>}} -------------------------------------------------------------------------------- /thesis-example.scriv/Settings/compile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -1 10 | 11 | 12 | 13 | Yes 14 | Yes 15 | 16 | 17 | Yes 18 | Yes 19 | Yes 20 | 21 | 22 | Yes 23 | 24 | 25 | Cover 26 | 27 | 28 | 29 | 30 | Contents 31 | 32 | 33 | 34 | 35 | 36 | <$template_projectName> 37 | <$template_projectName> 38 | <$template_lastName> 39 | <$template_firstName> 40 | en 41 | 42 | ]]> 43 | ]]> 44 | 45 | 46 | ]]> 47 | ]]> 48 | 49 | 50 | 51 | mmd 52 | 53 | 54 | 55 | 56 | TEXT-SECTION 57 | TEXT-SECTION 58 | TEXT-SECTION 59 | TEXT-SECTION 60 | TEXT-SECTION 61 | 62 | 63 | 64 | 65 | F763F339-9848-4B2D-981A-3DABAC2B5253 66 | DEFAULT 67 | 68 | 69 | -------------------------------------------------------------------------------- /my-thesis-main.tex: -------------------------------------------------------------------------------- 1 | \documentclass[ 2 | 12pt, 3 | a4paper, 4 | %oneside, % Uncomment this for digital 5 | twoside, % Use twoside for printing. 6 | openright, % Uncomment this for printing 7 | ]{book} 8 | % ]{scrbook} 9 | 10 | % Ragged bottom prevents variable spacing text and floats (done usually to keep last lines in both pages same in book format.) 11 | \raggedbottom 12 | 13 | % Fonts 14 | \usepackage[english]{babel} 15 | \usepackage{fontspec} 16 | \usepackage{parskip} 17 | 18 | % Bibliography 19 | \usepackage[round]{natbib} 20 | \usepackage[sectionbib]{chapterbib} %References on each chapter 21 | \usepackage{chapterbib} 22 | 23 | % Graphics and other packages for text and figures 24 | \usepackage{graphicx} 25 | \graphicspath{ {figures/cropped/} } 26 | \usepackage[dvipsnames]{xcolor} 27 | \usepackage{enumitem, siunitx, mathtools, amsfonts} 28 | \usepackage[font=small, labelfont=bf, singlelinecheck=false, width=.95\textwidth, labelsep=colon]{caption} 29 | \usepackage[rightFloats, CaptionBefore]{styles/fltpage} 30 | \newtagform{brackets}{[}{]} 31 | \usetagform{brackets} 32 | \newcommand{\figuretitle}{} 33 | \DeclareCaptionFormat{myformat}{#1 #2 \textbf{\figuretitle} \\ #3} 34 | \captionsetup{format=myformat} 35 | \captionsetup[FPfigure]{format=myformat} 36 | \newenvironment{Mfigure}[1] 37 | {\renewcommand{\figuretitle}{#1} 38 | \begin{figure}[htbp]} 39 | {\end{figure}} 40 | \newenvironment{MFPfigure}[1] 41 | {\renewcommand{\figuretitle}{#1} 42 | \begin{FPfigure}} 43 | {\end{FPfigure}} 44 | \newenvironment{Mtable}[1] 45 | {\renewcommand{\figuretitle}{#1} 46 | \begin{table}[htbp]} 47 | {\end{table}} 48 | \usepackage{subcaption} 49 | 50 | % Packages to make the thesis beautiful. 51 | \usepackage{standalone} % load only in the main file 52 | \usepackage{fancyhdr} %For header 53 | \usepackage{emptypage} % Removes header from empty pages 54 | \usepackage{longtable} % Multipage Tables 55 | \usepackage{makeidx} %To make index page 56 | \usepackage[totoc]{idxlayout} %To get index into TOC 57 | \usepackage[acronym,toc]{glossaries} %Acronyms, TOC option will add it to TOC 58 | \usepackage[titletoc,title]{appendix} %For Appendix 59 | % \raggedbottom 60 | % \setlength{\parskip}{1em plus .1em minus 1.em} 61 | 62 | % Short chapter and section headings 63 | \newcommand{\markedchapter}[2]{\chapter[#2]{#2% 64 | \chaptermark{#1}} 65 | \chaptermark{#1}} 66 | \newcommand{\markedsection}[2]{\section[#2]{#2% 67 | \sectionmark{#1}} 68 | \sectionmark{#1}} 69 | 70 | % Need to remove section numbers of appendix from TOC 71 | \usepackage{etoolbox} 72 | \appto\appendix{\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}} 73 | % reinstate the correct level for list of tables and figures 74 | \appto\listoffigures{\addtocontents{lof}{\protect\setcounter{tocdepth}{1}}} 75 | \appto\listoftables{\addtocontents{lot}{\protect\setcounter{tocdepth}{1}}} 76 | 77 | %Create new style to add header on each page 78 | \pagestyle{fancy} 79 | \fancyhf{} 80 | \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 81 | % \newcommand{\mymark}{\chaptername\ \thechapter.\ \ \leftmark} 82 | \makeatletter 83 | \fancyhead[RO]{\if@mainmatter \slshape\nouppercase{\leftmark} \else \slshape\nouppercase{\leftmark} \fi} 84 | \fancyhead[LE]{\if@mainmatter \slshape\nouppercase{\rightmark} \else \slshape\nouppercase{\leftmark} \fi} 85 | \makeatother 86 | \cfoot{\fancyplain{}{\thepage}} 87 | \setlength{\headheight}{15pt} 88 | 89 | % Footnote related command 90 | \newcommand\pubnote[1]{% 91 | \begingroup 92 | \renewcommand\thefootnote{}\footnote{#1}% 93 | \addtocounter{footnote}{-1}% 94 | \endgroup 95 | } 96 | 97 | % Author, title information 98 | \author{C.M.O.T Dibbler} 99 | \usepackage[ 100 | pdfauthor={C.M.O.T Dibbler}, 101 | pdftitle ={The chronicles of Blind Io}, 102 | pdfsubject={Theology}, 103 | pdfkeywords={preach, time, faith, disbelief, bargain}, hidelinks]{hyperref} %References and hyperlinks 104 | 105 | % Comment following Hypersetup during printing 106 | \hypersetup{ 107 | colorlinks = true, %Colours links instead of ugly boxes 108 | urlcolor = blue, %Colour for external hyperlinks 109 | linkcolor = BurntOrange, %Colour of internal links 110 | citecolor = teal %Colour of citations 111 | } 112 | 113 | % \makeindex %Makes index file. 114 | % \makeglossaries %Make glossary file 115 | 116 | \begin{document} 117 | 118 | \frontmatter 119 | \input{front_matter/cover_page} 120 | \input{front_matter/declaration} 121 | \input{front_matter/certificate} 122 | \input{front_matter/publications} 123 | \input{front_matter/acknowledgment} 124 | \input{front_matter/dedication} 125 | 126 | \printglossary[type=\acronymtype,title={Abbreviations}, style=alttree] 127 | \phantomsection 128 | \addcontentsline{toc}{chapter}{\listfigurename} 129 | \listoffigures 130 | \phantomsection 131 | \addcontentsline{toc}{chapter}{\listtablename} 132 | \listoftables 133 | \tableofcontents 134 | 135 | \chapter{Acknowledgements} 136 | I would like to thank my supervisors, Professor Someone. This 137 | research was funded by the Imaginary Research Council. 138 | 139 | \chapter{Abstract} 140 | A brief summary of the project goes here. 141 | % A glossary and list of acronyms may go here 142 | % or may go in the back matter. 143 | 144 | \mainmatter 145 | %% \input{scrivener-input.tex} %% This line is required to properly autogenerate tex files. 146 | 147 | % acronymns etc 148 | \input{helpers/acronym} %Include add acronyms 149 | \printindex 150 | 151 | % The bibliography will go here 152 | %\bibliographystyle{plainnat} 153 | %\bibliography{literature} 154 | 155 | \end{document} 156 | -------------------------------------------------------------------------------- /my-thesis.tex: -------------------------------------------------------------------------------- 1 | \documentclass[ 2 | 12pt, 3 | a4paper, 4 | %oneside, % Uncomment this for digital 5 | twoside, % Use twoside for printing. 6 | openright, % Uncomment this for printing 7 | ]{book} 8 | % ]{scrbook} 9 | 10 | % Ragged bottom prevents variable spacing text and floats (done usually to keep last lines in both pages same in book format.) 11 | \raggedbottom 12 | 13 | % Fonts 14 | \usepackage[english]{babel} 15 | \usepackage{fontspec} 16 | \usepackage{parskip} 17 | 18 | % Bibliography 19 | \usepackage[round]{natbib} 20 | \usepackage[sectionbib]{chapterbib} %References on each chapter 21 | \usepackage{chapterbib} 22 | 23 | % Graphics and other packages for text and figures 24 | \usepackage{graphicx} 25 | \graphicspath{ {figures/cropped/} } 26 | \usepackage[dvipsnames]{xcolor} 27 | \usepackage{enumitem, siunitx, mathtools, amsfonts} 28 | \usepackage[font=small, labelfont=bf, singlelinecheck=false, width=.95\textwidth, labelsep=colon]{caption} 29 | \usepackage[rightFloats, CaptionBefore]{styles/fltpage} 30 | \newtagform{brackets}{[}{]} 31 | \usetagform{brackets} 32 | \newcommand{\figuretitle}{} 33 | \DeclareCaptionFormat{myformat}{#1 #2 \textbf{\figuretitle} \\ #3} 34 | \captionsetup{format=myformat} 35 | \captionsetup[FPfigure]{format=myformat} 36 | \newenvironment{Mfigure}[1] 37 | {\renewcommand{\figuretitle}{#1} 38 | \begin{figure}[htbp]} 39 | {\end{figure}} 40 | \newenvironment{MFPfigure}[1] 41 | {\renewcommand{\figuretitle}{#1} 42 | \begin{FPfigure}} 43 | {\end{FPfigure}} 44 | \newenvironment{Mtable}[1] 45 | {\renewcommand{\figuretitle}{#1} 46 | \begin{table}[htbp]} 47 | {\end{table}} 48 | \usepackage{subcaption} 49 | 50 | % Packages to make the thesis beautiful. 51 | \usepackage{standalone} % load only in the main file 52 | \usepackage{fancyhdr} %For header 53 | \usepackage{emptypage} % Removes header from empty pages 54 | \usepackage{longtable} % Multipage Tables 55 | \usepackage{makeidx} %To make index page 56 | \usepackage[totoc]{idxlayout} %To get index into TOC 57 | \usepackage[acronym,toc]{glossaries} %Acronyms, TOC option will add it to TOC 58 | \usepackage[titletoc,title]{appendix} %For Appendix 59 | % \raggedbottom 60 | % \setlength{\parskip}{1em plus .1em minus 1.em} 61 | 62 | % Short chapter and section headings 63 | \newcommand{\markedchapter}[2]{\chapter[#2]{#2% 64 | \chaptermark{#1}} 65 | \chaptermark{#1}} 66 | \newcommand{\markedsection}[2]{\section[#2]{#2% 67 | \sectionmark{#1}} 68 | \sectionmark{#1}} 69 | 70 | % Need to remove section numbers of appendix from TOC 71 | \usepackage{etoolbox} 72 | \appto\appendix{\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}} 73 | % reinstate the correct level for list of tables and figures 74 | \appto\listoffigures{\addtocontents{lof}{\protect\setcounter{tocdepth}{1}}} 75 | \appto\listoftables{\addtocontents{lot}{\protect\setcounter{tocdepth}{1}}} 76 | 77 | %Create new style to add header on each page 78 | \pagestyle{fancy} 79 | \fancyhf{} 80 | \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 81 | % \newcommand{\mymark}{\chaptername\ \thechapter.\ \ \leftmark} 82 | \makeatletter 83 | \fancyhead[RO]{\if@mainmatter \slshape\nouppercase{\leftmark} \else \slshape\nouppercase{\leftmark} \fi} 84 | \fancyhead[LE]{\if@mainmatter \slshape\nouppercase{\rightmark} \else \slshape\nouppercase{\leftmark} \fi} 85 | \makeatother 86 | \cfoot{\fancyplain{}{\thepage}} 87 | \setlength{\headheight}{15pt} 88 | 89 | % Footnote related command 90 | \newcommand\pubnote[1]{% 91 | \begingroup 92 | \renewcommand\thefootnote{}\footnote{#1}% 93 | \addtocounter{footnote}{-1}% 94 | \endgroup 95 | } 96 | 97 | % Author, title information 98 | \author{C.M.O.T Dibbler} 99 | \usepackage[ 100 | pdfauthor={C.M.O.T Dibbler}, 101 | pdftitle ={The chronicles of Blind Io}, 102 | pdfsubject={Theology}, 103 | pdfkeywords={preach, time, faith, disbelief, bargain}, hidelinks]{hyperref} %References and hyperlinks 104 | 105 | % Comment following Hypersetup during printing 106 | \hypersetup{ 107 | colorlinks = true, %Colours links instead of ugly boxes 108 | urlcolor = blue, %Colour for external hyperlinks 109 | linkcolor = BurntOrange, %Colour of internal links 110 | citecolor = teal %Colour of citations 111 | } 112 | 113 | % \makeindex %Makes index file. 114 | % \makeglossaries %Make glossary file 115 | 116 | \begin{document} 117 | 118 | \frontmatter 119 | \input{front_matter/cover_page} 120 | \input{front_matter/declaration} 121 | \input{front_matter/certificate} 122 | \input{front_matter/publications} 123 | \input{front_matter/acknowledgment} 124 | \input{front_matter/dedication} 125 | 126 | \printglossary[type=\acronymtype,title={Abbreviations}, style=alttree] 127 | \phantomsection 128 | \addcontentsline{toc}{chapter}{\listfigurename} 129 | \listoffigures 130 | \phantomsection 131 | \addcontentsline{toc}{chapter}{\listtablename} 132 | \listoftables 133 | \tableofcontents 134 | 135 | \chapter{Acknowledgements} 136 | I would like to thank my supervisors, Professor Someone. This 137 | research was funded by the Imaginary Research Council. 138 | 139 | \chapter{Abstract} 140 | A brief summary of the project goes here. 141 | % A glossary and list of acronyms may go here 142 | % or may go in the back matter. 143 | 144 | \mainmatter 145 | \include{chapters/chapter1} 146 | \include{chapters/chapter2} 147 | \include{chapters/chapter3} 148 | \include{chapters/chapter4} 149 | \begin{appendices} 150 | \include{appendix/appendix1} 151 | \include{appendix/appendix2} 152 | \include{appendix/appendix3} 153 | \include{appendix/appendix4} 154 | \end{appendices} 155 | 156 | % acronymns etc 157 | \input{helpers/acronym} %Include add acronyms 158 | \printindex 159 | 160 | % The bibliography will go here 161 | %\bibliographystyle{plainnat} 162 | %\bibliography{literature} 163 | 164 | \end{document} 165 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 19 | 27 | 35 | 43 | 51 | 59 | 67 | 75 | 83 | 84 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/51B85016-3802-4545-847A-B547A7742527/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 Calibri;}{\f2\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | {\*\listtable 5 | {\list\listtemplateid1\listhybrid 6 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid1} 7 | {\list\listtemplateid2\listhybrid 8 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid2}} 9 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} 10 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 11 | \pgnrestart\pgnstarts0 12 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 ## <$title>\{#<$label>-<$parentposition>.<$position>\}} 13 | \par\plain \f0\fs26\b0\i0 14 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f0\fs52\b0\i0 <$Scr_Ps::0>OK, this has gotta stop. I'm going to remind Fry of his humanity the way only a woman can.} 15 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Then we'll go with that data file! No, she'll probably make me do it. They're like sex, except I'm having them! What are their names? Alright, let's mafia things up a bit. Joey, burn down the ship. Clamps, burn down the crew.} 16 | \par\plain {\f0\fs26\b0\i0 No, she'll probably make me do it. }{\f1\fs26\b1\i0 Okay, it's 500 dollars, you have no choice of carrier, the battery can't hold the charge and the reception isn't very\loch\af1\hich\af1\dbch\af1\uc1\u8230\'85 Bender, hurry!}{\f0\fs26\b0\i0 }{\f2\fs26\b0\i1 This fuel's expensive!}{\f0\fs26\b0\i0 Also, we're dying!} 17 | \par\plain \f0\fs26\b0\i0 18 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs40\b1\i0 <$Scr_Ps::1><$Scr_H::1>But I know you in the future. I cleaned your poop.} 19 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Kif, I have mated with a woman. Inform the men. We'll need to have a look inside you with this camera. And then the battle's not so bad? Ow, my spirit! Yes, if you make it look like an electrical fire. When you do things right, people won't be sure you've done anything at all.} 20 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Why am I sticky and naked? Did I miss something fun?} 21 | \par\pard\plain \li720\fi-360\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 For one beautiful night I knew what it was like to be a grandmother. Subjugated, yet honored.} 22 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 When the lights go out, it's nobody's business what goes on between two consenting adults.} 23 | \par\pard\plain \sa240\sb240\ltrch\loch \f0\fs26\b0\i0 24 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs32\b1\i0 <$Scr_Ps::2><$Scr_H::2>Why would a robot need to drink?} 25 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 I guess if you want children beaten, you have to do it yourself. Tell her you just want to talk. It has nothing to do with mating. Look, everyone wants to be like Germany, but do we really have the pure strength of 'will'?} 26 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Who are you, my warranty?!} 27 | \par\pard\plain \li720\fi-360\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 If rubbin' frozen dirt in your crotch is wrong, hey I don't wanna be right.} 28 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Bender! Ship! Stop bickering or I'm going to come back there and change your opinions manually!} 29 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 I wish! It's a nickel. Hey, whatcha watching? Hey, whatcha watching? I love this planet! I've got wealth, fame, and access to the depths of sleaze that those things bring.} 30 | \par\plain {\f0\fs26\b0\i0 We don't have a brig. Meh. You'll have all the Slurm you can drink when you're partying with Slurms McKenzie! You are the last hope of the universe. No! The kind with looting and maybe starting a few fires!} 31 | \par\plain {\f0\fs26\b0\i0 Shut up and take my money! And I'd do it again! And perhaps a third time! But that would be it. Then we'll go with that data file! We can't compete with Mom! Her company is big and evil! Ours is small and neutral!} 32 | \par\plain {\f0\fs26\b0\i0 Goodbye, cruel world. Goodbye, cruel lamp. Goodbye, cruel velvet drapes, lined with what would appear to be some sort of cruel muslin and the cute little pom-pom curtain pull cords. Cruel though they may be\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 Is the Space Pope reptilian!?} 33 | \par\plain {\f0\fs26\b0\i0 You're going to do his laundry? Yeah, lots of people did. Do a flip! Would you censor the Venus de Venus just because you can see her spewers? Oh, I always feared he might run off like this. Why, why, why didn't I break his legs?} 34 | \par\plain {\f0\fs26\b0\i0 Yeah. Give a little credit to our public schools. Fry, you can't just sit here in the dark listening to classical music. Daylight and everything. Oh right. I forgot about the battle.} 35 | \par\plain {\f0\fs26\b0\i0 Bender, you risked your life to save me! Hey, whatcha watching? There's one way and only one way to determine if an animal is intelligent. Dissect its brain! Ooh, name it after me!} 36 | \par\plain {\f0\fs26\b0\i0 I guess if you want children beaten, you have to do it yourself. And I'm his friend Jesus. Look, everyone wants to be like Germany, but do we really have the pure strength of 'will'? Daddy Bender, we're hungry.} 37 | \par\plain {\f0\fs26\b0\i0 Ah, computer dating. It's like pimping, but you rarely have to use the phrase "upside your head." It doesn't look so shiny to me. Ven ve voke up, ve had zese wodies. A true inspiration for the children.} 38 | \par\plain {\f0\fs26\b0\i0 It must be wonderful. Ah, yes! John Quincy Adding Machine. He struck a chord with the voters when he pledged not to go on a killing spree. Robot 1-X, save my friends! And Zoidberg! Dear God, they'll be killed on our doorstep! And there's no trash pickup until January 3rd.} 39 | \par\plain {\f0\fs26\b0\i0 Bender! Ship! Stop bickering or I'm going to come back there and change your opinions manually! You are the last hope of the universe. You lived before you met me?! Wow, you got that off the Internet? In my day, the Internet was only used to download pornography. }} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/7031D787-6B71-4FFD-9F70-D50BBC3E123F/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 Calibri;}{\f2\fmodern\fcharset0\fprq2 Calibri;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | {\*\listtable 5 | {\list\listtemplateid1\listhybrid 6 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid1} 7 | {\list\listtemplateid2\listhybrid 8 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid2}} 9 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} 10 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 11 | \pgnrestart\pgnstarts0 12 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 ## <$title>\{#<$label>-<$parentposition>.<$position>\}} 13 | \par\plain \f0\fs26\b0\i0 14 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f0\fs52\b0\i0 <$Scr_Ps::0>Nihil molestiae consequatur, vel illum qui dolorem eum.} 15 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque. Do eiusmod tempor incididunt ut labore et dolore magna aliqua.} 16 | \par\plain {\f0\fs26\b0\i0 Ut enim ad minim veniam, quis nostrud exercitation ullamco. }{\f1\fs26\b1\i0 Eaque ipsa quae ab illo inventore veritatis et quasi.}{\f0\fs26\b0\i0 }{\f2\fs26\b0\i1 Animi, id est laborum et dolorum fuga.}{\f0\fs26\b0\i0 Accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo.} 17 | \par\plain \f0\fs26\b0\i0 18 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs40\b1\i0 <$Scr_Ps::1><$Scr_H::1>Laboris nisi ut aliquip ex ea commodo consequat.} 19 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Do eiusmod tempor incididunt ut labore et dolore magna aliqua. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae.} 20 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia.} 21 | \par\pard\plain \li720\fi-360\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Laboris nisi ut aliquip ex ea commodo consequat.} 22 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Totam rem aperiam.} 23 | \par\pard\plain \sa240\sb240\ltrch\loch \f0\fs26\b0\i0 24 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs32\b1\i0 <$Scr_Ps::2><$Scr_H::2>Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat.} 25 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa. Nihil molestiae consequatur, vel illum qui dolorem eum. Corrupti quos dolores et quas molestias excepturi sint occaecati.} 26 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 At vero eos et accusamus.} 27 | \par\pard\plain \li720\fi-360\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.} 28 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Qui officia deserunt mollit anim id est laborum.} 29 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Ut enim ad minim veniam, quis nostrud exercitation ullamco. Non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.} 30 | \par\plain {\f0\fs26\b0\i0 Architecto beatae vitae dicta sunt explicabo. Totam rem aperiam. Accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo. Excepteur sint occaecat cupidatat non proident, sunt in culpa.} 31 | \par\plain {\f0\fs26\b0\i0 Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.} 32 | \par\plain {\f0\fs26\b0\i0 Nihil molestiae consequatur, vel illum qui dolorem eum. Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Laboris nisi ut aliquip ex ea commodo consequat. Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.} 33 | \par\plain {\f0\fs26\b0\i0 Totam rem aperiam. Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Do eiusmod tempor incididunt ut labore et dolore magna aliqua.} 34 | \par\plain {\f0\fs26\b0\i0 Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Eaque ipsa quae ab illo inventore veritatis et quasi. Laboris nisi ut aliquip ex ea commodo consequat. Do eiusmod tempor incididunt ut labore et dolore magna aliqua.} 35 | \par\plain {\f0\fs26\b0\i0 Ut enim ad minim veniam, quis nostrud exercitation ullamco. Et harum quidem rerum facilis est et expedita distinctio. Ut enim ad minim veniam, quis nostrud exercitation ullamco. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.} 36 | \par\plain {\f0\fs26\b0\i0 Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Animi, id est laborum et dolorum fuga.} 37 | \par\plain {\f0\fs26\b0\i0 Accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque ipsa quae ab illo inventore veritatis et quasi. Laboris nisi ut aliquip ex ea commodo consequat.} 38 | \par\plain {\f0\fs26\b0\i0 Ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Totam rem aperiam. Fugiat quo voluptas nulla pariatur? Qui officia deserunt mollit anim id est laborum.} 39 | \par\plain {\f0\fs26\b0\i0 Corrupti quos dolores et quas molestias excepturi sint occaecati. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Eaque ipsa quae ab illo inventore veritatis et quasi. } 40 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/CEB28ADA-5CCC-46F0-AEED-A7A2139E86C1/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 Calibri;}{\f2\fmodern\fcharset0\fprq2 Calibri;}{\f3\fmodern\fcharset0\fprq2 CourierNewPSMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | {\*\listtable 5 | {\list\listtemplateid1\listhybrid 6 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid1} 7 | {\list\listtemplateid2\listhybrid 8 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid2}} 9 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} 10 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 11 | \pgnrestart\pgnstarts0 12 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 ## <$title>\{#<$label>-<$parentposition>.<$position>\}} 13 | \par\plain \f0\fs26\b0\i0 14 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f0\fs52\b0\i0 <$Scr_Ps::0>I'm a thing.} 15 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 No argument here. When will that be? Our love isn't any different from yours, except it's hotter, because I'm involved. One hundred dollars. As an interesting side note, as a head without a body, I envy the dead.} 16 | \par\plain {\f1\fs26\b1\i0 Is today's hectic lifestyle making you tense and impatient?}{\f0\fs26\b0\i0 }{\f2\fs26\b0\i1 Morbo can't understand his teleprompter because he forgot how you say that letter that's shaped like a man wearing a hat.}{\f0\fs26\b0\i0 Oh yeah, good luck with that [@Zongkerchicken2005].} 17 | \par\plain \f0\fs26\b0\i0 18 | \par\pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f3\fs26\b0\i0 \\input\{figures/texs/fig:c2.tex\}} 19 | \par\pard\plain \sa240\sb240\ltrch\loch \f0\fs26\b0\i0 20 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs40\b1\i0 <$Scr_Ps::1><$Scr_H::2>Oh dear! She's stuck in an infinite loop, and he's an idiot! Well, that's love for you.} 21 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Oh no! The professor will hit me! But if Zoidberg 'fixes' it\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 then perhaps gifts! We need rest. The spirit is willing, but the flesh is spongy and bruised. Bender, I didn't know you liked cooking. That's so cute.} 22 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 There's no part of that sentence I didn't like!} 23 | \par\plain \ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 We're also Santa Claus!} 24 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Moving along\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85} 25 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs32\b1\i0 <$Scr_H::1>} 26 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs32\b1\i0 <$Scr_Ps::2>You lived before you met me?!} 27 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Why would I want to know that? Oh, how awful. Did he at least die painlessly? \loch\af0\hich\af0\dbch\af0\uc1\u8230\'85To shreds, you say. Well, how is his wife holding up? \u8230\'85To shreds, you say. Oh, I always feared he might run off like this. Why, why, why didn't I break his legs?} 28 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Would you censor the Venus de Venus just because you can see her spewers?} 29 | \par\pard\plain \li720\fi-360\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Whoa a real live robot; or is that some kind of cheesy New Year's costume?} 30 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Shut up and take my money!} 31 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 And when we woke up, we had these bodies. Yeah, I do that with my stupidness. I don't 'need' to drink. I can quit anytime I want! Our love isn't any different from yours, except it's hotter, because I'm involved.} 32 | \par\plain {\f0\fs26\b0\i0 We'll need to have a look inside you with this camera. I videotape every customer that comes in here, so that I may blackmail them later. You can crush me but you can't crush my spirit! Is the Space Pope reptilian!?} 33 | \par\plain {\f0\fs26\b0\i0 So I really am important? How I feel when I'm drunk is correct? Fry! Quit doing the right thing, you jerk! Oh dear! She's stuck in an infinite loop, and he's an idiot! Well, that's love for you. It's toe-tappingly tragic!} 34 | \par\plain {\f0\fs26\b0\i0 I didn't ask for a completely reasonable excuse! I asked you to get busy! That's not soon enough! And until then, I can never die? We need rest. The spirit is willing, but the flesh is spongy and bruised.} 35 | \par\plain {\f0\fs26\b0\i0 Oh, but you can. But you may have to metaphorically make a deal with the devil. And by "devil", I mean Robot Devil. And by "metaphorically", I mean get your coat. Soothe us with sweet lies. No, she'll probably make me do it.} 36 | \par\plain {\f0\fs26\b0\i0 Oh, I don't have time for this. I have to go and buy a single piece of fruit with a coupon and then return it, making people wait behind me while I complain. Why, those are the Grunka-Lunkas! They work here in the Slurm factory.} 37 | \par\plain {\f0\fs26\b0\i0 You can crush me but you can't crush my spirit! Bite my shiny metal ass. It's just like the story of the grasshopper and the octopus. All year long, the grasshopper kept burying acorns for winter, while the octopus mooched off his girlfriend and watched TV. But then the winter came, and the grasshopper died, and the octopus ate all his acorns. Also he got a race car. Is any of this getting through to you?} 38 | \par\plain {\f0\fs26\b0\i0 Oh yeah, good luck with that. Oh, I don't have time for this. I have to go and buy a single piece of fruit with a coupon and then return it, making people wait behind me while I complain. Fry! Stay back! He's too powerful!} 39 | \par\plain {\f0\fs26\b0\i0 Ow, my spirit! Fry, you can't just sit here in the dark listening to classical music. I've been there. My folks were always on me to groom myself and wear underpants. What am I, the pope? So, how 'bout them Knicks?} 40 | \par\plain {\f0\fs26\b0\i0 And I'm his friend Jesus. Leela's gonna kill me. No argument here. Ow, my spirit!} 41 | \par\plain {\f0\fs26\b0\i0 Check it out, y'all. Everyone who was invited is here. I'm just glad my fat, ugly mama isn't alive to see this day. I just told you! You've killed me! No, I'm Santa Claus! }} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/106C43CB-B466-45AA-8B57-391BA10CE6C5/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 Calibri;}{\f2\fmodern\fcharset0\fprq2 Calibri;}{\f3\fmodern\fcharset0\fprq2 CourierNewPSMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | {\*\listtable 5 | {\list\listtemplateid1\listhybrid 6 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid1} 7 | {\list\listtemplateid2\listhybrid 8 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid2}} 9 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} 10 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 11 | \pgnrestart\pgnstarts0 12 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 ## <$title>\{#<$label>-<$parentposition>.<$position>\}} 13 | \par\plain \f0\fs26\b0\i0 14 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f0\fs52\b0\i0 <$Scr_Ps::0>Eaque ipsa quae ab illo inventore veritatis et quasi.} 15 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minim veniam, quis nostrud exercitation ullamco [@Zongkerchicken2005].} 16 | \par\plain {\f1\fs26\b1\i0 Sed ut perspiciatis unde omnis iste natus error sit voluptatem.}{\f0\fs26\b0\i0 }{\f2\fs26\b0\i1 Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.}{\f0\fs26\b0\i0 Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus [@upper1974unsuccessful].} 17 | \par\pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch \f3\fs26\b0\i0 18 | \par\plain {\f3\fs26\b0\i0 \\input\{figures/texs/fig:c1.tex\}} 19 | \par\pard\plain \sa240\sb240\ltrch\loch \f0\fs26\b0\i0 20 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs40\b1\i0 <$Scr_Ps::1><$Scr_H::1>Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.} 21 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Laboris nisi ut aliquip ex ea commodo consequat. Accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo. Fugiat quo voluptas nulla pariatur? Totam rem aperiam. At vero eos et accusamus.} 22 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Et harum quidem rerum facilis est et expedita distinctio.} 23 | \par\pard\plain \li720\fi-360\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque.} 24 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Et harum quidem rerum facilis est et expedita distinctio.} 25 | \par\pard\plain \ltrch\loch \f1\fs26\b1\i0 26 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs32\b1\i0 <$Scr_Ps::2><$Scr_H::2>Et harum quidem rerum facilis est et expedita distinctio.} 27 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit. Animi, id est laborum et dolorum fuga. Inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.} 28 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Et harum quidem rerum facilis est et expedita distinctio.} 29 | \par\pard\plain \li720\fi-360\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Nihil molestiae consequatur, vel illum qui dolorem eum.} 30 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat.} 31 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Eaque ipsa quae ab illo inventore veritatis et quasi. Ut enim ad minim veniam, quis nostrud exercitation ullamco. Qui officia deserunt mollit anim id est laborum. Et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque.} 32 | \par\plain {\f0\fs26\b0\i0 Duis aute irure dolor in reprehenderit in voluptate velit. Sed ut perspiciatis unde omnis iste natus error sit voluptatem. Et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque.} 33 | \par\plain {\f0\fs26\b0\i0 Et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque. Qui officia deserunt mollit anim id est laborum. Totam rem aperiam. Ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.} 34 | \par\plain {\f0\fs26\b0\i0 Fugiat quo voluptas nulla pariatur? Duis aute irure dolor in reprehenderit in voluptate velit. Totam rem aperiam. Excepteur sint occaecat cupidatat non proident, sunt in culpa. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.} 35 | \par\plain {\f0\fs26\b0\i0 Do eiusmod tempor incididunt ut labore et dolore magna aliqua. Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Laboris nisi ut aliquip ex ea commodo consequat. Ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.} 36 | \par\plain {\f0\fs26\b0\i0 Architecto beatae vitae dicta sunt explicabo. Animi, id est laborum et dolorum fuga. At vero eos et accusamus. Fugiat quo voluptas nulla pariatur? Inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.} 37 | \par\plain {\f0\fs26\b0\i0 Animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Qui officia deserunt mollit anim id est laborum. Do eiusmod tempor incididunt ut labore et dolore magna aliqua.} 38 | \par\plain {\f0\fs26\b0\i0 Do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat. Duis aute irure dolor in reprehenderit in voluptate velit.} 39 | \par\plain {\f0\fs26\b0\i0 Excepteur sint occaecat cupidatat non proident, sunt in culpa. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Qui officia deserunt mollit anim id est laborum. Do eiusmod tempor incididunt ut labore et dolore magna aliqua.} 40 | \par\plain {\f0\fs26\b0\i0 Fugiat quo voluptas nulla pariatur? Animi, id est laborum et dolorum fuga. Inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.} 41 | \par\plain {\f0\fs26\b0\i0 Architecto beatae vitae dicta sunt explicabo. Animi, id est laborum et dolorum fuga. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Architecto beatae vitae dicta sunt explicabo. } 42 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /styles/fltpage.sty: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `fltpage.sty', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% fltpage.dtx (with options: `package') 8 | %% 9 | %% Copyright (C) 1998 by Sebastian Gross. All rights reserved. 10 | %% 11 | %% 12 | %% This file is part of the fltpage package 13 | %% 14 | %% IMPORTANT NOTICE: 15 | %% 16 | %% This a tool or better yet, an experiments written by Sebastian Gross, 17 | %% who is writing this not only for it utility value, but as part of the 18 | %% process of learning LaTeX. This utility is far from perfect, and 19 | %% comments are welcome. 20 | %% 21 | %% The usual disclaimers apply: If it doesn't work right that's your problem! 22 | %% 23 | %% The usual GNU-style conditions apply: If you change it, you take 24 | %% the blame; if you pass it on, pass on all present conditions; 25 | %% 26 | %% Error Reports in case of UNCHANGED versions to 27 | %% 28 | %% Sebastian Gross 29 | %% 30 | %% 31 | %% \iffalse meta-comment 32 | %% =================================================================== 33 | %% @LaTeX-package-file{ 34 | %% author = {Sebastian Gross}, 35 | %% version = {0.3}, 36 | %% date = {13 Nov 1998}, 37 | %% filename = {fltpage.dtx}, 38 | %% email = {seppel@zedat.fu-berlin.de}, 39 | %% codetable = {ISO/ASCII}, 40 | %% keywords = {LaTeX2e, float, table, figure, caption, FPfigure, FPtable}, 41 | %% supported = {yes}, 42 | %% docstring = {LaTeX package which defines new environments to place 43 | %% captions of tables and figures on the facing/following page.} 44 | %% } 45 | %% =================================================================== 46 | %% \fi 47 | \NeedsTeXFormat{LaTeX2e} 48 | \ProvidesPackage{fltpage}[1998/10/29 v.0.3 Floats on full page (SMU)] 49 | \RequirePackage{ifthen} 50 | \RequirePackage{afterpage} 51 | \newcounter{FP@figureC} 52 | \newcounter{FP@tableC} 53 | \newsavebox{\FP@floatCorpusBOX} 54 | \newcommand*{\FP@guide}{}% 55 | \newcommand*{\FP@guideStyle}{\slshape} 56 | \newcommand*{\FP@guideOneside}{following page} 57 | \newcommand*{\FP@guideTwoside}{facing page} 58 | \newcommand*{\FP@guideAfter}{following page} 59 | \newcommand*{\FP@guideBefore}{preceding page} 60 | \newcommand*{\FP@guideFaceBefore}{preceding page} 61 | \newcommand*{\FP@guideFaceAfter}{following page} 62 | \newcommand*{\FP@separatorCaption}{\rule{\linewidth}{.4pt}} 63 | \newcommand{\FP@positionLabel}{FP\@captype-\number\value{FP@\@captype C}-pos} 64 | \newcommand{\FP@helpNote}[2]{% 65 | \typeout{FP#1 is inserted on page \pageref{#2}!}}% 66 | \newcommand{\FP@floatOneside}{} 67 | \newcommand{\FP@floatTwoside}{} 68 | \newcommand{\FP@float}{} 69 | \DeclareOption{german}{% 70 | \renewcommand{\FP@guideAfter}{n\"achste Seite} 71 | \renewcommand{\FP@guideBefore}{vorhergehende Seite} 72 | \renewcommand{\FP@guideOneside}{\FP@guideAfter} 73 | \renewcommand{\FP@guideFaceBefore}{gegen\"uberliegende Seite} 74 | \renewcommand{\FP@guideFaceAfter}{gegen\"uberliegende Seite} 75 | \renewcommand{\FP@guideTwoside}{\FP@guideFaceAfter} 76 | \PassOptionsToPackage{german}{varioref} 77 | }% 78 | \DeclareOption{varioref}{% 79 | \AtBeginDocument{% 80 | \RequirePackage{varioref} 81 | \ifthenelse{\equal{\reftextbefore}{\@empty}}% 82 | {}{\renewcommand{\FP@guideBefore}{\reftextbefore}}% 83 | \ifthenelse{\equal{\reftextafter}{\@empty}}% 84 | {}{\renewcommand{\FP@guideAfter}{\reftextafter}}% 85 | \renewcommand{\FP@guideOneside}{\FP@guideAfter} 86 | \ifthenelse{\equal{\reftextfacebefore}{\@empty}}% 87 | {}{\renewcommand{\FP@guideFaceBefore}{\reftextfacebefore}}% 88 | \ifthenelse{\equal{\reftextfaceafter}{\@empty}}% 89 | {}{\renewcommand{\FP@guideFaceAfter}{\reftextfaceafter}}% 90 | \renewcommand{\FP@guideTwoside}{\FP@guideFaceAfter}% 91 | }% 92 | }% 93 | \DeclareOption{closeFloats}{% 94 | \renewcommand{\FP@floatOneside}[3]{#3#2#1}% 95 | \renewcommand{\FP@floatTwoside}[4]{% 96 | \ifthenelse{\isodd{\pageref{#1}}}{#2#3#4}{#4#3#2}}% 97 | }% 98 | \DeclareOption{leftFloats}{% 99 | \renewcommand{\FP@floatOneside}[3]{#1#2#3}% 100 | \renewcommand{\FP@floatTwoside}[4]{% 101 | \ifthenelse{\isodd{\pageref{#1}}}{{#2#3#4}}{\afterpage{#2#3#4}}}% 102 | \renewcommand{\FP@guideOneside}{\FP@guideBefore}% 103 | \renewcommand{\FP@guideTwoside}{\FP@guideFaceBefore}% 104 | }% 105 | \DeclareOption{rightFloats}{% 106 | \renewcommand{\FP@floatOneside}[3]{#3#2#1}% 107 | \renewcommand{\FP@floatTwoside}[4]{% 108 | \ifthenelse{\isodd{\pageref{#1}}}{\afterpage{#4#3#2}}{{#4#3#2}}}% 109 | \renewcommand{\FP@guideOneside}{\FP@guideAfter}% 110 | \renewcommand{\FP@guideTwoside}{\FP@guideFaceAfter}% 111 | }% 112 | \DeclareOption{CaptionAfterwards}{\ExecuteOptions{leftFloats}} 113 | \DeclareOption{CaptionBefore}{\ExecuteOptions{rightFloats}}% 114 | \DeclareOption{draft}{% 115 | \renewcommand{\FP@helpNote}[2]{% 116 | \marginpar{Insertion of FP#1}% 117 | \typeout{FP#1 is inserted on page \pageref{#2}!}}% 118 | }% 119 | \DeclareOption{oneside}{% 120 | \renewcommand{\FP@guide}{\FP@guideStyle(\FP@guideOneside)}% 121 | \renewcommand{\FP@float}[4]{\FP@floatOneside{#2}{#3}{#4}} 122 | }% 123 | \DeclareOption{twoside}{% 124 | \renewcommand{\FP@guide}{\FP@guideStyle(\FP@guideTwoside)}% 125 | \renewcommand{\FP@float}[4]{\FP@floatTwoside{#1}{#2}{#3}{#4}} 126 | }% 127 | \DeclareOption{noSeparatorLine}{% 128 | \renewcommand{\FP@separatorCaption}{} 129 | } 130 | \DeclareOption{noHints}{% 131 | \AtBeginDocument{\renewcommand{\FP@guide}{}} 132 | }% 133 | \DeclareOption*{% 134 | \PackageWarning{fltpage}{Unknown option `\CurrentOption'!}% 135 | \PassOptionsToPackage{\currentOption}{varioref} 136 | }% 137 | \ExecuteOptions{closeFloats} 138 | \ExecuteOptions{oneside} 139 | \ProcessOptions* 140 | \relax 141 | \newcommand{\FP@floatBegin}[1]{% 142 | \gdef\@captype{#1}% 143 | \global\let\FP@savedCaptionCommand\caption% 144 | \global\let\FP@savedLabelCommand\label% 145 | \ifthenelse{\equal{\@captype}{figure}} 146 | {\global\let\old@Fnum\fnum@figure}% 147 | {\global\let\old@Fnum\fnum@table}% 148 | \let\FP@LabelText\@empty% 149 | \let\FP@CaptionText\@empty% 150 | \let\FP@optionalCaptionText\@empty% 151 | \renewcommand\label[1]{\gdef\FP@LabelText{##1}}% 152 | \renewcommand\caption[2][]{\gdef\FP@optionalCaptionText{##1}\gdef\FP@CaptionText{##2}}% 153 | \begin{lrbox}{\FP@floatCorpusBOX}% 154 | }% 155 | \newcommand{\FP@floatEnd}{% 156 | \end{lrbox}% 157 | \global\setbox\FP@floatCorpusBOX=\box\FP@floatCorpusBOX 158 | \stepcounter{FP@\@captype C}% 159 | \FP@savedLabelCommand{\FP@positionLabel}% 160 | \FP@helpNote{\@captype}{\FP@positionLabel}% 161 | \FP@float{\FP@positionLabel}% location label test 162 | {\begin{\@captype}[p!] 163 | \usebox{\FP@floatCorpusBOX}% 164 | \refstepcounter{\@captype}% 165 | \ifthenelse{\equal{\FP@LabelText}{\@empty}} 166 | {}{\FP@savedLabelCommand{\expandafter\protect\FP@LabelText}}% 167 | \end{\@captype}} 168 | {\addtocounter{\@captype}{-1}} 169 | {\begin{\@captype}[b!]% 170 | \ifthenelse{\equal{\FP@guide}{\@empty}}% 171 | {}{\ifthenelse{\equal{\@captype}{figure}}% 172 | {\renewcommand{\fnum@figure}{\old@Fnum\ {\FP@guide}}}% 173 | {\renewcommand{\fnum@table}{\old@Fnum\ {\FP@guide}}}}% 174 | \setlength{\abovecaptionskip}{2pt plus2pt minus 1pt} % length above caption 175 | \setlength{\belowcaptionskip}{2pt plus2pt minus 1pt} % length above caption 176 | \FP@separatorCaption% 177 | \ifthenelse{\equal{\FP@optionalCaptionText}{\@empty}}% 178 | {\FP@savedCaptionCommand{\expandafter\protect\FP@CaptionText}}% 179 | {\FP@savedCaptionCommand[\expandafter\protect\FP@optionalCaptionText]{\expandafter\protect\FP@CaptionText}}% 180 | \end{\@captype}}% 181 | }% 182 | \newenvironment{FPfigure}{\FP@floatBegin{figure}}{\FP@floatEnd} 183 | \newenvironment{FPtable}{\FP@floatBegin{table}}{\FP@floatEnd} 184 | \endinput 185 | %% 186 | %% End of file `fltpage.sty'. 187 | -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/BDD323AB-2E43-4C47-806D-FB72D1A1009C/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 Calibri;}{\f2\fmodern\fcharset0\fprq2 Calibri;}{\f3\fnil\fcharset0\fprq2 CourierNewPS-BoldMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | {\*\listtable 5 | {\list\listtemplateid1\listhybrid 6 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid1} 7 | {\list\listtemplateid2\listhybrid 8 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid2}} 9 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} 10 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 11 | \pgnrestart\pgnstarts0 12 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 ## <$title>\{#<$label>-<$parentposition>.<$position>\}} 13 | \par\plain \f0\fs26\b0\i0 14 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f0\fs52\b0\i0 <$Scr_Ps::0>The way I see it, every life is a pile of good things and bad things.\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85hey.\u8230\'85the good things don't always soften the bad things; but vice-versa the bad things don't necessarily spoil the good things and make them unimportant.} 15 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Saving the world with meals on wheels. No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness. They're not aliens, they're Earth\u8230\'85liens! The way I see it, every life is a pile of good things and bad things.\u8230\'85hey.\u8230\'85the good things don't always soften the bad things; but vice-versa the bad things don't necessarily spoil the good things and make them unimportant.} 16 | \par\plain {\f0\fs26\b0\i0 I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. I am the Doctor, and you are the Daleks! Heh-haa! }{\f1\fs26\b1\i0 Super squeaky bum time!}{\f0\fs26\b0\i0 }{\f2\fs26\b0\i1 Aw, you're all Mr.}{\f0\fs26\b0\i0 Grumpy Face today.} 17 | \par\plain \f0\fs26\b0\i0 18 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs40\b1\i0 <$Scr_Ps::1><$Scr_H::1>No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister.} 19 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 I'm the Doctor. Well, they call me the Doctor. I don't know why. I call me the Doctor too. I still don't know why. Annihilate? No. No violence. I won't stand for it. Not now, not ever, do you understand me?! I'm the Doctor, the Oncoming Storm - and you basically meant beat them in a football match, didn't you?} 20 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 I hate yogurt. It's just stuff with bits in.} 21 | \par\pard\plain \li720\fi-360\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself.} 22 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 It's a fez. I wear a fez now. Fezes are cool.} 23 | \par\pard\plain \sa240\sb280\ltrch\loch \f1\fs32\b1\i0 24 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f3\fs36\b1\i0 <$Scr_Ps::1><$Scr_H::1>You hate me; you want to kill me! Well, go on! Kill me! KILL ME!} 25 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Saving the world with meals on wheels. You know how I sometimes have really brilliant ideas? You hate me; you want to kill me! Well, go on! Kill me! KILL ME! No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness.} 26 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness.} 27 | \par\pard\plain \li720\fi-360\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 You know how I sometimes have really brilliant ideas?} 28 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 It's art! A statement on modern society, 'Oh Ain't Modern Society Awful?'!} 29 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 Heh-haa! Super squeaky bum time! You've swallowed a planet! I'm the Doctor. Well, they call me the Doctor. I don't know why. I call me the Doctor too. I still don't know why. No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness.} 30 | \par\plain {\f0\fs26\b0\i0 You've swallowed a planet! Heh-haa! Super squeaky bum time! I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. You know when grown-ups tell you 'everything's going to be fine' and you think they're probably lying to make you feel better?} 31 | \par\plain {\f0\fs26\b0\i0 All I've got to do is pass as an ordinary human being. Simple. What could possibly go wrong? You know how I sometimes have really brilliant ideas? You've swallowed a planet! I'm nobody's taxi service; I'm not gonna be there to catch you every time you feel like jumping out of a spaceship.} 32 | \par\plain {\f0\fs26\b0\i0 Saving the world with meals on wheels. You know when grown-ups tell you 'everything's going to be fine' and you think they're probably lying to make you feel better? Did I mention we have comfy chairs?} 33 | \par\plain {\f0\fs26\b0\i0 No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness. Stop talking, brain thinking. Hush. Sorry, checking all the water in this area; there's an escaped fish. Saving the world with meals on wheels.} 34 | \par\plain {\f0\fs26\b0\i0 The way I see it, every life is a pile of good things and bad things.\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85hey.\u8230\'85the good things don't always soften the bad things; but vice-versa the bad things don't necessarily spoil the good things and make them unimportant. Annihilate? No. No violence. I won't stand for it. Not now, not ever, do you understand me?! I'm the Doctor, the Oncoming Storm - and you basically meant beat them in a football match, didn't you?} 35 | \par\plain {\f0\fs26\b0\i0 You've swallowed a planet! You know how I sometimes have really brilliant ideas? You hate me; you want to kill me! Well, go on! Kill me! KILL ME! Did I mention we have comfy chairs? Aw, you're all Mr. Grumpy Face today.} 36 | \par\plain {\f0\fs26\b0\i0 I am the Doctor, and you are the Daleks! I hate yogurt. It's just stuff with bits in. It's a fez. I wear a fez now. Fezes are cool. You've swallowed a planet!} 37 | \par\plain {\f0\fs26\b0\i0 You hit me with a cricket bat. Aw, you're all Mr. Grumpy Face today. You hit me with a cricket bat. All I've got to do is pass as an ordinary human being. Simple. What could possibly go wrong? Aw, you're all Mr. Grumpy Face today.} 38 | \par\plain {\f0\fs26\b0\i0 I am the Doctor, and you are the Daleks! Saving the world with meals on wheels. You know how I sometimes have really brilliant ideas? I'm nobody's taxi service; I'm not gonna be there to catch you every time you feel like jumping out of a spaceship.} 39 | \par\plain {\f0\fs26\b0\i0 I hate yogurt. It's just stuff with bits in. No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness. I hate yogurt. It's just stuff with bits in. They're not aliens, they're Earth\u8230\'85liens! } 40 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/981E68DD-9C96-463B-B88A-C04BE1FE3B8F/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 Calibri;}{\f2\fmodern\fcharset0\fprq2 Calibri;}{\f3\fmodern\fcharset0\fprq2 CourierNewPSMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | {\*\listtable 5 | {\list\listtemplateid1\listhybrid 6 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid1} 7 | {\list\listtemplateid2\listhybrid 8 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'00;}{\levelnumbers;}\f0\fs26\b0\i0\fi0\li0\lin0}{\listname ;}\listid2}} 9 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} 10 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 11 | \pgnrestart\pgnstarts0 12 | \pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 ## <$title>\{#<$label>-<$parentposition>.<$position>\}} 13 | \par\plain \f0\fs26\b0\i0 14 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f0\fs52\b0\i0 <$Scr_Ps::0>It's art! A statement on modern society, 'Oh Ain't Modern Society Awful?'!} 15 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 They're not aliens, they're Earth\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85liens! Father Christmas. Santa Claus. Or as I've always known him: Jeff. You hate me; you want to kill me! Well, go on! Kill me! KILL ME! I'm nobody's taxi service; I'm not gonna be there to catch you every time you feel like jumping out of a spaceship.} 16 | \par\pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sa240\sb240\sl255\slmult0\ltrch\loch {\f0\fs26\b0\i0 You know how I sometimes have really brilliant ideas? Aw, you're all Mr. }{\f1\fs26\b1\i0 Grumpy Face today.}{\f0\fs26\b0\i0 }{\f2\fs26\b0\i1 Sorry, checking all the water in this area; there's an escaped fish.}{\f0\fs26\b0\i0 I'm nobody's taxi service; I'm not gonna be there to catch you every time you feel like jumping out of a spaceship (Fig. \\ref\{}{\f3\fs26\b0\i0 fig:c3}{\f0\fs26\b0\i0 \}).} 17 | \par\pard\plain \sa240\sb240\ltrch\loch \f0\fs26\b0\i0 18 | \par\pard\plain \tx0\tx360\tx720\tx1080\tx1440\tx1800\tx2160\tx2880\tx3600\tx4320\fi360\sl255\slmult0\ltrch\loch {\f3\fs26\b0\i0 \\input\{figures/texs/fig:c3.tex\}} 19 | \par\pard\plain \sa240\sb240\ltrch\loch \f0\fs26\b0\i0 20 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs40\b1\i0 <$Scr_Ps::1><$Scr_H::1>I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself.} 21 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 You know when grown-ups tell you 'everything's going to be fine' and you think they're probably lying to make you feel better? I hate yogurt. It's just stuff with bits in. No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister.} 22 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness.} 23 | \par\pard\plain \li720\fi-360\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Sorry, checking all the water in this area; there's an escaped fish.} 24 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls1\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Did I mention we have comfy chairs?} 25 | \par\pard\plain \sa240\sb240\ltrch\loch \f0\fs26\b0\i0 26 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb260\sl262\slmult1\ltrch\loch {\f1\fs32\b1\i0 <$Scr_Ps::2><$Scr_H::2>They're not aliens, they're Earth\loch\af1\hich\af1\dbch\af1\uc1\u8230\'85liens!} 27 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 You know when grown-ups tell you 'everything's going to be fine' and you think they're probably lying to make you feel better? All I've got to do is pass as an ordinary human being. Simple. What could possibly go wrong?} 28 | \par\pard\plain \li720\fi-360\sb240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 I'm the Doctor. Well, they call me the Doctor. I don't know why. I call me the Doctor too. I still don't know why.} 29 | \par\pard\plain \li720\fi-360\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 Father Christmas. Santa Claus. Or as I've always known him: Jeff.} 30 | \par\pard\plain \li720\fi-360\sa240\ltrch\loch \ls2\ilvl0{\listtext\f0\fs26\b0\i0 \loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F }{\f0\fs26\b0\i0 *Insistently* Bow ties are cool! Come on Amy, I'm a normal bloke, tell me what normal blokes do!} 31 | \par\pard\plain \sa240\sb240\ltrch\loch {\f0\fs26\b0\i0 You hit me with a cricket bat. Stop talking, brain thinking. Hush. You know how I sometimes have really brilliant ideas? Saving the world with meals on wheels. Annihilate? No. No violence. I won't stand for it. Not now, not ever, do you understand me?! I'm the Doctor, the Oncoming Storm - and you basically meant beat them in a football match, didn't you?} 32 | \par\plain {\f0\fs26\b0\i0 Stop talking, brain thinking. Hush. No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness. No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister.} 33 | \par\plain {\f0\fs26\b0\i0 It's art! A statement on modern society, 'Oh Ain't Modern Society Awful?'! You know when grown-ups tell you 'everything's going to be fine' and you think they're probably lying to make you feel better?} 34 | \par\plain {\f0\fs26\b0\i0 I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. Stop talking, brain thinking. Hush. No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister.} 35 | \par\plain {\f0\fs26\b0\i0 You hit me with a cricket bat. The way I see it, every life is a pile of good things and bad things.\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85hey.\u8230\'85the good things don't always soften the bad things; but vice-versa the bad things don't necessarily spoil the good things and make them unimportant.} 36 | \par\plain {\f0\fs26\b0\i0 No\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85 It's a thing; it's like a plan, but with more greatness. It's a fez. I wear a fez now. Fezes are cool. Heh-haa! Super squeaky bum time! Sorry, checking all the water in this area; there's an escaped fish.} 37 | \par\plain {\f0\fs26\b0\i0 The way I see it, every life is a pile of good things and bad things.\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85hey.\u8230\'85the good things don't always soften the bad things; but vice-versa the bad things don't necessarily spoil the good things and make them unimportant. You know how I sometimes have really brilliant ideas?} 38 | \par\plain {\f0\fs26\b0\i0 The way I see it, every life is a pile of good things and bad things.\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85hey.\u8230\'85the good things don't always soften the bad things; but vice-versa the bad things don't necessarily spoil the good things and make them unimportant. They're not aliens, they're Earth\u8230\'85liens!} 39 | \par\plain {\f0\fs26\b0\i0 Sorry, checking all the water in this area; there's an escaped fish. I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. I am the Doctor, and you are the Daleks!} 40 | \par\plain {\f0\fs26\b0\i0 You hit me with a cricket bat. The way I see it, every life is a pile of good things and bad things.\loch\af0\hich\af0\dbch\af0\uc1\u8230\'85hey.\u8230\'85the good things don't always soften the bad things; but vice-versa the bad things don't necessarily spoil the good things and make them unimportant.} 41 | \par\plain {\f0\fs26\b0\i0 You've swallowed a planet! I am the Doctor, and you are the Daleks! Annihilate? No. No violence. I won't stand for it. Not now, not ever, do you understand me?! I'm the Doctor, the Oncoming Storm - and you basically meant beat them in a football match, didn't you? } 42 | \par\plain \f0\fs26\b0\i0} -------------------------------------------------------------------------------- /thesis-example.scriv/Files/Data/E85B58D4-A154-4923-B21F-50DE629C86C1/content.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\uc1\deff0 2 | {\fonttbl{\f0\fmodern\fcharset0\fprq2 Calibri;}{\f1\fmodern\fcharset0\fprq2 Georgia;}{\f2\fmodern\fcharset0\fprq2 ArialMT;}{\f3\fmodern\fcharset0\fprq2 Arial-ItalicMT;}{\f4\fmodern\fcharset0\fprq2 Arial-BoldMT;}} 3 | {\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red128\green128\blue128;} 4 | {\*\listtable 5 | {\list\listtemplateid1\listhybrid 6 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'01\loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F;}{\levelnumbers;}\f2\fs24\b0\i0\fi-360\li720\lin720}{\listname ;}\listid1} 7 | {\list\listtemplateid2\listhybrid 8 | {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\'01\loch\af0\hich\af0\dbch\af0\uc1\u9679\'3F;}{\levelnumbers;}\f4\fs24\b1\i0\fi-360\li720\lin720}{\listname ;}\listid2}} 9 | {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} 10 | \paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\fet2\ftnbj\aenddoc 11 | \pgnrestart\pgnstarts0 12 | \pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sb160\sl288\slmult1\ql\ltrch\loch {\f1\fs42\b0\i0 G}{\f1\fs32\b0\i0 ENERAL }{\f1\fs42\b0\i0 N}{\f1\fs32\b0\i0 ON-}{\f1\fs42\b0\i0 F}{\f1\fs32\b0\i0 ICTION }{\f1\fs42\b0\i0 (S}{\f1\fs32\b0\i0 TANDARD }{\f1\fs42\b0\i0 M}{\f1\fs32\b0\i0 ANUSCRIPT }{\f1\fs42\b0\i0 F}{\f1\fs32\b0\i0 ORMAT}{\f1\fs42\b0\i0 )} 13 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sl360\slmult1\qj\ltrch\loch \f2\fs24\b0\i0 14 | \par\plain {\f2\fs36\b0\i0 About This Template} 15 | \par\plain {\f2\fs24\b0\i0 When compiled (File > Compile), this project will generate a document in the standard manuscript format used for many types of non-fiction.} 16 | \par\plain \f2\fs24\b0\i0 17 | \par\plain {\f2\fs36\b0\i0 How To Use This Template} 18 | \par\pard\plain \li950\fi-475\sl360\slmult1\qj\ltrch\loch \ls1\ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 Edit the Title Page document to ensure it contains the correct information.} 19 | \par\plain \ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 Create a new folder for each chapter and title each folder with the name of the chapter. If you don\loch\af2\hich\af2\dbch\af2\uc1\u8217\'92t intend to use chapter names, just use something descriptive that tells you what the chapter is about. (You do not need to title the folders \u8220\'93Chapter One\u8221\'94 and so on, as chapter numbering will be taken care of automatically during the Compile process.) The first chapter folder has been created for you with the placeholder title \u8220\'93Chapter Subtitle\u8221\'94.} 20 | \par\plain \ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 Create a new text document for each sub-section within the chapter folders. (Upon export or print, these sub-sections will be separated with the \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93#\u8221\'94 character.)} 21 | \par\plain \ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 If you don\loch\af2\hich\af2\dbch\af2\uc1\u8217\'92t require a foreword, move the \u8220\'93Foreword\u8221\'94 document to the Trash folder. Alternatively, rename it \u8220\'93Preface\u8221\'94 or \u8220\'93Introduction\u8221\'94 if you prefer. If you would rather the foreword come after the table of contents\hich\f2 \emdash \loch\f2 as is sometimes the case\hich\f2 \emdash \loch\f2 drag the \u8220\'93Foreword\u8221\'94 document and drop it below the \u8220\'93Contents\u8221\'94 document.} 22 | \par\plain \ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 If you are compiling to the RTF file format or if you have Microsoft Office installed and are compiling to DOC, DOCX, PDF or Print, you can create a table of contents. Before compiling, simply select all the documents you wish to be included in the contents listing (usually this will be the \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93Foreword\u8221\'94, all chapter folders, and \u8220\'93Endnotes\u8221\'94, but not the sections within chapters), then go to Edit > Copy Special > Copy Documents as ToC. Paste into the \u8220\'93Contents\u8221\'94 document. The resulting linked text and page number tags will be replaced with the final chapter names and page numbers in the compiled document. If you wish, you can remove the dotted underline between the titles and page numbers by selecting all the text and toggling Format > Font > Underline twice. You don\u8217\'92t need to create the ToC every time you compile, just when chapters have been added, deleted, renamed or moved around. (}{\f3\fs24\b0\i1 Note to Microsoft Word users: }{\f2\fs24\b0\i0 If you export to Word, you may need to generate a print preview in Word to force the page numbers to show up correctly\hich\f2 \emdash \loch\f2 they may appear as question marks before doing so.) Deselect \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93Include in compile\u8221\'94 for the Contents document in the inspector if you do not want it in your final output.} 23 | \par\plain \ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 If you have no footnotes or endnotes in your text, be sure to delete the \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93Endnotes\u8221\'94 document.} 24 | \par\plain \ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93Notes\u8221\'94 and \u8220\'93Ideas\u8221\'94 folders have been provided for your convenience, although you can replace them or create different top-level folders for your research materials if necessary (these are just regular folders that have had custom icons assigned to them using the Documents > Change Icon feature.)} 25 | \par\plain \ilvl0{\listtext\f2\fs24\b0\i0 \loch\af2\hich\af2\dbch\af2\uc1\u9679\'3F }{\f2\fs24\b0\i0 Compile your manuscript into standard manuscript format by selecting File > Compile.} 26 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sl360\slmult1\qj\ltrch\loch \f2\fs24\b0\i0 27 | \par\plain {\f2\fs36\b0\i0 Making Changes} 28 | \par\plain {\f2\fs24\b0\i0 There are various minor changes you can make to the settings to tweak this template so that it better suits your needs, as follows:} 29 | \par\pard\plain \li950\fi-475\sl360\slmult1\qj\ltrch\loch \ls2\ilvl0{\listtext\f4\fs24\b1\i0 \loch\af4\hich\af4\dbch\af4\uc1\u9679\'3F }{\f4\fs24\b1\i0 Chapter subtitles}{\f2\fs24\b0\i0 : If you don\loch\af2\hich\af2\dbch\af2\uc1\u8217\'92t want to include the names of your chapter folders below the chapter numbering text in the compiled document, go to the \u8220\'93Formatting\u8221\'94 pane in the Compile dialog and deselect \u8220\'93Title\u8221\'94 in the list of elements to include.} 30 | \par\plain \ilvl0{\listtext\f4\fs24\b1\i0 \loch\af4\hich\af4\dbch\af4\uc1\u9679\'3F }{\f4\fs24\b1\i0 Page header}{\f2\fs24\b0\i0 : You can edit the page header in the \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93Page Settings\u8221\'94 pane of the Compile dialog.} 31 | \par\pard\plain \li950\fi-475\sl360\slmult1\qj\ltrch\loch \ls1\ilvl0{\listtext\f4\fs24\b1\i0 \loch\af4\hich\af4\dbch\af4\uc1\u9679\'3F }{\f4\fs24\b1\i0 Font}{\f2\fs24\b0\i0 : You can use the \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93Formatting\u8221\'94 pane in Compile to change the font used in the final document by selecting a row in the elements table, then clicking into the preview text to select it and clicking the \u8220\'93A\u8221\'94 button in the format bar to change the font settings.} 32 | \par\pard\plain \li950\fi-475\sl360\slmult1\qj\ltrch\loch \ls2\ilvl0{\listtext\f4\fs24\b1\i0 \loch\af4\hich\af4\dbch\af4\uc1\u9679\'3F }{\f4\fs24\b1\i0 Working with chapters instead of smaller sub-sections}{\f2\fs24\b0\i0 : By default, this project is set up so that you write each sub-section of a chapter as a separate text document. If you don\loch\af2\hich\af2\dbch\af2\uc1\u8217\'92t like to break things up quite that much, though, you can equally write a whole chapter in a single text document within each \u8220\'93Chapter\u8221\'94 folder.} 33 | \par\pard\plain \tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sl360\slmult1\qj\ltrch\loch \f2\fs24\b0\i0 34 | \par\plain {\f2\fs36\b0\i0 Sample Document} 35 | \par\plain {\f2\fs24\b0\i0 See the \loch\af2\hich\af2\dbch\af2\uc1\u8220\'93Sample MS\u8221\'94 PDF file in the Research folder for an example of a document that has been created using this template.} 36 | \par\plain \f2\fs24\b0\i0 37 | \par\plain {\f2\fs36\b0\i0 Final Note} 38 | \par\plain {\f2\fs24\b0\i0 Scrivener project templates are flexible and are not intended to restrict you to a particular workflow. You can change, delete or move the files and folders contained in the template, and you can create your own templates by setting up a skeletal project with the files, folders and settings you would like to use for new projects and using File > Save As Template.}} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Scrivener-latex: A workflow to convert scrivener markdown to latex (and docx). 2 | 3 | Writing a PhD thesis is convenient in scrivener (not to mention fun), but it is hard to format it later. Latex is perfect to beautify the thesis, but hard to write a thesis in without getting caught up in formating. I came up with workflow while working on my thesis to get the best of both worlds. Enjoy! 4 | 5 | 6 | ## Running the example repository 7 | ### Requirements 8 | - Install python 3 (figure out for your specific operating system). 9 | - Install latex (texlive-latex-extra, texlive-extra-utils, texlive-science, and texlive-luatex). 10 | - Ensure pdfcrop is installed for your specific operating system (generally automatically installed in ubuntu and MacOSx if the above latex packages are installed). 11 | - Install pandoc (https://pandoc.org/installing.html; atleast 2.6). 12 | 13 | ### Testing the example repository 14 | - Download this repository (`git clone git@github.com:AbstractGeek/scrivener-latex.git`). 15 | - Travel to this repository via commandline. 16 | - Run `./scrivener_mmd_compile.py my-thesis.mmd` 17 | - The pdf should be generated without any errors. 18 | 19 | ## Setting up scrivener 20 | Here is how you set up scrivener when you begin you thesis (check the thesis-example.scriv for more details). 21 | 22 | 1. Create chapters as folders and the sections as text inside the folders. Note: names of the folders/text becomes the chapter/section title respectively (see below image). 23 | 24 | 2. Edit (and create) label names and assign to chapters, sections and appendices. Note: this is used to automatically assign chapter, section and appendix while generating latex code. The spellings should therefore match exactly (including lowercase; see below image). 25 | 26 | ![](https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/master/scrivener-customization/scrivener-chapter-text-labels.png "Chapter, section, appendix labels") 27 | 28 | 29 | 3. Add `\markedchapter{short title}{<$title>}\label{<$label>-<$position>}` to the start of the folder text (press the scrivenings view to add it to the folder). The first argument of the /markedchapter is a short title for the chapter that will be used for headers in the thesis. Similarly, add this `## <$title>{#<$label>-<$parentposition>.<$position>}` to the start of the text inside the folders (which becomes sections later; see image below). Both these additions is used the latex generation later, and creates easy labels for referencing chapters and sections inside text. For example chapter 1 can be referred by `\ref{chapter-1}` and section 1.1 can be referred by `\ref{section-1.1}`. 30 | 31 | ![](https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/master/scrivener-customization/scrivener-latex-text-1.png "scrivener latex reference text") 32 | 33 | 4. Use the scrivener-latex.scrformat in scrivener-customization to compile. Import it, compile for mmd, and assign section headers as "MAIN text formatting ..." (see figure below). Compile to generate mmds that can be used convert to latex and pdf files. 34 | 35 | ![](https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/master/scrivener-customization/scrivener-compile-settings.png "scrivener compile settings") 36 | 37 | 5. For chapter titles - name the folder (with the short title in the `\markedchapter`). Section titles are simply the title of the text file in the folder. To assign subsections and subheadings first change the font to *Courier Prime*. Subsections are **Title** inside the text. Subsubsections are **heading 1**, then **heading 2**. Use them wisely. Also **note** that for proper conversion into titles subtitles etc, the text should be spaced by spaces with the 'no style' style (annoying, i know). Easiest is to set everything to no style, type everything and made titles, headings etc in the end; that way all the enters and spaces are by default in 'no style'. 38 | 39 | ![](https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/master/scrivener-customization/scrivener-latex-text-2.png "scrivener subheadings and subsections") 40 | 41 | ## Generating and referring figures 42 | This is the slightly tricky part of the thesis. Adding figures and referring them follows three major steps: 43 | 44 | 1. Location of figures. All figures should be placed in the figures subfolder inside the main folder with the thesis (check the layout of the repository). I prefer making figure as a pdf with a A4 or A5 layout, with appropriate font size. I also prefer naming them with a chapter prefix and the count of the figure in the chapter (e.g. Figure-C1-10 for the 10th figure in the chapter). 45 | 46 | 2. Latex code for figure size and legends. The description of all the figures in the thesis is stored in `all_figures.tex`. The description serves several purposes. 47 | - [white box] A code snippet for description of figures. Copy paste the same one in the template, and modify it as indicated below. 48 | - [blue box] Short title for the figure (also used for figure legends). Add a short title for the current figure here (notice the effect of the code on the pdf). 49 | - [yellow box-long] Code describing the pdf to be displayed, along with its size. `width=\linewidth` implies latex will scale the width of the figure equal to the linewidth of the pdf. You can control the width of the figure as half of the linewidth by using `width=0.5\linewidth`. One can thereby control the size of the figure by adding any decimal in front of the linewidth. The name of the figure is given in `{Figure-C1.pdf}`. Replace it with the name of the figure for the current short title and legend (the figure should be proper placed as described in point 1). 50 | - [red box] Figure legend (can be multiline, but has to be inside curly brackets). Additionally, `\textbf{A}` allows to bold the text inside the curly brackets after textbf (similary textit makes the text inside italicized). Notice how the code in the template becomes the legend in the pdf. 51 | - [yellow box-short] Unique label identifier for every figure. Can be used to refer figures without confusing and also to create links to figures in an electronic pdf. I prefer it to follow similar nomenclature as the figure titles - `\label{fig:c1-03}` for the 3rd figure in chapter 1 of the thesis. I prefer using `fig:` in the front as it makes it a unique identifier for a figure. 52 | 53 | ![](https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/master/scrivener-customization/scrivener-figure-latex-1.png "Figure description") 54 | 55 | 3. Figure placement in the thesis. To place the figures in the thesis text simply add the line `\input{figures/texs/fig:c3.tex}` between the text where you think it should roughly be placed. The filename `fig:c3.tex` should be replaced by the label name + .tex for whichever figure file you want to display (why that particular folder structure will be described below). To cite the figure, use `\ref{fig:c3}` (or whatever the label name is for the figure). Note that latex will decide where to place the figure based on the where you place the this code line. It won't be exactly where the line is, but somewhere in the vicinity such that the flow of the text and the figure looks beautiful. 56 | 57 | ![](https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/master/scrivener-customization/scrivener-figure-latex-2.png "Figure placement") 58 | 59 | The above three steps sets up latex for placing the figures in the right positions, and generating figure legends, list of figures, etc. Here is what the code does: it goes through each of the figures, crops out the white spaces and saves it in `\figures\cropped`. These cropped figures are used in the thesis, so no need to worry about white spaces :-). Next, it goes through the `all-figures.tex` and creates individual figure files for every figure code chunk. This is saved in `\figures\texs`. So every figure gets its own tex file - `fig:c2-01.tex` for the 1st figure in chapter 2. This is what we call the the step 3, when we decide figure placement. Makes sense? 60 | 61 | 62 | ## Citing articles using zotero 63 | ### Requirements 64 | 1. Zotero (reference manager used for managing literature) - https://www.zotero.org/ 65 | 2. Better bibtex addon for Zotero - https://github.com/retorquere/zotero-better-bibtex 66 | 3. xclip/pbcopy (used to copy the reference into keyboard) - install using the os specific package manager 67 | 4. curl - install using the os specific package manager 68 | 69 | ### Assigning shortcuts and citing articles 70 | 1. To cite articles run the zotpicknix-pd which is inside scrivener-customization folder (the file is modified from: https://emmareisz.github.io/zotpicknix/) 71 | 2. Assign a shortcut that runs this file everytime it is pressed (ctrl+alt+z is mine for example). 72 | 3. Everytime you add a citation, the reference is copied in the clipboard. To cite it in scriver, put it inside square brackets. It automatically separates them by semicolons if multiple references are cited. For example [@rosenbluethRoleModelsScience1945] is the citation of the Rosenblueth and Wiener paper. 73 | 4. Have fun add citations to your thesis. 74 | 5. Export you library as better-bibtex file that can be used to compile your thesis (File -> Export library -> Follow the settings in the image). Best name it literature.bib for easy compatibility with the code (if you use different names, change in the main latex file, described as below). 75 | 76 | ![](https://raw.githubusercontent.com/AbstractGeek/scrivener-latex/master/scrivener-customization/zotero-bibtex-export.png "Zotero better bibtex export") 77 | 78 | 79 | ## Modifying latex styling 80 | (to be added) 81 | -------------------------------------------------------------------------------- /chapters/chapter2.tex: -------------------------------------------------------------------------------- 1 | \markedchapter{Futurama}{Ode to futurama}\label{chapter-2} 2 | 3 | \hypertarget{section-2.1}{% 4 | \section{Section}\label{section-2.1}} 5 | 6 | \hypertarget{im-a-thing.}{% 7 | \subsection{I'm a thing.}\label{im-a-thing.}} 8 | 9 | No argument here. When will that be? Our love isn't any different from 10 | yours, except it's hotter, because I'm involved. One hundred dollars. As 11 | an interesting side note, as a head without a body, I envy the dead. 12 | \textbf{Is today's hectic lifestyle making you tense and impatient?} 13 | \emph{Morbo can't understand his teleprompter because he forgot how you 14 | say that letter that's shaped like a man wearing a hat.} Oh yeah, good 15 | luck with that \citep{Zongkerchicken2005}. 16 | 17 | \input{figures/texs/fig:c2.tex} 18 | 19 | \hypertarget{oh-dear-shes-stuck-in-an-infinite-loop-and-hes-an-idiot-well-thats-love-for-you.}{% 20 | \paragraph{\texorpdfstring{Oh dear! She's stuck in an infinite loop, and 21 | he's an idiot! Well, that's love for 22 | you.\newline}{Oh dear! She's stuck in an infinite loop, and he's an idiot! Well, that's love for you.}}\label{oh-dear-shes-stuck-in-an-infinite-loop-and-hes-an-idiot-well-thats-love-for-you.}} 23 | 24 | Oh no! The professor will hit me! But if Zoidberg `fixes' it\ldots{} 25 | then perhaps gifts! We need rest. The spirit is willing, but the flesh 26 | is spongy and bruised. Bender, I didn't know you liked cooking. That's 27 | so cute. There's no part of that sentence I didn't like! We're also 28 | Santa Claus! Moving along\ldots{} 29 | 30 | \hypertarget{you-lived-before-you-met-me}{% 31 | \subsubsection{You lived before you met 32 | me?!}\label{you-lived-before-you-met-me}} 33 | 34 | Why would I want to know that? Oh, how awful. Did he at least die 35 | painlessly? \ldots{}To shreds, you say. Well, how is his wife holding 36 | up? \ldots{}To shreds, you say. Oh, I always feared he might run off 37 | like this. Why, why, why didn't I break his legs? Would you censor the 38 | Venus de Venus just because you can see her spewers? Whoa a real live 39 | robot; or is that some kind of cheesy New Year's costume? Shut up and 40 | take my money! And when we woke up, we had these bodies. Yeah, I do that 41 | with my stupidness. I don't `need' to drink. I can quit anytime I want! 42 | Our love isn't any different from yours, except it's hotter, because I'm 43 | involved. We'll need to have a look inside you with this camera. I 44 | videotape every customer that comes in here, so that I may blackmail 45 | them later. You can crush me but you can't crush my spirit! Is the Space 46 | Pope reptilian!? So I really am important? How I feel when I'm drunk is 47 | correct? Fry! Quit doing the right thing, you jerk! Oh dear! She's stuck 48 | in an infinite loop, and he's an idiot! Well, that's love for you. It's 49 | toe-tappingly tragic! I didn't ask for a completely reasonable excuse! I 50 | asked you to get busy! That's not soon enough! And until then, I can 51 | never die? We need rest. The spirit is willing, but the flesh is spongy 52 | and bruised. Oh, but you can. But you may have to metaphorically make a 53 | deal with the devil. And by ``devil'', I mean Robot Devil. And by 54 | ``metaphorically'', I mean get your coat. Soothe us with sweet lies. No, 55 | she'll probably make me do it. Oh, I don't have time for this. I have to 56 | go and buy a single piece of fruit with a coupon and then return it, 57 | making people wait behind me while I complain. Why, those are the 58 | Grunka-Lunkas! They work here in the Slurm factory. You can crush me but 59 | you can't crush my spirit! Bite my shiny metal ass. It's just like the 60 | story of the grasshopper and the octopus. All year long, the grasshopper 61 | kept burying acorns for winter, while the octopus mooched off his 62 | girlfriend and watched TV. But then the winter came, and the grasshopper 63 | died, and the octopus ate all his acorns. Also he got a race car. Is any 64 | of this getting through to you? Oh yeah, good luck with that. Oh, I 65 | don't have time for this. I have to go and buy a single piece of fruit 66 | with a coupon and then return it, making people wait behind me while I 67 | complain. Fry! Stay back! He's too powerful! Ow, my spirit! Fry, you 68 | can't just sit here in the dark listening to classical music. I've been 69 | there. My folks were always on me to groom myself and wear underpants. 70 | What am I, the pope? So, how 'bout them Knicks? And I'm his friend 71 | Jesus. Leela's gonna kill me. No argument here. Ow, my spirit! Check it 72 | out, y'all. Everyone who was invited is here. I'm just glad my fat, ugly 73 | mama isn't alive to see this day. I just told you! You've killed me! No, 74 | I'm Santa Claus! 75 | 76 | \hypertarget{section-2.2}{% 77 | \section{Section}\label{section-2.2}} 78 | 79 | \hypertarget{ok-this-has-gotta-stop.-im-going-to-remind-fry-of-his-humanity-the-way-only-a-woman-can.}{% 80 | \subsection{OK, this has gotta stop. I'm going to remind Fry of his 81 | humanity the way only a woman 82 | can.}\label{ok-this-has-gotta-stop.-im-going-to-remind-fry-of-his-humanity-the-way-only-a-woman-can.}} 83 | 84 | Then we'll go with that data file! No, she'll probably make me do it. 85 | They're like sex, except I'm having them! What are their names? Alright, 86 | let's mafia things up a bit. Joey, burn down the ship. Clamps, burn down 87 | the crew. No, she'll probably make me do it. \textbf{Okay, it's 500 88 | dollars, you have no choice of carrier, the battery can't hold the 89 | charge and the reception isn't very\ldots{} Bender, hurry!} \emph{This 90 | fuel's expensive!} Also, we're dying! 91 | 92 | \hypertarget{but-i-know-you-in-the-future.-i-cleaned-your-poop.}{% 93 | \subsubsection{But I know you in the future. I cleaned your 94 | poop.}\label{but-i-know-you-in-the-future.-i-cleaned-your-poop.}} 95 | 96 | Kif, I have mated with a woman. Inform the men. We'll need to have a 97 | look inside you with this camera. And then the battle's not so bad? Ow, 98 | my spirit! Yes, if you make it look like an electrical fire. When you do 99 | things right, people won't be sure you've done anything at all. Why am I 100 | sticky and naked? Did I miss something fun? For one beautiful night I 101 | knew what it was like to be a grandmother. Subjugated, yet honored. When 102 | the lights go out, it's nobody's business what goes on between two 103 | consenting adults. 104 | 105 | \hypertarget{why-would-a-robot-need-to-drink}{% 106 | \paragraph{\texorpdfstring{Why would a robot need to 107 | drink?\newline}{Why would a robot need to drink?}}\label{why-would-a-robot-need-to-drink}} 108 | 109 | I guess if you want children beaten, you have to do it yourself. Tell 110 | her you just want to talk. It has nothing to do with mating. Look, 111 | everyone wants to be like Germany, but do we really have the pure 112 | strength of `will'? Who are you, my warranty?! If rubbin' frozen dirt in 113 | your crotch is wrong, hey I don't wanna be right. Bender! Ship! Stop 114 | bickering or I'm going to come back there and change your opinions 115 | manually! I wish! It's a nickel. Hey, whatcha watching? Hey, whatcha 116 | watching? I love this planet! I've got wealth, fame, and access to the 117 | depths of sleaze that those things bring. We don't have a brig. Meh. 118 | You'll have all the Slurm you can drink when you're partying with Slurms 119 | McKenzie! You are the last hope of the universe. No! The kind with 120 | looting and maybe starting a few fires! Shut up and take my money! And 121 | I'd do it again! And perhaps a third time! But that would be it. Then 122 | we'll go with that data file! We can't compete with Mom! Her company is 123 | big and evil! Ours is small and neutral! Goodbye, cruel world. Goodbye, 124 | cruel lamp. Goodbye, cruel velvet drapes, lined with what would appear 125 | to be some sort of cruel muslin and the cute little pom-pom curtain pull 126 | cords. Cruel though they may be\ldots{} Is the Space Pope reptilian!? 127 | You're going to do his laundry? Yeah, lots of people did. Do a flip! 128 | Would you censor the Venus de Venus just because you can see her 129 | spewers? Oh, I always feared he might run off like this. Why, why, why 130 | didn't I break his legs? Yeah. Give a little credit to our public 131 | schools. Fry, you can't just sit here in the dark listening to classical 132 | music. Daylight and everything. Oh right. I forgot about the battle. 133 | Bender, you risked your life to save me! Hey, whatcha watching? There's 134 | one way and only one way to determine if an animal is intelligent. 135 | Dissect its brain! Ooh, name it after me! I guess if you want children 136 | beaten, you have to do it yourself. And I'm his friend Jesus. Look, 137 | everyone wants to be like Germany, but do we really have the pure 138 | strength of `will'? Daddy Bender, we're hungry. Ah, computer dating. 139 | It's like pimping, but you rarely have to use the phrase ``upside your 140 | head.'' It doesn't look so shiny to me. Ven ve voke up, ve had zese 141 | wodies. A true inspiration for the children. It must be wonderful. Ah, 142 | yes! John Quincy Adding Machine. He struck a chord with the voters when 143 | he pledged not to go on a killing spree. Robot 1-X, save my friends! And 144 | Zoidberg! Dear God, they'll be killed on our doorstep! And there's no 145 | trash pickup until January 3rd. Bender! Ship! Stop bickering or I'm 146 | going to come back there and change your opinions manually! You are the 147 | last hope of the universe. You lived before you met me?! Wow, you got 148 | that off the Internet? In my day, the Internet was only used to download 149 | pornography. 150 | 151 | 152 | \input{helpers/bib} 153 | -------------------------------------------------------------------------------- /chapters/chapter1.tex: -------------------------------------------------------------------------------- 1 | \markedchapter{Lorem Ipsum}{Introduction: Lorem Ipsum}\label{chapter-1} 2 | 3 | \hypertarget{section-1.1}{% 4 | \section{Section}\label{section-1.1}} 5 | 6 | \hypertarget{eaque-ipsa-quae-ab-illo-inventore-veritatis-et-quasi.}{% 7 | \subsection{Eaque ipsa quae ab illo inventore veritatis et 8 | quasi.}\label{eaque-ipsa-quae-ab-illo-inventore-veritatis-et-quasi.}} 9 | 10 | Qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit 11 | amet, consectetur adipisicing elit. Non numquam eius modi tempora 12 | incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim 13 | ad minim veniam, quis nostrud exercitation ullamco 14 | \citep{Zongkerchicken2005}. \textbf{Sed ut perspiciatis unde omnis iste 15 | natus error sit voluptatem.} \emph{Facere possimus, omnis voluptas 16 | assumenda est, omnis dolor repellendus.} Facere possimus, omnis voluptas 17 | assumenda est, omnis dolor repellendus \citep{upper1974unsuccessful}. 18 | 19 | \input{figures/texs/fig:c1.tex} 20 | 21 | \hypertarget{neque-porro-quisquam-est-qui-dolorem-ipsum-quia-dolor-sit-amet-consectetur-adipisci-velit.}{% 22 | \subsubsection{Neque porro quisquam est, qui dolorem ipsum quia dolor 23 | sit amet, consectetur, adipisci 24 | velit.}\label{neque-porro-quisquam-est-qui-dolorem-ipsum-quia-dolor-sit-amet-consectetur-adipisci-velit.}} 25 | 26 | Laboris nisi ut aliquip ex ea commodo consequat. Accusantium doloremque 27 | laudantium, totam rem aperiam, eaque ipsa quae ab illo. Fugiat quo 28 | voluptas nulla pariatur? Totam rem aperiam. At vero eos et accusamus. Et 29 | harum quidem rerum facilis est et expedita distinctio. Et iusto odio 30 | dignissimos ducimus qui blanditiis praesentium voluptatum deleniti 31 | atque. Et harum quidem rerum facilis est et expedita distinctio. 32 | 33 | \hypertarget{et-harum-quidem-rerum-facilis-est-et-expedita-distinctio.}{% 34 | \paragraph{\texorpdfstring{Et harum quidem rerum facilis est et expedita 35 | distinctio.\newline}{Et harum quidem rerum facilis est et expedita distinctio.}}\label{et-harum-quidem-rerum-facilis-est-et-expedita-distinctio.}} 36 | 37 | Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, 38 | consectetur, adipisci velit. Animi, id est laborum et dolorum fuga. 39 | Inventore veritatis et quasi architecto beatae vitae dicta sunt 40 | explicabo. Et harum quidem rerum facilis est et expedita distinctio. 41 | Nihil molestiae consequatur, vel illum qui dolorem eum. Nam libero 42 | tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo 43 | minus id quod maxime placeat. Eaque ipsa quae ab illo inventore 44 | veritatis et quasi. Ut enim ad minim veniam, quis nostrud exercitation 45 | ullamco. Qui officia deserunt mollit anim id est laborum. Et iusto odio 46 | dignissimos ducimus qui blanditiis praesentium voluptatum deleniti 47 | atque. Duis aute irure dolor in reprehenderit in voluptate velit. Sed ut 48 | perspiciatis unde omnis iste natus error sit voluptatem. Et iusto odio 49 | dignissimos ducimus qui blanditiis praesentium voluptatum deleniti 50 | atque. Et iusto odio dignissimos ducimus qui blanditiis praesentium 51 | voluptatum deleniti atque. Qui officia deserunt mollit anim id est 52 | laborum. Totam rem aperiam. Ut aut reiciendis voluptatibus maiores alias 53 | consequatur aut perferendis doloribus asperiores repellat. Fugiat quo 54 | voluptas nulla pariatur? Duis aute irure dolor in reprehenderit in 55 | voluptate velit. Totam rem aperiam. Excepteur sint occaecat cupidatat 56 | non proident, sunt in culpa. Nemo enim ipsam voluptatem quia voluptas 57 | sit aspernatur aut odit aut fugit. Do eiusmod tempor incididunt ut 58 | labore et dolore magna aliqua. Facere possimus, omnis voluptas assumenda 59 | est, omnis dolor repellendus. Laboris nisi ut aliquip ex ea commodo 60 | consequat. Ut aut reiciendis voluptatibus maiores alias consequatur aut 61 | perferendis doloribus asperiores repellat. Architecto beatae vitae dicta 62 | sunt explicabo. Animi, id est laborum et dolorum fuga. At vero eos et 63 | accusamus. Fugiat quo voluptas nulla pariatur? Inventore veritatis et 64 | quasi architecto beatae vitae dicta sunt explicabo. Animi, id est 65 | laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita 66 | distinctio. Qui officia deserunt mollit anim id est laborum. Do eiusmod 67 | tempor incididunt ut labore et dolore magna aliqua. Do eiusmod tempor 68 | incididunt ut labore et dolore magna aliqua. Nam libero tempore, cum 69 | soluta nobis est eligendi optio cumque nihil impedit quo minus id quod 70 | maxime placeat. Duis aute irure dolor in reprehenderit in voluptate 71 | velit. Excepteur sint occaecat cupidatat non proident, sunt in culpa. 72 | Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut 73 | fugit. Qui officia deserunt mollit anim id est laborum. Do eiusmod 74 | tempor incididunt ut labore et dolore magna aliqua. Fugiat quo voluptas 75 | nulla pariatur? Animi, id est laborum et dolorum fuga. Inventore 76 | veritatis et quasi architecto beatae vitae dicta sunt explicabo. 77 | Inventore veritatis et quasi architecto beatae vitae dicta sunt 78 | explicabo. Architecto beatae vitae dicta sunt explicabo. Animi, id est 79 | laborum et dolorum fuga. Ut enim ad minima veniam, quis nostrum 80 | exercitationem ullam corporis suscipit laboriosam. Architecto beatae 81 | vitae dicta sunt explicabo. 82 | 83 | \hypertarget{section-1.2}{% 84 | \section{Section}\label{section-1.2}} 85 | 86 | \hypertarget{nihil-molestiae-consequatur-vel-illum-qui-dolorem-eum.}{% 87 | \subsection{Nihil molestiae consequatur, vel illum qui dolorem 88 | eum.}\label{nihil-molestiae-consequatur-vel-illum-qui-dolorem-eum.}} 89 | 90 | Ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis 91 | doloribus asperiores repellat. Et iusto odio dignissimos ducimus qui 92 | blanditiis praesentium voluptatum deleniti atque. Do eiusmod tempor 93 | incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 94 | quis nostrud exercitation ullamco. \textbf{Eaque ipsa quae ab illo 95 | inventore veritatis et quasi.} \emph{Animi, id est laborum et dolorum 96 | fuga.} Accusantium doloremque laudantium, totam rem aperiam, eaque ipsa 97 | quae ab illo. 98 | 99 | \hypertarget{laboris-nisi-ut-aliquip-ex-ea-commodo-consequat.}{% 100 | \subsubsection{Laboris nisi ut aliquip ex ea commodo 101 | consequat.}\label{laboris-nisi-ut-aliquip-ex-ea-commodo-consequat.}} 102 | 103 | Do eiusmod tempor incididunt ut labore et dolore magna aliqua. 104 | Temporibus autem quibusdam et aut officiis debitis aut rerum 105 | necessitatibus saepe eveniet ut et voluptates repudiandae sint et 106 | molestiae non recusandae. Cupiditate non provident, similique sunt in 107 | culpa qui officia deserunt mollitia. Laboris nisi ut aliquip ex ea 108 | commodo consequat. Totam rem aperiam. 109 | 110 | \hypertarget{nam-libero-tempore-cum-soluta-nobis-est-eligendi-optio-cumque-nihil-impedit-quo-minus-id-quod-maxime-placeat.}{% 111 | \paragraph{\texorpdfstring{Nam libero tempore, cum soluta nobis est 112 | eligendi optio cumque nihil impedit quo minus id quod maxime 113 | placeat.\newline}{Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat.}}\label{nam-libero-tempore-cum-soluta-nobis-est-eligendi-optio-cumque-nihil-impedit-quo-minus-id-quod-maxime-placeat.}} 114 | 115 | Esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat 116 | cupidatat non proident, sunt in culpa. Nihil molestiae consequatur, vel 117 | illum qui dolorem eum. Corrupti quos dolores et quas molestias excepturi 118 | sint occaecati. At vero eos et accusamus. Facere possimus, omnis 119 | voluptas assumenda est, omnis dolor repellendus. Qui officia deserunt 120 | mollit anim id est laborum. Ut enim ad minim veniam, quis nostrud 121 | exercitation ullamco. Non numquam eius modi tempora incidunt ut labore 122 | et dolore magnam aliquam quaerat voluptatem. Facere possimus, omnis 123 | voluptas assumenda est, omnis dolor repellendus. Architecto beatae vitae 124 | dicta sunt explicabo. Totam rem aperiam. Accusantium doloremque 125 | laudantium, totam rem aperiam, eaque ipsa quae ab illo. Excepteur sint 126 | occaecat cupidatat non proident, sunt in culpa. Temporibus autem 127 | quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet 128 | ut et voluptates repudiandae sint et molestiae non recusandae. Neque 129 | porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, 130 | adipisci velit. Nihil molestiae consequatur, vel illum qui dolorem eum. 131 | Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. 132 | Laboris nisi ut aliquip ex ea commodo consequat. Facere possimus, omnis 133 | voluptas assumenda est, omnis dolor repellendus. Totam rem aperiam. 134 | Facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. 135 | Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis 136 | suscipit laboriosam. Do eiusmod tempor incididunt ut labore et dolore 137 | magna aliqua. Ut enim ad minima veniam, quis nostrum exercitationem 138 | ullam corporis suscipit laboriosam. Eaque ipsa quae ab illo inventore 139 | veritatis et quasi. Laboris nisi ut aliquip ex ea commodo consequat. Do 140 | eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad 141 | minim veniam, quis nostrud exercitation ullamco. Et harum quidem rerum 142 | facilis est et expedita distinctio. Ut enim ad minim veniam, quis 143 | nostrud exercitation ullamco. Neque porro quisquam est, qui dolorem 144 | ipsum quia dolor sit amet, consectetur, adipisci velit. Nemo enim ipsam 145 | voluptatem quia voluptas sit aspernatur aut odit aut fugit. Non numquam 146 | eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat 147 | voluptatem. Animi, id est laborum et dolorum fuga. Accusantium 148 | doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo. Lorem 149 | ipsum dolor sit amet, consectetur adipisicing elit. Eaque ipsa quae ab 150 | illo inventore veritatis et quasi. Laboris nisi ut aliquip ex ea commodo 151 | consequat. Ut aut reiciendis voluptatibus maiores alias consequatur aut 152 | perferendis doloribus asperiores repellat. Totam rem aperiam. Fugiat quo 153 | voluptas nulla pariatur? Qui officia deserunt mollit anim id est 154 | laborum. Corrupti quos dolores et quas molestias excepturi sint 155 | occaecati. Ut enim ad minima veniam, quis nostrum exercitationem ullam 156 | corporis suscipit laboriosam. Eaque ipsa quae ab illo inventore 157 | veritatis et quasi. 158 | 159 | 160 | \input{helpers/bib} 161 | -------------------------------------------------------------------------------- /chapters/chapter3.tex: -------------------------------------------------------------------------------- 1 | \markedchapter{Doctor Who}{Verses from Doctor Who}\label{chapter-3} 2 | 3 | \hypertarget{section-3.1}{% 4 | \section{Section}\label{section-3.1}} 5 | 6 | \hypertarget{its-art-a-statement-on-modern-society-oh-aint-modern-society-awful}{% 7 | \subsection{It's art! A statement on modern society, `Oh Ain't Modern 8 | Society 9 | Awful?'!}\label{its-art-a-statement-on-modern-society-oh-aint-modern-society-awful}} 10 | 11 | They're not aliens, they're Earth\ldots{}liens! Father Christmas. Santa 12 | Claus. Or as I've always known him: Jeff. You hate me; you want to kill 13 | me! Well, go on! Kill me! KILL ME! I'm nobody's taxi service; I'm not 14 | gonna be there to catch you every time you feel like jumping out of a 15 | spaceship. You know how I sometimes have really brilliant ideas? Aw, 16 | you're all Mr.~\textbf{Grumpy Face today.} \emph{Sorry, checking all the 17 | water in this area; there's an escaped fish.} I'm nobody's taxi service; 18 | I'm not gonna be there to catch you every time you feel like jumping out 19 | of a spaceship (Fig. \ref{fig:c3}). 20 | 21 | \input{figures/texs/fig:c3.tex} 22 | 23 | \hypertarget{im-the-doctor-im-worse-than-everyones-aunt.-catches-himself-and-that-is-not-how-im-introducing-myself.}{% 24 | \subsubsection{\texorpdfstring{I'm the Doctor, I'm worse than everyone's 25 | aunt. \emph{catches himself} And that is not how I'm introducing 26 | myself.}{I'm the Doctor, I'm worse than everyone's aunt. catches himself And that is not how I'm introducing myself.}}\label{im-the-doctor-im-worse-than-everyones-aunt.-catches-himself-and-that-is-not-how-im-introducing-myself.}} 27 | 28 | You know when grown-ups tell you `everything's going to be fine' and you 29 | think they're probably lying to make you feel better? I hate yogurt. 30 | It's just stuff with bits in. No, I'll fix it. I'm good at fixing rot. 31 | Call me the Rotmeister. No, I'm the Doctor. Don't call me the 32 | Rotmeister. No\ldots{} It's a thing; it's like a plan, but with more 33 | greatness. Sorry, checking all the water in this area; there's an 34 | escaped fish. Did I mention we have comfy chairs? 35 | 36 | \hypertarget{theyre-not-aliens-theyre-earthliens}{% 37 | \paragraph{\texorpdfstring{They're not aliens, they're 38 | Earth\ldots{}liens!\newline}{They're not aliens, they're Earth\ldots{}liens!}}\label{theyre-not-aliens-theyre-earthliens}} 39 | 40 | You know when grown-ups tell you `everything's going to be fine' and you 41 | think they're probably lying to make you feel better? All I've got to do 42 | is pass as an ordinary human being. Simple. What could possibly go 43 | wrong? I'm the Doctor. Well, they call me the Doctor. I don't know why. 44 | I call me the Doctor too. I still don't know why. Father Christmas. 45 | Santa Claus. Or as I've always known him: Jeff. \emph{Insistently} Bow 46 | ties are cool! Come on Amy, I'm a normal bloke, tell me what normal 47 | blokes do! You hit me with a cricket bat. Stop talking, brain thinking. 48 | Hush. You know how I sometimes have really brilliant ideas? Saving the 49 | world with meals on wheels. Annihilate? No.~No violence. I won't stand 50 | for it. Not now, not ever, do you understand me?! I'm the Doctor, the 51 | Oncoming Storm - and you basically meant beat them in a football match, 52 | didn't you? Stop talking, brain thinking. Hush. No\ldots{} It's a thing; 53 | it's like a plan, but with more greatness. No, I'll fix it. I'm good at 54 | fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me 55 | the Rotmeister. It's art! A statement on modern society, `Oh Ain't 56 | Modern Society Awful?'! You know when grown-ups tell you `everything's 57 | going to be fine' and you think they're probably lying to make you feel 58 | better? I'm the Doctor, I'm worse than everyone's aunt. \emph{catches 59 | himself} And that is not how I'm introducing myself. Stop talking, brain 60 | thinking. Hush. No, I'll fix it. I'm good at fixing rot. Call me the 61 | Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. You hit me 62 | with a cricket bat. The way I see it, every life is a pile of good 63 | things and bad things.\ldots{}hey.\ldots{}the good things don't always 64 | soften the bad things; but vice-versa the bad things don't necessarily 65 | spoil the good things and make them unimportant. No\ldots{} It's a 66 | thing; it's like a plan, but with more greatness. It's a fez. I wear a 67 | fez now. Fezes are cool. Heh-haa! Super squeaky bum time! Sorry, 68 | checking all the water in this area; there's an escaped fish. The way I 69 | see it, every life is a pile of good things and bad 70 | things.\ldots{}hey.\ldots{}the good things don't always soften the bad 71 | things; but vice-versa the bad things don't necessarily spoil the good 72 | things and make them unimportant. You know how I sometimes have really 73 | brilliant ideas? The way I see it, every life is a pile of good things 74 | and bad things.\ldots{}hey.\ldots{}the good things don't always soften 75 | the bad things; but vice-versa the bad things don't necessarily spoil 76 | the good things and make them unimportant. They're not aliens, they're 77 | Earth\ldots{}liens! Sorry, checking all the water in this area; there's 78 | an escaped fish. I'm the Doctor, I'm worse than everyone's aunt. 79 | \emph{catches himself} And that is not how I'm introducing myself. I am 80 | the Doctor, and you are the Daleks! You hit me with a cricket bat. The 81 | way I see it, every life is a pile of good things and bad 82 | things.\ldots{}hey.\ldots{}the good things don't always soften the bad 83 | things; but vice-versa the bad things don't necessarily spoil the good 84 | things and make them unimportant. You've swallowed a planet! I am the 85 | Doctor, and you are the Daleks! Annihilate? No.~No violence. I won't 86 | stand for it. Not now, not ever, do you understand me?! I'm the Doctor, 87 | the Oncoming Storm - and you basically meant beat them in a football 88 | match, didn't you? 89 | 90 | \hypertarget{section-3.2}{% 91 | \section{Section}\label{section-3.2}} 92 | 93 | \hypertarget{the-way-i-see-it-every-life-is-a-pile-of-good-things-and-bad-things.hey.the-good-things-dont-always-soften-the-bad-things-but-vice-versa-the-bad-things-dont-necessarily-spoil-the-good-things-and-make-them-unimportant.}{% 94 | \subsection{The way I see it, every life is a pile of good things and 95 | bad things.\ldots{}hey.\ldots{}the good things don't always soften the 96 | bad things; but vice-versa the bad things don't necessarily spoil the 97 | good things and make them 98 | unimportant.}\label{the-way-i-see-it-every-life-is-a-pile-of-good-things-and-bad-things.hey.the-good-things-dont-always-soften-the-bad-things-but-vice-versa-the-bad-things-dont-necessarily-spoil-the-good-things-and-make-them-unimportant.}} 99 | 100 | Saving the world with meals on wheels. No\ldots{} It's a thing; it's 101 | like a plan, but with more greatness. They're not aliens, they're 102 | Earth\ldots{}liens! The way I see it, every life is a pile of good 103 | things and bad things.\ldots{}hey.\ldots{}the good things don't always 104 | soften the bad things; but vice-versa the bad things don't necessarily 105 | spoil the good things and make them unimportant. I'm the Doctor, I'm 106 | worse than everyone's aunt. \emph{catches himself} And that is not how 107 | I'm introducing myself. I am the Doctor, and you are the Daleks! 108 | Heh-haa! \textbf{Super squeaky bum time!} \emph{Aw, you're all Mr.} 109 | Grumpy Face today. 110 | 111 | \hypertarget{no-ill-fix-it.-im-good-at-fixing-rot.-call-me-the-rotmeister.-no-im-the-doctor.-dont-call-me-the-rotmeister.}{% 112 | \subsubsection{No, I'll fix it. I'm good at fixing rot. Call me the 113 | Rotmeister. No, I'm the Doctor. Don't call me the 114 | Rotmeister.}\label{no-ill-fix-it.-im-good-at-fixing-rot.-call-me-the-rotmeister.-no-im-the-doctor.-dont-call-me-the-rotmeister.}} 115 | 116 | I'm the Doctor. Well, they call me the Doctor. I don't know why. I call 117 | me the Doctor too. I still don't know why. Annihilate? No.~No violence. 118 | I won't stand for it. Not now, not ever, do you understand me?! I'm the 119 | Doctor, the Oncoming Storm - and you basically meant beat them in a 120 | football match, didn't you? I hate yogurt. It's just stuff with bits in. 121 | I'm the Doctor, I'm worse than everyone's aunt. \emph{catches himself} 122 | And that is not how I'm introducing myself. It's a fez. I wear a fez 123 | now. Fezes are cool. 124 | 125 | \hypertarget{you-hate-me-you-want-to-kill-me-well-go-on-kill-me-kill-me}{% 126 | \subsubsection{You hate me; you want to kill me! Well, go on! Kill me! 127 | KILL 128 | ME!}\label{you-hate-me-you-want-to-kill-me-well-go-on-kill-me-kill-me}} 129 | 130 | Saving the world with meals on wheels. You know how I sometimes have 131 | really brilliant ideas? You hate me; you want to kill me! Well, go on! 132 | Kill me! KILL ME! No\ldots{} It's a thing; it's like a plan, but with 133 | more greatness. No\ldots{} It's a thing; it's like a plan, but with more 134 | greatness. You know how I sometimes have really brilliant ideas? It's 135 | art! A statement on modern society, `Oh Ain't Modern Society Awful?'! 136 | Heh-haa! Super squeaky bum time! You've swallowed a planet! I'm the 137 | Doctor. Well, they call me the Doctor. I don't know why. I call me the 138 | Doctor too. I still don't know why. No\ldots{} It's a thing; it's like a 139 | plan, but with more greatness. You've swallowed a planet! Heh-haa! Super 140 | squeaky bum time! I'm the Doctor, I'm worse than everyone's aunt. 141 | \emph{catches himself} And that is not how I'm introducing myself. You 142 | know when grown-ups tell you `everything's going to be fine' and you 143 | think they're probably lying to make you feel better? All I've got to do 144 | is pass as an ordinary human being. Simple. What could possibly go 145 | wrong? You know how I sometimes have really brilliant ideas? You've 146 | swallowed a planet! I'm nobody's taxi service; I'm not gonna be there to 147 | catch you every time you feel like jumping out of a spaceship. Saving 148 | the world with meals on wheels. You know when grown-ups tell you 149 | `everything's going to be fine' and you think they're probably lying to 150 | make you feel better? Did I mention we have comfy chairs? No\ldots{} 151 | It's a thing; it's like a plan, but with more greatness. Stop talking, 152 | brain thinking. Hush. Sorry, checking all the water in this area; 153 | there's an escaped fish. Saving the world with meals on wheels. The way 154 | I see it, every life is a pile of good things and bad 155 | things.\ldots{}hey.\ldots{}the good things don't always soften the bad 156 | things; but vice-versa the bad things don't necessarily spoil the good 157 | things and make them unimportant. Annihilate? No.~No violence. I won't 158 | stand for it. Not now, not ever, do you understand me?! I'm the Doctor, 159 | the Oncoming Storm - and you basically meant beat them in a football 160 | match, didn't you? You've swallowed a planet! You know how I sometimes 161 | have really brilliant ideas? You hate me; you want to kill me! Well, go 162 | on! Kill me! KILL ME! Did I mention we have comfy chairs? Aw, you're all 163 | Mr.~Grumpy Face today. I am the Doctor, and you are the Daleks! I hate 164 | yogurt. It's just stuff with bits in. It's a fez. I wear a fez now. 165 | Fezes are cool. You've swallowed a planet! You hit me with a cricket 166 | bat. Aw, you're all Mr.~Grumpy Face today. You hit me with a cricket 167 | bat. All I've got to do is pass as an ordinary human being. Simple. What 168 | could possibly go wrong? Aw, you're all Mr.~Grumpy Face today. I am the 169 | Doctor, and you are the Daleks! Saving the world with meals on wheels. 170 | You know how I sometimes have really brilliant ideas? I'm nobody's taxi 171 | service; I'm not gonna be there to catch you every time you feel like 172 | jumping out of a spaceship. I hate yogurt. It's just stuff with bits in. 173 | No\ldots{} It's a thing; it's like a plan, but with more greatness. I 174 | hate yogurt. It's just stuff with bits in. They're not aliens, they're 175 | Earth\ldots{}liens! 176 | 177 | 178 | \input{helpers/bib} 179 | -------------------------------------------------------------------------------- /thesis-example.scriv/Settings/scriptformat.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Screenplay 4 | Inches 5 | 6 | 7 | Scene Heading 8 | s 9 | 10 | 11 | None 12 | Yes 13 | 14 | 15 | Yes 16 | Left 17 | 1 18 | 2 19 | 0 20 | 0.5 21 | 0.5 22 | 6.5 23 | 0 24 | 12 25 | 26 | Action 27 | Action 28 | InsertText 29 | Scene Heading 30 | ( - ) 31 | 32 | 33 | INT. 34 | EXT. 35 | INT./EXT. 36 | I/E. 37 | FADE IN: 38 | FULL SHOT 39 | P.O.V. 40 | DAY 41 | NIGHT 42 | MORNING 43 | AFTERNOON 44 | EVENING 45 | LATER 46 | MOMENTS LATER 47 | CONTINUOUS 48 | THE NEXT DAY 49 | 50 | Yes 51 | Yes 52 | (. ) 53 | (-) 54 | 55 | 56 | 57 | Action 58 | a 59 | 60 | 61 | None 62 | 63 | 64 | Left 65 | 1 66 | 1 67 | 0 68 | 0.5 69 | 0.5 70 | 6.5 71 | 0 72 | 12 73 | 74 | Action 75 | Character 76 | NewElement 77 | Action 78 | 79 | 80 | 81 | Character 82 | c 83 | 84 | 85 | None 86 | Yes 87 | 88 | 89 | Yes 90 | Left 91 | 1 92 | 1 93 | 0 94 | 2.5 95 | 2.5 96 | 6.25 97 | 0 98 | 12 99 | 100 | Dialogue 101 | Transition 102 | NewElement 103 | Parenthetical 104 | 105 | 106 | (O.C.) 107 | (O.S.) 108 | (V.O.) 109 | (CONT'D) 110 | (SUBTITLE) 111 | 112 | Yes 113 | GoToNextLine 114 | Yes 115 | (() 116 | 117 | 118 | 119 | Parenthetical 120 | p 121 | 122 | 123 | None 124 | 125 | 126 | Yes 127 | Left 128 | 1 129 | 0 130 | 0 131 | 2 132 | 2 133 | 4.5 134 | 0 135 | 12 136 | 137 | Dialogue 138 | Dialogue 139 | NewElement 140 | Dialogue 141 | 142 | GoToNextLine 143 | 144 | 145 | 146 | Dialogue 147 | d 148 | 149 | 150 | None 151 | 152 | 153 | Left 154 | 1 155 | 0 156 | 0 157 | 1.5 158 | 1.5 159 | 5 160 | 0 161 | 12 162 | 163 | Action 164 | Parenthetical 165 | NewElement 166 | Parenthetical 167 | 168 | 169 | 170 | Transition 171 | t 172 | 173 | 174 | None 175 | Yes 176 | 177 | 178 | Right 179 | 1 180 | 1 181 | 0 182 | 4.5 183 | 4.5 184 | 6.12014 185 | 0 186 | 12 187 | 188 | Scene Heading 189 | Scene Heading 190 | NewElement 191 | Scene Heading 192 | 193 | 194 | FADE IN: 195 | FADE OUT. 196 | FADE TO: 197 | FADE TO BLACK. 198 | CUT TO: 199 | DISSOLVE TO: 200 | BACK TO: 201 | MATCH CUT TO: 202 | JUMP CUT TO: 203 | INTERCUT WITH: 204 | 205 | GoToNextLine 206 | 207 | 208 | 209 | Shot 210 | h 211 | 212 | 213 | None 214 | Yes 215 | 216 | 217 | Left 218 | 1 219 | 2 220 | 0 221 | 0.5 222 | 0.5 223 | 6.5 224 | 0 225 | 12 226 | 227 | Action 228 | Shot 229 | NewElement 230 | Shot 231 | 232 | 233 | 234 | 235 | -------------------------------------------------------------------------------- /scrivener_mmd_compile.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | """Converts scrivener multimarkdown files to docx, tex and pdf (at once).""" 3 | 4 | import argparse 5 | from glob import glob 6 | import os 7 | import sys 8 | import subprocess 9 | import re 10 | from pprint import pprint 11 | 12 | 13 | def get_file_if_unique(location, ext): 14 | """Find file if unique for the provided extension.""" 15 | files = glob(os.path.join(location, ext)) 16 | if len(files) == 1: 17 | return files[0] 18 | else: 19 | print("Multiple/No " + ext[1:] + 20 | " files found in the working directory." 21 | "Specify one please.") 22 | sys.exit() 23 | 24 | 25 | def find_in_texfile(tex_content, matchstr, unique=True): 26 | """Find matchstr in tex_content list.""" 27 | doc_match = [i for i, line in enumerate(tex_content) if matchstr in line] 28 | 29 | if unique: 30 | if not (len(doc_match) == 1): 31 | print("Multiple/No " + matchstr + " found in generated tex file.") 32 | sys.exit() 33 | else: 34 | doc_match = doc_match[0] 35 | return doc_match 36 | else: 37 | return doc_match 38 | 39 | 40 | def crop_pdfs(src, dest, margins): 41 | """Crop pdfs in src and place in dest.""" 42 | files = glob(os.path.join(src, "*.pdf")) 43 | if not os.path.exists(dest): 44 | os.makedirs(dest) 45 | 46 | for pdf in files: 47 | _, filename = os.path.split(pdf) 48 | subprocess.run([ 49 | "pdfcrop", 50 | "--margins", 51 | margins, 52 | os.path.join(src, filename), 53 | os.path.join(dest, filename), 54 | ]) 55 | 56 | 57 | def gs_compress(infile, outfile, pdfsettings): 58 | """Compress pdf using ghostscript.""" 59 | subprocess.run([ 60 | "gs", 61 | "-sDEVICE=pdfwrite", 62 | "-dCompatibilityLevel=1.4", 63 | pdfsettings, 64 | "-dNOPAUSE", 65 | "-dQUIET", 66 | "-dBATCH", 67 | "-sOutputFile=" + outfile, 68 | infile, 69 | ]) 70 | 71 | 72 | def gm_compress(infile, outfile, dpi): 73 | """Compress pdf using graphicsmagick.""" 74 | # Rasterize image 75 | subprocess.run([ 76 | "gm", 77 | "convert", 78 | "-density", 79 | dpi, 80 | infile, 81 | outfile, 82 | ]) 83 | 84 | 85 | def compress_pdfs(src, dest, gs_settings, ux, thres, dpi): 86 | """Compress pdfs in src and place in dest.""" 87 | pdfsettings = "-dPDFSETTINGS=/" + gs_settings 88 | files = glob(os.path.join(src, "*.pdf")) 89 | if not os.path.exists(dest): 90 | os.makedirs(dest) 91 | 92 | for pdf in files: 93 | _, filename = os.path.split(pdf) 94 | infile = os.path.join(src, filename) 95 | outfile = os.path.join(dest, filename) 96 | gs_compress(infile, outfile, pdfsettings) 97 | 98 | # Check ultracompression is on, find the best filesize which works 99 | if ux: 100 | gs_filesize = os.stat(outfile).st_size 101 | if gs_filesize > thres: 102 | gm_compress(infile, outfile + ".temp", dpi) 103 | gm_filesize = os.stat(outfile + ".temp").st_size 104 | if gm_filesize < gs_filesize: 105 | os.replace(outfile + ".temp", outfile) 106 | else: 107 | os.remove(outfile + ".temp") 108 | 109 | 110 | def split_figure_tex(tex_content, dest): 111 | """Split figure tex file into individual files.""" 112 | fig_start = sorted( 113 | find_in_texfile(tex_content, "\\begin{figure}", False) + 114 | find_in_texfile(tex_content, "\\begin{table}", False) + 115 | find_in_texfile(tex_content, "\\begin{longtable}", False) + 116 | find_in_texfile(tex_content, "\\begin{Mfigure}", False) + 117 | find_in_texfile(tex_content, "\\begin{Mtable}", False) + 118 | find_in_texfile(tex_content, "\\begin{MFPfigure}", False)) 119 | fig_end = sorted( 120 | find_in_texfile(tex_content, "\\end{figure}", False) + 121 | find_in_texfile(tex_content, "\\end{table}", False) + 122 | find_in_texfile(tex_content, "\\end{longtable}", False) + 123 | find_in_texfile(tex_content, "\\end{Mfigure}", False) + 124 | find_in_texfile(tex_content, "\\end{Mtable}", False) + 125 | find_in_texfile(tex_content, "\\end{MFPfigure}", False)) 126 | label_lines = find_in_texfile(tex_content, "\\label{", False) 127 | 128 | # Check for consistency in counts 129 | if not (len(fig_start) == len(fig_end)) and ( 130 | len(fig_start) == len(label_lines)): 131 | 132 | print("Unequal begin{figure} (" + str(len(fig_start)) + 133 | "), end{figure} (" + str(len(fig_end)) + ") and label (" + 134 | str(len(label_lines)) + ") found.") 135 | sys.exit() 136 | 137 | else: 138 | # Find label name (will become filename) 139 | p = re.compile("label{(\S+)}") 140 | tex_names = [] 141 | for line in label_lines: 142 | temp = p.search(tex_content[line]) 143 | if len(temp.groups()) != 1: 144 | print("Something is off with label detection") 145 | sys.exit() 146 | else: 147 | tex_names.append(temp.groups()[0]) 148 | 149 | # Create folder if it does not exist 150 | if not os.path.exists(dest): 151 | os.makedirs(dest) 152 | 153 | # Write individual figure tex file 154 | for i, tex in enumerate(tex_names): 155 | tex_output = tex_content[fig_start[i]:fig_end[i] + 1] + ["\n"] 156 | # Write complete tex file 157 | with open(os.path.join(dest, tex) + ".tex", "w") as tex_file: 158 | tex_file.writelines(tex_output) 159 | 160 | 161 | def split_chapters(tex_content, keyword, dest, location, bib=True): 162 | """Split figure tex file into individual files.""" 163 | chap_start = sorted( 164 | find_in_texfile(tex_content, "\chapter", False) + 165 | find_in_texfile(tex_content, "\markedchapter", False)) 166 | 167 | # Find label name (will become filename) 168 | chap = re.compile("label{" + keyword + "-(\S+)}") 169 | tex_names = [] 170 | for i, line in enumerate(chap_start): 171 | chap_temp = chap.search(tex_content[line]) 172 | if chap_temp: 173 | tex_names.append((i, chap_temp.groups()[0])) 174 | 175 | # Create folder if it does not exist 176 | if not os.path.exists(dest): 177 | os.makedirs(dest) 178 | 179 | # Write individual figure tex file 180 | main_include_files = [] 181 | chap_start.append(len(tex_content)) 182 | for i, tex in tex_names: 183 | tex_output = tex_content[chap_start[i]:chap_start[i + 1]] + ["\n"] 184 | if bib: 185 | tex_output.append("\\input{helpers/bib}") 186 | tex_output.append("\n") 187 | # Write complete tex file 188 | current_file = os.path.join(dest, keyword + tex) 189 | main_include_files.append("\\include{" + 190 | os.path.relpath(current_file, location) + 191 | "}\n") 192 | with open(current_file + ".tex", "w") as tex_file: 193 | tex_file.writelines(tex_output) 194 | 195 | return main_include_files 196 | 197 | 198 | def parseArguments(args): 199 | """Properly parse input arguments.""" 200 | if not args.bibfile: 201 | args.bibfile = get_file_if_unique(args.location, "*.bib") 202 | if not args.maintex: 203 | args.maintex = get_file_if_unique(args.location, "*main.tex") 204 | if not args.outfile: 205 | args.outfile = os.path.splitext(args.mmd[0])[0] 206 | if not args.chapter_folder: 207 | args.chapter_folder = os.path.join(args.location, "chapters") 208 | if not args.appendix_folder: 209 | args.appendix_folder = os.path.join(args.location, "appendix") 210 | if not args.figure_source: 211 | args.figure_source = os.path.join(args.location, "figures") 212 | if not args.original_figures: 213 | args.original_figures = os.path.join(args.figure_source, "original") 214 | if not args.figuretex: 215 | args.figuretex = os.path.join(args.figure_source, "all-figures.tex") 216 | if not args.cropped_figures: 217 | args.cropped_figures = os.path.join(args.figure_source, "cropped") 218 | if not args.compressed_figures: 219 | args.compressed_figures = os.path.join(args.figure_source, 220 | "compressed") 221 | if not args.tex_folder: 222 | args.tex_folder = os.path.join(args.figure_source, "texs") 223 | if not args.whitespace_margins: 224 | args.whitespace_margins = "0 20 0 20" 225 | 226 | return args 227 | 228 | 229 | def main(): 230 | """Parse input and generate documents.""" 231 | parser = argparse.ArgumentParser(description=( 232 | "Converts scrivener mmd outputs to docx, tex and pdf. " 233 | "Integrates it with input and footer tex file, if available.")) 234 | 235 | parser.add_argument("mmd", 236 | nargs=1, 237 | type=str, 238 | help="multimarkdown file to be converted") 239 | parser.add_argument("-l", 240 | "--location", 241 | default=os.getcwd(), 242 | help="set working directory") 243 | parser.add_argument( 244 | "-b", 245 | "--bibfile", 246 | default=False, 247 | help="bibtex file used to generate bibliography.", 248 | ) 249 | parser.add_argument("-m", 250 | "--maintex", 251 | default=False, 252 | help="main tex file that controls appearance.") 253 | parser.add_argument("-o", 254 | "--outfile", 255 | default=False, 256 | help="outfile prefix for generated files.") 257 | parser.add_argument( 258 | "-f", 259 | "--figuretex", 260 | default=False, 261 | help="Tex file containing figure code chunks.", 262 | ) 263 | parser.add_argument( 264 | "-s", 265 | "--figure-source", 266 | default=False, 267 | help="source folder containing figure subfolders.", 268 | ) 269 | parser.add_argument( 270 | "-fs", 271 | "--original-figures", 272 | default=False, 273 | help="source folder containing original figures.", 274 | ) 275 | parser.add_argument( 276 | "-d", 277 | "--cropped-figures", 278 | default=False, 279 | help="destination folder for cropped figures.", 280 | ) 281 | parser.add_argument( 282 | "-cf", 283 | "--compressed-figures", 284 | default=False, 285 | help="destination folder for compressed figures.", 286 | ) 287 | parser.add_argument( 288 | "-cs", 289 | "--compression", 290 | default="prepress", 291 | help="destination folder for compressed figures.", 292 | ) 293 | parser.add_argument( 294 | "-w", 295 | "--whitespace-margins", 296 | default=False, 297 | help="white space margins for cropped figures.", 298 | ) 299 | parser.add_argument( 300 | "-t", 301 | "--tex-folder", 302 | default=False, 303 | help="destination folder for individual figure tex files.", 304 | ) 305 | parser.add_argument( 306 | "-c", 307 | "--chapter-folder", 308 | default=False, 309 | help="destination folder for individual chapter tex files.", 310 | ) 311 | parser.add_argument( 312 | "-ap", 313 | "--appendix-folder", 314 | default=False, 315 | help="destination folder for individual appendix tex files.", 316 | ) 317 | parser.add_argument( 318 | "-ob", 319 | "--one-bib", 320 | default=False, 321 | action="store_true", 322 | help="Generate one bibliography for the whole thesis.", 323 | ) 324 | parser.add_argument( 325 | "-ux", 326 | "--ultra-compression", 327 | default=False, 328 | action="store_true", 329 | help= 330 | "Ultra compress figures using graphicsmagick (before compilation).", 331 | ) 332 | parser.add_argument( 333 | "--gm-threshold", 334 | default=1e5, # 100 kB 335 | type=float, 336 | help="Rasterization dpi for graphicsmagick.", 337 | ) 338 | parser.add_argument( 339 | "--gm-dpi", 340 | default="300", 341 | help="Rasterization dpi for graphicsmagick.", 342 | ) 343 | parser.add_argument( 344 | "-of", 345 | "--only-figures", 346 | default=False, 347 | action="store_true", 348 | help="generate only figures (no main thesis file).", 349 | ) 350 | parser.add_argument( 351 | "-nc", 352 | "--no-crop", 353 | default=False, 354 | action="store_true", 355 | help="Do not crop figures (before compilation).", 356 | ) 357 | parser.add_argument( 358 | "-nx", 359 | "--no-compression", 360 | default=False, 361 | action="store_true", 362 | help="Do not compress figures (before compilation).", 363 | ) 364 | 365 | args = parseArguments(parser.parse_args()) 366 | 367 | # Change location to the main folder as the working directory 368 | os.chdir(args.location) 369 | # 370 | """Generate figures pdf""" 371 | # Crop pdfs for figures 372 | if not args.no_crop: 373 | crop_pdfs(args.original_figures, args.cropped_figures, 374 | args.whitespace_margins) 375 | # Compress figures if compression in on 376 | if not args.no_compression: 377 | compress_pdfs(args.cropped_figures, args.compressed_figures, 378 | args.compression, args.ultra_compression, 379 | args.gm_threshold, args.gm_dpi) 380 | 381 | # Setup defaults based on compression flag 382 | if args.no_compression: 383 | graphicspath = ["\\graphicspath{ {figures/cropped/} } \n"] 384 | else: 385 | graphicspath = ["\\graphicspath{ {figures/compressed/} } \n"] 386 | 387 | # find start point 388 | with open(args.maintex, "r") as tex_file: 389 | main_tex_content = tex_file.readlines() 390 | main_start = find_in_texfile(main_tex_content, "\\begin{document}") 391 | 392 | # Create a figures pdf 393 | figure_tex_file = (main_tex_content[:main_start + 1] + graphicspath + 394 | ["\\clearpage\\mbox{}\\clearpage"] + ["\\input{"] + 395 | [os.path.relpath(args.figuretex, args.location)] + 396 | ["}\n", "\\end{document}\n", "\n"]) 397 | with open(args.outfile + "-only-figures.tex", "w") as tex_file: 398 | tex_file.writelines(figure_tex_file) 399 | # Compile tex and bib files 400 | subprocess.run(["lualatex", args.outfile + "-only-figures.tex"]) 401 | subprocess.run(["lualatex", args.outfile + "-only-figures.tex"]) 402 | # 403 | # 404 | """Generate main pdf""" 405 | if not args.only_figures: 406 | # Split figure tex file 407 | with open(args.figuretex, "r") as tex_file: 408 | figure_tex_content = tex_file.readlines() 409 | split_figure_tex(figure_tex_content, args.tex_folder) 410 | 411 | # Generate docx file from multimarkdown 412 | subprocess.run([ 413 | "pandoc", 414 | "-s", 415 | "--bibliography", 416 | "--pdf-engine=lualatex", 417 | args.bibfile, 418 | "--toc", 419 | "-f", 420 | "markdown+smart", 421 | "-t", 422 | "docx", 423 | "-o", 424 | args.outfile + ".docx", 425 | args.mmd[0], 426 | ]) 427 | 428 | # Generate temp tex file 429 | subprocess.run([ 430 | "pandoc", 431 | "-s", 432 | "--natbib", 433 | "--pdf-engine=lualatex", 434 | "-f", 435 | "markdown+smart", 436 | "-t", 437 | "latex", 438 | "-o", 439 | "scrivener_mmd_compile_temp.tex", 440 | args.mmd[0], 441 | "--variable", 442 | "documentclass=report", 443 | ]) 444 | 445 | # Read temp, main tex file 446 | with open("scrivener_mmd_compile_temp.tex", "r") as tex_file: 447 | input_tex_content = tex_file.readlines() 448 | 449 | # find start, input and stop in tex files 450 | doc_start = find_in_texfile(input_tex_content, "\\begin{document}") 451 | doc_stop = find_in_texfile(input_tex_content, "\\end{document}") 452 | input_line = find_in_texfile(main_tex_content, 453 | "\\input{scrivener-input.tex}") 454 | 455 | # split chapters 456 | main_include_files = (split_chapters( 457 | input_tex_content[doc_start + 1:doc_stop], 458 | "chapter", 459 | args.chapter_folder, 460 | args.location, 461 | ) + ["\\begin{appendices} \n"] + split_chapters( 462 | input_tex_content[doc_start + 1:doc_stop], 463 | "appendix", 464 | args.appendix_folder, 465 | args.location, 466 | False, 467 | ) + ["\\end{appendices} \n"]) 468 | complete_tex_file = (main_tex_content[:input_line] + graphicspath + 469 | main_include_files + 470 | main_tex_content[input_line + 1:]) 471 | 472 | # Write complete tex file 473 | with open(args.outfile + ".tex", "w") as tex_file: 474 | tex_file.writelines(complete_tex_file) 475 | 476 | # Compile tex and bib files 477 | subprocess.run(["lualatex", args.outfile + ".tex"]) 478 | # chapter specific bibliography 479 | if not args.one_bib: 480 | chap_files = glob(os.path.join(args.chapter_folder, "*.aux")) 481 | app_files = glob(os.path.join(args.appendix_folder, "*.aux")) 482 | files = chap_files + app_files 483 | for f in files: 484 | subprocess.run(["bibtex", os.path.relpath(f, args.location)]) 485 | else: 486 | subprocess.run(["bibtex", args.outfile + ".aux"]) 487 | # Compile twice to properly generates bibliography 488 | subprocess.run(["lualatex", args.outfile + ".tex"]) 489 | subprocess.run(["lualatex", args.outfile + ".tex"]) 490 | 491 | # Print exit message 492 | print("Scrivener mmd has been exported as docx, tex and pdf") 493 | 494 | 495 | if __name__ == "__main__": 496 | main() 497 | -------------------------------------------------------------------------------- /thesis-example.scriv/thesis-example.scrivx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Non-Fiction Format 6 | 7 | 5 8 | Yes 9 | Information.png 10 | 11 | 12 | 0,0 13 | 14 | 15 | 16 | Manuscript 17 | 18 | 0423A8E9-1079-4539-A077-0CB6A5048678 19 | 20 | 21 | 22 | 61520D82-ACD7-460E-A0A1-519CEABB163C 23 | 24 | 25 | B776C532-B14B-439B-81C8-D2396271511B 26 | 27 | 28 | D3CE9386-07B9-44A2-B963-0E3C130FF8AD 29 | 30 | 31 | BCD0C532-FFD3-4F53-B8D4-7B2612656980 32 | 33 | 34 | Linear 35 | 36 | 37 | 38 | 39 | Introduction: Lorem Ipsum 40 | 41 | 2 42 | Yes 43 | 44 | 45 | 0,0 46 | 47 | 48 | 106C43CB-B466-45AA-8B57-391BA10CE6C5 49 | 50 | Linear 51 | 52 | 53 | 54 | 55 | Section 56 | 57 | 4 58 | 2 59 | Yes 60 | 61 | 62 | 0,0 63 | 64 | 65 | 66 | Section 67 | 68 | 4 69 | Yes 70 | 71 | 72 | 4070,0 73 | 74 | 75 | 76 | 77 | 78 | Ode to futurama 79 | 80 | 2 81 | Yes 82 | 83 | 84 | 64,0 85 | 86 | 87 | 88 | Section 89 | 90 | 4 91 | Yes 92 | 93 | 94 | 3711,0 95 | 96 | 97 | 98 | Section 99 | 100 | 4 101 | Yes 102 | 103 | 104 | 3971,0 105 | 106 | 107 | 108 | 109 | 110 | Verses from Doctor Who 111 | 112 | 2 113 | Yes 114 | 115 | 116 | 66,0 117 | 118 | 119 | 120 | Section 121 | 122 | 4 123 | Yes 124 | 125 | 126 | 1312,0 127 | 128 | 129 | 130 | Section 131 | 132 | 4 133 | Yes 134 | 135 | 136 | 1493,0 137 | 138 | 139 | 140 | 141 | 142 | Discussion 143 | 144 | 2 145 | Yes 146 | 147 | 148 | 0,0 149 | 150 | 151 | 152 | Section 153 | 154 | 4 155 | Yes 156 | 157 | 158 | 0,0 159 | 160 | 161 | 162 | 163 | 164 | Appendix-1 165 | 166 | 0 167 | Yes 168 | 169 | 170 | 48,0 171 | 172 | 173 | 174 | Appendix-2 175 | 176 | 0 177 | Yes 178 | 179 | 180 | 49,0 181 | 182 | 183 | 184 | Appendix-3 185 | 186 | 0 187 | Yes 188 | 189 | 190 | 47,0 191 | 192 | 193 | 194 | Appendix-4 195 | 196 | 0 197 | Yes 198 | 199 | 200 | 47,0 201 | 202 | 203 | 204 | 205 | 206 | Endnotes 207 | 208 | Yes 209 | 0423A8E9-1079-4539-A077-0CB6A5048678 210 | 211 | 212 | 0,0 213 | 214 | 215 | 216 | Notes 217 | 218 | Yes 219 | Notes (Blue Notepad).png 220 | 221 | 222 | 0,0 223 | 224 | 225 | 226 | Front Matter 227 | 228 | Yes 229 | 230 | 231 | 0,0 232 | 233 | 234 | 235 | Title Page 236 | 237 | 6 238 | Yes 239 | rtf 240 | 24C6F653-1160-4A19-8785-3430CCDA80B1 241 | 242 | 243 | 0,0 244 | 245 | 246 | 247 | Contents 248 | 249 | Yes 250 | rtf 251 | 0423A8E9-1079-4539-A077-0CB6A5048678 252 | 253 | 254 | 0,0 255 | 256 | 257 | 258 | Foreword 259 | 260 | Yes 261 | 0423A8E9-1079-4539-A077-0CB6A5048678 262 | 263 | 264 | 0,0 265 | 266 | 267 | 268 | 269 | 270 | Ideas 271 | 272 | Yes 273 | Light Bulb.png 274 | 275 | 276 | 0,0 277 | 278 | 279 | 280 | Research 281 | 282 | 0423A8E9-1079-4539-A077-0CB6A5048678 283 | 284 | 285 | 286 | Sample MS 287 | 288 | Yes 289 | pdf 290 | 291 | 292 | 1 293 | 294 | 295 | 296 | 297 | 298 | Trash 299 | 300 | 0423A8E9-1079-4539-A077-0CB6A5048678 301 | 302 | 303 | 304 | Chapter-3 305 | 306 | Yes 307 | 308 | 309 | 0,0 310 | 311 | 312 | 313 | Section 314 | 315 | Yes 316 | 317 | 318 | 0,0 319 | 320 | 321 | 322 | Section 323 | 324 | Yes 325 | 326 | 327 | 0,0 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | Project Notes 336 | 337 | Yes 338 | 339 | 340 | 0,0 341 | 342 | 343 | 344 | General 345 | 346 | Yes 347 | rtf 348 | 349 | 350 | 0,0 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | Binder 359 | 360 | 361 | Search Results 362 | non-fiction format 363 | 364 | 365 | 366 | 367 | Heading 368 | Sub-Heading 369 | Section 370 | Section Start 371 | N/A 372 | 373 | 374 | 375 | 9A6AA350-3923-4700-8AC2-AA01F7B7D013 376 | 377 | 378 | 24A8FE11-21B6-44D2-9389-962901EF1221 379 | 380 | 381 | 24A8FE11-21B6-44D2-9389-962901EF1221 382 | 383 | 384 | 385 | 386 | Label 387 | -1 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | Status 400 | -1 401 | 402 | No Status 403 | To Do 404 | First Draft 405 | Revised Draft 406 | Final Draft 407 | Title Page 408 | Done 409 | 410 | 411 | 412 | 413 | 414 | 415 | 0 416 | 0 417 | 418 | 419 | 420 | 0 421 | 9 422 | 0 423 | 0 424 | 425 | 426 | 427 | --------------------------------------------------------------------------------