GVM 10 Cloning and modifying PDF reports

Hello!

I’ve been trying to modify the pdf report by following this guide:

After modifying the latex.xsl file of the cloned pdf report format, when downloading it it is downloaded with the name reportXXX.pdf but my operating system treats it as a plain text file. No error is generated in the logs and the modified latex file I do it correctly respecting the tabulation of the file.

When trying to open it with the browser this does not accept it, the same happens with the document viewer. The document it generates is a file in plain text and blank, it does not download the file in pdf format as such.

Using as PDF report format, the file that is generated is correct. I assigned to the directory of the new cloned format the same permissions as the default pdf format.

root:staff

Thank you!