Skip to content

Commit

Permalink
bibcop
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 10, 2024
1 parent e31c9e0 commit a6734d5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
6 changes: 4 additions & 2 deletions main.bib
Expand Up @@ -2,7 +2,8 @@ @book{west2004
title={{Object Thinking}},
author={West, David},
year={2004},
publisher={{Pearson Education}}
publisher={{Pearson Education}},
doi = {10.5555/984130}
}

@misc{eolang2021,
Expand All @@ -15,7 +16,8 @@ @book{zobel2004writing
title={{Writing for Computer Science}},
author={Zobel, Justin},
year={2004},
publisher={{Springer}}
publisher={{Springer}},
doi={10.5555/2742708}
}

@misc{clancy2020,
Expand Down
30 changes: 16 additions & 14 deletions main.tex
Expand Up @@ -7,8 +7,9 @@
\usepackage[tt=false,type1=true]{libertine}
\usepackage{amsmath}
\usepackage{natbib}
\usepackage{doi}
\usepackage{multicol}
\usepackage[nocn]{ffcode}
\usepackage[nocn,noframes]{ffcode}
\usepackage{tabularx}
\usepackage[runs=2]{docshots}
\docshotPrerequisite{main.bib}
Expand Down Expand Up @@ -194,7 +195,8 @@ \section{URLs}
\section{References}

\hint
Don't use \ff{\char`\\ref}, use \ff{\char`\\cref} instead from \href{https://ctan.org/pkg/cleveref}{\ff{cleveref}} package.
Don't use \ff{\char`\\ref}, use \ff{\char`\\cref}, instead,
from the \href{https://ctan.org/pkg/cleveref}{\ff{cleveref}} package.

\section{Citations}

Expand All @@ -220,13 +222,16 @@ \section{Citations}
\end{docshot}
\hint
Place \ff{\~} (tilde) symbol before \ff{\char`\\citep} to avoid line breaks, \href{https://tex.stackexchange.com/questions/41264/what-is-the-difference-in-citing-referencing-with-or-without-tilde}{see why}.
Place \ff{\~} (tilde) symbol before the \ff{\char`\\citep},
in order to avoid line breaks,
\href{https://tex.stackexchange.com/questions/41264/what-is-the-difference-in-citing-referencing-with-or-without-tilde}{see why}.
\hint
Don't use \ff{\char`\\cite}, only \ff{\char`\\citep} and \ff{\char`\\citet}.
\hint
Prefer \ff{\char`\\citet} over \ff{\char`\\citep}, making references more obvious, as in the second sentence in the example above.
Prefer \ff{\char`\\citet} over the \ff{\char`\\citep},
making references more obvious, as in the second sentence in the example above.
\hint
Don't type author names or reference titles directly, only use \ff{\char`\\cite*} commands.
Expand All @@ -238,20 +243,17 @@ \section{Citations}
Don't cite Web pages or any other URLs.
\hint
Add \href{https://ctan.org/pkg/bibcop}{bibcop} to your document, to make sure \ff{.bib} file is properly formatted.
Add \href{https://ctan.org/pkg/bibcop}{bibcop} to your document,
to make sure the \ff{.bib} file is properly formatted.
\section{References}
\hint
The references in \ff{.bib} file are usually imported from Google Scholar or similar sources. Unfortunately, such imports often contain typos and mistakes. Check the items printed in the ``References'' section for the following:
\begin{itemize}
\item Year is not printed twice;
\item Dashes in titles are printed as \ff{-{}-{}-} without surrounding spaces;
\item All nouns and verbs are capitalized in all titles.
\end{itemize}
\hint
Use \href{https://github.com/Kingsford-Group/biblint}{biblint} to check your \ff{.bib} file.
The references in the \ff{.bib} file are usually imported from
Google Scholar or similar sources. Unfortunately, such imports
often contain typos and mistakes.
Use \href{https://github.com/yegor256/bibcop}{bibcop}
to check your \ff{.bib} file.
{\raggedright
\bibliographystyle{ACM-Reference-Format}
Expand Down

0 comments on commit a6734d5

Please sign in to comment.