1

I have a LaTeX document using the custom bibliography to build bibliographies. I would like to know how I may include periods at end of titles. I created my custom bst using LaTeX makebst program.

Here is my working MWE. I want my references to print as follows:

Mada J, Idzumi M and Tokihiro T 2005 Path description of conserved quantities of generalized periodic box-ball systems. Journal of mathematical physics 46(2):022701

Notice there is addition of period between article title and Journal name.

9
  • I seem to remember that this has to do with the block-separator, but changing that in the already created .bst file could be complicated. You may be lucky, but in general it is hard to find anybody who still understands the .bst-language. If you have the possibility, I would strongly recommend to switch to BibLaTeX, which offers much more functionality. Commented Feb 21, 2017 at 15:09
  • @ManuelWeinkauf the references presented here is it possible to compile them with BibLaTeX without the .bst Language? Commented Feb 21, 2017 at 18:11
  • Certainly, and very easily so. Just have a look here and here for some quick guides how to switch to BibLaTeX. Commented Feb 21, 2017 at 18:37
  • @ManuelWeinkauf I tryed your way but thats not easy way. The easy way is to use custom bib. Your way will involve a lot of fixes. Commented Feb 21, 2017 at 20:12
  • It certainly requires some learning, but is the much more flexible method. So if you want to stick to LaTeX in the future, it is well worth investing the time. And frankly speaking, there are hardly any "fixes" needed, because basically (i.e. with standard output) BibLaTeX is fully compatible with BibTeX documents. It only requires replacing \bibliography{Lit} with \printbibliography, adding addbibresource{Lit.bib} in the preamble, and deleting \bibliographystyle{}. Hardly any work at all. Commented Feb 22, 2017 at 10:37

1 Answer 1

2

To get the references to be print as you wish you need to change one function in your used bibliography style file research.bst. Search for function format.title and change it to (I added add.period$ " " * to add the period and a blank):

FUNCTION {format.title}
{ title
    duplicate$ empty$ 'skip$
    { "t" change.case$ 
      add.period$ " " * 
    }
    if$
    "title" bibinfo.check
}

With the following MWE

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{mada2005path,
  Title     = {Path description of conserved quantities of generalized periodic box-ball systems},
  Author    = {Mada, Jun and Idzumi, Makoto and Tokihiro, Tetsuji},
  Year      = {2005},
  Number    = {2},
  Pages     = {022701},
  Volume    = {46},
  Journal   = {Journal of mathematical physics},
  Publisher = {AIP Publishing},
}
@Article{maday1988error,
  Title   = {Error analysis for spectral approximation of the Korteweg-de Vries equation},
  Author  = {Maday, Y and Quarteroni, A},
  Year    = {1988},
  Number  = {3},
  Pages   = {499--529},
  Volume  = {22},
  Journal = {RAIRO-Mod{\'e}lisation math{\'e}matique et analyse num{\'e}rique},
}
\end{filecontents}


\documentclass{article}

\usepackage{natbib}


\begin{document}
I try to cite here \cite{mada2005path}. 
Cross checking citing here \cite{maday1988error}. 

\bibliographystyle{research} % Changed research.bst !!!!!!
\bibliography{\jobname} 
\end{document}

you get the wished result:

resulting pdf

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .