Browse Source

renvoi aux productions commande latex

Hugo Roy 8 years ago
parent
commit
a5530e0967
3 changed files with 17 additions and 1 deletions
  1. 11 0
      data/references.yaml
  2. 3 0
      data/titleclass.tex
  3. 3 1
      filters/latex.zsh

+ 11 - 0
data/references.yaml

@@ -973,4 +973,15 @@ references:
     day: 19
     day: 19
   title: "Mme B... A..."
   title: "Mme B... A..."
   number: n^o^ 397623
   number: n^o^ 397623
+- type: legal_case
+  id: cjueSchwarz
+  authority: CJUE
+  section: 4^e^ ch.
+  issued:
+    year: 2013
+    month: 10
+    day: 17
+  title: "Michael Schwarz c. Stadt Bochum"
+  title-short: "Schwarz"
+  number: C-291/12
 ...
 ...

+ 3 - 0
data/titleclass.tex

@@ -7,5 +7,8 @@
 \scshape\MakeLowercase}
 \scshape\MakeLowercase}
 \renewcommand{\thesection}{\arabic{section}}
 \renewcommand{\thesection}{\arabic{section}}
 \titleformat{\section}[hang]{\Large\bfseries}{}{0pt}{\thesection.~}
 \titleformat{\section}[hang]{\Large\bfseries}{}{0pt}{\thesection.~}
+\titleformat{name=\section,numberless}[hang]{\Large\bfseries}{}{0pt}{}
 \titleformat{\subsection}[hang]{\large\bfseries}{}{0pt}{\thesubsection.~}
 \titleformat{\subsection}[hang]{\large\bfseries}{}{0pt}{\thesubsection.~}
+\titleformat{name=\subsection,numberless}[hang]{\Large\bfseries}{}{0pt}{}
 \titleformat{\subsubsection}[hang]{\bfseries}{}{0pt}{\thesubsubsection.~}
 \titleformat{\subsubsection}[hang]{\bfseries}{}{0pt}{\thesubsubsection.~}
+\titleformat{name=\subsubsection,numberless}[hang]{\Large\bfseries}{}{0pt}{}

+ 3 - 1
filters/latex.zsh

@@ -1,3 +1,5 @@
 #!/bin/bash
 #!/bin/bash
 
 
-sed 's#"html","<Llap>"#"latex","\\\\Llap\{«\ \}"#g'
+sed 's#"html","<Llap>"#"latex","\\\\Llap\{«\ \}"#g'| \
+    sed 's#"html","<piece>"#"latex","\\\\piece\{"#g' | \
+    sed 's#"html","<\/piece>"#"latex","\}"#g'