Changeset 12377 for NEMO/trunk/doc/latex/global/document.tex
- Timestamp:
- 2020-02-12T15:39:06+01:00 (4 years ago)
- Location:
- NEMO/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk
- Property svn:externals
-
old new 3 3 ^/utils/build/mk@HEAD mk 4 4 ^/utils/tools@HEAD tools 5 ^/vendors/AGRIF/dev @HEAD ext/AGRIF5 ^/vendors/AGRIF/dev_r11615_ENHANCE-04_namelists_as_internalfiles_agrif@HEAD ext/AGRIF 6 6 ^/vendors/FCM@HEAD ext/FCM 7 7 ^/vendors/IOIPSL@HEAD ext/IOIPSL
-
- Property svn:externals
-
NEMO/trunk/doc/latex/global
-
Property
svn:ignore
set to
*.aux
-
Property
svn:ignore
set to
-
NEMO/trunk/doc/latex/global/document.tex
r11693 r12377 1 1 2 %% ============================================================================== ===================3 %% Template structure for reference manual s4 %% ============================================================================== ===================2 %% ============================================================================== 3 %% Template structure for reference manual 4 %% ============================================================================== 5 5 6 6 %% NEMO release version 7 \def \version{ trunk}7 \def \version{4.0rc~} 8 8 9 9 %% Preamble 10 %% ============================================================================== ===================10 %% ============================================================================== 11 11 12 12 %% Document layout 13 \documentclass[ fontsize = 10pt, twoside, abstract]{scrreprt}13 \documentclass[draft]{scrreprt} 14 14 15 %% Load manual configuration 16 \input{../../global/prologue} 15 %% Load the configuration of the manual 16 \input{../main/definitions} 17 18 %% Load global *.tex files 19 \input{../../global/preamble} 20 21 \dominitoc 22 23 %% Launch the creation of the indexes 24 \input{../../global/indexes} 25 17 26 18 27 %% End of common preamble between main and sub-files 19 28 %% Override custom cmds for full manual compilation 20 \newcommand{\ subinc}[1]{#1}21 \newcommand{\ subexc}[1]{}29 \newcommand{\onlyinsubfile}[1]{#1} 30 \newcommand{\notinsubfile}[1]{} 22 31 23 32 \begin{document} 24 33 25 \renewcommand{\subinc}[1]{} 26 \renewcommand{\subexc}[1]{#1} 34 \renewcommand{\onlyinsubfile}[1]{} 35 \renewcommand{\notinsubfile}[1]{#1} 36 37 \renewcommand{\biblio}{} 38 \renewcommand{\pindex}{} 27 39 28 40 29 41 %% Frontmatter 30 %% ============================================================================== ===================42 %% ============================================================================== 31 43 32 \pagenumbering{gobble} %% Disable page numbering temporarily44 \pagenumbering{gobble} 33 45 34 46 %% Title page 35 47 \input{../../global/frontpage} 36 48 37 %% Footer for introductory parts (no header by cleaning default) 38 \ ofoot[]{\engine\ Reference Manual} \ifoot[]{\pagemark}49 \maketitle 50 \emptythanks 39 51 40 52 %% Information page (2nd page) 41 53 \input{../../global/info_page} 42 54 43 \listoffigures 44 \listoflistings 45 \listoftables 46 47 \clearpage 48 55 %% Foreword 56 %\frontmatter %% Chapter numbering off and Roman numerals for page numbers 49 57 \pagenumbering{roman} 50 \ofoot[]{\engine\ Reference Manual} \ifoot[]{\pagemark} 51 52 \input{introduction} 58 \input{foreword} 53 59 54 60 %% Table of Contents 55 61 \tableofcontents 62 \listoffigures 63 \listoftables 64 \listoflistings 56 65 57 66 \clearpage 67 %\end{document} 58 68 59 69 60 70 %% Mainmatter 61 %% ============================================================================== ===================71 %% ============================================================================== 62 72 63 % % Headings for document body73 %\mainmatter %% Chapter numbering on, page numbering is reset with Arabic numerals 64 74 \pagenumbering{arabic} 65 \lohead{Chap.\ \thechapter\ \leftmark} \rehead{Sect.\ \thesection\ \rightmark}66 \ifoot[]{Page\ \pagemark\ of \pageref*{LastPage}}67 75 68 76 \include{chapters} … … 70 78 71 79 %% Appendix 72 %% ============================================================================== ===================80 %% ============================================================================== 73 81 74 \appendix %% Chapter numbering with letters by now 75 \lohead{Apdx\ \thechapter\ \leftmark} 82 %% Chapter numbering is reset with letters now 83 \appendix 84 76 85 \include{appendices} 77 78 %% Append coding rules for every manual79 \input{../../global/coding_rules}80 86 81 87 82 88 %% Backmatter 83 %% ============================================================================== ===================89 %% ============================================================================== 84 90 85 %% Bibliography and indexes 86 \input{../../global/epilogue} 91 %\backmatter %% Chapter numbering off 92 93 %% Bibliography 94 \phantomsection 95 \addcontentsline{toc}{chapter}{Bibliography} 96 \bibliography{../main/bibliography} 97 98 %% Index 99 \clearpage 100 \phantomsection 101 \addcontentsline{toc}{chapter}{Indexes} 102 \printindex[keys] 103 \printindex[modules] 104 \printindex[blocks] 105 \printindex[parameters] 106 \printindex[subroutines] 87 107 88 108 \end{document} 109
Note: See TracChangeset
for help on using the changeset viewer.