diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-03-11 19:23:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-03-11 19:23:58 (GMT) |
commit | ce5e0dcf2d3d55df510b76519ef43642bc331d96 (patch) | |
tree | f24fc61bb67f6c2a6757d0317c8493af462e5f9d /src/latexgen.h | |
parent | 9a5a2a29679e83614c9080153af3137bd789b07c (diff) | |
download | Doxygen-ce5e0dcf2d3d55df510b76519ef43642bc331d96.zip Doxygen-ce5e0dcf2d3d55df510b76519ef43642bc331d96.tar.gz Doxygen-ce5e0dcf2d3d55df510b76519ef43642bc331d96.tar.bz2 |
Release-1.2.6
Diffstat (limited to 'src/latexgen.h')
-rw-r--r-- | src/latexgen.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/latexgen.h b/src/latexgen.h index b000c27..0c6ed8e 100644 --- a/src/latexgen.h +++ b/src/latexgen.h @@ -78,7 +78,8 @@ class LatexGenerator : public OutputGenerator const char *anchor,const char *text); void startTextLink(const char *,const char *); void endTextLink(); - void writeHtmlLink(const char *,const char *); + void startHtmlLink(const char *); + void endHtmlLink(); void writeMailLink(const char *); void startTypewriter() { t << "{\\tt "; } void endTypewriter() { t << "}"; } @@ -110,8 +111,12 @@ class LatexGenerator : public OutputGenerator void writeAnchor(const char *fileName,const char *name); void startCodeFragment() { t << "\\footnotesize\\begin{verbatim}"; } void endCodeFragment() { t << "\\end{verbatim}\\normalsize " << endl; } - void startPreFragment() { t << "\\small\\begin{alltt}"; } - void endPreFragment() { t << "\\end{alltt}\\normalsize " << endl; } + void startPreFragment() { t << "\\small\\begin{alltt}"; + insidePre=TRUE; + } + void endPreFragment() { t << "\\end{alltt}\\normalsize " << endl; + insidePre=FALSE; + } void startCodeLine() { col=0; } void endCodeLine() { codify("\n"); } //void writeBoldString(const char *text) @@ -174,6 +179,7 @@ class LatexGenerator : public OutputGenerator void writeTilde(char c) { t << "\\~{" << c << "}"; } void writeRing(char c) { t << "\\" << c << c; } void writeSharpS() { t << "\"s"; } + void writeCCedil(char c) { t << "\\c{" << c << "}"; } void startMemberDescription() { t << "\\begin{CompactList}\\small\\item\\em "; } void endMemberDescription() { t << "\\item\\end{CompactList}"; } void startDescList() { t << "\\begin{Desc}\n\\item["; } @@ -244,6 +250,7 @@ class LatexGenerator : public OutputGenerator int col; bool insideTabbing; bool firstDescItem; + bool insidePre; }; #endif |