- Generation time added to LaTeX
This commit is contained in:
		
							parent
							
								
									8e145df855
								
							
						
					
					
						commit
						b1c1509f9f
					
				@ -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!\\newline Nem publikálandó!\n\\clearpage\n\n";
 | 
					            $tex .= "\\huge\\noindent 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 \\path{$requestURL}");
 | 
					    $report->addComment("\\scriptsize \\path{" . $requestURL . "}");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // generate latex
 | 
					    // generate latex
 | 
				
			||||||
    $report->saveTeX($buildDir);
 | 
					    $report->saveTeX($buildDir);
 | 
				
			||||||
 | 
				
			|||||||
@ -13,6 +13,7 @@
 | 
				
			|||||||
\usepackage[fontsize=7pt]{fontsize}
 | 
					\usepackage[fontsize=7pt]{fontsize}
 | 
				
			||||||
\usepackage{titlesec}
 | 
					\usepackage{titlesec}
 | 
				
			||||||
\usepackage{url}
 | 
					\usepackage{url}
 | 
				
			||||||
 | 
					\usepackage{datetime2-magyar}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
% For frame layout and content
 | 
					% For frame layout and content
 | 
				
			||||||
\usepackage{xcolor}
 | 
					\usepackage{xcolor}
 | 
				
			||||||
@ -151,7 +152,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
\begin{document}
 | 
					\begin{document}
 | 
				
			||||||
    \begin{center}
 | 
					    \begin{center}
 | 
				
			||||||
        \Huge \IfFileExists{title.tex}{\input{title.tex}}{Kvíz eredmények}
 | 
					        \Huge \IfFileExists{title.tex}{\input{title.tex}}{Kvíz eredmények}\\
 | 
				
			||||||
 | 
					        \normal \DTMcurrenttime
 | 
				
			||||||
    \end{center}
 | 
					    \end{center}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    \Large
 | 
					    \Large
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user