texlive[42070] Master/texmf-dist: biblatex-morenames

commits+karl at tug.org commits+karl at tug.org
Thu Sep 15 00:24:48 CEST 2016


Revision: 42070
          http://tug.org/svn/texlive?view=revision&revision=42070
Author:   karl
Date:     2016-09-15 00:24:47 +0200 (Thu, 15 Sep 2016)
Log Message:
-----------
biblatex-morenames

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/biblatex-morenames.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/biblatex-morenames.tex
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.bib
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.dot
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-maineditor.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/generate-crossref-graphs.py
    trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.bib
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.dot
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-IneditorFromEditor.pdf

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/biblatex-morenames.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/biblatex-morenames.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/biblatex-morenames.tex	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/biblatex-morenames.tex	2016-09-14 22:24:47 UTC (rev 42070)
@@ -18,6 +18,7 @@
 \usepackage[citestyle=verbose,bibstyle=morenames]{biblatex}
 \bibliography{example-maineditor.bib}
 \bibliography{example-bookineditor.bib}
+\bibliography{example-bookineditor-BookineditorFromEditor.bib}
 % Meta-datas
 \titlepage{%
 	title={Biblatex-morenames},
@@ -24,8 +25,8 @@
 	subtitle={New fields of name type for standard biblatex entry types},
 	email={maieul <at> maieul <dot> net},
 	author={Maïeul Rouquette},
-	revision={1.1.0},
-	date={07/06/2016},
+	revision={1.2.0},
+	date={08/09/2016},
 	url={https://git.framasoft.org/maieul/biblatex-morenames}}
 
 
@@ -167,17 +168,30 @@
 
 \subsection{\bibfield{ineditor} and \bibfield{bookineditor}}
 \subsubsection{Meaning}
-For a \bibtype{article}, a \bibtype{inbook} entry, \bibfield{ineditor} means the editor of the single contribution, while \bibfield{editor} means the editor of the global volume.
+For a \bibtype{article} or a \bibtype{inbook} entry, \bibfield{ineditor} means the editor of the single contribution, while \bibfield{editor} means the editor of the global volume.
 
 
 For a \bibtype{bookinbook}, \bibfield{bookineditor} means the editor of the (ancient) edited book, while \bibfield{editor} means the editor of the global volume.
 
+The \bibtype{ineditor} or the \bibfield{bookineditor} field is typeset immediately   after the title of the subentry, while the \bibtype{editor} field is typeset after the title of the main entry.
 
-\subsubsection{.bib example}
+ 
 
+
+Notes that if the value of \bibtype{bookineditor} or \bibfield{ineditor} field is equal to the \bibfield{editor} field, this last one is not printed.
+
+There is two modes of inheritance for these fields:  the default one and the optional one.
+
+\subsubsection{Default inheritance mode}
+
+With the default inheritance mode, the \bibtype{bookineditor} field of the subentry is never inherited from the main entry.
+ 
+
+\paragraph{.bib example}
+
 \inputminted[breaklines]{latex}{example-bookineditor.bib}
 
-\subsubsection{Fields inheritance}
+\paragraph{Fields inheritance}
 
 The graph~\ref{example-bookineditor} shows the fields inheritance.
 
@@ -185,17 +199,70 @@
   \centering
   \includegraphics[height=0.99\textheight]{example-bookineditor.pdf}
   \label{example-bookineditor}
-  \caption{Inheritance related to the \bibtype{bookineditor} field}
+  \caption{Inheritance related to the \bibtype{bookineditor} field, default setting}
 \end{figure}
-\subsubsection{Output example}
 
+ 
+\paragraph{Output example}
+
 \begin{quotation}
   \cite{BHG226}
+  
+  \cite{BHG225}
 \end{quotation}
+\subsubsection{Optional inheritance}
+
+With the optional inheritance, the \bibfield{bookineditor} or \bibfield{ineditor} field of the subentry is inherited from the \bibfield{editor} field of the main entry, except if the subentrty has already a \bibfield{bookineditor} or \bibfield{ineditor} field.
+
+
+To enable this feature for the \bibfield{ineditor} field, just add in your preamble, after loading biblatex, the following line:
+\begin{minted}{latex}
+\toggletrue{BookineditorFromEditor}
+\end{minted}
+
+To enable this feature for the \bibfield{ineditor} field, just add in your preamble, after loading biblatex, the following line:
+\begin{minted}{latex}
+\toggletrue{BookineditorFromEditor}
+\end{minted}
+
+\paragraph{.bib example}
+
+\inputminted[breaklines]{latex}{example-bookineditor-BookineditorFromEditor.bib}
+
+\paragraph{Fields inheritance}
+
+The graph~\ref{example-bookineditor-BookineditorFromEditor} shows the fields inheritance.
+
+\begin{figure}
+  \centering
+  \includegraphics[height=0.99\textheight]{example-bookineditor-BookineditorFromEditor.pdf}
+  \label{example-bookineditor-BookineditorFromEditor}
+  \caption{Inheritance related to the \bibtype{bookineditor} field with optional inheritance}
+\end{figure}
+
+ 
+\paragraph{Output example}
+
+\begin{quotation}
+  \cite{BHG226a}
+  
+  \cite{BHG225a}
+\end{quotation}
 \section{Change history}
 \begin{changelog}
 
 
+
+\begin{release}{1.2.0}{2016-09-08}
+  \item If the \bibfield{bookineditor} or \bibfield{ineditor} field is equal to the\bibfield{editor} field, the last one is not printed.
+  \item Add two options to make \bibfield{bookineditor} or \bibfield{ineditor} to be inherited from  \bibfield{editor} field.
+\end{release}
+
+\begin{release}{1.1.1}{2016-09-07}
+  \item Don't define again \verb+bybookineditor+ macro if already defined by \emph{biblatex-bookinother}.
+\end{release}
+
+
 \begin{release}{1.1.0}{2016-06-07}
   \item Add error message to know more quickly break compatibility with new releases of biblatex.
 \end{release}

Added: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.bib	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.bib	2016-09-14 22:24:47 UTC (rev 42070)
@@ -0,0 +1,25 @@
+ at bookinbook{BHG226a,
+	Author = {{Alexandre de Chypre}},
+	Crossref = {CCSG26a},
+	Bookineditor = {Van Deun, Peter},
+	Pages = {83-122},
+	Title = {Laudatio Barnabae}
+}
+ at book{CCSG26a,
+	Editor = {Peter Van Deun and Jacques Noret},
+	Number = {26},
+	Series = {Corpus Christianorum Series Graeca},
+	Title = {Hagiographica Cypria}}
+
+ at bookinbook{BHG225a,
+	Crossref = {AAA2.2a},
+	Pages = {292-302},
+	Title = {Acta Barnabae}
+}
+ at book{AAA2.2a,
+	Editor = {Maximilien Bonnet},
+	Date = {1903},
+	Location = {Leipzig},
+	Publisher = {Hermann Mendelssohn},
+	Title = {Acta Apostolorum Apocrypha},
+	Volume = {2.2}}


Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.bib
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.dot
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.dot	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.dot	2016-09-14 22:24:47 UTC (rev 42070)
@@ -0,0 +1,86 @@
+digraph Biberdata {
+  compound = true;
+  edge [ arrowhead=open ];
+  graph [ style=filled, rankdir=LR ];
+  node [
+    fontsize=10,
+    fillcolor=white,
+    style=filled,
+    shape=box ];
+
+  subgraph "cluster_section0/AAA2.2a" {
+    fontsize="10";
+    label="AAA2.2a (BOOK)";
+    tooltip="AAA2.2a (BOOK)";
+    fillcolor="#a0d0ff";
+
+    "section0/AAA2.2a/editor" [ label="EDITOR" ]
+    "section0/AAA2.2a/location" [ label="LOCATION" ]
+    "section0/AAA2.2a/publisher" [ label="PUBLISHER" ]
+    "section0/AAA2.2a/title" [ label="TITLE" ]
+    "section0/AAA2.2a/volume" [ label="VOLUME" ]
+    "section0/AAA2.2a/year" [ label="YEAR" ]
+  }
+
+  subgraph "cluster_section0/BHG225a" {
+    fontsize="10";
+    label="BHG225a (BOOKINBOOK)";
+    tooltip="BHG225a (BOOKINBOOK)";
+    fillcolor="#a0d0ff";
+
+    "section0/BHG225a/bookineditor" [ label="BOOKINEDITOR" ]
+    "section0/BHG225a/booktitle" [ label="BOOKTITLE" ]
+    "section0/BHG225a/crossref" [ label="CROSSREF" ]
+    "section0/BHG225a/editor" [ label="EDITOR" ]
+    "section0/BHG225a/location" [ label="LOCATION" ]
+    "section0/BHG225a/pages" [ label="PAGES" ]
+    "section0/BHG225a/publisher" [ label="PUBLISHER" ]
+    "section0/BHG225a/title" [ label="TITLE" ]
+    "section0/BHG225a/volume" [ label="VOLUME" ]
+    "section0/BHG225a/year" [ label="YEAR" ]
+  }
+
+  subgraph "cluster_section0/BHG226a" {
+    fontsize="10";
+    label="BHG226a (BOOKINBOOK)";
+    tooltip="BHG226a (BOOKINBOOK)";
+    fillcolor="#a0d0ff";
+
+    "section0/BHG226a/author" [ label="AUTHOR" ]
+    "section0/BHG226a/bookineditor" [ label="BOOKINEDITOR" ]
+    "section0/BHG226a/booktitle" [ label="BOOKTITLE" ]
+    "section0/BHG226a/crossref" [ label="CROSSREF" ]
+    "section0/BHG226a/editor" [ label="EDITOR" ]
+    "section0/BHG226a/number" [ label="NUMBER" ]
+    "section0/BHG226a/pages" [ label="PAGES" ]
+    "section0/BHG226a/series" [ label="SERIES" ]
+    "section0/BHG226a/title" [ label="TITLE" ]
+  }
+
+  subgraph "cluster_section0/CCSG26a" {
+    fontsize="10";
+    label="CCSG26a (BOOK)";
+    tooltip="CCSG26a (BOOK)";
+    fillcolor="#a0d0ff";
+
+    "section0/CCSG26a/editor" [ label="EDITOR" ]
+    "section0/CCSG26a/number" [ label="NUMBER" ]
+    "section0/CCSG26a/series" [ label="SERIES" ]
+    "section0/CCSG26a/title" [ label="TITLE" ]
+  }
+
+
+
+  "section0/AAA2.2a/editor" -> "section0/BHG225a/bookineditor" [ penwidth="2.0", color="#7d7879", tooltip="BHG225a/BOOKINEDITOR inherited via CROSSREF from AAA2.2a/EDITOR" ]
+  "section0/AAA2.2a/editor" -> "section0/BHG225a/editor" [ penwidth="2.0", color="#7d7879", tooltip="BHG225a/EDITOR inherited via CROSSREF from AAA2.2a/EDITOR" ]
+  "section0/AAA2.2a/location" -> "section0/BHG225a/location" [ penwidth="2.0", color="#7d7879", tooltip="BHG225a/LOCATION inherited via CROSSREF from AAA2.2a/LOCATION" ]
+  "section0/AAA2.2a/publisher" -> "section0/BHG225a/publisher" [ penwidth="2.0", color="#7d7879", tooltip="BHG225a/PUBLISHER inherited via CROSSREF from AAA2.2a/PUBLISHER" ]
+  "section0/AAA2.2a/title" -> "section0/BHG225a/booktitle" [ penwidth="2.0", color="#7d7879", tooltip="BHG225a/BOOKTITLE inherited via CROSSREF from AAA2.2a/TITLE" ]
+  "section0/AAA2.2a/volume" -> "section0/BHG225a/volume" [ penwidth="2.0", color="#7d7879", tooltip="BHG225a/VOLUME inherited via CROSSREF from AAA2.2a/VOLUME" ]
+  "section0/AAA2.2a/year" -> "section0/BHG225a/year" [ penwidth="2.0", color="#7d7879", tooltip="BHG225a/YEAR inherited via CROSSREF from AAA2.2a/YEAR" ]
+  "section0/CCSG26a/editor" -> "section0/BHG226a/editor" [ penwidth="2.0", color="#7d7879", tooltip="BHG226a/EDITOR inherited via CROSSREF from CCSG26a/EDITOR" ]
+  "section0/CCSG26a/number" -> "section0/BHG226a/number" [ penwidth="2.0", color="#7d7879", tooltip="BHG226a/NUMBER inherited via CROSSREF from CCSG26a/NUMBER" ]
+  "section0/CCSG26a/series" -> "section0/BHG226a/series" [ penwidth="2.0", color="#7d7879", tooltip="BHG226a/SERIES inherited via CROSSREF from CCSG26a/SERIES" ]
+  "section0/CCSG26a/title" -> "section0/BHG226a/booktitle" [ penwidth="2.0", color="#7d7879", tooltip="BHG226a/BOOKTITLE inherited via CROSSREF from CCSG26a/TITLE" ]
+
+}

Added: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.pdf	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.pdf	2016-09-14 22:24:47 UTC (rev 42070)

Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-BookineditorFromEditor.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-IneditorFromEditor.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-IneditorFromEditor.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-IneditorFromEditor.pdf	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-IneditorFromEditor.pdf	2016-09-14 22:24:47 UTC (rev 42070)

Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor-IneditorFromEditor.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.bib	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.bib	2016-09-14 22:24:47 UTC (rev 42070)
@@ -10,3 +10,17 @@
 	Number = {26},
 	Series = {Corpus Christianorum Series Graeca},
 	Title = {Hagiographica Cypria}}
+
+ at bookinbook{BHG225,
+	Bookineditor = {Maximilien Bonnet},
+	Crossref = {AAA2.2},
+	Pages = {292-302},
+	Title = {Acta Barnabae}
+}
+ at book{AAA2.2,
+	Editor = {Maximilien Bonnet},
+	Date = {1903},
+	Location = {Leipzig},
+	Publisher = {Hermann Mendelssohn},
+	Title = {Acta Apostolorum Apocrypha},
+	Volume = {2.2}}

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.dot
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.dot	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.dot	2016-09-14 22:24:47 UTC (rev 42070)
@@ -8,6 +8,38 @@
     style=filled,
     shape=box ];
 
