-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The references are not number #16
Comments
Hi Martin20, can you please provide a little more information? For example, a minimum working example might include the TeX for the reference in question, the output, and some kind of indication of your expected output. |
Hi Martin. There are different packages for citations. I put in one with author and year because space doesn't matter in a dissertation, and author-year gives more info than an arbitrary number. You can switch to numbers using normal LaTeX commands, though I don't remember the details offhand. If someone has the answer and can post it here, that might help other users with the same question. |
Thanks for piping up John! Somehow this clarified what I was missing. I think it might be as easy as the following. Replace
with
This changes the references from to Although this might not quite be what you're after, since it still orders the references alphabetically, so the first reference of my dissertation is [94]. But see https://gking.harvard.edu/files/natnotes2.pdf for more information on natbib. I'm guessing there's some options with "sort" you need to exploit. |
Okay: Last comment here for now. I did a little googling, and TedPavlic's answer in this thread https://tex.stackexchange.com/questions/61877/natbib-sorting-and-citation-order-by-appearance worked for me. Specifically, I used his hack of not regenerating the .bst file, but instead, looking at the .bst file and replacing the
Along with the option "numbers" passed in to natbib in the declaration, this created numerical references that are numbered according to their appearance in the document, which is essentially the "standard" LaTeX behavior. |
@joelelynn about your solutions, I tried both it did not any change. |
Hi @martin20 : Can you please share your "build" process? When dealing with bibliographies, it can be important to make sure that certain files are forced to be regenerated. So, between changes such as the suggestion to pass the option However, having said that, adding the option |
@joelelynn |
Hi @martin20: By "build" process, I mean, how are you generating the .pdf? Do you use |
Thank you @joelelynn for your prompt reply. Actually, I do not use a command. I opened it in Overleaf and it compiled automatically. If there is a way to know the commend, please let me know. |
Hello,
My references are a long name rather than a number. How can I fix that?
The text was updated successfully, but these errors were encountered: