LyX ⇒ Bibliography in chronological order
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Re: Bibliography in chronological order
(1)I had followed the same four steps which you had mentioned in your last email and when I run the lyx file , still I get following Latex error:
\bibliography{C:\test\test_bib}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
So what should I do now?
(2) I require most of the same reference style which is given in “right.pdf” file.
Sir, can you suggest me, which type of syntax/command should I enter in latex preamble so that I get following type of tex in the last part of ref.2 ---vol. 25, no.4, pp. 809-817, Feb. 1999.
I highly appreciate your help and time which you devoted since last week.
Thank you
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
2. You may find the answer to your second question here. Please, read the post and use the code lockstep has kindly provided. In the attachment you'll find the same example I posted earlier, but with those changes included in the preamble, as well as the pdf output. Of course, you still have to change the path to .bib file in the preamble (last line), as I noted earlier.
- Attachments
-
- Example.pdf
- (52.27 KiB) Downloaded 300 times
-
- example.zip
- (1.92 KiB) Downloaded 197 times
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Re: Bibliography in chronological order
thanks for reply.
i have modifications in my lyx file as per your suggestion in your last mail. still i do not get the required results.
here i have attached error.txt file and resultant pdf file.
in the error.txt, one warning is there: 'babel' is detected but 'csquotes' missing. i tried a lot to find such file in latex but could not .
sir, this is the only point in lyx in which i have been stuck.
i have got perfect results as far as tables, figures and text are concerned.
thank you
- Attachments
-
- obained_results.pdf
- (15.53 KiB) Downloaded 320 times
-
- error.txt
- (18.49 KiB) Downloaded 314 times
Bibliography in chronological order
Loading csquotes package isn't mandatory, so it may be omitted.
Obviously MiKTeX has problems with finding the test_bib.bib file provided. Please, check again that the path to test_bib.bib in Document > Settings > LaTeX Preamble, last line: \bibliography{...} is correct. I don't see anything else that might be the cause of the problem. And I get the same result as you if the path to .bib file is incomplete.
In the meantime, let's do a test with a LaTeX editor, e.g., TeXWorks. Install it, put the files I attached to this post into C:\test, open "Example.tex" with TeXWorks and run the sequence of commands:
Code: Select all
pdflatex
bibtex
pdflatex
pdflatex
If any other LyX user is around, especially if s/he's using it on Windows, please test files I attached in my previous post.
- Attachments
-
- test_bib.bib
- (645 Bytes) Downloaded 319 times
-
- Example.tex
- (3 KiB) Downloaded 326 times
-
- Posts: 11
- Joined: Wed Dec 01, 2010 6:52 am
Re: Bibliography in chronological order
i had tried with texwork editor, but i got the same result. (no references in pdf file).
Anyway, i am getting good results as far as other tex and figures are concerned.
again, thanks for your help.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bibliography in chronological order
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10