diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-03-11 19:23:58 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-03-11 19:23:58 (GMT) |
commit | f280bea9dedf210e59b80f486bb016e348a387a6 (patch) | |
tree | f24fc61bb67f6c2a6757d0317c8493af462e5f9d /src/latexgen.h | |
parent | 6b40e3de857d42921d0e6b736d9768d95e948da9 (diff) | |
download | Doxygen-f280bea9dedf210e59b80f486bb016e348a387a6.zip Doxygen-f280bea9dedf210e59b80f486bb016e348a387a6.tar.gz Doxygen-f280bea9dedf210e59b80f486bb016e348a387a6.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 |