I have used latex makebst to create a customised bibliography style. However, I am missing a period at the end of the bibliographic references. How can I modify the .bst file to include the period at the end?
Asked
Active
Viewed 333 times
1
Mico
- 506,678
-
2Welcome to TeX.SE. – Mico Aug 07 '21 at 21:54
1 Answers
1
In between the questions
`IN' WITH JOURNAL NAMES (if using 'in' with collections)
and
ABBREVIATE WORD `PAGES' (if not using external language file)
the makebst utility should have asked you the following question:
FINAL PUNCTUATION:
(*) Period at very end of the listed reference
(x) No period at end
Select:
Observe that the default choice is to insert a period at the end of each formatted entry. Judging by your query, though, you appear to have chosen the second option, (x) No period at end.
How to recover from this depends on whether or not you saved the dbj file. If you did, you could hand-edit the file to modify the choice for the FINAL PUNCTUATION question, which will probably look like this:
%FINAL PUNCTUATION:
% %: (def) Period at very end
fin-bare,%: No period at end
Just comment out the fin-bare line, save the dbj file, and rerun latex on the dbj file to recreate the bst file. If, however, you did not save the dbj file, you'll have to re-run the makebst utility from scratch.
Mico
- 506,678
-
Hi Micro. Thank you for your prompt reply. Yes, I did save the .dbj file. How can I re-run latex on the dbj file after hand editing? Do I need to simply type in CMD the command "latex
? – Jonathan Cassar Aug 07 '21 at 21:57 -
1@JonathanCassar - Yes. :-) Just be sure to include the
.dbjextension. E.g., if the dbj file's full name is, say,main.dbj, be sure to enterpdflatex main.dbjon the command line. – Mico Aug 07 '21 at 22:06 -
-
1@JonathanCassar - You’re welcome! If you feel that my answer fully addressed your question, please feel free to “accept” it by clicking on the checkmark symbol. ;-) – Mico Aug 08 '21 at 20:36