+  subgraph "cluster_section0/AAA2.2" {
+    fontsize="10";
+    label="AAA2.2 (BOOK)";
+    tooltip="AAA2.2 (BOOK)";
+    fillcolor="#a0d0ff";
+
+    "section0/AAA2.2/editor" [ label="EDITOR" ]
+    "section0/AAA2.2/location" [ label="LOCATION" ]
+    "section0/AAA2.2/publisher" [ label="PUBLISHER" ]
+    "section0/AAA2.2/title" [ label="TITLE" ]
+    "section0/AAA2.2/volume" [ label="VOLUME" ]
+    "section0/AAA2.2/year" [ label="YEAR" ]
+  }
+
+  subgraph "cluster_section0/BHG225" {
+    fontsize="10";
+    label="BHG225 (BOOKINBOOK)";
+    tooltip="BHG225 (BOOKINBOOK)";
+    fillcolor="#a0d0ff";
+
+    "section0/BHG225/bookineditor" [ label="BOOKINEDITOR" ]
+    "section0/BHG225/booktitle" [ label="BOOKTITLE" ]
+    "section0/BHG225/crossref" [ label="CROSSREF" ]
+    "section0/BHG225/editor" [ label="EDITOR" ]
+    "section0/BHG225/location" [ label="LOCATION" ]
+    "section0/BHG225/pages" [ label="PAGES" ]
+    "section0/BHG225/publisher" [ label="PUBLISHER" ]
+    "section0/BHG225/title" [ label="TITLE" ]
+    "section0/BHG225/volume" [ label="VOLUME" ]
+    "section0/BHG225/year" [ label="YEAR" ]
+  }
+
   subgraph "cluster_section0/BHG226" {
     fontsize="10";
     label="BHG226 (BOOKINBOOK)";
@@ -39,6 +71,12 @@
 
 
 
+  "section0/AAA2.2/editor" -> "section0/BHG225/editor" [ penwidth="2.0", color="#7d7879", tooltip="BHG225/EDITOR inherited via CROSSREF from AAA2.2/EDITOR" ]
+  "section0/AAA2.2/location" -> "section0/BHG225/location" [ penwidth="2.0", color="#7d7879", tooltip="BHG225/LOCATION inherited via CROSSREF from AAA2.2/LOCATION" ]
+  "section0/AAA2.2/publisher" -> "section0/BHG225/publisher" [ penwidth="2.0", color="#7d7879", tooltip="BHG225/PUBLISHER inherited via CROSSREF from AAA2.2/PUBLISHER" ]
+  "section0/AAA2.2/title" -> "section0/BHG225/booktitle" [ penwidth="2.0", color="#7d7879", tooltip="BHG225/BOOKTITLE inherited via CROSSREF from AAA2.2/TITLE" ]
+  "section0/AAA2.2/volume" -> "section0/BHG225/volume" [ penwidth="2.0", color="#7d7879", tooltip="BHG225/VOLUME inherited via CROSSREF from AAA2.2/VOLUME" ]
+  "section0/AAA2.2/year" -> "section0/BHG225/year" [ penwidth="2.0", color="#7d7879", tooltip="BHG225/YEAR inherited via CROSSREF from AAA2.2/YEAR" ]
   "section0/CCSG26/editor" -> "section0/BHG226/editor" [ penwidth="2.0", color="#7d7879", tooltip="BHG226/EDITOR inherited via CROSSREF from CCSG26/EDITOR" ]
   "section0/CCSG26/number" -> "section0/BHG226/number" [ penwidth="2.0", color="#7d7879", tooltip="BHG226/NUMBER inherited via CROSSREF from CCSG26/NUMBER" ]
   "section0/CCSG26/series" -> "section0/BHG226/series" [ penwidth="2.0", color="#7d7879", tooltip="BHG226/SERIES inherited via CROSSREF from CCSG26/SERIES" ]

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-bookineditor.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/example-maineditor.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/generate-crossref-graphs.py
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/generate-crossref-graphs.py	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-morenames/documentation/generate-crossref-graphs.py	2016-09-14 22:24:47 UTC (rev 42070)
@@ -9,9 +9,15 @@
 import os
 
 
+# specific preamble for some file
+specific_preamble = {
+  "example-bookineditor-BookineditorFromEditor":"\\toggletrue{BookineditorFromEditor}\n"
+}
+
 #List all the files on the current directory
 directory_files = os.listdir(".")
 
+
 #Loop on them, and for the .bib file, generate the .tex, .dot and .pdf file
 for file_name in directory_files:
     basename, ext = os.path.splitext(file_name)
@@ -22,8 +28,12 @@
     # write the .tex file content
     tex_file_name = basename + ".tex"
     tex_file_content = "\documentclass{article}\n\
-    \\usepackage[bibstyle=morenames]{biblatex}\n\
-    \\bibliography{" + file_name + "}\n\
+    \\usepackage[bibstyle=morenames]{biblatex}\n"
+    
+    if basename in specific_preamble:
+        tex_file_content = tex_file_content + specific_preamble[basename]
+        
+    tex_file_content = tex_file_content + "\\bibliography{" + file_name + "}\n\
     \\begin{document}\n\
     \\nocite{*}\n\
     \end{document}"

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx	2016-09-14 22:24:47 UTC (rev 42070)
@@ -13,7 +13,7 @@
 % The Current Maintainer of this work is Maïeul Rouquette
 % This work consists of the files realauthor.dbx, realauthor.bbx
 \ProvidesFile{morenames.bbx}
-[2016/06/07 v1.1.0 biblatex bibliography style to have more name fields (MR)]
+[2016/09/08 v1.2.0 biblatex bibliography style to have more name fields (MR)]
 
 
 %0. Preamble
@@ -28,6 +28,26 @@
   \inherit{editor}{maineditor}
 }
 
