summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx
blob: 50ee2f9e98fb456f91a94baa417e6d5dd15157a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
	% $Id: philosophy-verbose.bbx,v 0.6 2010/03/23 Valbusa$
%	Copyright 2009-2010 Ivan Valbusa. This package is author-maintained. 
%	Permission is granted to copy, distribute and/or modify this software under the 
%	terms of the LaTeX Project Public License, version 1.3c 
%	http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt.


\ProvidesFile{philosophy-verbose.bbx}[$Id: philosophy-verbose.bbx,v 0.6 2010/03/23 valbsua beta $]

\RequireBibliographyStyle{authortitle}
\RequireBibliographyStyle{philosophy-standard}

 
%***********************************************************************************************************
%
% 						AT BEGIN BILIOGRAPHY
%
%***********************************************************************************************************
\AtBeginBibliography{%
\global\boolfalse{cbx:loccit}%
\citetrackerfalse
}


% Macro per la forma ``Publisher, Location Year''.
%***********************************************************************************************************
\newbibmacro*{commaloc}{%
	  \iflistundef{publisher}%
	  	{}%
		{\printlist{publisher}}
	  \setunit*{\addcomma\space}%
	  \printlist{location}%
	    \setunit*{\addspace}%
  \usebibmacro{date}%
	\newunit}

% Macro per la forma ``Location: Publisher, Year'' 
%***********************************************************************************************************
\newbibmacro*{colonloc}{%
  \printlist{location}%
  \iflistundef{publisher}%
  	{\setunit*{\addspace}}
    	{\setunit*{\addcolon\space}}%
  \printlist{publisher}%
    \setunit*{\addcomma\space}%
  \usebibmacro{date}%
\newunit}


%***********************************************************************************************************
%***********************************************************************************************************

\renewbibmacro*{bbx:editor}[1]{%
  \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}
    {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND
                 \NOT\iffirstonpage\AND
		 \(\NOT\boolean{bbx@inset}\OR
		   \iffieldequalstr{entrysetcount}{1}\)}
       {\bibnamedash}
       {\printnames{editor}%
	\setunit{\addspace}% #MOD#
        \usebibmacro{bbx:savehash}}%
     \usebibmacro{#1}%
     \clearname{editor}}
    {\global\undef\bbx@lasthash}}
    


\DeclareBibliographyDriver{incollection}{%
  \usebibmacro{bibindex}%
  \usebibmacro{begentry}%
  \usebibmacro{author/translator+others}%
  \setunit{\labelnamepunct}\newblock
  \usebibmacro{title}%
  \newunit
  \printlist{language}%
  \newunit\newblock
  \usebibmacro{byauthor}%
  \newunit\newblock
  \usebibmacro{in:}%
  \iffootnote{%
  \iffieldundef{crossref}%
  	{\usebibmacro{incollection:full}}%
	{\printtext{\setunit{\unspace}}% Thanks to Sander Gliboff
	\cbx@crossref{\thefield{crossref}}%
	  \newunit\newblock
  \usebibmacro{pageref}%
  \usebibmacro{finentry}}}{\usebibmacro{incollection:full}}%
  }
  


\DeclareBibliographyDriver{inbook}{%
  \usebibmacro{bibindex}%
  \usebibmacro{begentry}%
  \usebibmacro{author/translator+others}%
  \setunit{\labelnamepunct}\newblock
  \usebibmacro{title}%
  \newunit
  \printlist{language}%
  \newunit\newblock
  \usebibmacro{byauthor}%
  \newunit\newblock
  \usebibmacro{in:}%
  \iffootnote{%
  \iffieldundef{crossref}%
  	{\usebibmacro{inbook:full}}%
	{\printtext{\setunit{\unspace}}% Thanks to Sander Gliboff
	\cbx@inbookcrossref{\thefield{crossref}}%
	  \newunit\newblock
  \usebibmacro{pageref}%
  \usebibmacro{finentry}}}{\usebibmacro{inbook:full}}%
}




\endinput