- LaTeX comment page bugs fixed
This commit is contained in:
parent
77cf3f267a
commit
8e145df855
@ -213,7 +213,7 @@ class Report
|
|||||||
|
|
||||||
// add comments if any
|
// add comments if any
|
||||||
if ($this->comments != []) {
|
if ($this->comments != []) {
|
||||||
$tex .= "\\huge A következő oldal érzékeny információkat tartalmazhat!\\newlineNem publikálandó!\n\\clearpage\n\n";
|
$tex .= "\\huge A következő oldal érzékeny információkat tartalmazhat!\\newline Nem publikálandó!\n\\clearpage\n\n";
|
||||||
$tex .= "\\clearpage\n\small\n\\noindent ";
|
$tex .= "\\clearpage\n\small\n\\noindent ";
|
||||||
$tex .= join("\\\\\n", $this->comments);
|
$tex .= join("\\\\\n", $this->comments);
|
||||||
}
|
}
|
||||||
|
@ -579,7 +579,7 @@ function generate_report_by_groups(ReqHandler &$rh, array $params): string
|
|||||||
$report->addComment("filter: ${filter}");
|
$report->addComment("filter: ${filter}");
|
||||||
$report->addComment("best_only: ${params["best_only"]}");
|
$report->addComment("best_only: ${params["best_only"]}");
|
||||||
$requestURL = $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"] . $_SERVER["REQUEST_URI"];
|
$requestURL = $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"] . $_SERVER["REQUEST_URI"];
|
||||||
$report->addComment("\\scriptsize $requestURL");
|
$report->addComment("\\scriptsize \\path{$requestURL}");
|
||||||
|
|
||||||
// generate latex
|
// generate latex
|
||||||
$report->saveTeX($buildDir);
|
$report->saveTeX($buildDir);
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
\usepackage[fontsize=7pt]{fontsize}
|
\usepackage[fontsize=7pt]{fontsize}
|
||||||
\usepackage{titlesec}
|
\usepackage{titlesec}
|
||||||
|
\usepackage{url}
|
||||||
|
|
||||||
% For frame layout and content
|
% For frame layout and content
|
||||||
\usepackage{xcolor}
|
\usepackage{xcolor}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user