+%1.two optionnal data inheritances
+\providetoggle{IneditorFromEditor}%
+\providetoggle{BookineditorFromEditor}%
+\AtEndPreamble{%
+  \iftoggle{IneditorFromEditor}{%
+      \DeclareDataInheritance{book,mvbook}{inbook}{%
+      \inherit{editor}{ineditor}%
+      \inherit{editor}{editor}%
+    }%
+  }%
+  {}
+  \iftoggle{BookineditorFromEditor}{%
+    \DeclareDataInheritance{book,mvbook}{bookinbook}{%
+      \inherit{editor}{bookineditor}%
+      \inherit{editor}{editor}%
+    }%
+  }%
+  {}%
+}
+
 %2. New label names
 
 \DeclareLabelname[collection,proceedings,reference]{%
@@ -169,17 +189,26 @@
     {\usebibmacro{bytypestrg}{ineditor}{editor}%
      \setunit{\addspace}%
      \printnames[byeditor]{ineditor}%
-     \newunit}%
+     \newunit%
+     \ifnamesequal{ineditor}{editor}%
+        {\clearname{editor}}%
+        {}%
+     }%
   }
-\newbibmacro*{bybookineditor}{%
-  \ifnameundef{bookineditor}
-    {}
-    {\usebibmacro{bytypestrg}{bookineditor}{editor}%
-     \setunit{\addspace}%
-     \printnames[byeditor]{bookineditor}%
-     \newunit}%
-  }
+\ifdefined\abx at macro@bybookineditor\else%
+  \newbibmacro*{bybookineditor}{%
+    \ifnameundef{bookineditor}
+      {}%
+      {\usebibmacro{bytypestrg}{bookineditor}{editor}%
+       \setunit{\addspace}%
+       \printnames[byeditor]{bookineditor}%
+       \newunit%
+       \ifnamesequal{bookineditor}{editor}%
+        {\clearname{editor}}%
+        {}%
+      }%
+    }%
+\fi%
 
 
-
 \endinput

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx	2016-09-14 22:24:31 UTC (rev 42069)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx	2016-09-14 22:24:47 UTC (rev 42070)
@@ -13,7 +13,7 @@
 % The Current Maintainer of this work is Maïeul Rouquette
 % This work consists of the files realauthor.dbx, realauthor.bbx
 \ProvidesFile{morenames.dbx}
-[2016/06/07 v1.1.0 biblatex bibliography style to have more name fields (MR)]
+[2016/09/08 v1.2.0 biblatex bibliography style to have more name fields (MR)]
 
 %1. New fields
 \DeclareDatamodelFields[type=list,datatype=name]{



More information about the tex-live-commits mailing list