Doxygen
|
#include <cstdlib>
#include "latexgen.h"
#include "config.h"
#include "message.h"
#include "doxygen.h"
#include "util.h"
#include "diagram.h"
#include "language.h"
#include "version.h"
#include "dot.h"
#include "dotcallgraph.h"
#include "dotclassgraph.h"
#include "dotdirdeps.h"
#include "dotgroupcollaboration.h"
#include "dotincldepgraph.h"
#include "pagedef.h"
#include "docparser.h"
#include "docnode.h"
#include "latexdocvisitor.h"
#include "dirdef.h"
#include "cite.h"
#include "groupdef.h"
#include "classlist.h"
#include "namespacedef.h"
#include "filename.h"
#include "resourcemgr.h"
#include "portable.h"
#include "fileinfo.h"
#include "utf8.h"
#include "datetime.h"
#include "outputlist.h"
#include "moduledef.h"
Go to the source code of this file.
Macros | |
#define | COPYCHAR() |
Functions | |
static QCString | substituteLatexKeywords (const QCString &str, const QCString &title) |
static void | writeLatexMakefile () |
static void | writeMakeBat () |
static void | writeDefaultStyleSheet (TextStream &t) |
static QCString | extraLatexStyleSheet () |
static QCString | makeIndex () |
static QCString | latex_batchmode () |
static QCString | objectLinkToString (const QCString &ref, const QCString &f, const QCString &anchor, const QCString &text, bool insideTabbing, bool disableLinks) |
static void | processEntity (TextStream &t, bool pdfHyperlinks, const char *strForm, const char *strRepl) |
void | writeExtraLatexPackages (TextStream &t) |
void | writeLatexSpecialFormulaChars (TextStream &t) |
void | filterLatexString (TextStream &t, const QCString &str, bool insideTabbing, bool insidePre, bool insideItem, bool insideTable, bool keepSpaces, const bool retainNewline) |
QCString | convertToLaTeX (const QCString &s, bool insideTabbing, bool keepSpaces) |
QCString | latexEscapeLabelName (const QCString &s) |
QCString | latexEscapeIndexChars (const QCString &s) |
QCString | latexEscapePDFString (const QCString &s) |
QCString | latexFilterURL (const QCString &s) |
Variables | |
static QCString | g_header |
static QCString | g_footer |
static const SelectionMarkerInfo | latexMarkerInfo = { '%', "%%BEGIN ",8 ,"%%END ",6, "",0 } |
#define COPYCHAR | ( | ) |
Referenced by LatexCodeGenerator::codify().
Definition at line 2542 of file latexgen.cpp.
References filterLatexString(), and TextStream::str().
Referenced by LatexGenerator::endIndexSection(), objectLinkToString(), LatexGenerator::startIndexSection(), substituteLatexKeywords(), and LatexGenerator::writeInheritedSectionTitle().
|
static |
Definition at line 730 of file latexgen.cpp.
References checkExtension(), Config_getList, FileInfo::exists(), FileInfo::fileName(), LATEX_STYLE_EXTENSION, and stripExtensionGeneral().
Referenced by substituteLatexKeywords().
void filterLatexString | ( | TextStream & | t, |
const QCString & | str, | ||
bool | insideTabbing, | ||
bool | insidePre, | ||
bool | insideItem, | ||
bool | insideTable, | ||
bool | keepSpaces, | ||
const bool | retainNewline ) |
Definition at line 2384 of file latexgen.cpp.
References Config_getBool, QCString::data(), insideTable(), HtmlEntityMapper::instance(), QCString::isEmpty(), isId(), HtmlEntityMapper::latex(), HtmlEntityMapper::name2sym(), processEntity(), and HtmlEntityMapper::Sym_Unknown.
Referenced by LatexCodeGenerator::codify(), convertToLaTeX(), LatexGenerator::docify(), LatexDocVisitor::filter(), latexEscapeIndexChars(), latexEscapeLabelName(), and substituteLatexKeywords().
|
static |
Definition at line 776 of file latexgen.cpp.
References Config_getEnum.
Referenced by substituteLatexKeywords().
Definition at line 2594 of file latexgen.cpp.
References QCString::data(), QCString::ExplicitSize, filterLatexString(), QCString::isEmpty(), QCString::length(), and TextStream::str().
Referenced by LatexGenerator::addIndexItem(), LatexGenerator::endTitleHead(), LatexDocVisitor::operator()(), and LatexGenerator::startMemberDoc().
Definition at line 2549 of file latexgen.cpp.
References QCString::data(), QCString::ExplicitSize, filterLatexString(), QCString::isEmpty(), QCString::length(), and TextStream::str().
Referenced by LatexGenerator::addIndexItem(), LatexGenerator::endTitleHead(), LatexDocVisitor::operator()(), and LatexGenerator::startMemberDoc().
Definition at line 2640 of file latexgen.cpp.
References QCString::data(), QCString::isEmpty(), and TextStream::str().
Referenced by LatexGenerator::startMemberDoc().
Definition at line 2668 of file latexgen.cpp.
References QCString::data(), hex, QCString::isEmpty(), and TextStream::str().
Referenced by LatexDocVisitor::operator()(), and LatexDocVisitor::operator()().
|
static |
Definition at line 758 of file latexgen.cpp.
References Config_getString, and QCString::isEmpty().
Referenced by substituteLatexKeywords().
|
static |
Definition at line 1398 of file latexgen.cpp.
References Config_getBool, convertToLaTeX(), QCString::isEmpty(), and stripPath().
|
static |
Definition at line 1423 of file latexgen.cpp.
Referenced by filterLatexString().
Definition at line 790 of file latexgen.cpp.
References FileInfo::absFilePath(), Config_getBool, Config_getEnum, Config_getEnumAsString, Config_getString, convertToLaTeX(), copyFile(), Date, DateTime, dateToString(), extraLatexStyleSheet(), FileInfo::fileName(), filterLatexString(), CitationManager::instance(), CitationManager::isEmpty(), QCString::isEmpty(), latex_batchmode(), CitationManager::latexBibFiles(), latexMarkerInfo, makeIndex(), removeEmptyLines(), selectBlocks(), QCString::str(), TextStream::str(), substitute(), substituteKeywords(), theTranslator, writeExtraLatexPackages(), and writeLatexSpecialFormulaChars().
Referenced by LatexGenerator::endIndexSection(), LatexGenerator::init(), and LatexGenerator::startIndexSection().
|
static |
Definition at line 677 of file latexgen.cpp.
References ResourceMgr::getAsString(), and ResourceMgr::instance().
void writeExtraLatexPackages | ( | TextStream & | t | ) |
Definition at line 2323 of file latexgen.cpp.
References Config_getList.
Referenced by FormulaManager::createLatexFile(), and substituteLatexKeywords().
|
static |
Definition at line 362 of file latexgen.cpp.
References Config_getBool, Config_getString, CitationManager::instance(), CitationManager::isEmpty(), Portable::openOutputStream(), qPrint(), QCString::quoted(), term, and theTranslator.
Referenced by LatexGenerator::init().
void writeLatexSpecialFormulaChars | ( | TextStream & | t | ) |
Definition at line 2341 of file latexgen.cpp.
Referenced by FormulaManager::createLatexFile(), and substituteLatexKeywords().
|
static |
Definition at line 498 of file latexgen.cpp.
References Config_getBool, Config_getString, Portable::ghostScriptCommand(), CitationManager::instance(), CitationManager::isEmpty(), Portable::openOutputStream(), qPrint(), QCString::quoted(), term, and theTranslator.
Referenced by LatexGenerator::init().
|
static |
Definition at line 52 of file latexgen.cpp.
|
static |
Definition at line 51 of file latexgen.cpp.
|
static |
Definition at line 53 of file latexgen.cpp.
Referenced by LatexGenerator::init(), and substituteLatexKeywords().