<div dir="ltr"><div dir="ltr">Hi Christopher,</div><div dir="ltr"><br></div><div>I am using vc in such a way to typeset my reports in a linux system. </div><div><br></div><div>I use my own cls file for the reports. I have the following lines there (but you can do it in your main.tex file)</div><div><br></div><div>% Execute the vc script with full option. I had used the script with bzr, but nowadays I only use git</div><div>\immediate\write18{sh ./vc -f}</div><div>% Input the generated vc.tex file with the information gathered by vc script.<br>\InputIfFileExists{vc}{}{}</div><div>% I have a custom python script that modifies a bit the version_history table</div><div>% (using the vhistory package to print a table with the different versions a their commit messages)</div><div>% My script sanityze commit messages to be able to be typeset by tex (special characters, and other stuff).<br>\immediate\write18{./parselog.py > version_history.tex}<br></div><div><br></div><div>% At the proper position (after the \maketitle I input the version history table.</div><div dir="ltr">\InputIfFileExists{version_history.tex}{}{}<br></div><div dir="ltr"><br></div><div>In make file yuo just need to activate the -shell-escape option:</div><div><br></div><div>compile:</div><div>     lualatex -shell-escape main.tex</div><div dir="ltr"><br></div><div>I hope it helps</div><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:small">Zunbeltz Izaola</div><div style="font-size:small">TeXtnik typesetting</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 10, 2021 at 1:08 AM Christopher Finazzo <<a href="mailto:chris.finazzo@gmail.com">chris.finazzo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>I am currently using the <span style="font-size:10pt;color:rgb(0,0,0)"><font face="monospace">\write18</font></span> method with the vc package, but am curious as to how it can be used from Make (as described in Unix example in Section 2.3 of its documentation).</div><div><br></div><div>Is this simply including a stanza which runs <font face="monospace">vc</font><font face="arial, sans-serif">,  or is it something else? I have yet to find an example which demonstrates this approach.</font></div><div><br></div>-- <br><div dir="ltr">Chris Finazzo<br><a href="http://www.linkedin.com/in/chrisfinazzo" target="_blank">http://www.linkedin.com/in/chrisfinazzo</a><br>973.906.0496</div></div></div>
</blockquote></div></div>