[Scons-users] how to get bbl output of pdflatex?
David Roundy
roundyd at physics.oregonstate.edu
Wed Sep 11 17:43:47 EDT 2013
Hi Dirk,
I can reproduce the error using your code with the following sequence:
scons # works fine
rm foo.bbl
scons # fails
Error message:
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
tar -c -f arxiv.tar.gz foo.bbl foo.ltx
tar: foo.bbl: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
scons: *** [arxiv.tar.gz] Error 2
scons: building terminated because of errors.
I could also reproduce a slightly different error by adding
import os
CacheDir(os.environ['HOME'] + '/.cache/scons')
to the beginning of the SConstruct file, and then running
scons -c # clear out everything
scons # works fine, runs latex
scons -c # clear it out again
scons # fails, with puzzling error message, after pulling foo.pdf out of
the cache
Error message:
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
Retrieved `foo.pdf' from cache
scons: done building targets.
scons: *** Found dependency cycle(s):
Internal Error: no cycle found for node arxiv.tar.gz (<SCons.Node.FS.File
object at 0x2045bd0>) in state pending
So your script doesn't seem to me to work very well, precisely because
there is no rule for generating the bbl file.
David
On Wed, Sep 11, 2013 at 12:42 PM, Dirk Bächle <tshortik at gmx.de> wrote:
> Hi David,
>
> please find a simple example attached, which seems to work fine on my
> side. I couldn't reproduce the error you reported with it, so maybe it
> helps if you compare the files to your original sources.
>
> Best regards,
>
> Dirk
>
>
> On 07.09.2013 15:37, David Roundy wrote:
>
>> Hi all,
>>
>> I'm running into a bit of a challenge using the pdflatex builder. This
>> builds a pdf file just fine:
>>
>> env.PDF(target = 'paper.pdf', source = 'paper.tex')
>>
>> The tricky bit is that in order to submit to a journal (or
>> http://arxiv.org), I need the bbl file that is produced. Of course, I
>> could do this manually by typing bibtex, but the point of scons (and before
>> that make) is to automate and document the process.
>>
>> [...]
>> ______________________________**_________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> http://four.pairlist.net/**mailman/listinfo/scons-users<http://four.pairlist.net/mailman/listinfo/scons-users>
>>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
>
--
David Roundy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130911/0d4fb769/attachment.html
More information about the Scons-users
mailing list