Commits

Tuukka Norri committed 6f324ba

Manual tuning
- Came up with a better way to make a custom title page.
- Also removed the index because it was ugly and unneeded.

Comments (0)

Files changed (4)

Documentation/header.tex

+\batchmode
+\documentclass[a4paper]{book}
+\usepackage{a4wide}
+\usepackage{makeidx}
+\usepackage{fancyhdr}
+\usepackage{graphicx}
+\usepackage{multicol}
+\usepackage{float}
+\usepackage{textcomp}
+\usepackage{alltt}
+\usepackage{times}
+\usepackage[pdftex,
+            pagebackref=true,
+            colorlinks=true,
+            linkcolor=blue,
+            unicode
+           ]{hyperref}
+\usepackage[utf8]{inputenc}
+\usepackage{doxygen}
+\usepackage{multirow}
+\usepackage{listings}
+\makeindex
+\setcounter{tocdepth}{3}
+\renewcommand{\footrulewidth}{0.4pt}
+\renewcommand{\printindex}{} %% Omit the index.
+
+\begin{document}
+\begin{titlepage}
+\vspace*{7cm}
+\begin{flushleft}
+\fontsize{40pt}{0pt}\selectfont
+BaseTen 1.7\\
+\fontsize{18pt}{28pt}\selectfont
+\hspace{1mm}Reference Manual\\
+\end{flushleft}
+\end{titlepage}
+\clearemptydoublepage
+\pagenumbering{roman}
+\tableofcontents
+\clearemptydoublepage
+\pagenumbering{arabic}
+

Documentation/titlepage.tex

-\begin{titlepage}
-\vspace*{7cm}
-\begin{flushleft}
-\fontsize{40pt}{0pt}\selectfont
-BaseTen 1.7\\
-\fontsize{18pt}{28pt}\selectfont
-\hspace{1mm}Reference Manual\\
-\end{flushleft}
-\end{titlepage}
 # the first chapter. If it is left blank doxygen will generate a 
 # standard header. Notice: only use this tag if you know what you are doing!
 
-LATEX_HEADER           = 
+LATEX_HEADER           = Documentation/header.tex
 
 # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated 
 # is prepared for conversion to pdf (using ps2pdf). The pdf file will 
 # running if errors occur, instead of asking the user for help. 
 # This option is also used when generating formulas in HTML.
 
-LATEX_BATCHMODE        = YES
+LATEX_BATCHMODE        = NO
 
 # If LATEX_HIDE_INDICES is set to YES then doxygen will not 
 # include the index chapters (such as File Index, Compound Index, etc.) 

Tools/run_doxygen.sh

     cd "$SRCROOT"
     "$DOXYGEN"
 
-    ## Replace the title page
-    perl -i -e 'my $l = ""; my $t = 0; while ($l = <>) { if ($l =~ m/^\\(begin|end)\{titlepage\}$/) { $t = ($1 eq "begin"); if ($t) { print "\\input{../titlepage.tex}\n" } } elsif (!$t) { print $l; } }' Documentation/latex/refman.tex
-
     ## Make some LaTeX files \inputted instead of \included to prevent \clearpage on chapter title pages.
     perl -i -p -e 's/\\include\{(general_usage|database_usage)\}/\\input\{$1\}/g' Documentation/latex/refman.tex