Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 A building tool that may be included by default

open
nobody
None
5
2009-05-05
2009-05-05
wolf2k
No

Hi,

I included a tool in my tools.xml that doesn't require rubber and works properly for most latex compilations.
This is the tool:

<tool description="Cognitionis PDF Special" extensions=".tex" id="7" label="PDF Special">
<job mustSucceed="true" postProcessor="GenericPostProcessor">
rm -f $directory/*~ $directory/*.backup $directory/*.log $directory/*.blg $directory/*.bbl $directory/*.aux $directory/*.dvi $directory/*.toc $directory/*.out $directory/*.nav $directory/*.snm
</job>
<job mustSucceed="true" postProcessor="LaTeXPostProcessor">
latex -interaction batchmode -src "$filename"
</job>
<job mustSucceed="false" postProcessor="GenericPostProcessor">
bibtex $shortname.aux
</job>
<job mustSucceed="true" postProcessor="LaTeXPostProcessor">
latex -interaction batchmode -src "$filename"
</job>
<job mustSucceed="true" postProcessor="LaTeXPostProcessor">
latex -interaction batchmode -src "$filename"
</job>
<job mustSucceed="true" postProcessor="GenericPostProcessor">
dvipdf $shortname.dvi
</job>
<job mustSucceed="true" postProcessor="GenericPostProcessor">
rm -f $directory/*~ $directory/*.backup $directory/*.log $directory/*.blg $directory/*.bbl $directory/*.aux $directory/*.dvi $directory/*.toc $directory/*.out $directory/*.nav $directory/*.snm
</job>

Thank you for such a good plugin.
Hector

Discussion