* Work around a Doxygen bug that creates fake latex references whenever we use "FTGL" in section names, and fails to remove the "%" in HTML pages whenever we use "%FTGL". Fixing HTML pages is easier.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 0ce59d4..8fec306 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -28,6 +28,7 @@ endif
html/doxygen.css: stamp-doxygen
stamp-doxygen: doxygen.cfg stamp-eps
$(DOXYGEN) $^
+ sed -i 's/%FTGL/FTGL/' html/*html
touch $@
latex/ftgl.pdf: stamp-latex
diff --git a/docs/faq.dox b/docs/faq.dox
index f61975f..4d9fed7 100644
--- a/docs/faq.dox
+++ b/docs/faq.dox
@@ -2,7 +2,7 @@
\section faq FAQ
- \subsection faq1 When I try to compile FTGL it complains about a missing file from the include: #include <ft2build.h>
+ \subsection faq1 When I try to compile %FTGL it complains about a missing file from the include: #include <ft2build.h>
%FTGL relies on FreeType 2 for opening and decoding font files. This include
is the main include for FreeType. You will need to download Freetype 2 and
diff --git a/docs/ftgl.dox b/docs/ftgl.dox
index 33a012f..e940b10 100644
--- a/docs/ftgl.dox
+++ b/docs/ftgl.dox
@@ -1,4 +1,4 @@
-/** \mainpage FTGL User Guide
+/** \mainpage %FTGL User Guide
\image html logo.png
\image latex logo.png "" width=0.3\textwidth
diff --git a/docs/projects_using_ftgl.txt b/docs/projects_using_ftgl.txt
index 0c78959..a187558 100644
--- a/docs/projects_using_ftgl.txt
+++ b/docs/projects_using_ftgl.txt
@@ -1,11 +1,11 @@
-/** \page ftgl-projects Projects using FTGL
+/** \page ftgl-projects Projects using %FTGL
To add your project to this list, please contact one of the %FTGL
developers at http://sf.net/projects/ftgl
Projects are listed in alphabetical order.
-\section current Projects currently using FTGL
+\section current Projects currently using %FTGL
\subsection blender Blender
@@ -26,7 +26,7 @@ Projects are listed in alphabetical order.
Duel (http://www.personal.rdg.ac.uk/~sir03me/play/code.html) is a small
overhead perspective spaceship game.
-\subsection ftglsharp FTGL#
+\subsection ftglsharp %FTGL#
%FTGL# (http://www.paskaluk.com/projects.php) is a collection of .NET
bindings for %FTGL.
@@ -61,7 +61,7 @@ Projects are listed in alphabetical order.
which uses OpenGL for hardware acceleration. It is compatible with
Milkdrop presets.
-\subsection ruby-ftgl Ruby FTGL
+\subsection ruby-ftgl Ruby %FTGL
Ruby %FTGL# (http://rubyforge.org/projects/ruby-ftgl/) is a collection
of Ruby bindings for %FTGL.
@@ -80,7 +80,7 @@ Projects are listed in alphabetical order.
programs, Tcl, Python and Java scripts that do 3D visualization.
-\section old Projects that used to use FTGL
+\section old Projects that used to use %FTGL
\subsection gnubg GNU Backgammon
diff --git a/docs/tutorial.dox b/docs/tutorial.dox
index bf7151d..6ce2547 100644
--- a/docs/tutorial.dox
+++ b/docs/tutorial.dox
@@ -1,6 +1,6 @@
-/** \page ftgl-tutorial FTGL tutorial
+/** \page ftgl-tutorial %FTGL tutorial
- \section starting Starting to use FTGL
+ \section starting Starting to use %FTGL
Only one header is required to use %FTGL: