diff options
Diffstat (limited to 'Master')
15 files changed, 797 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/README b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/README new file mode 100644 index 00000000000..992c89d92c9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/README @@ -0,0 +1,23 @@ +biblatex-manuscripts-philology +============================== + +Biblatex style and datatools to describe manuscripts in the perspective of a critical edition of text. + +This work contains: +- The biblatex styles files: + - manuscripts.bbx + - manuscripts.dbx + - french-manuscripts.lbx + - english-manuscripts.lbx +- The documentation folde: + - biblatex-manuscripts-philology.tex + - the derivated file: biblatex-manuscripts-philology.pdf + - example/example.tex + - example/example.bib + - the derivated file example/example.pdf +- The packaging tool files: + - makefile + - latexmkrc +- This README file + +All features can be requested in https://github.com/maieul/biblatex-manuscripts-philology/issues
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/biblatex-manuscripts-philology.pdf b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/biblatex-manuscripts-philology.pdf Binary files differnew file mode 100644 index 00000000000..7bee647fef0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/biblatex-manuscripts-philology.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/biblatex-manuscripts-philology.tex b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/biblatex-manuscripts-philology.tex new file mode 100644 index 00000000000..ba6f1b046aa --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/biblatex-manuscripts-philology.tex @@ -0,0 +1,222 @@ +\documentclass{ltxdockit}[2011/03/25] +\usepackage{btxdockit} +\usepackage{fontspec} +\usepackage[mono=false]{libertine} +\usepackage{microtype} +\usepackage[american]{babel} +\usepackage[strict]{csquotes} +\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono} +\usepackage{shortvrb} +\usepackage{pifont} +\usepackage{minted} +% Usefull commands +\newcommand{\biblatex}{biblatex\xspace} +\pretocmd{\bibfield}{\sloppy}{}{} +\pretocmd{\bibtype}{\sloppy}{}{} +% Meta-datas +\titlepage{% + title={Manuscripts description for philology with biblatex}, + subtitle={New data types}, + email={maieul <at> maieul <dot> net}, + author={Maïeul Rouquette}, + revision={1.0.0}, + date={20/01/2014}, + url={https://github.com/maieul/biblatex-manuscripts-philology}} + + +\begin{document} + +\printtitlepage +\tableofcontents +\section{Introduction} +\subsection{Goals} +The \biblatex package defines some standard fields for entry, and allows to use extra fields, like \bibfield{usera}, \bibfield{userb}. However, the number of extra fields needed to describe manuscripts in an introduction of a critical edition of classical texts is too great to use these fields' names without mistake. + +The aim of this package is double: + +\begin{itemize} +\item Provides new datatype: \bibtype{manuscripts} with adapted fields. +\item Provides new bibliography styles to print the list of manuscripts: +\begin{itemize} + \item As a detailed list of witnesses of a text. + \item As a \emph{conspectus siglorum}. +\end{itemize} +\end{itemize} + +You can see minimal example in the file \href{file:example.pdf}{example.pdf}. +\subsection{Credits} + +This package was created for Maïeul Rouquette's PHD\footnote{\url{http://apocryphes.hypothese.org}.} in 2014. It is licenced on the \emph{\LaTeX\ Project Public Licence}\footnote{\url{http://latex-project.org/lppl/lppl-1-3c.html}.}. + +All issues can be submitted, in French or English, in the GitHub issues page\footnote{\url{https://github.com/maieul/biblatex-manuscripts-philology/issues}.}. + + +\section{New type and fields} + +This package defines one new bibtype \bibtype{manuscript}, which is to be used to defined a manuscript. + +\subsection{Mandatory} +This bibtype has these mandatory fields: + +\begin{fieldlist} + +\fielditem{collection}{literal} the collection in the library. For example: \verb+Supplément grec+. + +\fielditem{location}{literal} the city or place where the manuscript is kept. For example: \verb+Paris+ or \verb+Oxford+. + +\fielditem{library}{literal} the library where the manuscript is kept. For example: \verb+Bibliothèque Nationale de France+. + + +\fielditem{shelfmark}{literal} the shelfmark in the collection. For example: \verb+241+. +\end{fieldlist} + +\subsection{Optional} +This bibtype can use the optional fields: + +\begin{fieldlist} + +\fielditem{bookpagination}{key} the pagination of the manuscript which is studied. The standard pagination keys are allowed, but the package add a new key: \texttt{folio}. The value of this field is to be used for printing the \bibfield{pages} and \bibfield{pagetotal}. + +\fielditem{columns}{integer} the number of column by pages. Basically, only two numbers are allowed: \verb+1+ or \verb+2+. + +\fielditem{dating}{litteral} the dating of the manuscript. It can be for example a century. + +\fielditem{shortlibrary}{litteral} the abreviated form of the library. Not used by the default style. + +\fielditem{pages}{range} the pages which are studied in the manuscript. In this field, you can use the macros \cs{recto} and \cs{verso}. + +\fielditem{pagetotal}{integer} the total number of pages in the manuscript. + + +\fielditem{pagination}{key} the pagination of part of manuscript which is studied. The standard pagination key are allowed, but the package add a new key: \verb+folio+. + +\fielditem{scribe}{name} the scribe(s) who wrote the manuscript. + +\fielditem{shorthand}{litteral} the shorthand of the manuscript. If this field is empty, the entry key will be used as shorthand. + +\fielditem{support}{key} the support of the manuscript, which will be translated in your work language. These keys are defined: \texttt{papyrus}, \texttt{paper}, \texttt{pergament}. + +\end{fieldlist} + +\subsection{Special}\label{fields:special} +There are also two special fields, which are printed only if we ask for them explicitly: + +\begin{fieldlist} +\fielditem{annotation}{litteral} some annotation about the manuscript and its content. If you want to add paragraph inside it, you must use the \cs{par} command between each paragraph. + + +\fielditem{catalog}{special} a list of catalogues which describes the manuscript. You must fill this field with arguments of a \cs{cites} command. For example: + +\begin{minted}{tex} +@manuscript{key, + field1 = {value1}, + field2 = {value2}, + catalog = {[prenote1][postenote1]{key1}[prenote2][postenote2]{key2}} +\end{minted} + + +\fielditem{origin}{list} the places where the manuscript was written. + +\fielditem{owner}{name} the name(s) of the owner(s) of the manuscript in the past. + +\fielditem{scribe}{list} the name(s) of the scribe(s). + +\end{fieldlist} + +\section{Use} +\subsection{Loading} + +When loading the \biblatex package, use the option \opt{bibstyle} with value equal to \opt{manuscripts}. + +\begin{minted}{latex} +\usepackage[bibstyle=manuscripts,…]{biblatex} +\end{minted} + +\subsection{Citation of one manuscript} + +The manuscript description is supposed to be used with a \opt{citestyle} of the \emph{verbose} family (see the \biblatex handbook). + +So, if you use: +\begin{minted}{latex} +\cite{manuscriptkey} +\end{minted} + +the full reference of the manuscript will be printed (see the example file). However, you can use \cs{shcite} to print directly the shorthand of the manuscript: + +\begin{minted}{latex} +\shcite{manuscriptkey} +\end{minted} + +\subsection{List of manuscripts: \emph{conspectus siglorum}} + +You can use the standard command \cs{printshorthands} with appropriate options: + +\begin{minted}{latex} +\printshorthands[type=manuscript,title=Conspectus siglorum] +\end{minted} + +In the previous example, with use one option to print shorthands only for manuscripts entries, and we set the title to the classical one \enquote{Conspectus siglorum}. + +\subsection{List of manuscripts with detailed fields} + +If you want to print a list of manuscripts with detailed fields listed in \secref{fields:special}, just use the \opt{env} option, with value equal to +\cnt{details}. + +\begin{minted}{latex} +\printshorthands[type=manuscript,env=details,title=Description of manuscripts] +\end{minted} + +In this case, you must run two times biber: one after the first run of \LaTeX\ and one after the second run, to add in the \file{.bbl} the catalogues. After that, run a three time \LaTeX. + +\section{Customization} + +\subsection{Commands} + +You can redefine, with \cs{renewcommand} some commands defined in \file{manuscripts.bbx}. The commands starting with \cs{mk...} take one argument, the other take no argument. In these command, use the punctuation commands of \biblatex. + +\begin{ltxsyntax} +\csitem{collectionshelfmarkpunct} the punct between \bibfield{collection} and \bibfield{shelfmark}. By default \cs{addspace}. + +\csitem{datingpagespunct} the punct between \bibfield{dating} and \bibfield{pages}. By default \cs{isdot}\cs{addcomma}\cs{addspace}. + +\csitem{librarycollectionpunct} the punct between \bibfield{library} and \bibfield{collection}. By default \cs{addcomma}\cs{addspace}. + +\csitem{mkcolumns} the way the \bibfield{columns} are printed. By default, in parens. + +\csitem{mklocation} the way the \bibfield{location} is printed. By default, with the command \cs{mkbibnamelast}. + +\csitem{mkmanuscriptdescriptionlabel} the way the label are printed before the special field. By default, in bold, following with \cs{manuscriptdescriptionlabelpunct}. + +\csitem{mkshcite} the way the shorthand is printed when using \cs{shcite}. By default, no special formatting. + +\cs{locationlibrarypunct} the punct between \bibfield{location} and \bibfield{library}. By default \cs{addcolon}\cs{addspace}. + +\cs{manuscriptdescriptionlabelpunct} the punct between label and text, for the special fields. By default \cs{addcolon}\cs{addspace}. + +\cs{moreinterpunct} the punct between each special fields when printing in the same paragraph. By default \cs{addcolon}\cs{addspace}. + +\cs{pagetotalpagespunct} the punct between \bibfield{pagetotal} and \bibfield{pages}. By default \cs{addcolon}\cs{addspace}. +\end{ltxsyntax} + +\subsection{Commands to use in the \bibfield{pages} field} + +In the pages field, you can use \cs{recto} and \cs{verso} command when you speak of folios. Default value are \cnt{r} and \cnt{v} but you can change them. + +\subsection{Localization strings} + +Some specific localization strings are defined in the \file{manucripts-xxx.lbx} files. Read the \biblatex handbook to know how to customize it. + +\subsection{Macros and field formats} + +The \file{manuscripts.bbx} file defines bibmacros and field formats (read the \biblatex handbook to know more about bibmacro and field format). We can't list all of them, but you can look on them to know how to customize more finely the manuscripts description. + +\section{Change history} + +\begin{changelog} + + +\begin{release}{1.1.0}{2014-01-20} +\item First public release. +\end{release} +\end{changelog} +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.bib b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.bib new file mode 100644 index 00000000000..51d207a757a --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.bib @@ -0,0 +1,165 @@ +@book{Batiffoll1891, + Address = {Paris}, + Author = {Pierre Batiffol}, + Publisher = {Alphonse Picard}, + Subtitle = {contribution à l'histoire de la Vaticane}, + Title = {L'abbaye de Rossano}, + Year = {1891}} + +@book{Richard857, + Address = {Bruxelles}, + Author = {Franchi de' Cavalieri, Pio Petro}, + Publisher = {Société des Bollandistes}, + Title = {Catalogus codicum hagiographicorum graecorum Bibliothecae Vaticanae}, + Year = {1899}} + +@book{Lake1938, + Address = {Boston}, + Author = {Kirsopp Lake and Silvia Lake}, + Bookpagination = {notice}, + Maintitle = {Dated greek minuscule manuscripts to the year 1200}, + Publisher = {The American Academy of Arts and Sciences}, + Title = {Manuscripts in Rome, in Messina, in Naples, and in London}, + Volume = {9}, + Year = {1938}} + +@book{Richard192-3, + Crossref = {Richard192}, + Subtitle = {Belles-Lettres, Coislin - Supplément, Paris et départements}, + Title = {Ancien fonds grec}, + Volume = {3}, + Year = {1888}} + + +@mvbook{Richard192, + Address = {Paris}, + Author = {Henri Omont}, + Date = {1886/1898}, + Publisher = {Alphonse Picard}, + Volumes = {4}} + +@book{Richard834, + Address = {Vatican}, + Author = {Robertus Devreesse}, + Maintitle = {Bibliothecae Apostolicae Vaticanae codices manu scripti recensiti iussu Pii~XI Pontificis Maximi, Praeside Iohanne Mercati S. Georgii in Velabro Card. Diacono, S. R. E. Bybliothecario (\emph{sic}) et Scriniario}, + Publisher = {Bibliotheca Vaticana}, + Richard = {834}, + Subtitle = {Codices~1485-1683}, + Title = {Codices Vaticani Graeci}, + Year = {1950},} + + + +@mvbook{Ehrhard, + Address = {Osnabrück}, + Author = {Albert Ehrhard}, + Origdate = {1937/1952}, + Origlocation = {Leipzig}, + Origpublisher = {J. C. Hinrichs Verlag}, + Publisher = {Otto Zeller Verlag}, + Subtitle = {von den Anfängen bis zum Ende des 16. Jahrhunderts}, + Title = {Überlieferung und Bestand der hagiographischen und homiletischen Literatur der griechischen Kirche}, + Volumes = {3}, + Year = {1965}} + +@book{Ehrhard1.1, + Crossref = {Ehrhard}, + Origdate = {1937}, + Part = {1}, + Volume = {1}} + +@book{Richard2445, + Address = {Vienne}, + Author = {Herbert Hunger}, + Maintitle = {Katalog der griechischen handschriften des Österreichischen Nationalbibliothek}, + Publisher = {Georg Prachner Verlag}, + Richard = {2445}, + Title = {Codices historici, codices philosophici et philologici}, + Year = {1961}} + +@book{Bodleian_quarto_t1, + Address = {Oxford}, + Author = {Coxe, Henry}, + Bookpagination = {column}, + Maintitle = {Quarto Catalogues}, + Origdate = {1853}, + Publisher = {Bodleian Library}, + Richard = {1843}, + Subtitle = {Reprinted with corrections from the edition of 1853}, + Title = {Greek Manuscripts}, + Volume = {1}, + Year = {1969}} + +@book{Richard1842.1, + Address = {Oxford}, + Author = {Henricus Coxe}, + Bookpagination = {column}, + Maintitle = {Catalogi codicum manuscriptorum Bibliothecae Bodleianae}, + Publisher = {Typographeus Academicus}, + Richard = {1841}, + Title = {recensionem codicum graecorum continens}, + Volume = {1}, + Year = {1853}} + +@manuscript{U, + Address = {Vatican}, + Annotation = {Some comments \par Some comments}, + Bookpagination = {folio}, + Catalog = {[334]{Lake1938}[161-164]{Richard857}[421-425]{Richard834}[673-676]{Ehrhard1.1}[80]{Batiffoll1891}}, + Collection = {Grec}, + Columns = {1}, + Dating = {\textsc{x}\textsuperscript{e} c.}, + Library = {Biblioteca Apostolica Vaticana}, + Origin = {Constantinople (Monastère Saint~Jean le Précurseur)}, + Pages = {326\verso-340\verso}, + Pagetotal = {406}, + Scribe = {Dorothee}, + Shelfmark = {1671}, + Support = {Pergament}} + +@manuscript{O, + Address = {Vienna}, + Annotation = {Some comments \par Some comments}, + Bookpagination = {folio}, + Catalog = {[50-54]{Richard2445}[682-688]{Ehrhard1.1}}, + Collection = {Hist. gr.}, + Columns = {2}, + Dating = {\textsc{xi}\textsuperscript{e} c.}, + Library = {Österreichische Nationalbibliothek}, + Origin = {Constantinople ?}, + Pages = {263\recto-273\verso}, + Pagetotal = {310}, + Shelfmark = {45}, + Shortlibrary = {ÖNB}, + Support = {pergament}} + +@manuscript{L, + Address = {Oxford}, + Annotation = {Some comments \par Some comments}, + Catalog = {[543D-546C]{Richard1842.1}{Bodleian_quarto_t1}}, + Collection = {Laudian Collection}, + Columns = {1}, + Dating = {\textsc{xvi}\textsuperscript{e} c.}, + Library = {Bodleian Library}, + Pages = {219-238}, + Pagetotal = {426}, + Shelfmark = {Gr.~64a}, + Support = {paper}} + +@manuscript{S, + Address = {Paris}, + Annotation = {Some comments \par Some comments}, + Bookpagination = {folio}, + Catalog = {[55]{Richard192-3}[678-679]{Ehrhard1.1}}, + Collection = {Supplément grec}, + Columns = {2}, + Date-Modified = {2013-12-24 15:21:30 +0000}, + Dating = {\textsc{x}\textsuperscript{e} c.}, + Library = {Bibliothèque Nationale de France}, + Origin = {Constantinople}, + Pages = {233\verso-245\recto}, + Pagetotal = {282}, + Scribe = {Stephen}, + Shelfmark = {241}, + Shortlibrary = {BNF}, + Support = {Pergament}} diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.pdf b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.pdf Binary files differnew file mode 100644 index 00000000000..4031bb40fea --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.tex b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.tex new file mode 100644 index 00000000000..d9214964154 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/example.tex @@ -0,0 +1,19 @@ +\documentclass{article} +\usepackage{fontspec} +\usepackage{polyglossia} +\setmainlanguage{english} +\setmainfont{Linux Libertine O} +\usepackage[backend=biber,bibstyle=manuscripts,citestyle=verbose,datamodel=manuscripts]{biblatex} +\addbibresource{example.bib} +\begin{document} +\title{Examples} +\author{Maïeul Rouquette} +\maketitle +\nocite{*} + +\printshorthands[type=manuscript,title=Manuscripts' description,env=details] +\newpage +\printshorthands[type=manuscript,title=Conspectus siglorum] + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/makefile b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/makefile new file mode 100644 index 00000000000..c124f4dc726 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/documentation/makefile @@ -0,0 +1,10 @@ +all: *tex *bib + xelatex --shell-escape biblatex-manuscripts-philology.tex + xelatex --shell-escape biblatex-manuscripts-philology.tex + xelatex --shell-escape example.tex + biber example + xelatex --shell-escape example.tex + +clean: + $(MAKE) -C documentation clean + @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* diff --git a/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/makefile b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/makefile new file mode 100644 index 00000000000..9757d01b8ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-manuscripts-philology/makefile @@ -0,0 +1,19 @@ +FILES = *.bbx *.dbx *.lbx documentation makefile README + + +dist: all + rm -rf biblatex-manuscript-philology + mkdir biblatex-manuscript-philology + cp README *bbx *dbx *lbx *makefile biblatex-manuscript-philology + mkdir biblatex-manuscript-philology/documentation + cp documentation/*tex documentation/*bib documentation/*pdf documentation/makefile biblatex-manuscript-philology/documentation + $(RM) ../biblatex-manuscript-philology.zip + zip -r ../biblatex-manuscript-philology.zip biblatex-manuscript-philology + + +clean: + $(MAKE) -C documentation clean + @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* + +all: documentation/example.tex documentation/biblatex-manuscripts-philology.tex documentation/example.bib + $(MAKE) -C documentation all
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/biblatex-manuscripts-philology/english-manuscripts.lbx b/Master/texmf-dist/tex/latex/biblatex-manuscripts-philology/english-manuscripts.lbx new file mode 100644 index 00000000000..4da10fadf3e --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-manuscripts-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-manuscripts-philology/french-manuscripts.lbx b/Master/texmf-dist/tex/latex/biblatex-manuscripts-philology/french-manuscripts.lbx new file mode 100644 index 00000000000..8725f5f81a2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-manuscripts-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-manuscripts-philology/manuscripts.bbx b/Master/texmf-dist/tex/latex/biblatex-manuscripts-philology/manuscripts.bbx new file mode 100644 index 00000000000..4a31137feae --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-manuscripts-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-manuscripts-philology/manuscripts.dbx b/Master/texmf-dist/tex/latex/biblatex-manuscripts-philology/manuscripts.dbx new file mode 100644 index 00000000000..eddfabd573c --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-manuscripts-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} + diff --git a/Master/tlpkg/tlpsrc/biblatex-manuscripts-philology.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-manuscripts-philology.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/biblatex-manuscripts-philology.tlpsrc diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc index 17f90ce1ca6..be103d1b9cb 100644 --- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc @@ -28,6 +28,7 @@ depend biblatex-historian depend biblatex-ieee depend biblatex-juradiss depend biblatex-luh-ipw +depend biblatex-manuscripts-philology depend biblatex-mla depend biblatex-musuos depend biblatex-nature diff --git a/Master/tlpkg/tlpsrc/documentation.tlpsrc b/Master/tlpkg/tlpsrc/documentation.tlpsrc index 29a53d08be4..9f59395c9fc 100644 --- a/Master/tlpkg/tlpsrc/documentation.tlpsrc +++ b/Master/tlpkg/tlpsrc/documentation.tlpsrc @@ -2,5 +2,6 @@ docpattern +!d texmf-dist/doc/fonts/amiri/documentation docpattern +!d texmf-dist/doc/fonts/gentium-tug/GentiumPlus/documentation docpattern +!d texmf-dist/doc/fonts/punknova/documentation docpattern +!d texmf-dist/doc/latex/interactiveworkbook/documentation +docpattern +!d texmf-dist/doc/latex/biblatex-manuscripts-philology docpattern +!d texmf-dist/doc/lualatex/lilyglyphs/documentation docpattern +!d texmf-dist/doc/support/latexindent/documentation |