4

My problem is this: I use one biblatex-file as a source for a number of documents. In the biblatex-file I used shorthand in every entry. The problem is that in some documents I need to cite the references fully rather than the short form. My question: Is there something a command that I could add to my preamble in order to suppress the shorthand entry and to get full title output?

lockstep
  • 250,273
Philip
  • 3,415

3 Answers3

8

If you simply want to suppress the use of shorthands in citation commands for all entries, adding

\AtEveryCitekey{\clearfield{shorthand}}

to the preamble should do. If you have more specific requirements, please add a MWE to your question.

lockstep
  • 250,273
2

To completely clear the shorthand field use

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

This also works for numeric styles, where the shorthand is used instead of numeric labels, and enables proper disambiguation for authoryear styles.

moewe
  • 175,683
1

If the problem is to remove display of shorthands in the reference list, use:

\AtEveryBibitem{\clearfield{shorthand}} 

(I don't quite get the question as to whether shorthands are to be removed from citation keys or from reference list. Combining it with Lockstep's answer this is useful.)

LaTechneuse
  • 1,339
  • That will remove the shortands in the bibliography. With some styles the shorthand it not used in the bibliography anyway. – moewe Apr 13 '17 at 14:30
  • Yeah thanks, i clarified in the answer: I think sometimes one wants to combine both to remove shorthands from citekeys and reflist. – LaTechneuse Apr 13 '17 at 14:33
  • In that case one should probably use a source mapping that removes the field completely to avoid problems with disambiguation features. – moewe Apr 13 '17 at 14:35
  • Maybe you would like to post this as an answer? Cause I get the original question the way that shorthands are to be completely removed from the document. :) – LaTechneuse Apr 13 '17 at 14:39
  • I guess the OP got what he needed, but on the off chance that someone is interested in a full removal of shorthand I have added an answer. – moewe Apr 13 '17 at 14:46