first steps towards doxygen to LaTeX to PDF generation

- Doxyfile: enable LATEX generation
- index.dox: table simplified, and alternative \image latex added
- FL200.eps: new eps version of FL200.gif
- fltk-book.tex: LaTeX template file, with title page

Note: there are still too many errors in the generated LaTeX because
the html in the *.dox files is too complex for doxygen's understanding,
so we still can't generate the full LaTeX and hence PDF versions.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
engelsman 2008-10-09 20:29:36 +00:00
parent 28ab4c4411
commit 4fb871e245
4 changed files with 7023 additions and 18 deletions

View File

@ -863,7 +863,7 @@ TREEVIEW_WIDTH = 250
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
# generate Latex output.
GENERATE_LATEX = NO
GENERATE_LATEX = YES
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
@ -904,20 +904,20 @@ EXTRA_PACKAGES =
# 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 = fltk-book.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
# contain links (just like the HTML output) instead of page references
# This makes the output suitable for online browsing using a pdf viewer.
PDF_HYPERLINKS = NO
PDF_HYPERLINKS = YES
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
# plain latex in the generated Makefile. Set this option to YES to get a
# higher quality PDF documentation.
USE_PDFLATEX = NO
USE_PDFLATEX = YES
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep

6945
documentation/FL200.eps Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,58 @@
\documentclass[a4paper]{book}
\usepackage{a4wide}
\usepackage{makeidx}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{times}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
pagebackref=true,
colorlinks=true,
linkcolor=blue,
unicode
]{hyperref}
\else
\usepackage[ps2pdf,
pagebackref=true,
colorlinks=true,
linkcolor=blue,
unicode
]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage{doxygen}
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\begin{document}
\begin{titlepage}
\vspace*{6cm}
\begin{center}
{\Huge FLTK 1.3.0 Programming Manual}\\
\vspace*{0.5cm}
\begin{ImageNoCaption}
\mbox{\includegraphics[width=4cm]{FL200}}
\end{ImageNoCaption}\\
\vspace*{0.5cm}
{\Large
Revision 8 by Michael Sweet, Craig P. Earls,\\
Matthias Melcher, and Bill Spitzak.}\\
\vspace*{0.5cm}
{\large Copyright 1998-2008 by Bill Spitzak and others.}\\
\vspace*{3.5cm}
{\large Generated by Doxygen 1.5.7.1}\\
\vspace*{0.5cm}
{\small Mon Oct 6 20:25:35 2008}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}

View File

@ -1,23 +1,30 @@
/**
\mainpage FLTK Programming Manual
<TABLE BGCOLOR="#9f9f9f" CELLPADDING="8" CELLSPACING="0" SUMMARY="TITLE BAR" WIDTH="700" BORDER="0">
<TR>
<TD VALIGN="MIDDLE">
<TD><CENTER>
\image html FL200.gif
<TD ALIGN="CENTER" VALIGN="MIDDLE">
\image latex FL200.eps "" width=4cm
</CENTER></TD>
<TD><CENTER>
<B>FLTK 1.3.0 Programming Manual</B>
<P>Revision 8 by Michael Sweet, Craig P. Earls,<br>
Matthias Melcher, and Bill Spitzak<br>
Copyright 1998-2008 by Bill Spitzak and others.</P>
</TD>
</TR>
<TR>
<TH COLSPAN="2">This software and manual are provided under the terms of the GNU Library General Public License. Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.</TH>
Copyright 1998-2008 by Bill Spitzak and others.</P>
</CENTER></TD>
</TR>
</TABLE>
<TABLE BGCOLOR="#9f9f9f" CELLPADDING="8" CELLSPACING="0" SUMMARY="TITLE BAR" WIDTH="700" BORDER="0">
<TR>
<TD>
This software and manual are provided under the terms of the GNU
Library General Public License. Permission is granted to reproduce
this manual or any portion for any purpose, provided this copyright
and permission notice are preserved.
</TD>
</TR>
</TABLE>
<TABLE BGCOLOR="#9f9fef" CELLPADDING="8" CELLSPACING="0" SUMMARY="Table of Contents" WIDTH="700" BORDER="0">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
@ -29,7 +36,6 @@
\subpage basics
\subpage common
\li \ref drawing_colors
\li \ref common_boxtypes
\li \ref common_labels
@ -40,7 +46,6 @@
\subpage drawing
\subpage events
\li \ref events_event_xxx
\li \ref events_propagation
@ -49,13 +54,11 @@
\subpage opengl
\subpage fluid
\li \ref fluid_widget_attributes
\li \ref fluid_selecting_moving
\li \ref fluid_images
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
\subpage advanced
@ -69,7 +72,6 @@
\subpage enumerations
\subpage glut
\li \ref glut_Fl_Glut_Window
<!-- \li Fl_Glut_Window (not yet commented ?) -->