For BibTeX rendering to work, the LaTeX file needs to be compiled, then BibTeX run against that file and then the LaTeX compilation needs to happen again twice.
So, this works perfectly.
$reportContent = (new LaraTeX('tex.report'))
->with(...)
->renderBibtex()
->compileAmount(3)
->content();
For BibTeX rendering to work, the LaTeX file needs to be compiled, then BibTeX run against that file and then the LaTeX compilation needs to happen again twice.
So, this works perfectly.
$reportContent = (new LaraTeX('tex.report')) ->with(...) ->renderBibtex() ->compileAmount(3) ->content();