Commit 5c9b7b80 authored by framatophe's avatar framatophe

amelioration pandoc

parent cc8ba69e
# Compiler avec Pandoc
pandoc --filter pandoc-citeproc --bibliography=lev5-projet-biblio.bib --csl=annales-modelebricole.csl -s --toc --latex-engine=xelatex --number-section --template=lanterne.latex -colorlinks -V fontsize=12pt leviathan5-projet.md -o lev.pdf
---
Le modèle de bibliographie est fourni avec le fichier CSL.
Il s'inspire du modèle Annales. Histoire sciences sociales.
Pour le modifier, on peut utiliser l'éditeur en ligne : http://editor.citationstyles.org/about/
Dans la bibliographie, même avec le moteur xelatex, latex a du mal à digérer le o exposant des numéros de revue. Sais pas pourquoi.... J'ai donc modifié le modèle pour indiquer num. (utilisation d'une variable).
This diff is collapsed.
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$]{$documentclass$}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage[french]{babel}
\usepackage{fixltx2e} % provides \textsubscript
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
$if(euro)$
\usepackage{eurosym}
$endif$
\else % if luatex or xelatex
\usepackage{fontspec}
\ifxetex
\usepackage{xltxtra,xunicode}
\fi
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{}
$if(mainfont)$
\setmainfont{$mainfont$}
$endif$
$if(sansfont)$
\setsansfont{$sansfont$}
$endif$
$if(monofont)$
\setmonofont{$monofont$}
$endif$
$if(mathfont)$
\setmathfont{$mathfont$}
$endif$
\fi
% use microtype if available
\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
$if(geometry)$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$endif$
$if(biblatex)$
\usepackage[backend=biber,style=verbose-ibid,hyperref=true]{biblatex}
$if(biblio-files)$
\bibliography{$biblio-files$}
$endif$
$endif$
$if(listings)$
\usepackage{listings}
$endif$
$if(lhs)$
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
$endif$
$if(highlighting-macros)$
$highlighting-macros$
$endif$
$if(verbatim-in-note)$
\usepackage{fancyvrb}
$endif$
$if(tables)$
\usepackage{longtable}
$endif$
\usepackage{graphicx}
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
xetex]{hyperref}
\else
\usepackage[unicode=true]{hyperref}
\fi
\hypersetup{breaklinks=true,
bookmarks=true,
pdfauthor={$author-meta$},
pdftitle={$title-meta$},
colorlinks=true,
urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$,
linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$,
pdfborder={0 0 0}}
\urlstyle{same} % don't use monospace font for urls
$if(links-as-notes)$
% Make links footnotes instead of hotlinks:
\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
$endif$
$if(strikeout)$
\usepackage[normalem]{ulem}
% avoid problems with \sout in headers with hyperref:
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
$endif$
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em} % prevent overfull lines
$if(numbersections)$
\setcounter{secnumdepth}{5}
$else$
\setcounter{secnumdepth}{0}
$endif$
$if(verbatim-in-note)$
\VerbatimFootnotes % allows verbatim text in footnotes
$endif$
$if(lang)$
\ifxetex
\usepackage{polyglossia}
\setmainlanguage{$mainlang$}
\else
\usepackage[french]{babel}
\fi
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$if(title)$
\title{$title$}
$endif$
\author{$for(author)$$author$$sep$ \and $endfor$}
\date{$date$}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{sectsty}
%%%%%%%%%% definir le titre de section %%%%%%%
\renewcommand*{\hrulefill}[1][0.3mm]{\leavevmode \leaders \hrule height #1 \hfill \kern 0pt}
\usepackage{color}
\definecolor{Vert}{RGB}{170,212,0}
\definecolor{White}{RGB}{255,255,255}
\definecolor{Black}{RGB}{0,0,0}
\definecolor{Gray}{RGB}{102,102,102}
%\usepackage[usenames,dvipsnames]{color}
%pour les noms des couleurs : http://en.wikibooks.org/wiki/LaTeX/Colors
%\usepackage[a4paper, top=2 cm, bottom=2 cm, left=3 cm, right=3 cm]{geometry}
%% mise en page du titre
%\usepackage{times}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{pifont}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
%% En-tete
%pages impaires
\fancyhead[LO]{\sffamily
\begin{scriptsize}
\textbf{$title$}
\end{scriptsize}
}
\fancyhead[RO]{\sffamily
\begin{scriptsize}
\textbf{\thepage}
\end{scriptsize}
}
%pages paires
\fancyhead[LE]{\sffamily
\begin{scriptsize}
\textbf{\thepage}
\end{scriptsize}
}
\fancyhead[RE]{\sffamily
\begin{scriptsize}
\textbf{$title$}
\end{scriptsize}
}
\fancyfoot[c]{
\ding{92}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy} % mise en page
%%%%%%%%%%%contenu des citation sen plus petit%%%%%%%%%%%%%%%%%%
\usepackage{relsize,etoolbox}% http://ctan.org/pkg/{relsize,etoolbox}
\AtBeginEnvironment{quote}{\smaller}% Step font down one size relative to current font.
%%%%%%%%%%%%virer les tightlist%%%%%%%%%%%%%%%%%%%
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\begin{document}
$if(title)$
\maketitle
$endif$
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
{
\hypersetup{linkcolor=blue}
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
}
$endif$
$body$
$if(natbib)$
$if(biblio-files)$
$if(biblio-title)$
$if(book-class)$
\renewcommand\bibname{$biblio-title$}
$else$
\renewcommand\refname{$biblio-title$}
$endif$
$endif$
\bibliography{$biblio-files$}
$endif$
$endif$
$if(biblatex)$
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
$endif$
$for(include-after)$
$include-after$
$endfor$
\end{document}
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -23,15 +23,15 @@
Author = {Whitman, James Q.},
Title = {The Two Western Cultures of Privacy: Dignity versus Liberty},
Journal = {The Yale Law Journal},
Number = {113}
Number = {113},
Year = {2004},
Pages = {1151-1221},
Url = {http://digitalcommons.law.yale.edu/fss_papers/649},
}
@Article{
Author = {Halpérin, Jean-Louis },
Title = {L’essor de la privacy et l’usage des concepts juridiques},
@Article{Halperin2005,
Author = {Halpérin, Jean-Louis},
Title = {L'essor de la privacy et l'usage des concepts juridiques},
Journal = {Droit et société},
Number = {3},
Volume = {61},
......@@ -44,17 +44,17 @@
author = {Moglen, Eben},
title = {Why Freedom of Thought Requires Free Media and Why Free Media Require Free Technology },
booktitle = {Re:Publica Conference},
year = 2012,
Year = {2012},
month = may,
Url = {http://12.re-publica.de/panel/why-freedom-of-thought-requires-free-media-and-why-free-media-require-free-technology/},
}
@Article{Knoch1961,
Author = {Knoch, Joanne},
Title = {An Electronic Credit Plan? Galvin Says Its Possible},
Title = {An Electronic Credit Plan? Galvin Says It's Possible},
Journal = {Chicago Tribune},
Month = mar,
Year = {1961}
Year = {1961},
}
@Book{Miller1968,
......@@ -134,7 +134,7 @@
@Article{Cannon2003,
Author = {Cannon, Robert},
Title = {The Legacy of the Federal Communications Commissions Computer Inquiries},
Title = {The Legacy of the Federal Communications Commission's Computer Inquiries},
Journal = {Federal Communications Law Journal},
Volume = {55},
Number = {2},
......@@ -149,11 +149,12 @@
Journal = {Catholic University Law Review},
Volume = {22},
Number = {3},
Year = {1973}
Pages = {628-650}
Year = {1973},
Pages = {628-650},
Url = {https://scholarship.law.edu/lawreview/vol22/iss3/4/},
}
@Book{Miller1971,
Author = {Miller, Arthur R.},
Title = {The assault on privacy. Computers, Data Banks and Dossier},
......@@ -190,7 +191,7 @@
Url = {http://www.nytimes.com/1971/04/17/archives/computer-invasion-of-personal-privacy-worries-europeans-computer.html},
}
@Article{
@Article{Nerson1971,
Author = {Nerson, Roger},
Title = {La protection de la vie privée en droit positif français},
Journal = {Revue Internationale de Droit Comparé},
......@@ -201,7 +202,7 @@
Url = {http://www.persee.fr/doc/ridc_0035-3337_1971_num_23_4_16099},
}
@Conference{CIDH1970,,
@Conference{CIDH1970,
Author = {{Colloque international sur la convention européenne des droits de l'homme}},
Title = {Vie privée et droits de l'homme. 30 septembre-3 octobre 1970},
Year = {1970},
......@@ -219,10 +220,10 @@
}
@Book{CE1970,
Author = {{Conseil d'État (France)}},
Author = {{Conseil d'État}},
Title = {Les conséquences du développement de l'informatique sur les libertés publiques et sur les décisions administratives -- Rapport annuel 1969-1970},
Address = {Paris},
Publisher = {Imprimerie des Journaux Officiels}
Publisher = {Imprimerie des Journaux Officiels},
Year = {1970},
}
......@@ -230,13 +231,13 @@
Author = {{Commissie Koopmans}},
Title = {Eindrapport van de Staatscommissie Bescherming Persoonlijke Levenssfeer in verband met Persoonsregistraties},
Address = {'s-Gravenhage},
Publisher = {Staatsuitgeverij}
Publisher = {Staatsuitgeverij},
Year = {1976},
}
@incollection{Burkert2000,
Author = {Burkert, Herbert}
Title = {Privacy -- Data Protection. A German/European Perspective},
Author = {Burkert, Herbert},
Title = {Privacy -- Data Protection. A German-European Perspective},
Editor = {Engel, Christoph and Keller, Kenneth H.},
Booktitle = {Governance of Global Networks in the Light of Differing Local Values},
Publisher = {Nomos Verlagsgesellschaft},
......@@ -255,14 +256,14 @@
}
@Book{Offsek1972,
Author = {{Offentlighets- och sekretesslagstiftningskommittén},
Author = {{Offentlighets- och sekretesslagstiftningskommittén}},
Title = {Data och integritet : betänkande},
Address = {Stockholm},
Publisher = {Justitiedepartementet},
Year = {1972},
}
@Book {
@Book {EUC1981,
Author = {{Conseil de l'Europe}},
Title = {Convention pour la protection des personnes à l'égard du traitement automatisé des données à caractère personnel -- Série des traités européens, no. 108},
Address = {Strasbourg},
......@@ -280,7 +281,7 @@
Pages = {75-87},
}
@Article{
@Article{Flambard1997,
Author = {Flambard-Ruaud, Sabine},
Title = {Les évolutions du concept de marketing},
Journal = {Décisions Marketing},
......@@ -291,7 +292,7 @@
}
@incollection{Tedlow1993,
Author = {Tedlow, Richard S.}
Author = {Tedlow, Richard S.},
Title = {The Fourth Phase of Marketing: The History of Marketing and the Business World Today},
Editor = {Jones, Geoffrey and Tedlow, Richard S.},
Booktitle = {The Rise and Fall of Mass Marketing},
......@@ -315,7 +316,7 @@
Title = {Application Packages: Coming into Their Own},
Journal = {EDP Analyzer},
Volume = {5},
Number = {7}
Number = {7},
Month = jul,
Year = {1967},
}
......@@ -333,7 +334,7 @@
}
@incollection{Steinmueller1995,
Author = {Steinmueller, Edward}
Author = {Steinmueller, Edward},
Title = {The U.S. software industry: an analysis and interpretative history},
Editor = {Mowery, David C.},
Booktitle = {The International Computer Software Industry},
......@@ -374,4 +375,3 @@
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment