- LaTeX comment page bugs fixed

This commit is contained in:
Wiesner András 2024-10-01 16:38:55 +02:00
parent 77cf3f267a
commit 8e145df855
3 changed files with 3 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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);

View File

@ -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}