out << "\\item {\\it Parameter name:} {\\tt "
<< escape(demangle(p->first)) << "}\n"
<< "\\phantomsection";
- // labels are not to be escaped but mangled:
{
+ // create label: labels are not to be escaped but mangled
std::string label = "parameters:";
for (unsigned int i=0; i<target_subsection_path.size(); ++i)
{
label.append("/");
}
label.append(p->first);
- out << "\\label{" << label << "}\n";
- // Backwards-compatibility. Also output label without
+ // Backwards-compatibility. Output the label with and without
// escaping whitespace:
if (label.find("_20")!=std::string::npos)
out << "\\label{" << Utilities::replace_in_string(label,"_20", " ") << "}\n";
+ out << "\\label{" << label << "}\n";
}
out << "\n\n";
// print name
out << "\\item {\\it Parameter name:} {\\tt "
<< escape(demangle(p->first)) << "}\n"
- << "\\phantomsection\\label{parameters:";
- // do not escape but mangle labels:
- for (unsigned int i=0; i<target_subsection_path.size(); ++i)
- out << mangle(target_subsection_path[i]) << "/";
- out << p->first;
- out << "}\n\n"
- << '\n';
+ << "\\phantomsection";
+ {
+ // create label: labels are not to be escaped but mangled
+ std::string label = "parameters:";
+ for (unsigned int i=0; i<target_subsection_path.size(); ++i)
+ {
+ label.append(mangle(target_subsection_path[i]));
+ label.append("/");
+ }
+ label.append(p->first);
+ // Backwards-compatibility. Output the label with and without
+ // escaping whitespace:
+ if (label.find("_20")!=std::string::npos)
+ out << "\\label{" << Utilities::replace_in_string(label,"_20", " ") << "}\n";
+ out << "\\label{" << label << "}\n";
+ }
+ out << "\n\n";
out << "\\index[prmindex]{"
<< escape(demangle(p->first))
DEAL::
DEAL::\begin{itemize}
DEAL::\item {\it Parameter name:} {\tt First bool}
-DEAL::\phantomsection\label{parameters:First_20Class/First_20bool}
-DEAL::\label{parameters:First Class/First bool}
+DEAL::\phantomsection\label{parameters:First Class/First bool}
+DEAL::\label{parameters:First_20Class/First_20bool}
DEAL::
DEAL::
DEAL::\index[prmindex]{First bool}
DEAL::
DEAL::{\it Possible values:} A boolean value (true or false)
DEAL::\item {\it Parameter name:} {\tt First double}
-DEAL::\phantomsection\label{parameters:First_20Class/First_20double}
-DEAL::\label{parameters:First Class/First double}
+DEAL::\phantomsection\label{parameters:First Class/First double}
+DEAL::\label{parameters:First_20Class/First_20double}
DEAL::
DEAL::
DEAL::\index[prmindex]{First double}
DEAL::
DEAL::{\it Possible values:} A floating point number $v$ such that $-\text{MAX\_DOUBLE} \leq v \leq \text{MAX\_DOUBLE}$
DEAL::\item {\it Parameter name:} {\tt First int}
-DEAL::\phantomsection\label{parameters:First_20Class/First_20int}
-DEAL::\label{parameters:First Class/First int}
+DEAL::\phantomsection\label{parameters:First Class/First int}
+DEAL::\label{parameters:First_20Class/First_20int}
DEAL::
DEAL::
DEAL::\index[prmindex]{First int}
DEAL::
DEAL::{\it Possible values:} An integer $n$ such that $-2147483648\leq n \leq 2147483647$
DEAL::\item {\it Parameter name:} {\tt First string}
-DEAL::\phantomsection\label{parameters:First_20Class/First_20string}
-DEAL::\label{parameters:First Class/First string}
+DEAL::\phantomsection\label{parameters:First Class/First string}
+DEAL::\label{parameters:First_20Class/First_20string}
DEAL::
DEAL::
DEAL::\index[prmindex]{First string}
DEAL::
DEAL::\begin{itemize}
DEAL::\item {\it Parameter name:} {\tt Second bool}
-DEAL::\phantomsection\label{parameters:Second_20Class/Second_20bool}
-DEAL::\label{parameters:Second Class/Second bool}
+DEAL::\phantomsection\label{parameters:Second Class/Second bool}
+DEAL::\label{parameters:Second_20Class/Second_20bool}
DEAL::
DEAL::
DEAL::\index[prmindex]{Second bool}
DEAL::
DEAL::{\it Possible values:} A boolean value (true or false)
DEAL::\item {\it Parameter name:} {\tt Second double}
-DEAL::\phantomsection\label{parameters:Second_20Class/Second_20double}
-DEAL::\label{parameters:Second Class/Second double}
+DEAL::\phantomsection\label{parameters:Second Class/Second double}
+DEAL::\label{parameters:Second_20Class/Second_20double}
DEAL::
DEAL::
DEAL::\index[prmindex]{Second double}
DEAL::
DEAL::{\it Possible values:} A floating point number $v$ such that $-\text{MAX\_DOUBLE} \leq v \leq \text{MAX\_DOUBLE}$
DEAL::\item {\it Parameter name:} {\tt Second int}
-DEAL::\phantomsection\label{parameters:Second_20Class/Second_20int}
-DEAL::\label{parameters:Second Class/Second int}
+DEAL::\phantomsection\label{parameters:Second Class/Second int}
+DEAL::\label{parameters:Second_20Class/Second_20int}
DEAL::
DEAL::
DEAL::\index[prmindex]{Second int}
DEAL::
DEAL::{\it Possible values:} An integer $n$ such that $-2147483648\leq n \leq 2147483647$
DEAL::\item {\it Parameter name:} {\tt Second string}
-DEAL::\phantomsection\label{parameters:Second_20Class/Second_20string}
-DEAL::\label{parameters:Second Class/Second string}
+DEAL::\phantomsection\label{parameters:Second Class/Second string}
+DEAL::\label{parameters:Second_20Class/Second_20string}
DEAL::
DEAL::
DEAL::\index[prmindex]{Second string}
{\it Possible values:} An integer $n$ such that $-2147483648\leq n \leq 2147483647$
\item {\it Parameter name:} {\tt string list}
-\phantomsection\label{parameters:Testing/string_20list}
-\label{parameters:Testing/string list}
+\phantomsection\label{parameters:Testing/string list}
+\label{parameters:Testing/string_20list}
\index[prmindex]{string list}
{\it Possible values:} An integer $n$ such that $-2147483648\leq n \leq 2147483647$
\item {\it Parameter name:} {\tt string list}
-\phantomsection\label{parameters:Testing/string_20list}
-\label{parameters:Testing/string list}
+\phantomsection\label{parameters:Testing/string list}
+\label{parameters:Testing/string_20list}
\index[prmindex]{string list}
\begin{itemize}
\item {\it Parameter name:} {\tt double 2}
-\phantomsection\label{parameters:Testing/Testing_202/double_202}
-\label{parameters:Testing/Testing 2/double 2}
+\phantomsection\label{parameters:Testing/Testing 2/double 2}
+\label{parameters:Testing/Testing_202/double_202}
\index[prmindex]{double 2}
{\it Possible values:} A floating point number $v$ such that $-\text{MAX\_DOUBLE} \leq v \leq \text{MAX\_DOUBLE}$
\item {\it Parameter name:} {\tt int 2}
-\phantomsection\label{parameters:Testing/Testing_202/int_202}
-\label{parameters:Testing/Testing 2/int 2}
+\phantomsection\label{parameters:Testing/Testing 2/int 2}
+\label{parameters:Testing/Testing_202/int_202}
\index[prmindex]{int 2}
{\it Possible values:} An integer $n$ such that $-2147483648\leq n \leq 2147483647$
\item {\it Parameter name:} {\tt string list 2}
-\phantomsection\label{parameters:Testing/Testing_202/string_20list_202}
-\label{parameters:Testing/Testing 2/string list 2}
+\phantomsection\label{parameters:Testing/Testing 2/string list 2}
+\label{parameters:Testing/Testing_202/string_20list_202}
\index[prmindex]{string list 2}
\item {\it Parameter name:} {\tt string list}
-\phantomsection\label{parameters:Testing/string_20list}
-\label{parameters:Testing/string list}
+\phantomsection\label{parameters:Testing/string list}
+\label{parameters:Testing/string_20list}
\index[prmindex]{string list}
\begin{itemize}
\item {\it Parameter name:} {\tt double 2}
-\phantomsection\label{parameters:Testing/Testing_202/double_202}
-\label{parameters:Testing/Testing 2/double 2}
+\phantomsection\label{parameters:Testing/Testing 2/double 2}
+\label{parameters:Testing/Testing_202/double_202}
\index[prmindex]{double 2}
{\it Possible values:} A floating point number $v$ such that $-\text{MAX\_DOUBLE} \leq v \leq \text{MAX\_DOUBLE}$
\item {\it Parameter name:} {\tt int 2}
-\phantomsection\label{parameters:Testing/Testing_202/int_202}
-\label{parameters:Testing/Testing 2/int 2}
+\phantomsection\label{parameters:Testing/Testing 2/int 2}
+\label{parameters:Testing/Testing_202/int_202}
\index[prmindex]{int 2}
{\it Possible values:} An integer $n$ such that $-2147483648\leq n \leq 2147483647$
\item {\it Parameter name:} {\tt string list 2}
-\phantomsection\label{parameters:Testing/Testing_202/string_20list_202}
-\label{parameters:Testing/Testing 2/string list 2}
+\phantomsection\label{parameters:Testing/Testing 2/string list 2}
+\label{parameters:Testing/Testing_202/string_20list_202}
\index[prmindex]{string list 2}
\item {\it Parameter name:} {\tt string list}
-\phantomsection\label{parameters:Testing/string_20list}
-\label{parameters:Testing/string list}
+\phantomsection\label{parameters:Testing/string list}
+\label{parameters:Testing/string_20list}
\index[prmindex]{string list}
\begin{itemize}
\item {\it Parameter name:} {\tt double 2}
-\phantomsection\label{parameters:Testing/Testing_202/double_202}
-\label{parameters:Testing/Testing 2/double 2}
+\phantomsection\label{parameters:Testing/Testing 2/double 2}
+\label{parameters:Testing/Testing_202/double_202}
\index[prmindex]{double 2}
{\it Possible values:} A floating point number $v$ such that $-\text{MAX\_DOUBLE} \leq v \leq \text{MAX\_DOUBLE}$
\item {\it Parameter name:} {\tt int 2}
-\phantomsection\label{parameters:Testing/Testing_202/int_202}
-\label{parameters:Testing/Testing 2/int 2}
+\phantomsection\label{parameters:Testing/Testing 2/int 2}
+\label{parameters:Testing/Testing_202/int_202}
\index[prmindex]{int 2}
{\it Possible values:} An integer $n$ such that $-2147483648\leq n \leq 2147483647$
\item {\it Parameter name:} {\tt string list 2}
-\phantomsection\label{parameters:Testing/Testing_202/string_20list_202}
-\label{parameters:Testing/Testing 2/string list 2}
+\phantomsection\label{parameters:Testing/Testing 2/string list 2}
+\label{parameters:Testing/Testing_202/string_20list_202}
\index[prmindex]{string list 2}
\begin{itemize}
\item {\it Parameter name:} {\tt some other entry with \{\%\}}
-\phantomsection\label{parameters:section_5f1/some_20other_20entry_20with_20_7b_25_7d}
-\label{parameters:section_5f1/some other entry with _7b_25_7d}
+\phantomsection\label{parameters:section_5f1/some other entry with _7b_25_7d}
+\label{parameters:section_5f1/some_20other_20entry_20with_20_7b_25_7d}
\index[prmindex]{some other entry with \{\%\}}