Jan Jakob Bornheim wrote:
If I simply define the command to be "bibtex ${TM_LATEX_MASTER%.*}.rsp.aux", bibtex itself gives the error "Need exactly one file argument".If I instead define the command to run on the actual file name (i.e. bibtex master.rsp.aux), it works.
That looks to me as if your TM_LATEX_MASTER contained whitespace.
Could you add, in front of that,
echo $TM_LATEX_MASTER >&2
and see what that returns?
So I assume the problem is that by using the second alternative, it is bibtex that tries to guess the meaning of the expression "${TM_LATEX_MASTER%.*}.rsp.aux", which it can't, while in the first
No, that's the shell's task. (This ain't CP/M.)
Christopher