BibTeX, biblatex and biber ⇒ Modify bst file
Modify bst file
I have wasted the entire day today to format my bibliography using makebst to get it into the format the journal I am submitting the paper to wants it. However, I don't know how to solve the following: The bst file is set to put a period at the end of each reference. For article that would be after the page number in my case. However, my journal wants the DOI if available to appear after the page number, but then the page numbers should have a comma instead of the period.
Any ideas where to add this?
Cheers
Martin
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Modify bst file
Another possibility might be to switch to BibLaTeX which makes customizability much easier.
But if I were in your shoes, especially if a deadline were coming up, I'd probably go ahead and leave the .bst file as is, and then, right before submitting to the journal, I'd modify the .bbl file that BibTeX generates after running BibTeX directly. (Be sure to back it up, since otherwise it'll get completely overwritten if you need to re-run BibTeX.) Those are typically fairly straightforward to edit, and the commands in there are actually what gets inserted into the document on the next compile. (BibTeX's responsibility is simply creating this file.) Indeed, you could even copy and paste this directly into your document where you previously had your BibTeX \bibliography line.
But perhaps that's taking the easy way out so to speak. And maybe someone else will know what to do here.
Re: Modify bst file
cheers
Martin
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Modify bst file
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10