I'm having a bit of trouble to use a custom style found on CTAN. This is the biblatex-swiss-legal. In my MWE, it basically produces no output, especially not in the expected format. The default style works fine (commented line).
Goal & requirements
MY target is to use Latex to automate the production of a set of documents. The processing needs to be semi-automated to produce a final PDF using some scripts in an other language. The end goals is then to (1) retrieve the separate code, (2) merge them and then (3) generate the full PDF using latex.
My constraint is that it needs to follow the Swiss Legal requirements in terms of citations. Consequently, the formatting of the quote is really tricky, and this is my final steps to produce a working prototype.
From some other questions here, I can deduce that this biblatex style package is slightly outdated. I've got basically no experience with the creation of custom style for biblatex. Moreover, I've got some further constraints, as my end document needs to be:
- In french or german, hence using
polyglossia&csquotes - Custom font, hence compiled using
xelatex - Using abbreviation (not here in MWE), hence using
glossaries
Question 1 - Effort to update the full package ?
What would be the effort to update the package ? Is there any documentation on how to port an entire package into the “new” biblatex format ?
Question 2 - How could I only take the relevant part ?
Most of the code from this style will not be used. There are plenty of other function which I don't need.
Hence, how could I only take the “article” part and then plug it in a separate style ? I'm not sure what is needed and my first tryouts created a lot of errors.
Final note
This is my very first post on SO and TeX board. Hence please let me know if/how I could improve my future submissions. Thanks!
MWE Code
% MweBiblatex Swiss Legal
\documentclass{article}
% Needed by Biblatex
\usepackage{polyglossia}
\setmainlanguage{french}
\usepackage{csquotes}
\usepackage[style=biblatex-swiss-legal-general, backend=biber, bibencoding=UTF8]{biblatex}
% \usepackage[backend=biber, bibencoding=UTF8]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
{
@book{druey,
author = {Druey, Jean-Nicolas},
title = {Grundriss des Erbrechts, 6e ed.},
publisher = {Aucun},
date = {2016},
location = {Berne},
}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
En matière de successions, le CC offre aux héritiers plusieurs façons de procéder \cite{druey}.
My goal as a real citation and as pseudo-code in the reference table and in a citation
\textsc{Druey} Jean-Nicolas, \textit{Grundriss des Erbrechts, 6e ed}, Berne 2016
And this should be cited as : "\textsc{Druey}"
\printbibliography
\end{document}
authoryear,authortitle,verboseand their variants. Pay attention to the general structure both of citation call-outs and bibliography references (features such as font format and name delimiters are easily configurable). As to other styles, you might want to take a look atbiblatex-jura,biblatex-juradissorbiblatex-dw. – gusbrs Apr 13 '18 at 10:47biblatex-juraor withbiblatex-juradissand also don't know about their maintenance status, but they are mentioned in the documentation ofbiblatex-swiss-legal.) – gusbrs Apr 13 '18 at 10:49