On Friday 26 February 2010 11:02:30 am rgheck wrote:
> On 02/26/2010 10:55 AM, Vincent van Ravesteijn - TNW wrote:
> >> I have attached InlineBib.py (which is a modified version of the
> >
> > earlier script).
> >
> > Some remarks about this script:
> >
> > def CreateBbl(n): #Creates .aux and .bbl from .tex
> > #- argument = "latex " + n[:-4] #n[:-4] is the name of the file
> > without extension
> > #- os.system(argument)
> > argument = "bibtex " + n[:-4]
> > os.system(argument)
> >
> >
> > We can in LyX set a custom bibtex processor, or provide arguments to it.
> > That's why I said I'd use the built-in LyX functions for exporting the
> > bbl file.
>
> This part might work, but other parts, I'm not so sure.
>
> > Why is bibtex not run automatically when running LaTeX ? I would guess
> > we don't need to explicitly generate the bibtex file. Otherwise we might
> > need a new argument flag needbbl, like needaux.
>
> Yes, I suggested this earlier. I think we do need this, independently.
>
> rh
In any case, would any of you have any idea about the error I am seeing
(happens after the inlined-ref .tex is created, possibly when it is being
copied):
../../../src/support/FileName.cpp(254): Could not move
file /tmp/lyx_tmpdir.T12182/lyx_tmpbuf0/tmpfile.out
to
/tmp/lyx_tmpdir.T12182/lyx_tmpbuf0/issues-with-single-band-eff-mass-TISE-approach.tex
Error: Cannot convert file
Thanks,
Manoj