You can redefine the the way the label is created by Biber with \DeclareLabelalphaTemplate
.
\renewcommand*{\labelalphaothers}{}
This is to get rid of the +
if there are more authors than maxnames
.
\DeclareLabelalphaTemplate{
\labelelement{
\field[final]{shorthand}
\field{label}
\field[strwidth=3,strside=left]{labelname}
}
\labelelement{
\field[strwidth=2,strside=right]{year}
}
}
This always takes the first three names of the last name of the first author and adds the last two digits of the year.
We also set maxalphanames=1
and minalphanames=1
\usepackage[maxalphanames=1, minalphanames=1, style=alphabetic, backend=biber]{biblatex}
MWE
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{laue,
Author = {Kurt Laue and Helmut Stenger},
Date-Added = {2014-05-06 20:55:13 +0000},
Date-Modified = {2014-05-06 20:55:42 +0000},
Title = {Strangpressen: Verfahren, Maschinen, Werkzeuge},
Year = {1976}}
\end{filecontents*}
\usepackage[maxalphanames=1, minalphanames=1, style=alphabetic, backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\addbibresource{\jobname.bib}
\renewcommand*{\labelalphaothers}{}
\DeclareLabelalphaTemplate{
\labelelement{
\field[final]{shorthand}
\field{label}
\field[strwidth=3,strside=left]{labelname}
}
\labelelement{
\field[strwidth=2,strside=right]{year}
}
}
\begin{document}
\cite{laue,wilde,baez/article,cicero}
\printbibliography
\end{document}
Managed to solve it partially; not finished yet, but I'm writing it down, so I won't forget it.
In Citavi:
- Go to File > Export > Export, select which titles you want to export, and click Next.
- Select BibTeX and click Next.
- Choose the desired output path/file, then click Edit BibTeX export definition...
- Leave everything unchanged in the first window, click Next.
- From the dropdown at the top, select Internet document
- Next to Online address, remove
url
and type howpublished
instead.
- Next to Access date, remove
urldate
and type note
instead.
- Just click Next/Ok/Finish on everything that follows. (It will ask you whether you want to save your BibTeX export settings, and later also your general export settings. Do that if you like.)
Now the entries in the .bib file will be formatted almost as desired. (I still have to find a way to make it look exactly like I wrote in the question.)
In LyX:
Result:
As you can see, it's still lacking some text like "Available online at..." and "Last checked on...", and the date is not formatted nicely. I'll work on that and write an update as soon as I've found a good way.
Best Answer
The
alpha
bibliography style is one of the original styles created for BibTeX, i.e., it's been around for more than 20 years. As such, it does not recognize (i.e., process) fields such asurl
orurldate
. You need to use a more modern style file.The IEEE provides the style file IEEEtran.bst as well as several related style files; one of these files may meet your needs. Peruse the user guide, How to use the IEEEtran BibTeX Style, for more information.
Specifically, this style file provides for an
entry
(something in BibTeX that starts with an@
) namedelectronic
. The user guide has the following to say about this entry type:From this, it would appear that you could rename the
urldate
field name todate
and be all set.