Dear Dominik, dear list,
thanks again, this is ***anschaulich.
Everything here worked fine, until I tried to look up the temporary
directory. I think, that I have found the correct path at leat, which
is the desktop. The command-line of Terminal (console in OSX) changed
to:
zs-macbook-3:desktop Z$
where the temporary directory should reside.
But I do now see nothing else than just that path, just that line, and
I do not know how to see the temp directory of Lyx now. Should the
console show that directory now? I tried this different times now, and
it always happens the same, it should thus be no misspelling.
Thank you. Best*
Jess
You can look up where the temporary directory of LyX resides. In LyX,
just go to the menu 'Tools -> Preferences' and look into the 'Paths'
section where the 'Temporary Directory' is listed. This is the
directory
where LyX stores every file while processing it.
Next, open the document you wish to work on and compile it. You can
see
the log file created during the compiling process from within LyX
(menu
'Document -> LaTeX Log').
The next step is to open a console window (don't close LyX at this
point, because then it would delete the temp directory!) and browse to
the directory you have looked up. You can change to a directory by
typing 'cd', followed by a space and the directory name, e.g.
,--
¦ C:\>cd Temp
`----
(Everything before the > is the path you are currently in.) If you
have
to go one level up, the command is
,--
¦ C:\Temp>cd ..
`----
Inside LyX's temp directory, you will find at least one directory
whith
a name like 'lyx_tmpdir.gq6580'. The characters after the dot will
vary,
but the 'lyx_tmpdir.' part is always the same. If you have more than
one
directory, these are leftovers of earlier LyX sessions where LyX was
not
properly finished (unless you do not have several LyX instances open
at
the same time -- every instance creates one directory). The newest
directory should be the one you are looking for. This directory again
has at least one subdirectory. Every buffer (i.e. every document you
open inside LyX) has its own subdirectory. The first is called
'lyx_tmpbuf0', the second 'lyx_tmpbuf1' and so on. If you close a
document, the directory is deleted. Browse to the appropriate
subdirectory and type the following (only the bit after the >):
,--
¦ C:\Temp\lyx_tmpdir.gq7420\lyx_tmpbuf0>bibtex8 -W <filename>1-blx.aux
¦ C:\Temp\lyx_tmpdir.gq7420\lyx_tmpbuf0>bibtex8 -W <filename>2-blx.aux
`----
Thereby, BibTeX will be executed for the appropriate file (you have to
change the <filename>, of course). If you have more than two files
(you
can look that up at the end of the logfile, a file with the extension
.log that resides in the same directory), you have to repeat that for
every file. [Note: if you don't have bibtex8 (bibtex8bit) installed,
try
'bibtex' instead of 'bibtex8 -W'. But it would be better to install
bibtex8.]
Afterwards, you go back to your LyX session and compile once again.
Then
the references should appear.
This seems very complicated at first sight, but I tried to give a
step-by-step explanation, and I think if you've done that once or
twice,
it's not that complicated. However, it would of course be better to
have
this done from inside LyX automatically. I don't know if that's
possible, but you could ask on the developer list or file a bug
report.