TransWikia.com

How to cite laws and regulations completely inline?

TeX - LaTeX Asked on June 21, 2021

As it has been covered before, I’d like to cite laws/regulations/directives or e.g. court decisions.

Use case

My jurisdiction is Germany, in case that matters for the style.
I don’t write a huge paper or so, it’s rather just appeals to statements of case/complaints/note of submissions or so.
In my particular case I want to improve my LaTeX template for writing appeals to official notices to “freedom of information” (FOI) requests (in German: Informationsfreiheitsgesetz, IFG).
Usually, there is no bibliography at the end, but everything is named inline (also no footnotes or so).
If a citation is used again, it may use terms like ibit or so, which I already know how to do though, however (see linked questions).

Tried solutions

So I’ve tried everything that was recommend in the posts before. The package biblatex-german-legal did not work.
biblatex-juradiss is quite okay and nice from how to define things.

I now e.g. have this legal commentary:

@commentary{djvIfgKommentierung,
    author = {Dr.~Wilhelm Mecklenburg Mecklenburg and Benno H. Pöppelmann},
    title = {Informationsfreiheitsgesetz},
    subtitle = {Gesetztexte, Kommentierungen, Fallbeispiele Erläuterungen},
    titleaddon = {Information – Ihr gutes Recht},
    date = {2007-02},
    editor = {{Deutscher Journalisten-Verband e.~V.}},
    editora = {{Vereinigte Dienstleistungsgewerkschaft (ver.di)}},
    editorb = {{Humanistische Union}},
    editorc = {{netzwerk recherche}},
    editord = {{Transparency International – Deutsches Chapter}},
    language = {ngerman},
    origlanguage = {ngerman},
    publisher = {DJV},
    DISlocation = {Berlin},
    isbn = {978-3-935819-22-0},
    pagetotal = {223},
    DISurl = {https://netzwerkrecherche.org/wp-content/uploads/2014/07/ifg-kommentar-buch.pdf}
}

Now here is e.g. one sentence how I’d like it to look like:

Generell gilt, dass „in der Begründung einer ablehnenden Entscheidung […] die nachteiligen Auswirkungen konkret zu benennen und –darzulegen“ [Mecklenburg, W. & Pöppelmann, B. (2007). Informationsfreiheitsgesetz. Berlin: DJV.] ist, „warum die Möglichkeit besteht, dass solche [nachteilige] Auswirkungen [nach § 3 IFG Nr. 1] eintreten“[ebd.].

The same as a screenshot:
see text above

(It does not have to be exactly the same, but basically list all information.)
Generally, I just want it to display a good full citation in there, with all fields that make sense for such legal documents.

source code:

            Generell gilt, dass
            enquote{in der Begründung einer ablehnenden Entscheidung textelp{} die nachteiligen Auswirkungen konkret zu benennen und textendash darzulegen}cite{djvIfgKommentierung} ist,
            enquote{warum die Möglichkeit besteht, dass solche textins{nachteilige} Auswirkungen textins{nach §,3 IFG Nr.~1} eintreten}cite{djvIfgKommentierung}.

This example code uses the csquotes package.
With all current solutions, I can only get it to use footnotes or endnotes/a bibliography to list all these information. However, for legal documents and things like that, this is rather rare, as far as I see.

For reference relevant preamble snippet:

usepackage[style=biblatex-juradiss,
sortcites=true,
sorting=none,
defernumbers=true,
%maxcitenames=3,
minbibnames=3, % cite up to three authors in bib
backref=true,
backend=biber]{biblatex}

MWE

Here a full minimum workable example with the hardcoded (wanted) design and the new code that does not work yet:

documentclass{article}
usepackage[style=biblatex-juradiss,
sortcites=true,
sorting=none,
defernumbers=true,
%maxcitenames=3,
minbibnames=3, % cite up to three authors in bib
backref=true,
backend=biber]{biblatex}

% deutsch
usepackage[
english,
ngerman,
% shorthands=off
]{babel}
usepackage[ngerman]{isodate}usepackage[autostyle, german=quotes]{csquotes} % deutsche Anführungszeichen mit enquote

begin{filecontents}{jobname.bib}
@commentary{djvIfgKommentierung,
    author = {Dr.~Wilhelm Mecklenburg Mecklenburg and Benno H. Pöppelmann},
    title = {Informationsfreiheitsgesetz},
    subtitle = {Gesetztexte, Kommentierungen, Fallbeispiele Erläuterungen},
    titleaddon = {Information – Ihr gutes Recht},
    date = {2007-02},
    editor = {{Deutscher Journalisten-Verband e.~V.}},
    editora = {{Vereinigte Dienstleistungsgewerkschaft (ver.di)}},
    editorb = {{Humanistische Union}},
    editorc = {{netzwerk recherche}},
    editord = {{Transparency International – Deutsches Chapter}},
    language = {ngerman},
    origlanguage = {ngerman},
    publisher = {DJV},
    DISlocation = {Berlin},
    isbn = {978-3-935819-22-0},
    pagetotal = {223},
    DISurl = {https://netzwerkrecherche.org/wp-content/uploads/2014/07/ifg-kommentar-buch.pdf}
}
end{filecontents}

addbibresource{jobname.bib}

begin{document}

section{Wanted (hardcoded)}
            Generell gilt, dass
            enquote{in der Begründung einer ablehnenden Entscheidung textelp{} die nachteiligen Auswirkungen konkret zu benennen und textendash darzulegen} [Mecklenburg, W. & Pöppelmann, B. (2007). Informationsfreiheitsgesetz. Berlin: DJV.] ist,
            enquote{warum die Möglichkeit besteht, dass solche textins{nachteilige} Auswirkungen textins{nach §,3 IFG Nr.~1} eintreten}[ebd.].

section{Test}
            Generell gilt, dass
            enquote{in der Begründung einer ablehnenden Entscheidung textelp{} die nachteiligen Auswirkungen konkret zu benennen und textendash darzulegen}cite{djvIfgKommentierung} ist,
            enquote{warum die Möglichkeit besteht, dass solche textins{nachteilige} Auswirkungen textins{nach §,3 IFG Nr.~1} eintreten}cite{djvIfgKommentierung}.

printbibliography

end{document}

2 Answers

Since you want to use biblatex-juradiss as base I think it's the simplest to adjust the cite macro. To avoid interactions I'd define a new one.

[Edit: add loccit support & example]

documentclass{article}
usepackage[style=biblatex-juradiss,
sortcites=true,
sorting=none,
defernumbers=true,
minbibnames=3, % cite up to three authors in bib
backref=true,
giveninits=true,
loccittracker=constrict,
backend=biber]{biblatex}

% deutsch
usepackage[
english,
ngerman,
% shorthands=off
]{babel}
usepackage[ngerman]{isodate}usepackage[autostyle, german=quotes]{csquotes} % deutsche Anführungszeichen mit enquote

begin{filecontents}{jobname.bib}
    @commentary{djvIfgKommentierung,
        author = {Dr.~Wilhelm Mecklenburg Mecklenburg and Benno H. Pöppelmann},
        title = {Informationsfreiheitsgesetz},
        subtitle = {Gesetztexte, Kommentierungen, Fallbeispiele Erläuterungen},
        titleaddon = {Information – Ihr gutes Recht},
        date = {2007-02},
        editor = {{Deutscher Journalisten-Verband e.~V.}},
        editora = {{Vereinigte Dienstleistungsgewerkschaft (ver.di)}},
        editorb = {{Humanistische Union}},
        editorc = {{netzwerk recherche}},
        editord = {{Transparency International – Deutsches Chapter}},
        language = {ngerman},
        origlanguage = {ngerman},
        publisher = {DJV},
        location = {Berlin},%modified to use the real location field
        isbn = {978-3-935819-22-0},
        pagetotal = {223},
        DISurl = {https://netzwerkrecherche.org/wp-content/uploads/2014/07/ifg-kommentar-buch.pdf}
    }
end{filecontents}

addbibresource{jobname.bib}


DeclareLabeldate{%
    field{date}
    field{year}
    field{eventdate}
    field{origdate}
    field{urldate}
    literal{nodate}
}

ExecuteBibliographyOptions{labeldateparts}

%wrapper for the ibid citing
DeclareCiteCommand{legalcite}[mkbibbrackets]
{usebibmacro{prenote}}
{%
    ifthenelse{ifciteibidANDNOTiffirstonpage}%
    {%
        ifloccit{%
            globalbooltrue{cbx:loccit}%
            usebibmacro{cite:ibid}%
        }{%
            globalboolfalse{cbx:loccit}%
            usebibmacro{cite:loccit}}}%
    {usebibmacro{cite:legal}usebibmacro{cite:save}}%
}{multicitedelim}
{usebibmacro{cite:postnote}}


%cite format
newbibmacro*{cite:legal}{%
    usebibmacro{citeindex}%
    iffieldundef{shorthand}%
    {%
        ifnameundef{labelname} {} {%
            printnames[family-given]{labelname}%
            setunit{printdelim{nameyeardelim}}%
        }
        iffieldundef{labelyear} {} {
            usebibmacro{cite:labeldate+extradate}%
            setunit{addperiodaddspace}printdelim{yeartitledelim}}
        usebibmacro{cite:label}
        setunit{addperiodaddspace}
        usebibmacro{cite:location+publisher}%
    }%
    {usebibmacro{cite:shorthand}}%
}

%helper macros, this one is the definition of authoryear.cbx
newbibmacro*{cite:label}{%
    iffieldundef{label}
    {printtext[bibhyperref]{printfield[citetitle]{labeltitle}}}
    {printtext[bibhyperref]{printfield{label}}}}


newbibmacro*{cite:labeldate+extradate}{%
    iffieldundef{labelyear}
    {}
    {printtext[parens]{printlabeldateextra}}}

newbibmacro*{cite:location+publisher}{%
    iflistundef{location}{}{
        printlist{location}%
        iflistundef{publisher}
        {setunit*{addcommaspace}}
        {setunit*{addcolonspace}}%
    }%
    printlist{publisher}%
    setunit{addperiod}%
    newunit
}

%add loccite support, adopted from biblatex authortitle-ibid.cbx
newbibmacro*{cite:postnote}{%
    ifbool{cbx:loccit}%
    {}%
    {usebibmacro{postnote}}%
}

newbibmacro*{cite:loccit}{%
    printtext[bibhyperref]{bibstring[mkibid]{loccit}}}

AtBeginDocument{%to be changed after language setup
    renewcommand*{multinamedelim}{addcommaaddspace}
    renewcommand*{finalnamedelim}{addspace&addspace}
}

%In case you also want to get ibid, with empty postnote but that's overriding the test
%makeatletter
%defblx@loccit@numcheck#1{%
%   blx@imc@iffieldundef{postnote}%
%   {%
%       ifcsundef{blx@lastnote@#1@abx@field@entrykey}%
%           {@firstoftwo}%
%           {@secondoftwo}%
%   }%
%   {%
%       expandafterblx@imc@ifpages%
%       expandafter{abx@field@postnote}%
%       {blx@imc@iffieldequalcs{postnote}{blx@lastnote@#1@abx@field@entrykey}}%
%       {@secondoftwo}}}%
%ExplSyntaxOff
%makeatother


begin{document}
    
    section{Wanted (hardcoded)}
    Generell gilt, dass
    enquote{in der Begründung einer ablehnenden Entscheidung textelp{} die nachteiligen Auswirkungen konkret zu benennen und textendash darzulegen} [Mecklenburg, W. & Pöppelmann, B. (2007). Informationsfreiheitsgesetz. Berlin: DJV.] ist,
    enquote{warum die Möglichkeit besteht, dass solche textins{nachteilige} Auswirkungen textins{nach §,3 IFG Nr.~1} eintreten}[ebd.].
    
    
    begin{refsection}
        section{own cite macro Test}
        Generell gilt, dass
        enquote{in der Begründung einer ablehnenden Entscheidung textelp{} die nachteiligen Auswirkungen konkret zu benennen und textendash darzulegen}legalcite{djvIfgKommentierung} ist,
        enquote{warum die Möglichkeit besteht, dass solche textins{nachteilige} Auswirkungen textins{nach §,3 IFG Nr.~1} eintreten}legalcite{djvIfgKommentierung}.
    end{refsection}
    
    
    begin{refsection}
        legalcite[3]{djvIfgKommentierung} 
        
        legalcite[3]{djvIfgKommentierung}
        
        legalcite[4]{djvIfgKommentierung}
        
        legalcite{djvIfgKommentierung} 
        
        legalcite{djvIfgKommentierung} 
        
        
        legalcite[2]{djvIfgKommentierung} 
        
        
    end{refsection}
    
    
    printbibliography
    
end{document}

The name format is not setup correctly in you bibfile, so you might want to adjust this, but generally this is doing what you are expecting and compatible to the setup of biblatex-juradiss.

Correct answer by Marei on June 21, 2021

People might be interested in What is best practice re. handling legal sources with Biblatex/Biber for disciplines other than law?.

There are some biblatex styles for German legal citations (biblatex-jura [abandoned, last update 2008], biblatex-juradiss [based on biblate-dw, sometimes gets emergency bugfixes by Herbert Voß, but not actively developed], biblatex-jura2 and biblatex-german-legal), but none of them seems to have the verbose-like setup with full first citations and shorter subsequent citations that you describe.

Something like the behaviour you described can be coded together with standard (or biblatex-ext's) verbose-ibid style. Depending on whether or not you want to be able to have a longer bibliography entry at the end with more data and depending on what output you'd like to see for other entry types, more work is needed.

Note that the standard styles don't have anything special prepared for court decisions, law commentaries etc., so you have to experiment with other entry type or roll your own driver for those types.

documentclass{article}
usepackage[
english,
ngerman,
% shorthands=off
]{babel}
usepackage[ngerman]{isodate}
usepackage[autostyle, german=quotes]{csquotes}
usepackage[
  backend=biber,
  style=ext-verbose-ibid,
  autocite=plain,
]{biblatex}

DeclareOuterCiteDelims{cite}{bibopenbracket}{bibclosebracket}

DeclareDelimFormat{finalnamedelim}{addspace&space}

DeclareNameAlias{sortname}{family-given}
DeclareNameFormat{family-given:inits}{%
  usebibmacro{name:family-given}
    {namepartfamily}
    {namepartgiveni}
    {namepartprefix}
    {namepartsuffix}%
  usebibmacro{name:andothers}}

renewbibmacro*{cite:full}{%
  usebibmacro{cite:full:citepages}%
  printtext[bibhypertarget]{%
    usedriver
      {DeclareNameAlias{sortname}{family-given:inits}%
       clearfield{subtitle}%
       clearfield{mainsubtitle}%
       clearfield{booksubtitle}%
       clearfield{pagetotal}%
       clearfield{isbn}}
      {thefield{entrytype}}}%
  usebibmacro{shorthandintro}}

begin{filecontents}{jobname.bib}
@book{djvIfgKommentierung,
  author      = {Wilhelm Mecklenburg and Benno H. Pöppelmann},
  title       = {Informationsfreiheitsgesetz},
  subtitle    = {Gesetztexte, Kommentierungen, Fallbeispiele Erläuterungen},
  date        = {2007-02},
  publisher   = {Deutscher Journalisten-Verband e.~V.
                 and Vereinigte Dienstleistungsgewerkschaft (ver.di)
                 and Humanistische Union
                 and netzwerk recherche
                 and Transparency International – Deutsches Chapter},
  language    = {german},
  publisher   = {DJV},
  location    = {Berlin},
  isbn        = {978-3-935819-22-0},
  pagetotal   = {223},
  DISurl      = {https://netzwerkrecherche.org/wp-content/uploads/2014/07/ifg-kommentar-buch.pdf},
}
end{filecontents}
addbibresource{jobname.bib}

begin{document}
section{Wanted (hardcoded)}
Generell gilt, dass
enquote{in der Begründung einer ablehnenden Entscheidung textelp{}
die nachteiligen Auswirkungen konkret  benennen und textendash darzulegen}
[Mecklenburg, W. & Pöppelmann, B. (2007). Informationsfreiheitsgesetz. Berlin: DJV.] ist,
enquote{warum die Möglichkeit besteht, dass solche textins{nachteilige} Auswirkungen
textins{nach §,3 IFG Nr.~1} eintreten} [ebd.].

section{Test}
Generell gilt, dass
enquote{in der Begründung einer ablehnenden Entscheidung textelp{} 
die nachteiligen Auswirkungen konkret zu benennen und textendash darzulegen}
autocite{djvIfgKommentierung}
ist, enquote{warum die Möglichkeit besteht, dass solche textins{nachteilige}
Auswirkungen textins{nach §,3 IFG Nr.~1} eintreten}
autocite{djvIfgKommentierung}.

printbibliography
end{document}

Generell gilt, dass "in der Begründung einer ablehnenden Entscheidung [...] die
nachteiligen Auswirkungen konkret zu benennen und –darzulegen" [Mecklenburg, W. & Pöppelmann, B. H. Informationsfreiheitsgesetz. Berlin: DJV, Feb. 2007] ist, "warum die Möglichkeit besteht, dass solche [nachteilige] Auswirkungen [nach §3 IFG Nr. 1] eintreten" [ebd.].

Answered by moewe on June 21, 2021

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