$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Deane Yang (deane_yang_at_[hidden])
Date: 2005-12-14 11:07:45
I want to use pdflatex to convert a latex document (suffix ".tex") into
a PDF document (suffix "*.pdf"). Nominally, the following seems to work:
generators.register-standard latex.latex-to-pdf : TEX : PDF ;
actions latex-to-pdf
{
"pdflatex" -job-name=$(<) $(>)
"pdflatex" -job-name=$(<) $(>)
}
However, this produces an extra ".pdf" at the end of the name of the PDF
document. In the commands above, I'd like to replace the "$(<)" by path
of the PDF file with the suffix ".pdf" removed. How do I do that?