# Tag Info

3

match and replace use regex and LaTeX is seeing the input too. so funny things can happen if you don't escape all the special regex and latex input correctly. Normally it is best to put everything in the \regexp command and then use regex escapes (e.g. \\n as \n is a newline). You can use this sourcemap: \DeclareSourcemap{ \maps[datatype=bibtex]{ ...

3

You can define your own bracket command (or redefine \mkbibbrackets): \makeatletter \newrobustcmd{\mkbibbracketscolor}[1]{% \begingroup% \blx@blxinit \blx@setsfcodes \color{CeruleanRef}\bibopenbracket#1\bibclosebracket% \endgroup} \makeatother \DeclareCiteCommand{\cite}[\mkbibbracketscolor] {\usebibmacro{cite:init}% \usebibmacro{prenote}} ...

2

Use biblatex + biber. It has excellent support for various languages. You will have to set the language in the bib with the langid field: @book{Miranda02, language = {english}, langid = {english}, author = {M. J. Miranda and P. L. Fackler}, publisher = {MIT Press}, title = {Applied Computational Economics and Finance}, year = {2002} } @book{Sfa04, ...

2

\documentclass{article} \usepackage[style=nature]{biblatex} \addbibresource{biblatex-examples.bib} \begin{document} I know a great book\autocite{companion} \printbibliography \end{document}

2

\color{xxx} is a switch that change the color of the text, and it applies to the text following it (in a group). However, \bibitem does not set a group. This is way the color is propagated to the item following the entry where the color is set. Here is a simple hack to that achieve the result of the OP (it uses the toolbox package, i.e., ...

1

Package atveryend Message Package atveryend Info: Empty hook `AtVeryVeryEnd' is not a problem, it is just a message, neither warning nor error. It's more like a debug information, when the hook AtVeryVeryEnd is seen. If the hook is empty, then the message above is shown, if the hook is not empty, you will see: Package atveryend Info: Executing hook ...

1

To use BibTex Harvard Style use the following packages in your preamble: \usepackage[style=authoryear-comp,natbib]{biblatex} \addbibresource{ExampleFile.bib} Or if you want numeric style of references use: \usepackage[style=numeric,natbib]{biblatex} \addbibresource{ExampleFile.bib} In this example the bib file should be in the same directory as the ...

1

When using BibTeX (or biblatex), it is no longer necessary to insert the instructions \begin{thebibliography}{99} and \end{thebibliography}. They are needed only if one builds the bibliography entirely "by hand". Assuming your bib entries are in file called aref.bib, you should write \bibliography{aref} i.e., you must omit the .bib extension. ...

1

There are some BibTex utilities on CTAN: https://www.ctan.org/tex-archive/biblio/bibtex/utils The following two sound like they will do exactly what you asked for: bibtool: https://www.ctan.org/tex-archive/biblio/bibtex/utils/bibtool bibclean: https://www.ctan.org/tex-archive/biblio/bibtex/utils/bibclean

Only top voted, non community-wiki answers of a minimum length are eligible