Add a new tag to hide a paste on the main page
This commit is contained in:
parent
47372cf211
commit
a6a87b6f8a
5 changed files with 23 additions and 8 deletions
|
|
@ -9,7 +9,7 @@ function generate_latex($filein, $content)
|
|||
if (is_file($fileout))
|
||||
return $fileout;
|
||||
|
||||
if (!preg_match("#\\begin{document}#ui", $content))
|
||||
if (!preg_match("#begin{document}#ui", $content))
|
||||
$content = "\documentclass[10pt]{report}
|
||||
|
||||
\usepackage[utf8x]{inputenc}
|
||||
|
|
|
|||
Reference in a new issue