summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-manuscript-philology/english-manuscripts.lbx46
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-manuscript-philology/french-manuscripts.lbx46
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.bbx224
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.dbx21
4 files changed, 337 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/english-manuscripts.lbx b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/english-manuscripts.lbx
new file mode 100644
index 00000000000..4da10fadf3e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/english-manuscripts.lbx
@@ -0,0 +1,46 @@
+%% Copyright 2013 Maïeul Rouquette
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Maïeul Rouquette
+% This work consists of the files manuscripts.dbx, manuscripts.bbx, french-manuscripts.lbx and english-manuscripts.lbx
+
+\ProvidesFile{french-manuscripts.lbx}[2013/12/17\space v1.0.0\space manuscripts biblatex localisation]
+\InheritBibliographyExtras{english}
+
+\NewBibliographyString{1column}
+\NewBibliographyString{2column}
+\NewBibliographyString{catalog}
+\NewBibliographyString{folio}
+\NewBibliographyString{folios}
+\NewBibliographyString{origin}
+\NewBibliographyString{owner}
+\NewBibliographyString{paper}
+\NewBibliographyString{papyrus}
+\NewBibliographyString{pergament}
+\NewBibliographyString{scribe}
+
+\DeclareBibliographyStrings{%
+ 1column = {{one column}{1\addnbspace col\adddot}},
+ 2column = {{two columns}{2\addnbspace col\adddot}},
+ catalog = {{catalog}{cat\adddot}},
+ folio = {{folio}{f\adddot}},
+ folios = {{folios}{ff\adddot}},
+ origin = {{origin}{orig\adddot}},
+ owner = {{owner}{own\adddot}},
+ paper = {{paper}{pap\adddot}},
+ papyrus = {{papyrus}{papy\adddot}},
+ pergament = {{pergament}{perg\adddot}},
+ scribe = {{scribe}{scr\adddot}}
+}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/french-manuscripts.lbx b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/french-manuscripts.lbx
new file mode 100644
index 00000000000..8725f5f81a2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/french-manuscripts.lbx
@@ -0,0 +1,46 @@
+%% Copyright 2013 Maïeul Rouquette
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Maïeul Rouquette
+% This work consists of the files manuscripts.dbx, manuscripts.bbx, french-manuscripts.lbx and english-manuscripts.lbx
+
+\ProvidesFile{french-manuscripts.lbx}[2013/12/17\space v1.0.0\space manuscripts biblatex localisation]
+\InheritBibliographyExtras{french}
+
+\NewBibliographyString{1column}
+\NewBibliographyString{2column}
+\NewBibliographyString{catalog}
+\NewBibliographyString{folio}
+\NewBibliographyString{folios}
+\NewBibliographyString{origin}
+\NewBibliographyString{owner}
+\NewBibliographyString{paper}
+\NewBibliographyString{papyrus}
+\NewBibliographyString{pergament}
+\NewBibliographyString{scribe}
+
+\DeclareBibliographyStrings{%
+ 1column = {{une colonne}{1\addnbspace col\adddot}},
+ 2column = {{deux colonnes}{2\addnbspace col\adddot}},
+ catalog = {{catalogue}{cat\adddot}},
+ folio = {{folio}{f\adddot}},
+ folios = {{folios}{f\adddot}},
+ origin = {{origine}{orig\adddot}},
+ owner = {{posseseur}{poss\adddot}},
+ paper = {{papier}{pap\adddot}},
+ papyrus = {{papyrus}{papy\adddot}},
+ pergament = {{parchemin}{parch\adddot}},
+ scribe = {{scribe}{scr\adddot}}
+}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.bbx b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.bbx
new file mode 100644
index 00000000000..4a31137feae
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.bbx
@@ -0,0 +1,224 @@
+%% Copyright 2013 Maïeul Rouquette
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Maïeul Rouquette
+% This work consists of the files manuscripts.dbx, manuscripts.bbx, french-manuscripts.lbx and english-manuscripts.lbx
+\ProvidesFile{manuscripts.bbx}
+[\abx@bbxid]
+
+\RequireBibliographyStyle{verbose}
+% This file is organiszed from the must close of user to the less close.
+
+% 1. Some commands to be redefine
+
+
+
+
+
+
+
+\newcommand{\collectionshelfmarkpunct}{\addspace}
+\newcommand{\datingpagespunct}{\isdot\addcomma\addspace}
+\newcommand{\librarycollectionpunct}{\addcomma\addspace}
+
+
+\newcommand{\mkcolumns}[1]{\addspace\mkbibparens{#1}}
+\newcommand{\mklocation}[1]{\mkbibnamelast{#1}}
+\newcommand{\mkmanuscriptdescriptionlabel}[1]{\textbf{#1}\manuscriptdescriptionlabelpunct}
+\newcommand{\mkshcite}[1]{#1}
+
+\newcommand{\locationlibrarypunct}{\addcolon\addspace}
+\newcommand{\manuscriptdescriptionlabelpunct}{\addcolon\addspace}
+\newcommand{\moreinterpunct}{\addsemicolon\addspace}
+\newcommand{\pagetotalpagespunct}{\addcolon\addspace}
+
+\def\recto{r}
+\def\verso{v}
+
+
+
+% 2. Some macros
+
+
+\newbibmacro{annotation}{%
+ \iffieldundef{annotation}{}{\printfield{annotation}}
+}
+
+\newbibmacro{manuscript:more}{%
+ \printlist{origin}%
+ \setunit{\moreinterpunct}%
+ \printnames{scribe}%
+ \setunit{\moreinterpunct}%
+ \printnames{owner}%
+}
+\newbibmacro{more+annotation+catalog}{%
+ \iftoggle{shorthand:details}{%
+ \setunit{\finentrypunct\par}%
+ \usebibmacro{manuscript:more}%
+ \setunit{\finentrypunct\par}%
+ \usebibmacro{annotation}%
+ \setunit{\finentrypunct\par}%
+ \usebibmacro{catalog}%
+ }{}%
+}
+
+\newbibmacro{catalog}{%
+ \iffieldundef{catalog}{}%
+ {\printfield{catalog}}%
+}
+
+\newbibmacro{collection+shelfmark}{%
+ \mkbibemph{%
+ \printfield{collection}%
+ \setunit{\collectionshelfmarkpunct}%
+ \printfield{shelfmark}%
+ }%
+}
+
+\newbibmacro{date/dating}{%
+ \iffieldundef{dating}{\usebibmacro{date}}
+ {\printfield{dating}}%
+}
+
+\newbibmacro{location+library+series+shelfmark}{%
+ \printlist{location}%
+ \setunit{\locationlibrarypunct}%
+ \printfield{library}%
+ \setunit{\librarycollectionpunct}%
+ \usebibmacro{collection+shelfmark}%
+}
+
+\newbibmacro{manuscript:pages}{%
+ \printfield{pagetotal}%
+ \iffieldundef{columns}{}{\bibstring[\mkcolumns]{\strfield{columns}column}}%
+ \setunit{\pagetotalpagespunct}%
+ \printfield{pages}%
+}
+
+\newbibmacro{support+dating}{%
+ \printfield{support}%
+ \newunit%
+ \usebibmacro{date/dating}%
+ }
+
+% 3. Some Field or List Format
+\DeclareFieldFormat{catalog}{%
+ \bibstring[\mkmanuscriptdescriptionlabel]{catalog}%
+ #1%
+}
+\DeclareFieldFormat{support}{\bibstring{#1}}
+
+\DeclareNameFormat{manuscript}{%
+ \ifnumgreater{\value{listcount}}{\value{liststart}}%
+ {\multilistdelim}%
+ {\bibstring[\mkmanuscriptdescriptionlabel]{\currentname}}%
+ \ifuseprefix
+ {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}
+ {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}%
+}
+\DeclareNameAlias{scribe}{manuscript}
+\DeclareNameAlias{owner}{manuscript}
+\DeclareListFormat[manuscript]{location}{%
+ \usebibmacro{list:delim}{\mklocation{#1}}%
+ \mklocation{#1}\isdot%
+ \usebibmacro{list:andothers}}
+
+\DeclareListFormat[manuscript]{origin}{%
+ \ifnumgreater{\value{listcount}}{\value{liststart}}%
+ {\multilistdelim}%
+ {\bibstring[\mkmanuscriptdescriptionlabel]{origin}}%
+ #1%
+ }
+
+% 4. Printshorthands Environment
+
+\newtoggle{shorthand:details}
+\defbibenvironment{details}
+ {\toggletrue{shorthand:details}
+ \list
+ {\printfield[shorthandwidth]{shorthand}}
+ {\setlength{\listparindent}{\parindent}%
+ \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}
+
+% 5. Others
+%% 5.1 Driver
+\DeclareBibliographyDriver{manuscript}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{location+library+series+shelfmark}%
+ \newunit
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{support+dating}
+ \newunit\newblock
+ \iftoggle{bbx:url}
+ {\usebibmacro{url+urldate}}
+ {}%
+ \setunit{\datingpagespunct}
+ \usebibmacro{manuscript:pages}
+ \iftoggle{bbx:related}
+ {\newunit\newblock%
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{more+annotation+catalog}%
+ \usebibmacro{finentry}}
+
+%% 5.2 Citation command
+\DeclareCiteCommand{\shcite}[\mkshcite]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite:shorthand}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+%% 5.3 Mapping
+ \DeclareStyleSourcemap{
+ \maps[datatype=bibtex]{
+ \map{
+ \pertype{manuscript}
+ \step[fieldsource=entrykey]
+ \step[fieldset=shorthand, origfieldval]
+ }
+ \map[overwrite]{
+ \pertype{manuscript}
+ \step[fieldsource=catalog,final]
+ \step[fieldset=catalog,fieldvalue={\cites}]
+ \step[origfieldval,fieldset=catalog,append]
+ }
+ }
+}
+
+%% 5.4 NumCheckSetup (should not be changed)
+
+
+\NumCheckSetup{\def\verso{}\def\recto{}}
+
+%% 5.5 Language mapping
+
+\DeclareLanguageMapping{english}{english-manuscripts}
+\DeclareLanguageMapping{french}{french-manuscripts}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.dbx b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.dbx
new file mode 100644
index 00000000000..eddfabd573c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-manuscript-philology/manuscripts.dbx
@@ -0,0 +1,21 @@
+%% Copyright 2013 Maïeul Rouquette
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Maïeul Rouquette
+% This work consists of the files manuscripts.dbx, manuscripts.bbx, french-manuscripts.lbx and english-manuscripts.lbx
+
+\DeclareDatamodelEntrytypes{manuscript}
+\DeclareDatamodelFields[type=field,datatype=literal]{catalog,dating,shortlibrary,columns, collection,usualtitle,shelfmark,support,columns}
+\DeclareDatamodelFields[type=list,datatype=name]{scribe,owner}
+\DeclareDatamodelFields[type=list,datatype=literal]{origin}
+\DeclareDatamodelEntryfields[manuscript]{catalog,dating,shortlibrary,columns,languages, collection,usualtitle,shelfmark,support,columns,origin,scribe,owner}
+