Ignore:
Timestamp:
2019-06-24T21:55:11+02:00 (15 months ago)
Author:
nicolasmartin
Message:

Implementation of multi-indexes instead of an indiscrimate aggregate index
Creation of 5 sections under Indexes chapter for the most relevant lists of index entries:
namelist blocks and parameters, CPP keys, modules and subroutines.

  • indexes.tex & index.ist: new file in global directory for index management
  • Add symbolic links under main to non-existing *.idx before LaTeX compilation to reduce trivial error messages with makeindex
  • Create latexmkrc init file loaded latexmk with '-r' option in order to apply the style rules to the indexes with the sequence of several compilations

Other changes:

  • Define a preamble.tex with the list of files to load from global folder
  • Integrate 'Citation' subsubsection in new info_page.tex for the 2nd page along with 'frontpage.tex' for the cover, in order to have a clear distinction with \maketitle in the main LaTeX document
  • Move 'Foreword' chapter from subfiles to main as more appropriate

Bugfixes with few attempts of HTML export

  • One single location for defining the paths to search for images with \graphicspath in packages.tex
  • Renaming of authors variables (\1stauthor\firstauthor and so one)
  • Update of LaTeX dependencies in terms of new pkgs (DEPS)
Location:
NEMO/trunk/doc/latex/global
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/global

    • Property svn:ignore set to
      *.aux
  • NEMO/trunk/doc/latex/global/document.tex

    r11174 r11176  
     1 
    12%% ============================================================================== 
    2 %% Reference Manual 
     3%% Template structure for reference manual 
    34%% ============================================================================== 
    45 
    56%% NEMO release version 
    6 \def\version{4.0rc~} 
     7\def \version{4.0rc~} 
    78 
    89%% Preamble 
     
    1213\documentclass[draft]{scrreport} 
    1314 
    14 %% Load manual definitions 
    15 \input{definitions} 
     15%% Load the configuration of the manual 
     16\input{../main/definitions} 
    1617 
    17 %% Load all *.tex files from './latex/global' directory 
    18 \input{../../global/packages} 
    19 \input{../../global/highlighting} 
    20 \input{../../global/new_cmds} 
    21 \input{../../global/styles} 
    22 \input{../../global/todonotes} 
     18%% Load global *.tex files 
     19\input{../../global/preamble} 
    2320 
    24 %% Include references and index for single subfile compilation 
    25 \newcommand{\biblio}{\bibliography{../main/bibliography}} 
    26 \newcommand{\pindex}{\printindex} 
     21\dominitoc 
    2722 
    28 \makeindex 
     23%% Launch the creation of the indexes 
     24\input{../../global/indexes} 
     25 
    2926 
    3027%% End of common preamble between main and sub-files 
     28%% Override custom cmds for full manual compilation 
     29\newcommand{\onlyinsubfile}[1]{#1} 
     30\newcommand{\notinsubfile}[1]{} 
     31 
    3132\begin{document} 
    32 \pagenumbering{gobble} 
    3333 
    34 %% Override custom cmds for full manual compilation 
     34\renewcommand{\onlyinsubfile}[1]{} 
     35\renewcommand{\notinsubfile}[1]{#1} 
     36 
    3537\renewcommand{\biblio}{} 
    3638\renewcommand{\pindex}{} 
     
    4042%% ============================================================================== 
    4143 
    42 %% Title and information pages 
    43 \input{../../global/frontpages} 
     44\pagenumbering{gobble} 
    4445 
    45 %% Engine citation 
    46 \input{../../global/citation} 
     46%% Title page 
     47\input{../../global/frontpage} 
     48 
     49\maketitle 
     50\emptythanks 
     51 
     52%% Information page (2nd page) 
     53\input{../../global/info_page} 
    4754 
    4855%% Foreword 
    49 \newpage 
    5056%\frontmatter   %% Chapter numbering off and Roman numerals for page numbers 
    5157\pagenumbering{roman} 
    52 \subfile{../subfiles/foreword} 
     58\input{foreword} 
    5359 
    54 %% ToC i.e. Table of Contents 
    55 \newpage 
    56 \dominitoc 
     60%% Table of Contents 
    5761\tableofcontents 
     62%\listoffigures 
     63\listoftables 
    5864 
    5965\clearpage 
     
    6773\pagenumbering{arabic} 
    6874 
    69 \graphicspath{{../../figures/\engine/}} 
    7075\input{chapters} 
    7176 
     
    9398\clearpage 
    9499\phantomsection 
    95 \addcontentsline{toc}{chapter}{Index} 
    96 \printindex 
     100\addcontentsline{toc}{chapter}{Indexes} 
     101\printindex[keys] 
     102\printindex[modules] 
     103\printindex[blocks] 
     104\printindex[parameters] 
     105\printindex[subroutines] 
    97106 
    98107\end{document} 
     108 
Note: See TracChangeset for help on using the changeset viewer.