TransWikia.com

Remove language and note in LateX bibliography

TeX - LaTeX Asked by Martin7 on January 19, 2021

I am writing a scientific article and I have issues with my bibliography. I use a provided template containing .bst files.

My problem is the following: I do not want the language ("en", "fr") and the notes to be printed in the bibliography.

My bibliography is exported from Zotero. It is a .bib file. I import my references using the following command at the end of the document:

bibliography{POF_test}

where POF_test is the name of the .bib file. To remove the language specification I tried the following solutions found on forums:

AtEveryBibitem{%
  clearfield{language}%
}

I also tried with clearlist

AtEveryBibitem{%
  clearlist{language}%
}

And eventually I tested:

DeclareSourcemap{
  maps[datatype=bibtex]{
    map{
      step[fieldset=language,null]
    }
  }
}

Each time the code is placed before the begin{document} command. However, none of these solutions have worked.

Concerning the notes, I succeeded in removing them modifying the .bst file:

FUNCTION {format.note}
{
#1
{ "" }
{…}
if$
}

I am sure that there is an easier way to do it but I did not found it. Moreover, I do not manage to do the same with the language.

Can someone, explain me why the command AtEveryBibitem does not work for me ? How can I remove the language specification in the bibliography ?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP