Sharedlatex-tests / subdir.texOpen in CoCalc
\documentclass{article}
\title{Title of Document}
\author{Name of Author}

\begin{document}
\maketitle

bla

thgis is text

bla

\end{document}

%sagemathcloud={"latex_command":"latexmk -pdf -bibtex -pdflatex=\"pdflatex --interact=nonstopmode --shell-escape -synctex=1 %O %S\" -outdir=build 'subdir.tex'"}