Re: bibliography-question

2019-06-02 Thread Paul A. Rubin

On 6/2/19 12:53 PM, M.B. Schiekel wrote:


Thank Paul and all others,

now I've learned, that
1. my LyX-document has to be open in LyX and has the document just
exported to PDF, then I can find the .aux file in the Linux \tmp directory.
2. I have to make a copy of my physics.bib with name
   0_home_myname_dir-A_dir-B_physics.bib
and then I can run bibexport:
   bibexport -o mydoc.bib mydoc.aux

Ok, now I have a complete document-bibliography and can use this at the
end of each part of my multipart-document. Great :-)



Another case is still open for me.
Can I have a part-bibliography at the end of part 1 and part 2 and a
full document-bibliography at the document-end?

Thank you very much,
bernhard



Yes. One way is the following.

1. Repeat what you did before to generate a .bib file containing all
   references cited anywhere in the paper (and only those references).
2. Use the document bibliography settings to specify "subdivided
   bibliograph" "per part".
3. Put the LaTeX code from my previous suggestion
   ("\renewcommand{\btPrintCited}{\btPrintAll}") in a TeX inset (ERT)
   somewhere in the final part (after part 2) and do /not/ put it in
   the document preamble.

I've attached a new MWE.

Paul




multibib2.lyx
Description: application/lyx


Re: bibliography-question

2019-06-02 Thread M.B. Schiekel
>>> ...
>>> You might have a look at
>>>
>>> https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file,
>>> ...
> Start by checking Tools > Preferences... > Paths. The "Temporary
> directory" shown there will be your starting point. (On Linux, this is
> normally /tmp.) In that directory, look for a directory named
> "lyx_tmpdir." and move there. In that directory, look
> for "lyx_tmpbuf0" if this is the only document you have open. 
> ...


Thank Paul and all others,

now I've learned, that
1. my LyX-document has to be open in LyX and has the document just
exported to PDF, then I can find the .aux file in the Linux \tmp directory.
2. I have to make a copy of my physics.bib with name
  0_home_myname_dir-A_dir-B_physics.bib
and then I can run bibexport:
  bibexport -o mydoc.bib mydoc.aux

Ok, now I have a complete document-bibliography and can use this at the
end of each part of my multipart-document. Great :-)



Another case is still open for me.
Can I have a part-bibliography at the end of part 1 and part 2 and a
full document-bibliography at the document-end?

Thank you very much,
bernhard


-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature