LyX ⇒ Bibliography in chronological order
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Bibliography in chronological order
My question is: How can I arrange the entries of bibliography in chronological order automatically in Lyx?
thanks in advance
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Bibliography in chronological order
This was already discussed, but, in a nutshell, use BibTeX and unsrt bibliography style (LyX's User's Guide, section 6.5 and Additional Features, section 3.1). Also take a look at the example in the attachment.
- Attachments
-
- test.zip
- (1.73 KiB) Downloaded 783 times
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Re: Bibliography in chronological order
thanks for your reply.
but my query is not solved. In Chronological order the earliest references should appear first followed by the latest references. ( regarding your attached file, in the resultant PDF file, the ref. of year 1976 should appear first followed by ref. of year 2008 in the reference section.)
thank you
Bibliography in chronological order
1. Download plainyr .bst file and put it somewhere you'll find it easily (e.g., in the same folder as your .lyx file).
2. Right click on BibTeX Created Bibliography > Settings > Browse > then locate and select downloaded plainyr style.
3. Compile your document again. Now all entries will be sorted ba year-author-title.
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Re: Bibliography in chronological order
thanks for reply.
yes, it works.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bibliography in chronological order
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Re: Bibliography in chronological order
I have downloaded plainyr.bst and references get arranged in chronological order. But there is yet another problem regarding appearance of the text in reference.
I get the following text in the output when I run lyx . (I am using JabRef for entering the references.)
[1] Lucy M. “PSO based algorithm for solution of nonlinear equations”,. IEEE Trans. On Power Systems, vol. 25, no.4, :pp. 809-817, Feb. 1999.
I have entered the following text in JabRef.
Author- Lucy M.,
Title-“PSO based algorithm for solution of nonlinear equations”,
Journal-IEEE Trans. On Power Systems
Year- Feb. 1999
Volume- vol. 25, no. 4,
Pages- pp. 809-817
Bibtexkey-LucyM.Feb.1999.
I require following modifications in the output text.
(1) There should be a comma (,) following author’s name(i.e. Lucy M.). Even though I have entered a comma after author’s name in jebref, it does not appear in output.
(2) I get (”) in front of the title (in front of PSO based algorithm…) in the output text. Instead it should be (“).
(3) There should not be a full stop(.) at the end of the title (i.e … nonlinear equations)
(4) There should not be a colon(:) in front of pp. 809-817.
So, sir, what should I do to obtain such modifications? They are absolutely required because I have to write references of my phd thesis.
Thank you
Bibliography in chronological order
Also a general tip: never ever enter manually punctuation signs (comma, period, quotation marks...) along entries in your .bib file (e.g. putting a comma after the author's name). Use appropriate required/optional/general etc. fields in JabRef to enter "clean" entries, and leave punctuation part to the style you're using.
In the attachment you'll find a very simple example you may start with (don't forget to check the preamble). For more infos, of course, you should consult biblatex documentation. And if you encounter any problems, I suggest you start a new thread under BibTeX section, since this is not related to LyX anymore.
P.S. For using biblatex with LyX, here's a wiki article you'd find useful.
- Attachments
-
- example.zip
- (1.36 KiB) Downloaded 310 times
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Re: Bibliography in chronological order
Thanks for reply. I made the required modifications in LYX , which you have suggested in your last email.
I ran your attached file successfully , but in pdf file (& in dvi file) and in its printed document the references did not appear at all. So where could be my mistake?
Thank you
Bibliography in chronological order
Try the following:
1. If you're using Windows, create a folder on C:\ and name it test, so that its path is: C:\test
2. Put Example.lyx and test_bib.bib files from my previous post into test folder
3. Open Example.lyx, go to Document > Settings > LaTeX Preamble and make sure the \bibliography command there looks like this:
Code: Select all
\bibliography{C:\test\test_bib}