summaryrefslogtreecommitdiff
path: root/src/cite.cpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:53:21 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:53:21 +0900
commite36082fe64c84e4461802ec71428d5676a2c91e4 (patch)
tree66cb5624d3a27d2a3a1f1e53445bf262f825761e /src/cite.cpp
parentdcd93df0217323e30905987ff42937c10e512c1a (diff)
downloaddoxygen-e36082fe64c84e4461802ec71428d5676a2c91e4.tar.gz
doxygen-e36082fe64c84e4461802ec71428d5676a2c91e4.tar.bz2
doxygen-e36082fe64c84e4461802ec71428d5676a2c91e4.zip
Imported Upstream version 1.8.12upstream/1.8.12
Diffstat (limited to 'src/cite.cpp')
-rw-r--r--src/cite.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cite.cpp b/src/cite.cpp
index 3125f35..d934d0a 100644
--- a/src/cite.cpp
+++ b/src/cite.cpp
@@ -43,18 +43,18 @@ void CiteDict::writeLatexBibliography(FTextStream &t)
if (m_entries.isEmpty())
return;
- QCString style = Config_getString("LATEX_BIB_STYLE");
+ QCString style = Config_getString(LATEX_BIB_STYLE);
if (style.isEmpty())
style="plain";
QCString unit;
- if (Config_getBool("COMPACT_LATEX"))
+ if (Config_getBool(COMPACT_LATEX))
unit = "section";
else
unit = "chapter";
t << "% Bibliography\n"
"\\newpage\n"
"\\phantomsection\n";
- bool pdfHyperlinks = Config_getBool("PDF_HYPERLINKS");
+ bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS);
if (!pdfHyperlinks)
{
t << "\\clearemptydoublepage\n";
@@ -62,7 +62,7 @@ void CiteDict::writeLatexBibliography(FTextStream &t)
}
t << "\\bibliographystyle{" << style << "}\n"
"\\bibliography{";
- QStrList &citeDataList = Config_getList("CITE_BIB_FILES");
+ QStrList &citeDataList = Config_getList(CITE_BIB_FILES);
int i = 0;
const char *bibdata = citeDataList.first();
while (bibdata)
@@ -107,7 +107,7 @@ void CiteDict::clear()
bool CiteDict::isEmpty() const
{
- QStrList &citeBibFiles = Config_getList("CITE_BIB_FILES");
+ QStrList &citeBibFiles = Config_getList(CITE_BIB_FILES);
return (citeBibFiles.count()==0 || m_entries.isEmpty());
}
@@ -120,7 +120,7 @@ void CiteDict::generatePage() const
// 1. generate file with markers and citations to OUTPUT_DIRECTORY
QFile f;
- QCString outputDir = Config_getString("OUTPUT_DIRECTORY");
+ QCString outputDir = Config_getString(OUTPUT_DIRECTORY);
QCString citeListFile = outputDir+"/citelist.doc";
f.setName(citeListFile);
if (!f.open(IO_WriteOnly))
@@ -154,7 +154,7 @@ void CiteDict::generatePage() const
// so bibtex can find them without path (bibtex doesn't support paths or
// filenames with spaces!)
// Strictly not required when only latex is generated
- QStrList &citeDataList = Config_getList("CITE_BIB_FILES");
+ QStrList &citeDataList = Config_getList(CITE_BIB_FILES);
QCString bibOutputDir = outputDir+"/"+bibTmpDir;
QCString bibOutputFiles = "";
QDir thisDir;
@@ -251,11 +251,11 @@ void CiteDict::generatePage() const
// 8. for latex we just copy the bib files to the output and let
// latex do this work.
- if (Config_getBool("GENERATE_LATEX"))
+ if (Config_getBool(GENERATE_LATEX))
{
// copy bib files to the latex output dir
- QStrList &citeDataList = Config_getList("CITE_BIB_FILES");
- QCString latexOutputDir = Config_getString("LATEX_OUTPUT")+"/";
+ QStrList &citeDataList = Config_getList(CITE_BIB_FILES);
+ QCString latexOutputDir = Config_getString(LATEX_OUTPUT)+"/";
int i = 0;
const char *bibdata = citeDataList.first();
while (bibdata)