Skip to content

\BLOCK do not work inside the \input{another_latex_file.tex} #29

@zzakeer

Description

@zzakeer

i have multiple latex file so thats a reason.
report_base.tex hold multiple latex file.
for example.
report_base.tex contains :

\begin{document}
\input{\VAR{report_dir}titlepage.tex}
\end{document}

====================================================
titlepage.tex contains :

\section{Project Overview}
\label{sec:proj-overview}
\begin{xltabular}[l]{\linewidth}{cXcX}
\rowcolor{\colorthG} ID & Vulnerability & Severity Level & Recommendations \\
\BLOCK{ for task, list_of_vulnerabilities in vulnerabilities.items() }
\rowcolor{\colorvul}\multicolumn{4}{c}{\textcolor{white}{\VAR{task}}}\\
\BLOCK{ endfor }
\end{xltabular}

But it gives error.

Screenshot 2019-11-25 at 9 53 01 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions