I have a .tex file created with a .bib file. Now, I have to incorporate a .bst file into my latex file to follow the journal’s instructions.
I already have created the .bst file using latex makebst but have trouble in incorporanting this .bst file into my original latex file .
FILE WITHOUT .BST FILE
\documentclass [12pt]{article}
**\usepackage[backend=bibtex,citestyle=authoryear-comp,bibstyle=authortitle,maxcitenames=2,sorting=nyt,maxbibnames=9]{biblatex}**
\usepackage{xcolor}
\newcommand\hl[1]{
\bgroup
\hskip0pt\color{red!80!black}
#1
\egroup
}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{subfigure}
\usepackage[section] {placeins}
\usepackage{lscape}
\usepackage{threeparttable}
\usepackage{appendix}
\usepackage{longtable}
\usepackage[justification=centering]{caption}[date]
\usepackage[bottom]{footmisc}
\usepackage[tablename=TABLE]{caption}
\usepackage[figurename=FIGURE]{caption}
\usepackage[labelsep=none]{caption}
\DeclareCaptionTextFormat{up}{\MakeTextUppercase{#1}}
\captionsetup[table]{
labelsep=newline,
}
\captionsetup[figure]{
labelsep=newline,
}
\setlength{\textwidth}{6in}
\setlength{\textheight}{8.5in}
\setlength{\topmargin}{.25in}
\setlength{\oddsidemargin}{0.25in}
\setlength{\footskip}{0.00in}
\setlength{\headheight}{0.00in}
\setlength{\headsep}{0.5in}
\renewcommand{\baselinestretch}{1.5}
\usepackage[margin=1.5in]{geometry}
\newcommand{\bunderline}[2][4]{\underline{#2\mkern-#1mu}\mkern#1mu}
\newcommand{\boverline}[2][4]{\overline{#2\mkern-#1mu}\mkern#1mu}
\newcommand{\nunder}[2][5]{\mathrlap{\mkern\the\numexpr#1/2mu\relax\underline{\phantom{\mathrm{#2}\mkern-#1mu}}}#2}
\newcommand{\nunderline}[2][4]{
\ensuremath{\mathrlap{\mkern#1mu\underline{\phantom{\mathrm{#2}\mkern-#1mu}}}}#2}
**\addbibresource{biblio_teachers.bib}**
\DeclareMathOperator*{\argmin}{\arg\!\min}
\onehalfspacing
\begin{document}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}{\thispagestyle{empty}}
\thispagestyle{empty}
\pagestyle{myheadings}
\begin{center}
{\Large \textbf{title}}\\
\bigskip
{\normalsize author}\footnote{Contact information}\\
\textit{\small place} \\
\bigskip
{\normalsize \hl{date}}
\end{center}
\begin{spacing}{0.9}
\begin{list}{}{\leftmargin=2.5em \rightmargin=2.5em}
\onehalfspacing
\item
{\footnotesize\textbf{Abstract.-}
.....bla bla bla ...
\newline {\small \textbf{JEL Classification:} J13, J44, J45, C61.}
\end{list}
\end{spacing}
\setcounter{footnote}{0}\renewcommand{\thefootnote}{\arabic{footnote}}
\newpage \pagenumbering{arabic}
\newgeometry{top=0.8in,bottom=1in,right=1in,left=1in}
...
bla bla bla
....
\section*{REFERENCES}
\printbibliography[heading=none]
\end{document}
FILE WITH .BST FILE
\documentclass{article}
**\usepackage[numbers]{natbib}**
\usepackage{xcolor}
\newcommand\hl[1]{
\bgroup
\hskip0pt\color{red!80!black}
#1
\egroup
}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{subfigure}
\usepackage[section] {placeins}
\usepackage{lscape}
\usepackage{threeparttable}
\usepackage{appendix}
\usepackage{longtable}
\usepackage[justification=centering]{caption}[date]
\usepackage[bottom]{footmisc}
\usepackage[tablename=TABLE]{caption}
\usepackage[figurename=FIGURE]{caption}
\usepackage[labelsep=none]{caption}
\DeclareCaptionTextFormat{up}{\MakeTextUppercase{#1}}
\captionsetup[table]{
labelsep=newline,
}
\captionsetup[figure]{
labelsep=newline,
}
\setlength{\textwidth}{6in}
\setlength{\textheight}{8.5in}
\setlength{\topmargin}{.25in}
\setlength{\oddsidemargin}{0.25in}
\setlength{\footskip}{0.00in}
\setlength{\headheight}{0.00in}
\setlength{\headsep}{0.5in}
\renewcommand{\baselinestretch}{1.5}
\usepackage[margin=1.5in]{geometry}
\newcommand{\bunderline}[2][4]{\underline{#2\mkern-#1mu}\mkern#1mu}
\newcommand{\boverline}[2][4]{\overline{#2\mkern-#1mu}\mkern#1mu}
\newcommand{\nunder}[2][5]{\mathrlap{\mkern\the\numexpr#1/2mu\relax\underline{\phantom{\mathrm{#2}\mkern-#1mu}}}#2}
\newcommand{\nunderline}[2][4]{
\ensuremath{\mathrlap{\mkern#1mu\underline{\phantom{\mathrm{#2}\mkern-#1mu}}}}#2}
\DeclareMathOperator*{\argmin}{\arg\!\min}
\onehalfspacing
\begin{document}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}{\thispagestyle{empty}}
\thispagestyle{empty}
\pagestyle{myheadings}
\begin{center}
{\Large \textbf{title}}\\
\bigskip
{\normalsize author}\footnote{Contact information}\\
\textit{\small place} \\
\bigskip
{\normalsize \hl{date}}
\end{center}
\begin{spacing}{0.9}
\begin{list}{}{\leftmargin=2.5em \rightmargin=2.5em}
\onehalfspacing
\item
{\footnotesize\textbf{Abstract.-}
... bla bla bla...
\newline {\small \textbf{JEL Classification:} J13, J44, J45, C61.}
\end{list}
\end{spacing}
\setcounter{footnote}{0}\renewcommand{\thefootnote}{\arabic{footnote}}
\newpage \pagenumbering{arabic}
\newgeometry{top=0.8in,bottom=1in,right=1in,left=1in}
...
bla bla bla
....
**\bibliographystyle{PVbibsty}
\bibliography{biblio_teachers}**
\end{document}
biblatex
and.bst
files are incompatible it makes a lot of sense that you would switch tonatbib
. What problem exactly are you having with the posted code? It looks like it should work. (I say that not having tested it, because the code is not compilable for us: It is not an example document in the sense of an MWE: tex.meta.stackexchange.com/q/228/35864) – moewe Mar 26 '19 at 21:23natbib
(which may or may not work with the specific.bst
style) you can use\citep
and\citet
(as replacements for\parencite
and\textcite
). No matter what you do, you will not be able to usebiblatex
with a.bst
style. – moewe Mar 27 '19 at 15:19\autocite
replacement, but you would probably choose\citep
for that anyway.\citeauthor
should also work withnatbib
. Not allbiblatex
commands havenatbib
equivalents. Maybe mirrors.ctan.org/macros/latex/contrib/natbib/natnotes.pdf can help you. – moewe Mar 27 '19 at 16:17