LyX ⇒ Bibliography in chronological order
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Bibliography in chronological order
hello everybody,
My question is: How can I arrange the entries of bibliography in chronological order automatically in Lyx?
thanks in advance
My question is: How can I arrange the entries of bibliography in chronological order automatically in Lyx?
thanks in advance
Last edited by kartikpandya on Mon Dec 20, 2010 6:08 am, edited 2 times in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Bibliography in chronological order
Hi and welcome to the forum.
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.
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
dear sir,
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
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
Oh, sorry, I misunderstood your question. For entries to be sorted by years, do the following:
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.
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
dear sir,
thanks for reply.
yes, it works.
thanks for reply.
yes, it works.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bibliography in chronological order
Now that the problem seems to be solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Otherwise please tell us what is missing. Please keep that in mind for the future so that further reminder will not be necessary.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
Dear Sir,
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
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
Before anything else, you should check with your university if they provide bibliography style which should be used. If not, then I recommend you consider using biblatex to manage your references. It seems to be much easier for use and modifications than "plain" BibTeX is.
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.
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
Dear sir,
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
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
Do citations appear in text, bold, but no reference section (take a look at the attached "wrong.pdf" file)? If that is the case, I presume the absolute path to test_bib.bib (which must be set in Document > Settings > LaTeX Preamble) isn't right.
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:
4. Try compiling the document now. You should get the same result as in the attached "right.pdf" file.
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}