summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex/latex/bbx/draft.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex/latex/bbx/draft.bbx')
-rw-r--r--macros/latex/contrib/biblatex/latex/bbx/draft.bbx38
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex/latex/bbx/draft.bbx b/macros/latex/contrib/biblatex/latex/bbx/draft.bbx
new file mode 100644
index 0000000000..1c57325157
--- /dev/null
+++ b/macros/latex/contrib/biblatex/latex/bbx/draft.bbx
@@ -0,0 +1,38 @@
+\ProvidesFile{draft.bbx}
+[\abx@bbxid]
+
+\RequireBibliographyStyle{standard}
+\ExecuteBibliographyOptions{sorting=debug}
+
+\DeclareNameAlias{author}{default}
+\DeclareNameAlias{editor}{default}
+\DeclareNameAlias{translator}{default}
+
+\DeclareFieldFormat{shorthandwidth}{#1}
+
+\defbibenvironment{bibliography}
+ {\list
+ {\printfield{entrykey}}
+ {\setlength{\labelwidth}{0pt}%
+ \setlength{\itemindent}{-\leftmargin}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{%
+ \hspace\labelsep\bfseries##1}}}
+ {\endlist}
+ {\item}
+
+\defbibenvironment{shorthand}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}
+ {\setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist}
+ {\item}
+
+\endinput