LyXBibliography order

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
zacadi
Posts: 9
Joined: Sun Aug 29, 2010 1:10 pm

Bibliography order

Post by zacadi »

Hello,

i use standard bibliograhy and i want to order them.
The similar topic is:
http://www.latex-community.org/forum/vi ... =19&t=7230
and the advice from that link is:
Hi,

The bibliographic style you are looking for is "unsrt".
In Lyx (assuming you have the proper bst installed...which you probably do) just right click in the bibliography environment and change the style from "plain" to "unsrt". Easy pah-cheesy...like getting a degree in the humanties :).
But when i click right in the bibliography environment i dont have style plain or unsrt.
I install Lyx 1.6.7

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Bibliography order

Post by meho_r »

What do you mean by "standard bibliography"? Do you use the Bibliography environment (the last entry in drop-down list, top left, where you choose sectioning units and environments) or do you use Insert > List/TOC > BibTeX Bibliography? If you're using the environment and manually entering entries, then they will appear in the order you put them in. If you're using BibTeX Bibliography, then you may use styles. For more infos, check LyX's User Guide, section 6.5.
zacadi
Posts: 9
Joined: Sun Aug 29, 2010 1:10 pm

Bibliography order

Post by zacadi »

I read five time "LyX's User Guide, section 6.5" but i can't find
  1. The way that i add a some posiotion of book/article.
    In the net i found an example which i suppose put in bib.file.
    But where i can find my bib.file (localisation)?
  2. When i want to add to bibliography an article the frame is:

    Code: Select all

    @article{gpl,
      author = {Free Software Foundation},
      title= {GNU General Public License},
      url = {http://www.gnu.org/licenses/gpl.html},
      note = {Version 2},
      year = {1991}
    }
What is the frame when i want to put a book to bibliography?
@book? (i dont know what is "gpl"?)
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Bibliography order

Post by meho_r »

Before anything, I strongly recommend you to check out Resource for Beginners section on this forum. Although LyX is intended to avoid a necessity to learn LaTeX, some basic concepts should come handy.

1. I recommend you to use a reference manager for creating a bibliography file. My first choice is JabRef (use File > Save Database As... to export a database). By using a reference manager you'll avoid frustration of incorrectly entered code when creating a database manually.

2. When a .bib file is created, it is best to put it in the same folder where your .lyx file is located. Then, in LyX, go to: Insert > List/TOC > BibTeX Bibliography > Add... > Browse, then select your .bib file and press: Open > Add. Now you may choose a bibliography style, as well as add Bibliography to TOC.

3. You insert a citation using Insert > Citation > Select an entry > Add > OK (there's a button on the toolbar for that too).

4. To edit bibliography style, right click on "BibTeX Created Bibliography" button.

An example file and a .bib file are in the attachment.
Attachments
Example.zip
(1.13 KiB) Downloaded 169 times
zacadi
Posts: 9
Joined: Sun Aug 29, 2010 1:10 pm

Bibliography order

Post by zacadi »

I strongly recommend you to check out Resource for Beginners section on this forum
You have rigt.

i already know how to use Bibtex. Your information was very helpfull. I attach an example of blank postion in Bibtex?
Attachments
bibtex.rar
(2.5 KiB) Downloaded 158 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Bibliography order

Post by meho_r »

Since there's no title, author etc, you may add howpublished entry (tab "Optional" in JabRef) to your .bib file, e.g.:

Code: Select all

@MISC{url_google,
  owner = {Hesus},
  timestamp = {2010.09.04},
  url = {www.google.com},
  howpublished = {http://www.google.com}
}
Note: you may use package url to format the link as a url:

Code: Select all

howpublished = {\url{http://www.google.com}}
Post Reply