As stated in Section 3.11, you are not confined to using RefDB whith my lyxtox script. If you don't feel like building your own bibliographic database, you can just supply a bibliography. lyx file together with your LyX document. Set the process_RefDB variable in lyxtox to "0" and it will use your own bibliography. lyx to produce a bibliography.sgml file, instead of trying to create one automatically through RefDB. The bibliography. lyx file should then contain the SGML code for the references list, in the SGML environment of LyX. The GNU/Linux Command-Line Tools Summary HOWTO uses this approach, for example.
This means that if you don't want to use RefDB, but still want to have a bibliography, your bibliography. lyx file should look like:
<bibliography id="references" title="References"> <bibliodiv> <biblioentry xreflabel="KARAKAS1992"> <biblioset> <author> <surname>Karakas</surname> <firstname>Chris</firstname> </author> <title>Neuronale Lernregeln und andere Methoden für lineare Assoziation und Trennung</title> <publisher> <publishername>BoD GmbH, Norderstedt</publishername> </publisher> <abstract> <para> An examination of neural network methods and methods from classic optimization theory for solving the problem of linear association and separation. After a formal mathematical definition of neural networks, the linear association problem and some so-called "learning rules" for its solution are considered: ...more Abstract text here. </para> </abstract> </biblioset> </biblioentry> ... more <biblioentry> elements here ... </bibliodiv> </bibliography> |
The whole code should be in the LyX SGML environment (see Section 5.1 for an explanation of LyX environments). You can even insert URLs and cross-references the usual LyX way (from the LyX Insert menu) and they will be correctly exported to SGML. The layout of bibliography. lyx should be “ DocBook Chapter (SGML)” (to be set from the LyX Layout menu). You don't need anything in the preample or elsewhere. See the bibliography.lyx file in the Formats section of GNU/Linux Command-Line Tools Summary HOWTO for an example.
To cite a reference from a reference list created this way, you have to switch to the SGML environment for the whole paragraph containing the citation, then write as in the following example:
<para> Consult <citation>KARAKAS1992</citation> for more details on neural learning rules. </para> |
Note that we use the value of the xreflabel attribute to refer to the reference entry.
![]() |
Formatting your Reference List. |
|---|---|
|
Note that this way of creating a Reference List and citations does NOT cover formatting of either citations or the entries in the Reference List itself. Note also that each journal (or medium) has its own formatting expectations as far as the Bibliogrphy is concerned. You will have to write your own DSSSL driver file to accomodate for this need. RefDB (10) (Section 5.19.2) takes this burden out of your work for the slight overhead of setting up a database and installing the RefDB package (Section 3.11). |
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/lyx-bibliography-without-refdb.html | All contents © 2002-2007 Chris Karakas |