Compare commits
No commits in common. "main" and "v0.1.0" have entirely different histories.
|
@ -1,7 +1,5 @@
|
|||
*.pdf
|
||||
polycopié.html
|
||||
test.html
|
||||
watched-files.txt
|
||||
*.html
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/latex
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=latex
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "reveal.js"]
|
||||
path = reveal.js
|
||||
url = https://github.com/hakimel/reveal.js.git
|
428
LICENSE
|
@ -1,428 +0,0 @@
|
|||
Attribution-ShareAlike 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution-ShareAlike 4.0 International Public
|
||||
License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution-ShareAlike 4.0 International Public License ("Public
|
||||
License"). To the extent this Public License may be interpreted as a
|
||||
contract, You are granted the Licensed Rights in consideration of Your
|
||||
acceptance of these terms and conditions, and the Licensor grants You
|
||||
such rights in consideration of benefits the Licensor receives from
|
||||
making the Licensed Material available under these terms and
|
||||
conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. BY-SA Compatible License means a license listed at
|
||||
creativecommons.org/compatiblelicenses, approved by Creative
|
||||
Commons as essentially the equivalent of this Public License.
|
||||
|
||||
d. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
e. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
g. License Elements means the license attributes listed in the name
|
||||
of a Creative Commons Public License. The License Elements of this
|
||||
Public License are Attribution and ShareAlike.
|
||||
|
||||
h. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
i. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
j. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
k. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
l. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
m. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. Additional offer from the Licensor -- Adapted Material.
|
||||
Every recipient of Adapted Material from You
|
||||
automatically receives an offer from the Licensor to
|
||||
exercise the Licensed Rights in the Adapted Material
|
||||
under the conditions of the Adapter's License You apply.
|
||||
|
||||
c. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
b. ShareAlike.
|
||||
|
||||
In addition to the conditions in Section 3(a), if You Share
|
||||
Adapted Material You produce, the following conditions also apply.
|
||||
|
||||
1. The Adapter's License You apply must be a Creative Commons
|
||||
license with the same License Elements, this version or
|
||||
later, or a BY-SA Compatible License.
|
||||
|
||||
2. You must include the text of, or the URI or hyperlink to, the
|
||||
Adapter's License You apply. You may satisfy this condition
|
||||
in any reasonable manner based on the medium, means, and
|
||||
context in which You Share Adapted Material.
|
||||
|
||||
3. You may not offer or impose any additional or different terms
|
||||
or conditions on, or apply any Effective Technological
|
||||
Measures to, Adapted Material that restrict exercise of the
|
||||
rights granted under the Adapter's License You apply.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material,
|
||||
including for purposes of Section 3(b); and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
||||
|
154
README.md
|
@ -5,105 +5,54 @@ id: 20230321102247
|
|||
tags: [README, documentation, latex, rdv-info]
|
||||
---
|
||||
|
||||
## [Citation et bibliographie avec LaTeX][1]
|
||||
## [Citation et bibliographie avec LaTeX][projet]
|
||||
|
||||
Ce répertoire contient les sources pour le *Rendez-vous de l'info* sur les
|
||||
citations et les références bibliographiques avec LaTeX. Il contient :
|
||||
|
||||
- La source en markdown pour le support de cours (`sources/polycopié/`).
|
||||
- Des exemples de fichiers `.tex` (`exercice/exercice.tex`).
|
||||
- Un export de collection Zotero au format biblatex
|
||||
(`exercice/references-exercices.bib`).
|
||||
- La source en markdown pour le support de cours.
|
||||
- Des exemples de fichiers `.tex`.
|
||||
- Un export de collection Zotero au format biblatex.
|
||||
|
||||
Le support de cours au format PDF ainsi que les fichiers d'exercice peuvent
|
||||
être téléchargés dans [les publications de version][2].
|
||||
|
||||
## Prérequis
|
||||
## Pour démarrer
|
||||
|
||||
Pour pouvoir utiliser ce projet, il est nécessaire :
|
||||
|
||||
1. De cloner le projet : \
|
||||
`git clone https://git.milhit.ch/igor/biblatex-zotero.git`
|
||||
1. Pour générer les différents fichiers, les outils suivants sont nécessaires :
|
||||
1. Soit `pagedjs`. Pour installer `pagedjs` : \
|
||||
`npm install -g puppeteer pagedjs pagedjs-cli`.
|
||||
1. Soit `pandoc` et LaTex. Pour installer `pandoc`, voir [la
|
||||
documentation][3]. Pour la distribution LaTeX, une possibilité est de
|
||||
consulter le site web [*The LaTeX project*][4] qui décline les méthodes
|
||||
les plus habituelles pour les principaux systèmes d'exploitation. **Pour
|
||||
ma part, je recommande l'usage de `tectonic` qui est un binaire à
|
||||
installer** : voir comment [installer tectonic][5].
|
||||
1. D'activer le module pour `reveal.js` pour la présentation au format HTML :
|
||||
```bash
|
||||
git submodule init
|
||||
git submodule update
|
||||
```
|
||||
1. Pour générer les différents fichiers, deux outils sont nécessaire :
|
||||
1. `pandoc`. Pour installer `pandoc`, voir [la
|
||||
documentation][pandoc-install].
|
||||
1. Une distribution \LaTeX. Une possibilité est de consulter le site web
|
||||
[*The \LaTeX project*][latex-project] qui décline les méthodes les plus
|
||||
habituelles pour les principaux systèmes d'exploitation. **Pour ma part,
|
||||
je recommande l'usage de `tectonic` qui est un binaire à installer** :
|
||||
voir comment [installer tectonic][tectonic-install].
|
||||
|
||||
## Convertir le support de cours en PDF
|
||||
|
||||
### Avec `paged.js`
|
||||
|
||||
Avec cet outil, il est possible de définir les styles des éléments dans le PDF
|
||||
au moyen de règles CSS (voir [paged.js][6]). Dans le dossier
|
||||
`sources/polycopié/` se trouvent un `template.html` utilisé par `pandoc` pour
|
||||
produire un fichier HTML avec les classes et les identifiants désirés. Le
|
||||
fichier `style.css` contient pour sa part la mise en forme permettant d'obtenir
|
||||
un fichier suivant en bonne partie la charte de l'UNIGE.
|
||||
|
||||
Pour pouvoir utiliser `pagedjs`, il faut avoir installé sur sa machine les
|
||||
paquets `npm` suivants :
|
||||
|
||||
```bash
|
||||
npm install -g puppeteer pagedjs pagedjs-cli
|
||||
```
|
||||
|
||||
Puis, on peut produire directement un PDF :
|
||||
|
||||
```bash
|
||||
cd sources/polycopié/
|
||||
pandoc --standalone --embed-resource --citeproc \
|
||||
--to=pdf --pdf-engine=pagedjs-cli \
|
||||
--toc --toc-depth=2
|
||||
--css=style.css \
|
||||
--output=../../public/polycopié.pdf polycopié.md
|
||||
```
|
||||
|
||||
Pour obtenir un fichier HTML, qui peut être ensuite imprimé au format PDF :
|
||||
|
||||
```bash
|
||||
cd sources/polycopié/
|
||||
pandoc --citeproc --to=html \
|
||||
--template=template.html --css=style.css \
|
||||
--output=polycopié.html polycopié.md
|
||||
```
|
||||
|
||||
Puis, lancer un server web local depuis la racine du projet, par exemple avec
|
||||
`python -m http.server` et charger le fichier `polycopié.html` dans un
|
||||
navigateur web, de préférence Chromium (ou Google Chrome), car la gestion des
|
||||
liens est mieux supportée. Un fois le fichier chargé, il faut utiliser la
|
||||
fonction d'impression du navigateur, au format PDF.
|
||||
|
||||
### Avec LaTeX
|
||||
|
||||
L'usage de LaTeX suppose une distribution LaTeX. Le résultat obtenu n'est pas
|
||||
adapté à la charte de l'UNIGE, et n'est pas même optimal.
|
||||
|
||||
Pour convertir le support de cours (`polycopié.md`) au format PDF, il faut
|
||||
utiliser la commande suivante :
|
||||
|
||||
```bash
|
||||
pandoc --citeproc --to=pdf --pdf-engine=tectonic \
|
||||
--output=public/polycopié.pdf \
|
||||
source/polycopié/polycopié.md
|
||||
pandoc --citeproc -t pdf --pdf-engine=tectonic -o polycopié.pdf polycopié.md
|
||||
```
|
||||
|
||||
- `--citeproc` traite les citations et génère la bibliographie.
|
||||
- `--to=pdf` détermine le format de sortie, ici PDF.
|
||||
- `--pdf-engine` définit le moteur de compilation a utiliser pour produire le
|
||||
PDF, ici `tectonic`, mais `xelatex` devrait fonctionner aussi, si il est
|
||||
installé.
|
||||
- `--output=` spécifie le chemin et le nom du fichier généré.
|
||||
|
||||
## [Déroulé de la présentation][7]
|
||||
## Déroulé de la présentation
|
||||
|
||||
Le fichier `déroulé.md` décrit le [déroulé de la présentation][7]. Si une
|
||||
impression est nécessaire, on peut soit utiliser le rendu HTML d'un éditeur,
|
||||
soit le convertir au format désiré puis l'imprimer.
|
||||
Le fichier `déroulé.md` décrit le déroulé de la présentation. Si une impression
|
||||
est nécessaire, on peut soit utiliser le rendu HTML d'un éditeur, soit le
|
||||
convertir au format désiré puis l'imprimer.
|
||||
|
||||
Pour le HTML :
|
||||
|
||||
|
@ -117,11 +66,52 @@ Pour le PDF :
|
|||
pandoc -t pdf --pdf-engine=tectonic -o déroulé.pdf déroulé.md
|
||||
```
|
||||
|
||||
<!-- références -->
|
||||
[1]: ./
|
||||
[2]: https://git.milhit.ch/igor/biblatex-zotero/releases/latest
|
||||
[3]: https://pandoc.org/installing.html
|
||||
[4]: https://www.latex-project.org/get/
|
||||
[5]: https://tectonic-typesetting.github.io/en-US/install.html
|
||||
[6]: https://pagedjs.org/
|
||||
[7]: ./déroulé.md
|
||||
## Support de présentation
|
||||
|
||||
⚠ Il n'y a pas encore de support de présentation. Le fichier est là à titre
|
||||
d'essai pour l'instant.
|
||||
|
||||
### Convertir la présentation au format PDF
|
||||
|
||||
Pour obtenir la présentation au format PDF, il faut utiliser la commande
|
||||
suivante :
|
||||
|
||||
```bash
|
||||
pandoc -t beamer -V theme=AnnArbor \
|
||||
-V colortheme=sidebartab presentation.md -o presentation.pdf
|
||||
```
|
||||
|
||||
- `-t beamer` définit le format de présentation beamer.
|
||||
- `-V theme=Hannover` permet de passer en variable (`-V`) le theme beamer
|
||||
désiré.
|
||||
- `-V colortheme=sidebartab` définit le thème de couleur.
|
||||
|
||||
Une galerie des thèmes et des thèmes de couleurs est disponible en ligne :
|
||||
<https://deic.uab.cat/~iblanes/beamer_gallery/>.
|
||||
|
||||
Il peut être nécessaire de définir l'installation de \LaTeX, par exemple
|
||||
pour `tectonic` :
|
||||
|
||||
```bash
|
||||
pandoc -t beamer -V theme=AnnArbor -V colortheme=sidebartab \
|
||||
--pdf-engine=tectonic presentation.md -o presentation.pdf
|
||||
```
|
||||
|
||||
### Pour convertir la présentation au format HTML (`reveal.js`)
|
||||
|
||||
Il faut s'assurer que `pandoc` soit installé et que le submodule `reveal.js`
|
||||
soit bien activé. Puis, il suffit de taper la commande suivante :
|
||||
|
||||
```bash
|
||||
pandoc -t revealjs --self-contained -o presentation.html presentation.md
|
||||
```
|
||||
|
||||
- `-t revealjs` définit le format de présentation `reveal.js`.
|
||||
- `--self-contained` assure que tous les fichiers nécessaires à la présentation
|
||||
seront bien contenu dans un seul fichier HTML.
|
||||
|
||||
|
||||
[projet]: ./
|
||||
[pandoc-install]: https://pandoc.org/installing.html
|
||||
[latex-project]: https://www.latex-project.org/get/
|
||||
[tectonic-install]: https://tectonic-typesetting.github.io/en-US/install.html
|
||||
|
|
27
déroulé.md
|
@ -7,14 +7,12 @@ tags: [latex, déroulé, rdv-info]
|
|||
|
||||
## Vérifier
|
||||
|
||||
- [ ] Avoir un dossier de travail avec les fichiers :
|
||||
- Avoir un dossier de travail avec les fichiers :
|
||||
- `exercice.tex`.
|
||||
- `references-exercice.bib`
|
||||
- `references-exercice.ris`
|
||||
- [ ] Que la compilation rapide fonctionne soit avec PdfLaTeX ou XeLaTeX.
|
||||
- [ ] Que BibLaTeX soit sur `bibtex %`.
|
||||
- [ ] Imprimer le polycopié et la *cheatsheet*. Ou préparer les liens vers les
|
||||
documents pour une session en visio.
|
||||
- Que la compilation rapide fonctionne soit avec PdfLaTeX ou XeLaTeX.
|
||||
- Que BibLaTeX soit sur `bibtex %`.
|
||||
- Imprimer le polycopié et la *cheatsheet*.
|
||||
|
||||
## Déroulé
|
||||
|
||||
|
@ -37,16 +35,8 @@ tags: [latex, déroulé, rdv-info]
|
|||
|
||||
### Exercice
|
||||
|
||||
1. Proposer d'importer `references-exercice.ris`.
|
||||
1. Export Zotero.
|
||||
1. Better BibTeX. Exporter et montrer la liste des exportations.
|
||||
1. Ouvrir le fichier `exercice.tex` avec Texmaker.
|
||||
1. Montrer :
|
||||
1. Commentaires, dont l'insertion de la bibliographie.
|
||||
1. Préambule avec les paquets et les options utilisés.
|
||||
1. Dont biblatex, ses options et la base de donnée de références.
|
||||
1. Structure du document.
|
||||
1. Commandes.
|
||||
1. Better BibTeX.
|
||||
1. Montrer comment configurer la compilation dans Texmaker.
|
||||
1. `biber %` pour BibLaTeX.
|
||||
1. Compilation rapide avec :
|
||||
|
@ -54,6 +44,13 @@ tags: [latex, déroulé, rdv-info]
|
|||
PDF.
|
||||
1. Soit, avec l'assistant XeLaTeX, Biber, XeLaTeX 2x et affichage du
|
||||
PDF.
|
||||
1. Ouvrir le fichier `exercice.tex` avec Texmaker.
|
||||
1. Monter :
|
||||
1. Commentaires, dont l'insertion de la bibliographie.
|
||||
1. Préambule avec les paquets et les options utilisés.
|
||||
1. Dont biblatex, ses options et la base de donnée de références.
|
||||
1. Structure du document.
|
||||
1. Commandes.
|
||||
1. Compiler le fichier tel quel.
|
||||
1. **Laisser faire.**
|
||||
1. Montrer les fichiers auxiliaires.
|
||||
|
|
|
@ -4,15 +4,13 @@
|
|||
% Article, format A4, taille de police 11pt, en français
|
||||
\documentclass[11pt,a4paper,french]{article}
|
||||
% Package used for the language managment. Implies XeLaTeX
|
||||
\usepackage{polyglossia}
|
||||
% \usepackage{polyglossia}
|
||||
% Sets the default language
|
||||
\setdefaultlanguage{french}
|
||||
% \setdefaultlanguage{french}
|
||||
% URL and link management. Mandatory for Vancouver
|
||||
\usepackage{hyperref}
|
||||
% Management of the French language with PdfLaTeX
|
||||
%\usepackage[utf8]{inputenc}
|
||||
%\usepackage[french]{babel}
|
||||
|
||||
\usepackage[french]{babel}
|
||||
\usepackage{hyperref}
|
||||
% Améliore le rendu des guillemets selon la langue, conseillé avec polyglossia
|
||||
\usepackage{csquotes}
|
||||
% Uses modern font (better rendering)
|
||||
|
|
|
@ -1,97 +0,0 @@
|
|||
TY - ELEC
|
||||
TI - BibTeX, natbib, biblatex: Managing citations in LaTeX: BibTeX and natbib.
|
||||
AU - Bohemier, Kayleigh
|
||||
T2 - Yale University Library Research Guides
|
||||
AB - A short guide linking to documentation, resources for bibliographic citation styles, and other useful tools to use when citing sources using .bib files and associated packages.
|
||||
LA - eng
|
||||
ST - Yale university library research guides
|
||||
UR - https://guides.library.yale.edu/bibtex/bibtex-natbib
|
||||
Y2 - 2022/05/17/
|
||||
KW - cmu
|
||||
KW - non lu
|
||||
KW - biblatex-zotero-exercice
|
||||
ER -
|
||||
|
||||
TY - CONF
|
||||
TI - What makes A good reference manager? A quantitative analysis of bibliography management applications
|
||||
AU - Cai, Tongan
|
||||
AU - Chen, Chacha
|
||||
AU - Huang, Ting-Hao
|
||||
AU - Ritter, Frank E
|
||||
C3 - Asian CHI symposium 2021
|
||||
DA - 2021/05/08/
|
||||
PY - 2021
|
||||
DO - 10.1145/3429360.3468183
|
||||
SP - 64
|
||||
EP - 69
|
||||
LA - english
|
||||
PB - ACM
|
||||
SN - 978-1-4503-8203-8
|
||||
ST - What makes A good reference manager?
|
||||
UR - https://dl.acm.org/doi/10.1145/3429360.3468183
|
||||
Y2 - 2022/07/21/
|
||||
KW - cmu
|
||||
KW - non lu
|
||||
KW - biblatex-zotero-exercice
|
||||
ER -
|
||||
|
||||
TY - JOUR
|
||||
TI - A code-switching asymmetry in bilingual children: Code-switching from Dutch to Frisian requires more cognitive control than code-switching from Frisian to Dutch
|
||||
AU - Bosma, Evelyn
|
||||
AU - Blom, Elma
|
||||
T2 - International Journal of Bilingualism
|
||||
AB - Aims and Objectives/Purpose/Research Questions: Recent research suggests that cognitive control plays a role in code-switching, both in bilingual adults and in bilingual children. Code-switching would only require cognitive control, however, when speakers maintain some degree of separation between their two languages, not when they completely mix the lexicons and grammars of their languages. For Frisian–Dutch bilinguals, mixing of Dutch (majority language) into Frisian (minority language) is common, but mixing of Frisian into Dutch is not. Therefore, Frisian–Dutch bilinguals need to maintain some degree of language separation when they speak Dutch, but not when they speak Frisian, predicting that code-switching from Dutch to Frisian would affect cognitive control more than vice versa. Design/Methodology/Approach: Frisian–Dutch bilingual children aged 5 and 6 ( n = 104) completed a Flanker task. Information about frequency of code-switching from Dutch to Frisian and frequency of code-switching from Frisian to Dutch was obtained through a parental questionnaire. Data and Analysis: Multiple hierarchical regression analyses showed that frequency of code-switching from Dutch to Frisian significantly predicted performance on a Flanker task, but that frequency of code-switching from Frisian to Dutch did not. Findings/Conclusions: The results suggests that code-switching from Dutch to Frisian requires more cognitive control than code-switching from Frisian to Dutch. Originality: This is the first study that shows a code-switching asymmetry in the context of a minority–majority language pair. Significance/Implications: The study supports the hypothesis that code-switching requires more cognitive control when a bilingual speaker has to maintain some degree of language separation between her or his two languages.
|
||||
DA - 2019/12//
|
||||
PY - 2019
|
||||
DO - 10.1177/1367006918798972
|
||||
VL - 23
|
||||
IS - 6
|
||||
SP - 1431
|
||||
EP - 1447
|
||||
J2 - International Journal of Bilingualism
|
||||
LA - english
|
||||
SN - 1756-6878
|
||||
KW - cmu
|
||||
KW - non lu
|
||||
KW - biblatex-zotero-exercice
|
||||
ER -
|
||||
|
||||
TY - BOOK
|
||||
TI - Les méthodes de l'entretien en sciences sociales
|
||||
AU - Sauvayre, Romy
|
||||
T2 - Psycho sup. Psychologie sociale
|
||||
CY - Paris
|
||||
DA - 2013///
|
||||
PY - 2013
|
||||
SP - 138
|
||||
PB - Dunod
|
||||
SN - 978-2-10-057970-9
|
||||
KW - Entretiens
|
||||
KW - cmu
|
||||
KW - Sociologie
|
||||
KW - non lu
|
||||
KW - Enquêtes sociologiques
|
||||
KW - biblatex-zotero-exercice
|
||||
ER -
|
||||
|
||||
TY - CHAP
|
||||
TI - Paradigms in qualitative research
|
||||
AU - Sławecki, Bartosz
|
||||
T2 - Qualitative methodologies in organization studies
|
||||
A2 - Ciesielska, Malgorzata
|
||||
A2 - Jemielniak, Dariusz
|
||||
CY - Cham
|
||||
DA - 2018///
|
||||
PY - 2018
|
||||
SP - 7
|
||||
EP - 26
|
||||
LA - english
|
||||
PB - Springer International Publishing
|
||||
SN - 978-3-319-65217-7
|
||||
UR - http://link.springer.com/10.1007/978-3-319-65217-7_2
|
||||
Y2 - 2022/11/08/
|
||||
KW - cmu
|
||||
KW - non lu
|
||||
KW - biblatex-zotero-exercice
|
||||
ER -
|
||||
|
After Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 35 KiB |
|
@ -1,18 +1,35 @@
|
|||
---
|
||||
title: "Citer ses références et créer une bibliographie avec LaTeX et Zotero"
|
||||
date: Automne 2024
|
||||
creation_date: 2023-03-24T08:25:47+0100
|
||||
title: "Citer ses références et créer une bibliographie avec \\LaTeX"
|
||||
date: 2023-03-30
|
||||
creation_date: 2023-03-24T08:25:47+01:00
|
||||
id: 20230324082557
|
||||
logo:
|
||||
- ../medias/latex-logo.svg
|
||||
- ../medias/zotero-logo.png
|
||||
author:
|
||||
- Dimitri Donzé^[Bibliothèque de l'UNIGE, site UNIMAIL]
|
||||
- Vincent Huber^[Bibliothèque de l'UNIGE, site Arve]
|
||||
- Igor Milhit^[Bibliothèque de l'UNIGE, site CMU]
|
||||
lang: fr
|
||||
bibliography: references.json
|
||||
csl: heg-iso-690.csl
|
||||
bibliography: references-support.bib
|
||||
reference-section-title: Bibliographie
|
||||
nocite: '@*'
|
||||
link-citations: true
|
||||
---
|
||||
|
||||
## Table des matières
|
||||
|
||||
1. [Objectifs][toc0].
|
||||
1. [Principes généraux][toc1].
|
||||
1. [Structure d'une référence dans un fichier `.bib`][toc2].
|
||||
1. [Créer un fichier .bib via Zotero][toc3].
|
||||
1. [Utilisation de BibLaTeX][toc6].
|
||||
1. [Bibliographie][toc7].
|
||||
|
||||
[toc0]: #objectifs
|
||||
[toc1]: #principes-généraux
|
||||
[toc2]: #structure-dune-référence-dans-un-fichier-.bib
|
||||
[toc3]: #créer-un-fichier-.bib-via-zotero
|
||||
[toc6]: #utilisation-de-biblatex
|
||||
[toc7]: #refs
|
||||
|
||||
## Objectifs
|
||||
|
||||
Au terme de cet atelier, vous serez en mesure de :
|
||||
|
@ -20,50 +37,46 @@ Au terme de cet atelier, vous serez en mesure de :
|
|||
- Comprendre ce qu'est un fichier `.bib`.
|
||||
- Connaître la structure d'une référence.
|
||||
- Créer ou de générer un fichier `.bib`.
|
||||
- Charger les paquets nécessaires dans le préambule pour configurer BibLaTeX.
|
||||
- Utiliser les commandes BibLaTeX pour :
|
||||
- Définir le style de citation et de bibliographie.
|
||||
- Charger les paquets nécessaires dans leur fichier `.tex` et utiliser les
|
||||
outils de composition pour générer le document final.
|
||||
- Utiliser les commandes LaTeX pour :
|
||||
- Définir leur le style de citation et de bibliographie.
|
||||
- Insérer une citation et un appel de citation.
|
||||
- Insérer une bibliographie.
|
||||
- Compiler le document final.
|
||||
- Créer une bibliographie.
|
||||
|
||||
:::{#licence}
|
||||
![Logo de la licence CC BY-SA 4.0][1] \
|
||||
[CC BY-SA 4.0][2] --- [Sources][3]
|
||||
:::
|
||||
|
||||
|
||||
<!-- références -->
|
||||
![Logo de la licence CC BY-SA 4.0](media/by-sa.png) \
|
||||
Ce document est sous licence [*CC BY-SA 4.0*][cc-by-sa].
|
||||
|
||||
[1]: ./static/by-sa.svg
|
||||
[2]: https://creativecommons.org/licenses/by-sa/4.0/deed.fr "Texte de la licence en français"
|
||||
[3]: https://git.milhit.ch/igor/biblatex-zotero "Projet git du document"
|
||||
[cc-by-sa]: https://creativecommons.org/licenses/by-sa/4.0/deed.fr "Texte de la licence en français"
|
||||
|
||||
## Principes généraux {#first-section}
|
||||
\newpage
|
||||
|
||||
> « Dans LaTeX il faut distinguer le langage de balisage, le système de
|
||||
> composition et la *distribution*. » [@fauchieFabriquesPublicationLaTeX2020]
|
||||
## Principes généraux
|
||||
|
||||
> Dans LaTeX il faut distinguer le langage de balisage, le système de
|
||||
> composition et la *distribution*. @fauchieFabriquesPublicationLaTeX2020
|
||||
|
||||
Pour générer des documents avec LaTeX, il faut :
|
||||
|
||||
- Rédiger un document dans un fichier `.tex` à l'aide du *langage de balisage*,
|
||||
- Rédiger un document dans un fichier `.tex` à l'aide du langage de balisage,
|
||||
afin de le structurer.
|
||||
- Compiler ce fichier avec un *système (ou moteur) de composition*, par exemple
|
||||
- Compiler ce fichier avec un système (ou moteur) de composition, par exemple
|
||||
LaTeX, PdfLaTeX ou XeLaTeX.
|
||||
|
||||
Pour disposer d'un tel système de composition, le plus souvent on installe un
|
||||
*environnement ou une distribution* LaTeX, par exemple TeX Live pour Linux,
|
||||
MacTex pour Mac OS ou MiKTeX pour Windows[^0]. Il est aussi possible
|
||||
d'installer des distributions plus minimales, comme `tectonic` ou TinyTeX[^6].
|
||||
|
||||
Afin de faciliter la collaboration ou pour s'éviter une installation parfois
|
||||
laborieuse, des services en ligne sont préférés, comme
|
||||
environnement ou une distribution LaTeX, par exemple TeX Live pour Linux,
|
||||
MacTex pour Mac OS ou MiKTeX pour Windows.[^0] De plus en plus souvent,
|
||||
toutefois, afin de faciliter le travail en collaboration ou pour s'éviter une
|
||||
installation parfois laborieuse, des services en ligne sont préférés, comme
|
||||
<https://www.overleaf.com/>.
|
||||
|
||||
Enfin, un éditeur est nécessaire pour travailler sur les sources (le ou les
|
||||
fichiers `.tex`). N'importe quel éditeur de texte suffit, mais des aides comme
|
||||
la coloration syntaxique, la complétion des commandes ou la gestion de la
|
||||
Enfin, un éditeur de texte est nécessaire pour travailler sur les sources (le
|
||||
ou les fichiers `.tex`). N'importe quel éditeur suffit, mais des aides comme la
|
||||
coloration syntaxique, la complétion des commandes ou la gestion de la
|
||||
compilation autrement que dans une console sont très utiles. Parmi une liste
|
||||
plutôt riche, les éditeurs suivants peuvent être mentionnés :
|
||||
impressionnante, les éditeurs suivants peuvent être mentionnés :
|
||||
|
||||
- Texmaker, libre, multiplatforme, <https://www.xm1math.net/texmaker/>.
|
||||
- TeXworks, libre, multiplatforme, <https://www.tug.org/texworks/>.
|
||||
|
@ -77,22 +90,17 @@ d'un fichier dont l'extension est `.bib`, ce qui correspond :
|
|||
- soit à la structure BibTeX,
|
||||
- soit à la structure Biber pour BibLaTeX.
|
||||
|
||||
Ce fichier `.bib` se place le plus souvent dans le même dossier que le document
|
||||
`.tex` de travail, mais il est possible de l'enregistrer n'importe où et de
|
||||
préciser son chemin dans le fichier `tex`.
|
||||
|
||||
<!-- références -->
|
||||
Ce fichier `.bib` se place le plus souvent dans le même dossier
|
||||
que le document `.tex` de travail.
|
||||
|
||||
[^0]: Voir le site <https://www.latex-project.org/get/>.
|
||||
[^6]: Voir le site <https://tectonic-typesetting.github.io> ou
|
||||
le site <https://yihui.org/tinytex/>.
|
||||
|
||||
### BibTeX VS BibLaTeX {#bibtex-vs-biblatex .newpage}
|
||||
### BibTeX VS BibLaTeX
|
||||
|
||||
BibTex est le logiciel historique pour la gestion des références et des
|
||||
bibliographies dans un document `.tex`. Il est aussi le plus souvent mentionné
|
||||
dans les exigences des éditeurs scientifiques. Pourtant, ce logiciel n'est plus
|
||||
développé depuis de plusieurs décennies et n'offre pas facilement les
|
||||
bibliographies dans un document `.tex`. Il est aussi le plus répandu dans les
|
||||
exigences des éditeurs scientifiques. Pourtant, ce logiciel n'est plus
|
||||
développé depuis de nombreuses décennies et n'offre pas facilement les
|
||||
fonctionnalités auxquelles nous pouvons nous attendre actuellement.
|
||||
|
||||
Aussi Biber (et BibLaTeX) est fortement conseillé et c'est pourquoi il n'est
|
||||
|
@ -101,12 +109,11 @@ encore constamment. En ne chargeant que le paquet `biblatex`, il est possible
|
|||
de définir le type d'appel de citation (notes en bas de page, numéro,
|
||||
auteur-date, etc.) et différents style de bibliographies.
|
||||
|
||||
Débuter avec BibLaTeX n'empêche pas de passer à BibTeX ensuite.
|
||||
Débuter avec BibLaTeX n'empêche pas de passer à BibTeX ensuite, si nécessaire.
|
||||
|
||||
## Structure d'une référence dans un fichier `.bib`
|
||||
|
||||
Une référence dans un fichier `.bib` au format BibLaTeX ressemble à ce qui
|
||||
suit :
|
||||
Une référence dans un fichier `.bib` au format BibLaTeX ressemble à cela :
|
||||
|
||||
```bib
|
||||
@book{sauvayreMethodesEntretienSciences2013,
|
||||
|
@ -118,6 +125,7 @@ suit :
|
|||
publisher = {Dunod},
|
||||
author = {Sauvayre, Romy},
|
||||
date = {2013},
|
||||
note = {Book Title: Les méthodes de l'entretien en sciences sociales},
|
||||
keywords = {Enquêtes sociologiques, Entretiens, Sociologie},
|
||||
}
|
||||
```
|
||||
|
@ -127,7 +135,7 @@ La première ligne définit le type de document, sous la forme `@type` (`@book`,
|
|||
clé de citation (*Citekey*), c'est-à-dire l'identifiant unique de la référence
|
||||
qui sera indiquée dans le document `.tex`, afin d'insérer une référence. \
|
||||
Les lignes suivantes correspondent aux champs de la référence, sous la forme
|
||||
`champ = {valeur}`, séparées par une virgule.
|
||||
`champ = {valeur}`, séparés par une virgule.
|
||||
|
||||
La documentation BibLaTeX détaille l'ensemble des types et des champs
|
||||
[@lehmanBiblatexPackageProgrammable2023, p. 7]. Une *cheatsheet* les liste
|
||||
|
@ -139,14 +147,12 @@ revues ou de catalogues de bibliothèques permettent de télécharger une ou
|
|||
plusieurs références dans un fichier `.bib`, mais le plus souvent dans la
|
||||
structure BibTeX et non pas BibLaTeX.
|
||||
|
||||
Mais, il est recommandé de déléguer la gestion du fichier `.bib` à un logiciel
|
||||
Mais il est recommandé de déléguer la gestion du fichier `.bib` à un logiciel
|
||||
de gestion de références bibliographiques, comme JabRef[^1] ou Zotero[^2].
|
||||
L'intérêt de ces logiciels est d'éviter les erreurs et d'automatiser en partie
|
||||
la collecte de références.
|
||||
l'ajout de références dans sa base de données.
|
||||
|
||||
<!-- références -->
|
||||
|
||||
[^1]: Logiciel multiplatforme et libre, supporte BibTeX et Biber nativement. <https://www.jabref.org/>
|
||||
[^1]: Logiciel multiplatforme et libre, BibTeX et Biber natif. <https://www.jabref.org/>
|
||||
[^2]: Logiciel multiplatforme et libre. <https://www.zotero.org/>
|
||||
|
||||
## Créer un fichier `.bib` via Zotero
|
||||
|
@ -163,10 +169,11 @@ Il suffit de :
|
|||
- Faire un clic-droit et sélectionner *Exporter la collection / les documents*.
|
||||
- Choisir le format BibTeX ou BibLaTeX.[^3]
|
||||
|
||||
Ce procédé très simple a néanmoins un inconvénient : le fichier créé est
|
||||
statique. Il ne sera pas mis à jour automatiquement si la collection est
|
||||
complétée, ou si les références sont corrigées dans Zotero. Il faudra générer à
|
||||
nouveau et écraser le fichier `.bib` pour qu'il soit à jour.
|
||||
Ce procédé très simple a néanmoins un inconvénient, qui est que le fichier créé
|
||||
est statique, c'est-à-dire qu'il ne sera pas mis à jour automatiquement si la
|
||||
collection est complétée, ou si les références sont corrigées dans Zotero. Il
|
||||
faudra générer à nouveau et écraser le fichier `.bib` pour qu'il soit à
|
||||
jour.
|
||||
|
||||
[^3]: Il est également possible d'exporter une bibliothèque au format
|
||||
BibTeX depuis d'autres logiciels bibliographiques, notamment
|
||||
|
@ -185,28 +192,25 @@ L'extension *Better BibTeX for Zotero* résout deux problèmes des fichiers
|
|||
contenu de celui-ci sera mis à jour automatiquement lorsque la collection
|
||||
correspondante dans Zotero sera modifiée**. Pour cela, il faut choisir le
|
||||
format d'exportation *Better BibTeX* ou *Better BibLaTeX* et sélectionner
|
||||
l'option *Garder à jour*. (Figure 1) \
|
||||
l'option *Garder à jour.* \
|
||||
![Dialogue Better BibTex](./media/better-bibtex-a-jour.png)
|
||||
1. Elle permet de **modifier une clé de citation (citekey) manuellement ou de
|
||||
créer un format de citekey par défaut.**
|
||||
|
||||
![Fenêtre de dialogue de Better BibTex](../medias/better-bibtex-a-jour.png)
|
||||
|
||||
Pour installer l'extension (au format `.xpi`) *Better BibTeX* :
|
||||
|
||||
- Se rendre sur <https://github.com/retorquere/zotero-better-bibtex/releases/latest>.
|
||||
- Télécharger le fichier `Zotero-better-bibtex-X.X.X.xpi`.
|
||||
- Dans Zotero, choisir le menu *Outils / Extensions* (Figure 2).
|
||||
- Dans Zotero, choisir le menu *Outils / Extensions*. \
|
||||
![Menu « outils » de Zotero](./media/menu-outils.png)
|
||||
- Cliquer sur la roue crantée en haut à droite et sélectionner *Install Add-on
|
||||
from file* (Figure 3).
|
||||
from file*. \
|
||||
![Installer un fichier `.xpi`](./media/install-add-on.png)
|
||||
- Sélectionner le fichier téléchargé.
|
||||
|
||||
![Menu « outils » de Zotero](../medias/menu-outils.png)
|
||||
|
||||
![Installer un fichier `.xpi`](../medias/install-add-on.png)
|
||||
|
||||
### Autres fonctionnalités de Better BibTeX
|
||||
|
||||
*Better BibTeX* propose des fonctionnalités plus avancées :
|
||||
Better BibTeX propose des fonctionnalités plus avancées :
|
||||
|
||||
- Création et gestion de clés uniques.
|
||||
- Conversion des caractères UTF-8 et des éventuels balisages HTML
|
||||
|
@ -218,7 +222,8 @@ Ces fonctionnalités ne seront pas décrites en détail dans ce document.
|
|||
Les informations supplémentaires à ce sujet sont disponibles sur le site
|
||||
<https://retorque.re/zotero-better-BibTeX/>.
|
||||
|
||||
## Configurer la compilation
|
||||
|
||||
## Configuer la compilation
|
||||
|
||||
Pour générer le fichier PDF à partir des sources `.tex` et `.bib`, il est
|
||||
nécessaire de configurer le système de composition que l'on va utiliser. Il
|
||||
|
@ -231,27 +236,25 @@ L'exemple donné ci-dessous est adapté à l'exercice et à l'utilisation de
|
|||
l'éditeur Texmaker, mais le principe est similaire dans les différents
|
||||
environnement.
|
||||
|
||||
Dans Texmaker, la fonction pour lancer BibTeX ou Biber (BibLaTeX) est la même.
|
||||
Il faut donc lui préciser lequel on utilise :
|
||||
Dans Texmaker, la fonction pour lancer BibTeX ou Biber est la même. Il faut
|
||||
donc lui préciser lequel on utilise :
|
||||
|
||||
1. Menu Options.
|
||||
1. Configurer Texmaker.
|
||||
1. Dans l'onglet *Commandes*, chercher l'entrée *Bib(la)tex* et entrer
|
||||
`biber %` (Figure 4).
|
||||
|
||||
![Configuer Biber pour BibLaTeX dans Texmaker](../medias/texmaker-biber.png)
|
||||
1. Dans l'onglet *Commandes*, chercher l'entrée *Bib(la)tex* et entrer `biber
|
||||
%`. \
|
||||
![Configuer Biber pour BibLaTeX](./media/texmaker-biber.png)
|
||||
|
||||
Lorsque l'on compile avec des références bibliographiques, il est nécessaire de
|
||||
le faire quatre fois :
|
||||
|
||||
1. XeLaTeX.
|
||||
1. LaTeX.
|
||||
1. Biber.
|
||||
1. XeLaTeX.
|
||||
1. XeLaTeX.
|
||||
1. Afficher le PDF.
|
||||
1. LaTeX.
|
||||
1. LaTeX.
|
||||
|
||||
Heureusement Texmaker permet de configurer une *Compilation rapide* qui lance
|
||||
automatiquement ces quatre itérations :
|
||||
Heureusement Texmaker permet de configure une *Compilation rapide* qui lance
|
||||
tout seul ces quatre itération :
|
||||
|
||||
1. Menu Options.
|
||||
1. Configurer Texmaker.
|
||||
|
@ -259,23 +262,21 @@ automatiquement ces quatre itérations :
|
|||
1. Choisir la suite de commande à lancer.
|
||||
|
||||
Dans le cas de l'exercice présenté, une bonne solution est d'utiliser XeLaTeX.
|
||||
Pour cela, il faut choisir l'option *Utilisateur* et utiliser l'assistant
|
||||
(figure 5).
|
||||
Pour cela, il faut choisir l'option *Utilisateur* et utiliser l'assistant.
|
||||
|
||||
![Assistant de configuration de compil rapide](../medias/compil-rapide-assistant.png)
|
||||
![Assistant de configuration de compil rapide](./media/compil-rapide-assistant.png)
|
||||
|
||||
Puis, dans l'assistant, sélectionner les commandes à ajouter, une à une, dans
|
||||
l'ordre (figure 6).
|
||||
l'ordre.
|
||||
|
||||
![Ajout des commandes dans l'assistant](../medias/compil-rapide-liste.png)
|
||||
![Ajout des commandes](./media/compil-rapide-liste.png)
|
||||
|
||||
Les services web comme Overleaf ou les outils comme `tectonic`[^5] prennent
|
||||
eux-mêmes en charge ce genre de complexité.
|
||||
Les outils comme Overleaf ou `tectonic`[^5] prennent eux-mêmes en charge ce
|
||||
genre de complexité.
|
||||
|
||||
[^5]: Voir <https://tectonic-typesetting.github.io>. L'intérêt de `tectonic`
|
||||
est qu'il s'occupe de télécharger à la volée des logiciels nécessaires en
|
||||
fonction de ce qui est indiqué dans le préambule, ce qui évite d'installer une
|
||||
distribution de LaTeX volumineuse. À l'exception de Biber qui doit être
|
||||
[^5]: Voir <https://tectonic-typesetting.github.io>. L'intérêt de cet outil est
|
||||
qu'il s'occupe de télécharger à la volée des logiciels nécessaires en fonction
|
||||
de ce qui est indiqué dans le préambule. À l'exception de Biber qui doit être
|
||||
installé sur le système.
|
||||
|
||||
## Utilisation de BibLaTeX
|
||||
|
@ -285,7 +286,7 @@ installé sur le système.
|
|||
Voici un exemple de préambule avec le paquet `biblatex` et quelques options :
|
||||
|
||||
```latex
|
||||
\documentclass[11pt,a4paper,french]{article}
|
||||
\documentclass[11pt,a4paper]{article}
|
||||
\usepackage{lmodern}
|
||||
\usepackage[french]{babel}
|
||||
\usepackage[utf8]{inputenc}
|
||||
|
@ -312,9 +313,9 @@ Pour plus de finesse, existent les options `citestyle` pour définit le style de
|
|||
citation et `bibstyle` pour le style bibliographique. Le plus souvent l'option
|
||||
`style` suffit.
|
||||
|
||||
La commande `\addbibresource{<nom-du-fichier>.bib}` permet de définir le chemin
|
||||
et le fichier contenant les références bibliographiques. Le plus simple, est de
|
||||
le placer dans le même répertoire que le fichier `.tex`.
|
||||
La commande `\addbibresource{<nom-du-fichier>.bib}` permet de définir le
|
||||
fichier contenant les références bibliographiques. Le plus simple, est de le
|
||||
placer dans le même répertoire que le fichier `.tex`.
|
||||
|
||||
### Insérer des citations
|
||||
|
||||
|
@ -326,12 +327,12 @@ la *cheatsheet*), pour les différents cas. La syntaxe est la suivante :
|
|||
```
|
||||
|
||||
- `\cite` est la commande proprement dite, qui détermine le type de citation
|
||||
utilisée (`\cite`, `\autocite`, etc.).
|
||||
utilisée.
|
||||
- `[<pre>]`, optionnel, permet d'ajouter du texte avant l'appel à citation. Par
|
||||
exemple `[voir]` permet d'obtenir `(voir Auteur, date)`.
|
||||
- `[<post>]`, optionnel, ajoute du texte après l'appel à citation, comme un
|
||||
numérotation de pages.
|
||||
- `{<key>}`, obligatoire, est la clé de citation indiquant de quelle référence
|
||||
- `{<ke>}`, obligatoire, est la clé de citation indiquant de quelle référence
|
||||
il s'agit. Par exemple `{slaweckiParadigmsQualitativeResearch2018}`.
|
||||
|
||||
Voici les appels de citation les plus utiles :
|
||||
|
@ -349,7 +350,7 @@ simultanément : `\autocites{<key1>}{<key2>}`.
|
|||
La commande `\printbibliography` insère la bibliographie. Elle se place
|
||||
généralement à la fin du document, mais ce n'est pas obligatoire.
|
||||
|
||||
Elle peut prendre un certain nombre d'options, par exemple :
|
||||
Elle peut prendre un certain nombre d'options :
|
||||
|
||||
```latex
|
||||
\printbibliography[title=Bibliographie]
|
||||
|
@ -363,28 +364,26 @@ comprendre comment réaliser une bibliographie pour une section du document, ou
|
|||
une bibliographie ne contenant que les références liées à un mot clé
|
||||
particulier.
|
||||
|
||||
### Enrichir BibLaTeX
|
||||
## Enrichir BibLaTeX
|
||||
|
||||
Dans la bibliographie est indiqué une ressource en ligne qui liste des paquets
|
||||
pouvant être installés, afin d'enrichir BibLaTeX [@CTANTopicBibLaTeX]. Dans ces
|
||||
pouvant être installés afin d'enrichir BibLaTeX [@CTANTopicBibLaTeX]. Dans ces
|
||||
paquets, on trouve par exemple des styles bibliographiques. Or, pour les
|
||||
installer, il faut savoir dans quel répertoire il faut ajouter les fichiers, si
|
||||
nécessaire. Pour cela, une commande peut être tapée dans une console (par
|
||||
exemple Powershell pour Windows, iterm pour Mac OS ou votre terminal Linux) :
|
||||
|
||||
```bash
|
||||
> kpsewhich --var-value TEXMFLOCAL
|
||||
kpsewhich --var-value TEXMFLOCAL
|
||||
/usr/local/share/texmf:/usr/share/texmf
|
||||
```
|
||||
|
||||
La deuxième ligne est, la sortie de la commande, à savoir le chemin
|
||||
correspondant à l'installation de LaTeX où les répertoires et fichiers peuvent
|
||||
être ajoutés.
|
||||
La deuxième ligne est le chemin correspondant à l'installation de LaTeX où les
|
||||
répertoires et fichiers peuvent être ajoutés.
|
||||
|
||||
Sous Windows la commande ne prend qu'un tiret pour le paramètre :
|
||||
⚠ Sous Windows la commande ne prend qu'un tiret pour le paramètre :
|
||||
|
||||
```bash
|
||||
kpsewhich -var-value TEXMFLOCAL
|
||||
```
|
||||
|
||||
## Bibliographie {.newpage}
|
|
@ -0,0 +1,150 @@
|
|||
@online{BibliographyLaTeXBibtex2021,
|
||||
title = {Bibliography in {{LaTeX}} with {{Bibtex}}/{{Biblatex}}},
|
||||
date = {2021-07-19},
|
||||
url = {https://latex-tutorial.com/tutorials/bibtex/},
|
||||
urldate = {2023-03-23},
|
||||
abstract = {Learn how to create a bibliography with Bibtex and Biblatex in a few simple steps. Create references / citations and autogenerate footnotes. Creating a .bib file Using BibTeX Autogenerate footnotes},
|
||||
langid = {english},
|
||||
organization = {{LaTeX-Tutorial.com}},
|
||||
keywords = {BibLaTeX,bibliographie,BibTeX,citation,LaTeX,non lu,publication numérique,Publication scientifique,référence,tutoriel},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\DSVLP28T\\bibtex.html}
|
||||
}
|
||||
|
||||
@online{CTANTopicBibLaTeX,
|
||||
title = {{{CTAN}}: {{Topic BibLaTeX}}},
|
||||
url = {https://ctan.org/topic/biblatex},
|
||||
urldate = {2023-03-29},
|
||||
organization = {{CTAN: Comprehensive TeX Archive Network}},
|
||||
keywords = {non lu},
|
||||
note = {Liste de paquets pour BibLaTeX.},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\PXFRRUVX\\biblatex.html}
|
||||
}
|
||||
|
||||
@online{fauchieFabriquesPublicationLaTeX2020,
|
||||
title = {Fabriques de publication : LaTeX},
|
||||
shorttitle = {Fabriques de publication},
|
||||
author = {Fauchié, Antoine},
|
||||
date = {2020-04-29},
|
||||
url = {https://www.quaternum.net/2020/04/29/fabriques-de-publication-latex/},
|
||||
urldate = {2023-03-23},
|
||||
langid = {french},
|
||||
organization = {{quaternum.net}},
|
||||
keywords = {LaTeX,non lu,publication numérique,Publication scientifique},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\JWPGF6XM\\fabriques-de-publication-latex.html}
|
||||
}
|
||||
|
||||
@online{grolimundZoteroLaTeX2019,
|
||||
type = {Billet},
|
||||
title = {Zotero et LaTeX},
|
||||
author = {Grolimund, Raphaël},
|
||||
date = {2019-09-24},
|
||||
url = {https://zotero.hypotheses.org/762},
|
||||
urldate = {2023-03-29},
|
||||
abstract = {La rédaction du blog Zotero francophone est très heureuse d’accueillir un billet invité de Raphaël Grolimund sur un sujet qui nous tient à cœur et pour lequel nous apprécions particulièrement son expertise, l’interaction entre...},
|
||||
langid = {french},
|
||||
organization = {{Le blog Zotero francophone}},
|
||||
keywords = {non lu},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\QLMY2JC7\\762.html}
|
||||
}
|
||||
|
||||
@online{LaTeXBibliographiesBiblatex2022,
|
||||
title = {{{LaTeX}}/{{Bibliographies}} with Biblatex and Biber},
|
||||
date = {2022-10-18},
|
||||
url = {https://en.wikibooks.org/wiki/LaTeX/Bibliographies_with_biblatex_and_biber},
|
||||
urldate = {2023-03-29},
|
||||
abstract = {Learn how to create a bibliography using modern biblatex and biber - A short tutorial.},
|
||||
langid = {english},
|
||||
organization = {{Wikibooks, open books for an open world}},
|
||||
keywords = {non lu},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\DYNEELWA\\Bibliographies_with_biblatex_and_biber.html}
|
||||
}
|
||||
|
||||
@misc{lehmanBiblatexPackageProgrammable2023,
|
||||
title = {The Biblatex Package: Programmable Bibliographies and Citations},
|
||||
author = {Lehman, Philipp and Kime, Philip and Wemheuer, Moritz},
|
||||
date = {2023-03-05},
|
||||
url = {https://ctan.org/pkg/biblatex},
|
||||
langid = {english},
|
||||
annotation = {Version 3.19},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\HAQD6ZK6\\Lehman et al. - The biblatex Package.pdf}
|
||||
}
|
||||
|
||||
@online{OverleafDocumentation,
|
||||
title = {Overleaf Documentation},
|
||||
url = {https://www.overleaf.com/learn},
|
||||
urldate = {2023-03-29},
|
||||
abstract = {An online LaTeX editor that’s easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.},
|
||||
langid = {english},
|
||||
keywords = {non lu},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\XRCVQHKC\\learn.html}
|
||||
}
|
||||
|
||||
@misc{patashnikBibtexing1988,
|
||||
title = {Bibtexing},
|
||||
author = {Patashnik, Oren},
|
||||
date = {1988-02-08},
|
||||
url = {https://ctan.org/pkg/bibtex},
|
||||
urldate = {2023-03-28},
|
||||
langid = {english},
|
||||
keywords = {non lu},
|
||||
annotation = {Version 0.99b},
|
||||
note = {Documentation officielle de BibTex},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\SXI58BAA\\btxdoc.pdf}
|
||||
}
|
||||
|
||||
@book{poulainLaTeXPourEnseignants2020,
|
||||
title = {LaTeX pour les enseignants},
|
||||
author = {family=Poulain, given=Nicolas, prefix=mathématicien, useprefix=false},
|
||||
date = {2020},
|
||||
series = {Références sciences},
|
||||
publisher = {{Ellipses}},
|
||||
location = {{Paris}},
|
||||
abstract = {La 4e de couverture indique : "Ce livre a été conçu pour répondre aux questions fréquentes des débutants ainsi que pour servir d'aide aux utilisateurs plus expérimentés. L'accent est mis sur des exemples pratiques qui sont pour la plupart issus de situations concrètes dans l'enseignement. Le code de chacun d'eux (plus de 400) est téléchargeable, et les exemples les plus complets sont modifiables et compilables en ligne avec LaTeX, PdfLaTeX ou XeLaTeX. Les deux premiers chapitres décrivent en détail comment bénéficier d'un environnement de travail et comment compiler ses premiers documents. Toutes les personnalisations sont possibles et les outils pour les mettre en oeuvre sont décrits, objectif par objectif, dans un chapitre consacré à la mise en page. L'organisation particulière d'un document de grande taille comme un livre ou une thèse fait l'objet d'un traitement à part entière, tout comme la question des présentations à projeter avec Beamer. La part consacrée aux mathématiques est évidemment importante. L'écriture de formules ou la création de tableaux de variations sont présentées en détail, ainsi qu'avec PSTricks et TikZ, le tracé de figures géométriques, de courbes ou de graphes. Les sciences physiques, la chimie et l'informatique sont aussi abordées via l'étude de packages officiels qui étendent les possibilités de LaTeX et simplifient l'écriture pour les besoins particuliers dans ces domaines."},
|
||||
isbn = {978-2-340-03671-0},
|
||||
langid = {fre},
|
||||
pagetotal = {226},
|
||||
keywords = {à lire,enseignement,LaTeX,non lu,publication numérique}
|
||||
}
|
||||
|
||||
@misc{reesBibLaTeXBiberCheat2017,
|
||||
title = {{{BibLaTeX}}/{{Biber}} ‘Cheat Sheet’},
|
||||
author = {Rees, Clea F.},
|
||||
date = {2017-06-24},
|
||||
url = {https://ctan.org/pkg/biblatex-cheatsheet},
|
||||
urldate = {2023-03-23},
|
||||
langid = {english},
|
||||
keywords = {BibLaTeX,bibliographie,cheat sheet,citation,LaTeX,non lu,référence},
|
||||
file = {C\:\\Users\\milhit\\Zotero\\storage\\QMZI3AFF\\Rees_2017_BibLaTeX-Biber ‘cheat sheet’.pdf}
|
||||
}
|
||||
|
||||
@book{rouquetteXeLaTeXApplique2017,
|
||||
title = {(Xe)LaTeX appliqué aux sciences humaines\,: le seul livre sur LaTeX sans une seule équation\,!},
|
||||
shorttitle = {(Xe)LaTeX appliqué aux sciences humaines},
|
||||
author = {Rouquette, Maïeul},
|
||||
date = {2017},
|
||||
publisher = {{Atramenta}},
|
||||
location = {{Tampere}},
|
||||
abstract = {Pendant longtemps LaTeX n'a été utilisé que dans le domaine des sciences dites «exactes». Pourtant depuis peu les sciences humaines peuvent utiliser efficacement ce formidable outil de composition de textes. Malheureusement, la plupart des introductions à LaTeX abordent peu les outils utiles aux humanités. Ce livre est donc le premier manuel francophone d'introduction à l'usage de LaTeX en sciences humaines. Obtenir une typographie de haute qualité, gérer une bibliographie prolifique, proposer des éditions critiques de textes et des traductions en parallèle : telles sont les nombreuses raisons qui devraient pousser ces spécialistes de l'écriture que sont les étudiants et chercheurs en humanités à se tourner vers LaTeX. Telles sont les causes qui ont poussé à la rédaction de ce livre, qui accompagnera --- nous l'espérons --- les humanistes depuis la découverte de LaTeX, dans sa variante XeLaTeX, jusqu'à la personnalisation de l'apparence des textes, en passant par la gestion d'une bibliographie nombreuse sans oublier les éditions critiques de textes et toutes ces petites choses qui font les difficultés et le charme de l'écriture en sciences humaines… D'autres motifs pousseront le lecteur à l'améliorer un jour, car en se partageant le savoir ne se divise pas : il se multiplie. On trouvera les sources sur https://github.com/maieul/latexhumain/tags (version sep\_2012).},
|
||||
editora = {Chabannes, Brendan},
|
||||
editoratype = {collaborator},
|
||||
isbn = {978-952-273-073-2},
|
||||
langid = {fre},
|
||||
pagetotal = {268},
|
||||
keywords = {LaTeX,non lu,publication numérique,Publication scientifique,Sciences humaines},
|
||||
note = {Billet de blog de l'auteur présentant le livre :
|
||||
\par
|
||||
http://geekographie.maieul.net/Xe-LaTeX-applique-aux-sciences}
|
||||
}
|
||||
|
||||
@book{tailletBienDebuterLaTeX2022,
|
||||
title = {Bien débuter en LaTeX},
|
||||
author = {Taillet, Richard},
|
||||
date = {2022},
|
||||
series = {Informatique},
|
||||
publisher = {{De Boeck Supérieur}},
|
||||
location = {{Louvain-la-Neue}},
|
||||
abstract = {Ce livre vous permet de bien débuter en LaTeX, malgré l'aspect complexe de ce logiciel, avec une présentation très progressive et méthodique. LaTeX est un traitement de texte universellement utilisé dans l’édition scientifique, que ce soit par des étudiants, des enseignants ou bien des ingénieurs. Il peut sembler plus difficile à aborder que d’autres traitements de texte, mêlant des balises et une très légère dose de programmation. Ce livre propose une présentation progressive de LaTeX : les notions fondamentales (mise en forme du texte, numérotation automatique, équations mathématiques, figures, tables, références bibliographiques, index, commandes personnalisées, etc) sont abordées de façon actuelle, en tenant compte des évolutions récentes de LaTeX ; de nombreux exemples simples viennent illustrer le texte ; de nombreux exercices permettent de s'entrainer. - éditeur},
|
||||
isbn = {978-2-8073-3989-7},
|
||||
langid = {fre},
|
||||
keywords = {à lire,Édition scientifique,LaTeX,non lu,publication numérique,Publication scientifique}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 724c4fee274914dd2d997b7584cf603c44e96c72
|
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 11 KiB |
|
@ -1,10 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="123" viewBox="0 0 512 123">
|
||||
<g>
|
||||
<path d="M73.915,36.1,19.179,108.014H75.912V120H0v-9.589L54.738,38.493H2.8V26.51H73.915Z" fill="#cc2936"/>
|
||||
<path d="M181.391,73.254a50.99,50.99,0,0,1-3.7,19.578,46.339,46.339,0,0,1-25.97,25.87,52.875,52.875,0,0,1-20.075,3.7,52.316,52.316,0,0,1-19.878-3.7A46.347,46.347,0,0,1,85.8,92.832a50.933,50.933,0,0,1-3.7-19.578,50.923,50.923,0,0,1,3.7-19.576,46.323,46.323,0,0,1,25.97-25.87,52.279,52.279,0,0,1,19.878-3.7,52.837,52.837,0,0,1,20.075,3.7,46.315,46.315,0,0,1,25.97,25.87A50.98,50.98,0,0,1,181.391,73.254Zm-14.383,0a41.934,41.934,0,0,0-2.5-14.583,35.122,35.122,0,0,0-7.09-11.787,33.352,33.352,0,0,0-11.088-7.889,38.643,38.643,0,0,0-29.365,0,32.214,32.214,0,0,0-10.988,7.889,35.905,35.905,0,0,0-6.992,11.787,43.829,43.829,0,0,0,0,29.165,35.813,35.813,0,0,0,6.992,11.787,32.2,32.2,0,0,0,10.988,7.892,38.668,38.668,0,0,0,29.365,0,33.332,33.332,0,0,0,11.088-7.892,35.033,35.033,0,0,0,7.09-11.787A41.9,41.9,0,0,0,167.008,73.254Z" fill="#222"/>
|
||||
<path d="M245.712,38.493H218.743V93.631a29.833,29.833,0,0,0,1,8.491,11.963,11.963,0,0,0,2.8,5.093,9.627,9.627,0,0,0,4.3,2.5,20.2,20.2,0,0,0,5.492.7,25.978,25.978,0,0,0,6.993-1,32.094,32.094,0,0,0,6.591-2.6l.6,12.185q-7.392,3.394-17.778,3.4a33.373,33.373,0,0,1-7.892-1,18.6,18.6,0,0,1-7.492-3.8,20.886,20.886,0,0,1-5.592-7.592q-2.2-4.792-2.2-12.585V38.493H185.78V26.51h19.779V.138h13.184V26.51h26.969Z" fill="#222"/>
|
||||
<path d="M264.888,76.851a40.055,40.055,0,0,0,3.4,13.185,34.493,34.493,0,0,0,17.981,17.778,32.264,32.264,0,0,0,12.985,2.6,33.3,33.3,0,0,0,18.278-4.894A36.6,36.6,0,0,0,329.213,94.23l10.189,8.391q-8.392,10.59-18.48,15.182a51.705,51.705,0,0,1-21.673,4.594,49.743,49.743,0,0,1-19.279-3.7,45.151,45.151,0,0,1-15.282-10.289A48.651,48.651,0,0,1,254.6,92.832a50.933,50.933,0,0,1-3.695-19.578A52.232,52.232,0,0,1,254.5,53.678a47.343,47.343,0,0,1,9.989-15.584,45.906,45.906,0,0,1,14.982-10.286,46.486,46.486,0,0,1,18.579-3.7,45.564,45.564,0,0,1,18.977,3.8,42.109,42.109,0,0,1,14.084,10.086,43.2,43.2,0,0,1,8.69,14.785,53.921,53.921,0,0,1,3,18.078v5.994Zm63.526-10.788q0-13.38-7.991-21.675T298.05,36.1a31.918,31.918,0,0,0-12.385,2.5,34.9,34.9,0,0,0-10.488,6.694,33.48,33.48,0,0,0-7.193,9.589,24.716,24.716,0,0,0-2.7,11.187Z" fill="#222"/>
|
||||
<path d="M362.174,55.675q0-6.19-.3-12.585t-.5-16.58h12.984V43.888h.4a29.025,29.025,0,0,1,4-7.292,31.327,31.327,0,0,1,6.291-6.292,30.907,30.907,0,0,1,8.591-4.5,33.784,33.784,0,0,1,11.088-1.7,35.791,35.791,0,0,1,9.786,1.2l-2.6,12.985a22.215,22.215,0,0,0-7.59-1,27.106,27.106,0,0,0-12.985,2.9,28.807,28.807,0,0,0-8.99,7.391,30.677,30.677,0,0,0-5.3,9.689,32.149,32.149,0,0,0-1.7,9.989V120H362.174Z" fill="#222"/>
|
||||
<path d="M512,73.254a50.99,50.99,0,0,1-3.7,19.578,46.339,46.339,0,0,1-25.97,25.87,52.875,52.875,0,0,1-20.075,3.7,52.316,52.316,0,0,1-19.878-3.7,46.347,46.347,0,0,1-25.97-25.87,50.933,50.933,0,0,1-3.7-19.578,50.923,50.923,0,0,1,3.7-19.576,46.323,46.323,0,0,1,25.97-25.87,52.279,52.279,0,0,1,19.878-3.7,52.837,52.837,0,0,1,20.075,3.7,46.315,46.315,0,0,1,25.97,25.87A50.98,50.98,0,0,1,512,73.254Zm-14.383,0a41.934,41.934,0,0,0-2.5-14.583,35.122,35.122,0,0,0-7.09-11.787,33.352,33.352,0,0,0-11.088-7.889,38.643,38.643,0,0,0-29.365,0,32.214,32.214,0,0,0-10.988,7.889A35.905,35.905,0,0,0,429.6,58.671a43.829,43.829,0,0,0,0,29.165,35.813,35.813,0,0,0,6.992,11.787,32.2,32.2,0,0,0,10.988,7.892,38.668,38.668,0,0,0,29.365,0,33.332,33.332,0,0,0,11.088-7.892,35.033,35.033,0,0,0,7.09-11.787A41.9,41.9,0,0,0,497.617,73.254Z" fill="#222"/>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.5 KiB |
|
@ -1,562 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never">
|
||||
<info>
|
||||
<title>Haute école de gestion de Genève - ISO 690</title>
|
||||
<title-short>HEG Genève - ISO 690</title-short>
|
||||
<id>http://www.zotero.org/styles/haute-ecole-de-gestion-de-geneve-iso-690</id>
|
||||
<link href="http://www.zotero.org/styles/haute-ecole-de-gestion-de-geneve-iso-690" rel="self"/>
|
||||
<link href="http://www.zotero.org/styles/iso690-author-date-en" rel="template"/>
|
||||
<link href="https://www.hesge.ch/heg/campus/infotheque/citations-et-references-bibliographiques" rel="documentation"/>
|
||||
<author>
|
||||
<name>Melissa Paez</name>
|
||||
<email>paez.melissa@gmail.com</email>
|
||||
</author>
|
||||
<author>
|
||||
<name>Raphael Grolimund</name>
|
||||
<email>grolimur@protonmail.ch</email>
|
||||
</author>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="generic-base"/>
|
||||
<updated>2022-03-21T10:00:00+00:00</updated>
|
||||
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
||||
</info>
|
||||
<locale xml:lang="fr-FR">
|
||||
<terms>
|
||||
<term name="no date">[sans date]</term>
|
||||
<term name="in">in</term>
|
||||
<term name="online">[en ligne]</term>
|
||||
<term name="accessed">consulté le</term>
|
||||
<term name="retrieved">disponible</term>
|
||||
<term name="from">à l'adresse</term>
|
||||
<term name="translator" form="short">trad.</term>
|
||||
<term name="editor" form="short">éd.</term>
|
||||
</terms>
|
||||
</locale>
|
||||
<locale xml:lang="en-US">
|
||||
<terms>
|
||||
<term name="online">Online</term>
|
||||
</terms>
|
||||
</locale>
|
||||
<macro name="editor">
|
||||
<names variable="editor">
|
||||
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
<label prefix=" (" form="short" suffix=".)"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="translator">
|
||||
<names variable="translator">
|
||||
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
<label prefix=" (" form="short" suffix=".)"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="responsability">
|
||||
<names variable="author">
|
||||
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
<substitute>
|
||||
<text macro="editor"/>
|
||||
<text macro="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="year-date" prefix=", "/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author-citation">
|
||||
<names variable="author">
|
||||
<name form="short"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text variable="title" font-style="italic"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="container-author">
|
||||
<names variable="container-author">
|
||||
<name and="text" name-as-sort-order="all" sort-separator=", " delimiter=", " delimiter-precedes-last="never">
|
||||
<name-part name="family" text-case="uppercase"/>
|
||||
</name>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="container-responsability">
|
||||
<choose>
|
||||
<if variable="container-author">
|
||||
<text macro="container-author"/>
|
||||
</if>
|
||||
<else-if variable="editor">
|
||||
<text macro="editor"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text macro="translator"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="year-date">
|
||||
<choose>
|
||||
<if variable="issued">
|
||||
<date variable="issued">
|
||||
<date-part name="year" form="long"/>
|
||||
</date>
|
||||
</if>
|
||||
<else>
|
||||
<text term="no date"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="book thesis map motion_picture song manuscript" match="any">
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text variable="title" font-style="italic" suffix="."/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" font-style="italic" suffix=", "/>
|
||||
<text macro="year-date" suffix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
<else-if type="paper-conference speech chapter article-journal article-magazine article-newspaper entry entry-dictionary entry-encyclopedia post-weblog post webpage broadcast" match="any">
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text variable="title" suffix=". "/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" suffix=", "/>
|
||||
<text macro="year-date" suffix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if type="chapter paper-conference" match="any">
|
||||
<text term="in" text-case="capitalize-first" suffix=": "/>
|
||||
</if>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="container-author editor translator" match="any">
|
||||
<text macro="container-responsability"/>
|
||||
<choose>
|
||||
<if variable="container-title event" match="any">
|
||||
<text value=", "/>
|
||||
</if>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="container-title">
|
||||
<text variable="container-title" font-style="italic" suffix="."/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="event" font-style="italic" suffix="."/>
|
||||
</else>
|
||||
</choose>
|
||||
</else-if>
|
||||
<else-if type="report">
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text variable="title" font-style="italic"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="number" suffix=": "/>
|
||||
<text variable="title" font-style="italic" suffix=", "/>
|
||||
<text macro="year-date" suffix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
</else-if>
|
||||
<else-if type="patent">
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text variable="title"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" suffix=", "/>
|
||||
<text macro="year-date" suffix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
</else-if>
|
||||
<else>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text variable="title" font-style="italic" suffix=". "/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" font-style="italic" suffix=", "/>
|
||||
<text macro="year-date" suffix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="URL">
|
||||
<text term="online" prefix=" "/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="number">
|
||||
<text variable="number"/>
|
||||
</macro>
|
||||
<macro name="medium">
|
||||
<text variable="medium" prefix=" [" suffix="]"/>
|
||||
</macro>
|
||||
<macro name="genre">
|
||||
<choose>
|
||||
<if type="map">
|
||||
<choose>
|
||||
<if variable="genre">
|
||||
<text variable="genre" prefix="[" suffix="]"/>
|
||||
</if>
|
||||
<else>
|
||||
<text value="map" prefix="[" suffix="]"/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="date">
|
||||
<choose>
|
||||
<if variable="issued">
|
||||
<date variable="issued">
|
||||
<date-part name="day" suffix=" "/>
|
||||
<date-part name="month" suffix=" "/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<text variable="edition" form="long"/>
|
||||
</macro>
|
||||
<macro name="publisher-group">
|
||||
<group delimiter=": ">
|
||||
<text variable="publisher-place"/>
|
||||
<text variable="publisher"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="issue">
|
||||
<group delimiter=", ">
|
||||
<text variable="volume" prefix="Vol. "/>
|
||||
<choose>
|
||||
<if variable="volume">
|
||||
<text variable="issue" prefix="no. "/>
|
||||
<text variable="page" prefix="pp. "/>
|
||||
</if>
|
||||
<else-if variable="issue">
|
||||
<text variable="issue" prefix="No. "/>
|
||||
<text variable="page" prefix="pp. "/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="page" prefix="pp. "/>
|
||||
</else>
|
||||
</choose>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="accessed">
|
||||
<choose>
|
||||
<if variable="URL">
|
||||
<group prefix=" [" suffix="]">
|
||||
<text term="accessed" text-case="capitalize-first"/>
|
||||
<date variable="accessed">
|
||||
<date-part name="day" prefix=" "/>
|
||||
<date-part name="month" prefix=" "/>
|
||||
<date-part name="year" prefix=" "/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="collection">
|
||||
<group delimiter=", ">
|
||||
<text variable="collection-title"/>
|
||||
<text variable="collection-number"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="page">
|
||||
<choose>
|
||||
<if type="book thesis manuscript" match="any">
|
||||
<text variable="number-of-pages" suffix=" p"/>
|
||||
</if>
|
||||
<else-if type="chapter paper-conference article-newspaper" match="any">
|
||||
<text variable="page" prefix="pp. "/>
|
||||
</else-if>
|
||||
<else-if type="report patent" match="any">
|
||||
<text variable="page" suffix=" p"/>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="isbn">
|
||||
<text variable="ISBN" prefix="ISBN "/>
|
||||
</macro>
|
||||
<macro name="doi">
|
||||
<text variable="DOI" prefix="DOI "/>
|
||||
</macro>
|
||||
<macro name="url">
|
||||
<choose>
|
||||
<if variable="DOI" match="none">
|
||||
<choose>
|
||||
<if variable="URL">
|
||||
<group>
|
||||
<text term="retrieved" suffix=" " text-case="capitalize-first"/>
|
||||
<text term="from" suffix=": "/>
|
||||
<text variable="URL"/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="archive">
|
||||
<group delimiter=": ">
|
||||
<text variable="archive"/>
|
||||
<text macro="archive_location"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="archive_location">
|
||||
<choose>
|
||||
<if variable="archive_location">
|
||||
<text variable="archive_location"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="call-number"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year" year-suffix-delimiter=", " after-collapse-delimiter="; ">
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=" ">
|
||||
<text macro="author-citation"/>
|
||||
<text macro="year-date"/>
|
||||
</group>
|
||||
<group>
|
||||
<label variable="locator" suffix=". " form="short" strip-periods="true"/>
|
||||
<text variable="locator"/>
|
||||
</group>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography>
|
||||
<sort>
|
||||
<key macro="responsability"/>
|
||||
<key macro="year-date"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<choose>
|
||||
<if type="book map" match="any">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text variable="version" prefix="version " suffix=". "/>
|
||||
<!-- used for software until type="software" is implemented -->
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="isbn" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</if>
|
||||
<else-if type="article-journal article-magazine" match="any">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="issue" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="doi" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=", "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="page" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="chapter entry entry-dictionary entry-encyclopedia" match="any">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="page" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="isbn" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="speech">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="page" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="paper-conference">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="page" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="isbn" suffix=". "/>
|
||||
<text macro="doi" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="thesis">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="post-weblog post webpage" match="any">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="broadcast motion_picture song" match="any">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="medium" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=", "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="isbn" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="report">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="manuscript">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="patent">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="number" suffix=". "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else-if type="software">
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text variable="version" prefix="version " suffix=". "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text macro="responsability" suffix=". "/>
|
||||
<choose>
|
||||
<if variable="author editor translator" match="any">
|
||||
<text macro="title" suffix=". "/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="medium" suffix=". "/>
|
||||
<text macro="genre" suffix=". "/>
|
||||
<text macro="date" suffix=". "/>
|
||||
<text macro="edition" suffix=". "/>
|
||||
<text macro="publisher-group" suffix=". "/>
|
||||
<text macro="number" suffix=". "/>
|
||||
<text macro="accessed" suffix=". "/>
|
||||
<text macro="collection" suffix=". "/>
|
||||
<text macro="page" suffix=". "/>
|
||||
<text macro="isbn" suffix=". "/>
|
||||
<text macro="url"/>
|
||||
</else>
|
||||
</choose>
|
||||
<text variable="note"/>
|
||||
<group display="right-inline">
|
||||
<text macro="archive"/>
|
||||
</group>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
|
@ -1,180 +0,0 @@
|
|||
/* CSS for Paged.js interface – v0.4 */
|
||||
|
||||
/* Change the look */
|
||||
:root {
|
||||
--color-background: whitesmoke;
|
||||
--color-pageSheet: #cfcfcf;
|
||||
--color-pageBox: violet;
|
||||
--color-paper: white;
|
||||
--color-marginBox: transparent;
|
||||
--pagedjs-crop-color: black;
|
||||
--pagedjs-crop-shadow: white;
|
||||
--pagedjs-crop-stroke: 1px;
|
||||
}
|
||||
|
||||
/* To define how the book look on the screen: */
|
||||
@media screen, pagedjs-ignore {
|
||||
body {
|
||||
background-color: var(--color-background);
|
||||
}
|
||||
|
||||
.pagedjs_pages {
|
||||
display: flex;
|
||||
width: calc(var(--pagedjs-width) * 2);
|
||||
flex: 0;
|
||||
flex-wrap: wrap;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.pagedjs_page {
|
||||
background-color: var(--color-paper);
|
||||
box-shadow: 0 0 0 1px var(--color-pageSheet);
|
||||
margin: 0;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
margin-top: 10mm;
|
||||
}
|
||||
|
||||
.pagedjs_first_page {
|
||||
margin-left: var(--pagedjs-width);
|
||||
}
|
||||
|
||||
.pagedjs_page:last-of-type {
|
||||
margin-bottom: 10mm;
|
||||
}
|
||||
|
||||
.pagedjs_pagebox{
|
||||
box-shadow: 0 0 0 1px var(--color-pageBox);
|
||||
}
|
||||
|
||||
.pagedjs_left_page{
|
||||
z-index: 20;
|
||||
width: calc(var(--pagedjs-bleed-left) + var(--pagedjs-pagebox-width))!important;
|
||||
}
|
||||
|
||||
.pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-crop {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-middle{
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.pagedjs_right_page{
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
left: calc(var(--pagedjs-bleed-left)*-1);
|
||||
}
|
||||
|
||||
/* show the margin-box */
|
||||
|
||||
.pagedjs_margin-top-left-corner-holder,
|
||||
.pagedjs_margin-top,
|
||||
.pagedjs_margin-top-left,
|
||||
.pagedjs_margin-top-center,
|
||||
.pagedjs_margin-top-right,
|
||||
.pagedjs_margin-top-right-corner-holder,
|
||||
.pagedjs_margin-bottom-left-corner-holder,
|
||||
.pagedjs_margin-bottom,
|
||||
.pagedjs_margin-bottom-left,
|
||||
.pagedjs_margin-bottom-center,
|
||||
.pagedjs_margin-bottom-right,
|
||||
.pagedjs_margin-bottom-right-corner-holder,
|
||||
.pagedjs_margin-right,
|
||||
.pagedjs_margin-right-top,
|
||||
.pagedjs_margin-right-middle,
|
||||
.pagedjs_margin-right-bottom,
|
||||
.pagedjs_margin-left,
|
||||
.pagedjs_margin-left-top,
|
||||
.pagedjs_margin-left-middle,
|
||||
.pagedjs_margin-left-bottom {
|
||||
box-shadow: 0 0 0 1px inset var(--color-marginBox);
|
||||
}
|
||||
|
||||
/* uncomment this part for recto/verso book : ------------------------------------ */
|
||||
|
||||
/*
|
||||
.pagedjs_pages {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pagedjs_first_page {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.pagedjs_page {
|
||||
margin: 0 auto;
|
||||
margin-top: 10mm;
|
||||
}
|
||||
|
||||
.pagedjs_left_page{
|
||||
width: calc(var(--pagedjs-bleed-left) + var(--pagedjs-pagebox-width) + var(--pagedjs-bleed-left))!important;
|
||||
}
|
||||
|
||||
.pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-crop{
|
||||
border-color: var(--pagedjs-crop-color);
|
||||
}
|
||||
|
||||
.pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-middle{
|
||||
width: var(--pagedjs-cross-size)!important;
|
||||
}
|
||||
|
||||
.pagedjs_right_page{
|
||||
left: 0;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
/* uncomment this par to see the baseline : -------------------------------------------*/
|
||||
|
||||
|
||||
/* .pagedjs_pagebox {
|
||||
--pagedjs-baseline: 22px;
|
||||
--pagedjs-baseline-position: 5px;
|
||||
--pagedjs-baseline-color: cyan;
|
||||
background: linear-gradient(transparent 0%, transparent calc(var(--pagedjs-baseline) - 1px), var(--pagedjs-baseline-color) calc(var(--pagedjs-baseline) - 1px), var(--pagedjs-baseline-color) var(--pagedjs-baseline)), transparent;
|
||||
background-size: 100% var(--pagedjs-baseline);
|
||||
background-repeat: repeat-y;
|
||||
background-position-y: var(--pagedjs-baseline-position);
|
||||
} */
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------------------*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Marks (to delete when merge in paged.js) */
|
||||
|
||||
.pagedjs_marks-crop{
|
||||
z-index: 999999999999;
|
||||
|
||||
}
|
||||
|
||||
.pagedjs_bleed-top .pagedjs_marks-crop,
|
||||
.pagedjs_bleed-bottom .pagedjs_marks-crop{
|
||||
box-shadow: 1px 0px 0px 0px var(--pagedjs-crop-shadow);
|
||||
}
|
||||
|
||||
.pagedjs_bleed-top .pagedjs_marks-crop:last-child,
|
||||
.pagedjs_bleed-bottom .pagedjs_marks-crop:last-child{
|
||||
box-shadow: -1px 0px 0px 0px var(--pagedjs-crop-shadow);
|
||||
}
|
||||
|
||||
.pagedjs_bleed-left .pagedjs_marks-crop,
|
||||
.pagedjs_bleed-right .pagedjs_marks-crop{
|
||||
box-shadow: 0px 1px 0px 0px var(--pagedjs-crop-shadow);
|
||||
}
|
||||
|
||||
.pagedjs_bleed-left .pagedjs_marks-crop:last-child,
|
||||
.pagedjs_bleed-right .pagedjs_marks-crop:last-child{
|
||||
box-shadow: 0px -1px 0px 0px var(--pagedjs-crop-shadow);
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
[
|
||||
{"id":"BibliographyLaTeXBibtex2021","abstract":"Learn how to create a bibliography with Bibtex and Biblatex in a few simple steps. Create references / citations and autogenerate footnotes. Creating a .bib file Using BibTeX Autogenerate footnotes","accessed":{"date-parts":[["2023",3,23]]},"citation-key":"BibliographyLaTeXBibtex2021","container-title":"LaTeX-Tutorial.com","issued":{"date-parts":[["2021",7,19]]},"language":"eng","title":"Bibliography in LaTeX with Bibtex/Biblatex","type":"post-weblog","URL":"https://latex-tutorial.com/tutorials/bibtex/"},
|
||||
{"id":"CTANTopicBibLaTeX","accessed":{"date-parts":[["2023",3,29]]},"citation-key":"CTANTopicBibLaTeX","container-title":"CTAN: Comprehensive TeX Archive Network","title":"CTAN: Topic BibLaTeX","type":"webpage","URL":"https://ctan.org/topic/biblatex"},
|
||||
{"id":"fauchieFabriquesPublicationLaTeX2020","accessed":{"date-parts":[["2023",3,23]]},"author":[{"family":"Fauchié","given":"Antoine"}],"citation-key":"fauchieFabriquesPublicationLaTeX2020","container-title":"quaternum.net","issued":{"date-parts":[["2020",4,29]]},"language":"French","title":"Fabriques de publication : LaTeX","title-short":"Fabriques de publication","type":"post-weblog","URL":"https://www.quaternum.net/2020/04/29/fabriques-de-publication-latex/"},
|
||||
{"id":"grolimundZoteroLaTeX2019","abstract":"La rédaction du blog Zotero francophone est très heureuse d’accueillir un billet invité de Raphaël Grolimund sur un sujet qui nous tient à cœur et pour lequel nous apprécions particulièrement son expertise, l’interaction entre...","accessed":{"date-parts":[["2023",3,29]]},"author":[{"family":"Grolimund","given":"Raphaël"}],"citation-key":"grolimundZoteroLaTeX2019","container-title":"Le blog Zotero francophone","genre":"Billet","issued":{"date-parts":[["2019",9,24]]},"language":"fr","title":"Zotero et LaTeX","type":"post-weblog","URL":"https://zotero.hypotheses.org/762"},
|
||||
{"id":"lehmanBiblatexPackageProgrammable2023","author":[{"family":"Lehman","given":"Philipp"},{"family":"Kime","given":"Philip"},{"family":"Wemheuer","given":"Moritz"}],"citation-key":"lehmanBiblatexPackageProgrammable2023","issued":{"date-parts":[["2023",3,5]]},"language":"eng","note":"Version 3.19","source":"Zotero","title":"The biblatex package: programmable bibliographies and citations","type":"document","URL":"https://ctan.org/pkg/biblatex"},
|
||||
{"id":"OverleafDocumentation","abstract":"An online LaTeX editor that’s easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.","accessed":{"date-parts":[["2023",3,29]]},"citation-key":"OverleafDocumentation","language":"en","title":"Overleaf documentation","type":"webpage","URL":"https://www.overleaf.com/learn"},
|
||||
{"id":"patashnikBibtexing1988","accessed":{"date-parts":[["2023",3,28]]},"author":[{"family":"Patashnik","given":"Oren"}],"citation-key":"patashnikBibtexing1988","issued":{"date-parts":[["1988",2,8]]},"language":"eng","note":"Version 0.99b","title":"Bibtexing","type":"document","URL":"https://ctan.org/pkg/bibtex"},
|
||||
{"id":"poulainLaTeXPourEnseignants2020","abstract":"La 4e de couverture indique : \"Ce livre a été conçu pour répondre aux questions fréquentes des débutants ainsi que pour servir d'aide aux utilisateurs plus expérimentés. L'accent est mis sur des exemples pratiques qui sont pour la plupart issus de situations concrètes dans l'enseignement. Le code de chacun d'eux (plus de 400) est téléchargeable, et les exemples les plus complets sont modifiables et compilables en ligne avec LaTeX, PdfLaTeX ou XeLaTeX. Les deux premiers chapitres décrivent en détail comment bénéficier d'un environnement de travail et comment compiler ses premiers documents. Toutes les personnalisations sont possibles et les outils pour les mettre en oeuvre sont décrits, objectif par objectif, dans un chapitre consacré à la mise en page. L'organisation particulière d'un document de grande taille comme un livre ou une thèse fait l'objet d'un traitement à part entière, tout comme la question des présentations à projeter avec Beamer. La part consacrée aux mathématiques est évidemment importante. L'écriture de formules ou la création de tableaux de variations sont présentées en détail, ainsi qu'avec PSTricks et TikZ, le tracé de figures géométriques, de courbes ou de graphes. Les sciences physiques, la chimie et l'informatique sont aussi abordées via l'étude de packages officiels qui étendent les possibilités de LaTeX et simplifient l'écriture pour les besoins particuliers dans ces domaines.\"","author":[{"family":"Poulain","given":"Nicolas","dropping-particle":"mathématicien"}],"citation-key":"poulainLaTeXPourEnseignants2020","collection-title":"Références sciences","event-place":"Paris","ISBN":"978-2-340-03671-0","issued":{"date-parts":[["2020"]]},"language":"fre","number-of-pages":"226","publisher":"Ellipses","publisher-place":"Paris","title":"LaTeX pour les enseignants","type":"book"},
|
||||
{"id":"reesBibLaTeXBiberCheat2017","accessed":{"date-parts":[["2023",3,23]]},"author":[{"family":"Rees","given":"Clea F."}],"citation-key":"reesBibLaTeXBiberCheat2017","issued":{"date-parts":[["2017",6,24]]},"language":"eng","title":"BibLaTeX/Biber ‘cheat sheet’","type":"document","URL":"https://ctan.org/pkg/biblatex-cheatsheet"},
|
||||
{"id":"rouquetteXeLaTeXApplique2017","abstract":"Pendant longtemps LaTeX n'a été utilisé que dans le domaine des sciences dites «exactes».\n\nPourtant depuis peu les sciences humaines peuvent utiliser efficacement ce formidable outil de composition de textes.\n\nMalheureusement, la plupart des introductions à LaTeX abordent peu les outils utiles aux humanités. Ce livre est donc le premier manuel francophone d'introduction à l'usage de LaTeX en sciences humaines.\n\nObtenir une typographie de haute qualité, gérer une bibliographie prolifique, proposer des éditions critiques de textes et des traductions en parallèle : telles sont les nombreuses raisons qui devraient pousser ces spécialistes de l'écriture que sont les étudiants et chercheurs en humanités à se tourner vers LaTeX.\n\nTelles sont les causes qui ont poussé à la rédaction de ce livre, qui accompagnera --- nous l'espérons --- les humanistes depuis la découverte de LaTeX, dans sa variante XeLaTeX, jusqu'à la personnalisation de l'apparence des textes, en passant par la gestion d'une bibliographie nombreuse sans oublier les éditions critiques de textes et toutes ces petites choses qui font les difficultés et le charme de l'écriture en sciences humaines…\n\nD'autres motifs pousseront le lecteur à l'améliorer un jour, car en se partageant le savoir ne se divise pas : il se multiplie.\n\nOn trouvera les sources sur https://github.com/maieul/latexhumain/tags (version sep_2012).","author":[{"family":"Rouquette","given":"Maïeul"}],"citation-key":"rouquetteXeLaTeXApplique2017","contributor":[{"family":"Chabannes","given":"Brendan"}],"event-place":"Tampere","ISBN":"978-952-273-073-2","issued":{"date-parts":[["2017"]]},"language":"fre","number-of-pages":"268","publisher":"Atramenta","publisher-place":"Tampere","title":"(Xe)LaTeX appliqué aux sciences humaines : le seul livre sur LaTeX sans une seule équation !","title-short":"(Xe)LaTeX appliqué aux sciences humaines","type":"book"},
|
||||
{"id":"tailletBienDebuterLaTeX2022","abstract":"Ce livre vous permet de bien débuter en LaTeX, malgré l'aspect complexe de ce logiciel, avec une présentation très progressive et méthodique. LaTeX est un traitement de texte universellement utilisé dans l’édition scientifique, que ce soit par des étudiants, des enseignants ou bien des ingénieurs. Il peut sembler plus difficile à aborder que d’autres traitements de texte, mêlant des balises et une très légère dose de programmation. Ce livre propose une présentation progressive de LaTeX : les notions fondamentales (mise en forme du texte, numérotation automatique, équations mathématiques, figures, tables, références bibliographiques, index, commandes personnalisées, etc) sont abordées de façon actuelle, en tenant compte des évolutions récentes de LaTeX ; de nombreux exemples simples viennent illustrer le texte ; de nombreux exercices permettent de s'entrainer. - éditeur","author":[{"family":"Taillet","given":"Richard"}],"citation-key":"tailletBienDebuterLaTeX2022","collection-title":"Informatique","event-place":"Louvain-la-Neue","ISBN":"978-2-8073-3989-7","issued":{"date-parts":[["2022"]]},"language":"fre","publisher":"De Boeck Supérieur","publisher-place":"Louvain-la-Neue","source":"unige.swisscovery.slsp.ch","title":"Bien débuter en LaTeX","type":"book"}
|
||||
]
|
|
@ -1,117 +0,0 @@
|
|||
// Reload-in-place v2.0
|
||||
// Nicolas Taffin + Sameh Chafik - 2020
|
||||
// MIT License https://opensource.org/licenses/MIT
|
||||
// A simple script to add your pagedjs project. On reload, it will make the web browser scroll to the place it was before reload.
|
||||
// Useful when styling or proof correcting your book. Multi docs compatible and doesn't wait for complete compilation to go.
|
||||
|
||||
|
||||
console.log("reload in place");
|
||||
|
||||
|
||||
// separate human / machine scroll
|
||||
var machineScroll = false;
|
||||
|
||||
// check pagedJS ended compilation
|
||||
var pagedjsEnd = false;
|
||||
|
||||
class pagedjsEnded extends Paged.Handler {
|
||||
constructor(chunker, polisher, caller) {
|
||||
super(chunker, polisher, caller);
|
||||
}
|
||||
afterRendered(pages) {
|
||||
pagedjsEnd = true;
|
||||
}
|
||||
}
|
||||
Paged.registerHandlers(pagedjsEnded);
|
||||
|
||||
// set a "unique" filename based on title element, in case several books are opened
|
||||
var fileTitle = document.getElementsByTagName("title")[0].text;
|
||||
|
||||
function getDocHeight() {
|
||||
var D = document;
|
||||
return Math.max(
|
||||
D.body.scrollHeight, D.documentElement.scrollHeight,
|
||||
D.body.offsetHeight, D.documentElement.offsetHeight,
|
||||
D.body.clientHeight, D.documentElement.clientHeight
|
||||
)
|
||||
}
|
||||
function saveAmountScrolled(){
|
||||
var scrollArray = [];
|
||||
var scrollTop = window.pageYOffset || (document.documentElement || document.body.parentNode || document.body).scrollTop
|
||||
if (!machineScroll) {
|
||||
var scrollLeft = window.pageXOffset || (document.documentElement || document.body.parentNode || document.body).scrollLeft
|
||||
scrollArray.push({ X: Math.round(scrollLeft), Y: Math.round(scrollTop) });
|
||||
console.log("Saved ", scrollArray);
|
||||
localStorage[fileTitle] = JSON.stringify(scrollArray);
|
||||
}
|
||||
}
|
||||
|
||||
// on Load, blur or opacify the page, and try to join ASAP
|
||||
// last saved position, or at least last compiled page
|
||||
|
||||
|
||||
window.onload = moveFast;
|
||||
|
||||
function moveFast() {
|
||||
machineScroll= true;
|
||||
var styleEl = document.createElement('style');
|
||||
document.head.appendChild(styleEl);
|
||||
var styleSheet = styleEl.sheet;
|
||||
styleSheet.insertRule('.pagedjs_pages { filter: blur(10px); }', 0);
|
||||
//styleSheet.insertRule('.pagedjs_pages { opacity: 0.1; }', 0);
|
||||
var savedData = localStorage.getItem(fileTitle);
|
||||
if (savedData) {
|
||||
var scrollArray = JSON.parse(savedData);
|
||||
var scrollTop = scrollArray[0].Y;
|
||||
var scrollLeft = scrollArray[0].X;
|
||||
} else {
|
||||
var scrollTop = 0;
|
||||
var scrollLeft = 0;
|
||||
}
|
||||
var winheight= window.innerHeight || (document.documentElement || document.body).clientHeight
|
||||
window.currentInterval = setInterval(function(){
|
||||
var docheight = getDocHeight();
|
||||
|
||||
if ( scrollTop > 0 && scrollTop > docheight - winheight && !pagedjsEnd) {
|
||||
window.scrollTo(scrollLeft,docheight);
|
||||
} else {
|
||||
window.scrollTo(scrollLeft,scrollTop);
|
||||
clearInterval(window.currentInterval);
|
||||
setTimeout(function(){
|
||||
window.scrollTo(scrollLeft,scrollTop);
|
||||
machineScroll = false;
|
||||
styleSheet.deleteRule(0);
|
||||
}, 500); // Delay to start
|
||||
}
|
||||
}, 50); // refresh frequency
|
||||
};
|
||||
|
||||
// slow down a bit save position pace
|
||||
|
||||
var slowSave = debounce(function() {
|
||||
if(!machineScroll) {
|
||||
saveAmountScrolled();
|
||||
}
|
||||
}, 100); // save frequency
|
||||
|
||||
function debounce(func, wait, immediate) {
|
||||
var timeout;
|
||||
return function() {
|
||||
var context = this, args = arguments;
|
||||
var later = function() {
|
||||
timeout = null;
|
||||
if (!immediate) func.apply(context, args);
|
||||
};
|
||||
var callNow = immediate && !timeout;
|
||||
clearTimeout(timeout);
|
||||
timeout = setTimeout(later, wait);
|
||||
if (callNow) func.apply(context, args);
|
||||
};
|
||||
};
|
||||
|
||||
// Scroll triggers save, but not immediately on load
|
||||
|
||||
setTimeout(function(){
|
||||
window.addEventListener('scroll', slowSave);
|
||||
}, 1000); // wait a bit before starting position save
|
||||
|
Before Width: | Height: | Size: 28 KiB |
|
@ -1,199 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://web.resource.org/cc/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="120"
|
||||
height="42"
|
||||
id="svg2759"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.45+devel"
|
||||
version="1.0"
|
||||
sodipodi:docname="by-sa.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs2761" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#8b8b8b"
|
||||
borderopacity="1"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="179"
|
||||
inkscape:cy="89.569904"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
width="120px"
|
||||
height="42px"
|
||||
inkscape:showpageshadow="false"
|
||||
inkscape:window-width="1198"
|
||||
inkscape:window-height="624"
|
||||
inkscape:window-x="488"
|
||||
inkscape:window-y="401" />
|
||||
<metadata
|
||||
id="metadata2764">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
transform="matrix(0.9937807,0,0,0.9936694,-177.69409,-74.436409)"
|
||||
id="g287"
|
||||
inkscape:export-filename="/mnt/hgfs/Bov/Documents/Work/2007/cc/identity/srr buttons/big/by-sa.png"
|
||||
inkscape:export-xdpi="300.23013"
|
||||
inkscape:export-ydpi="300.23013">
|
||||
<path
|
||||
id="path3817_2_"
|
||||
nodetypes="ccccccc"
|
||||
d="M 182.23532,75.39014 L 296.29928,75.59326 C 297.89303,75.59326 299.31686,75.35644 299.31686,78.77344 L 299.17721,116.34033 L 179.3569,116.34033 L 179.3569,78.63379 C 179.3569,76.94922 179.51999,75.39014 182.23532,75.39014 z"
|
||||
style="fill:#aab2ab" />
|
||||
|
||||
<g
|
||||
id="g5908_2_"
|
||||
transform="matrix(0.872921,0,0,0.872921,50.12536,143.2144)">
|
||||
|
||||
<path
|
||||
id="path5906_2_"
|
||||
cx="296.35416"
|
||||
ry="22.939548"
|
||||
cy="264.3577"
|
||||
type="arc"
|
||||
rx="22.939548"
|
||||
d="M 187.20944,-55.6792 C 187.21502,-46.99896 180.18158,-39.95825 171.50134,-39.95212 C 162.82113,-39.94708 155.77929,-46.97998 155.77426,-55.66016 C 155.77426,-55.66687 155.77426,-55.67249 155.77426,-55.6792 C 155.76922,-64.36054 162.80209,-71.40125 171.48233,-71.40631 C 180.16367,-71.41193 187.20441,-64.37842 187.20944,-55.69824 C 187.20944,-55.69263 187.20944,-55.68591 187.20944,-55.6792 z"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<g
|
||||
id="g5706_2_"
|
||||
transform="translate(-289.6157,99.0653)">
|
||||
<path
|
||||
id="path5708_2_"
|
||||
d="M 473.88455,-167.54724 C 477.36996,-164.06128 479.11294,-159.79333 479.11294,-154.74451 C 479.11294,-149.69513 477.40014,-145.47303 473.9746,-142.07715 C 470.33929,-138.50055 466.04281,-136.71283 461.08513,-136.71283 C 456.18736,-136.71283 451.96526,-138.48544 448.42003,-142.03238 C 444.87419,-145.57819 443.10158,-149.81537 443.10158,-154.74451 C 443.10158,-159.6731 444.87419,-163.94049 448.42003,-167.54724 C 451.87523,-171.03375 456.09728,-172.77618 461.08513,-172.77618 C 466.13342,-172.77618 470.39914,-171.03375 473.88455,-167.54724 z M 450.76657,-165.20239 C 447.81982,-162.22601 446.34701,-158.7395 446.34701,-154.74005 C 446.34701,-150.7417 447.80529,-147.28485 450.72125,-144.36938 C 453.63778,-141.45288 457.10974,-139.99462 461.1383,-139.99462 C 465.16683,-139.99462 468.66848,-141.46743 471.64486,-144.41363 C 474.47076,-147.14947 475.88427,-150.59069 475.88427,-154.74005 C 475.88427,-158.85809 474.44781,-162.35297 471.57659,-165.22479 C 468.70595,-168.09546 465.22671,-169.53131 461.1383,-169.53131 C 457.04993,-169.53131 453.59192,-168.08813 450.76657,-165.20239 z M 458.52106,-156.49927 C 458.07074,-157.4809 457.39673,-157.9715 456.49781,-157.9715 C 454.90867,-157.9715 454.11439,-156.90198 454.11439,-154.763 C 454.11439,-152.62341 454.90867,-151.55389 456.49781,-151.55389 C 457.54719,-151.55389 458.29676,-152.07519 458.74647,-153.11901 L 460.94923,-151.94598 C 459.8993,-150.0805 458.32417,-149.14697 456.22374,-149.14697 C 454.60384,-149.14697 453.30611,-149.64367 452.33168,-150.63653 C 451.35561,-151.62994 450.86894,-152.99926 450.86894,-154.7445 C 450.86894,-156.46008 451.37123,-157.82159 452.37642,-158.83013 C 453.38161,-159.83806 454.63347,-160.34264 456.13423,-160.34264 C 458.35435,-160.34264 459.94407,-159.46776 460.90504,-157.71978 L 458.52106,-156.49927 z M 468.8844,-156.49927 C 468.43353,-157.4809 467.77292,-157.9715 466.90201,-157.9715 C 465.28095,-157.9715 464.46988,-156.90198 464.46988,-154.763 C 464.46988,-152.62341 465.28095,-151.55389 466.90201,-151.55389 C 467.95304,-151.55389 468.68918,-152.07519 469.10925,-153.11901 L 471.36126,-151.94598 C 470.31301,-150.0805 468.74007,-149.14697 466.64358,-149.14697 C 465.02587,-149.14697 463.73095,-149.64367 462.75711,-150.63653 C 461.78494,-151.62994 461.29773,-152.99926 461.29773,-154.7445 C 461.29773,-156.46008 461.79221,-157.82159 462.78061,-158.83013 C 463.76843,-159.83806 465.02588,-160.34264 466.55408,-160.34264 C 468.77027,-160.34264 470.35776,-159.46776 471.3154,-157.71978 L 468.8844,-156.49927 z" />
|
||||
|
||||
</g>
|
||||
|
||||
</g>
|
||||
|
||||
<path
|
||||
d="M 297.29639,74.91064 L 181.06688,74.91064 C 179.8203,74.91064 178.80614,75.92529 178.80614,77.17187 L 178.80614,116.66748 C 178.80614,116.94922 179.03466,117.17822 179.31639,117.17822 L 299.04639,117.17822 C 299.32813,117.17822 299.55713,116.94922 299.55713,116.66748 L 299.55713,77.17188 C 299.55713,75.92529 298.54297,74.91064 297.29639,74.91064 z M 181.06688,75.93213 L 297.29639,75.93213 C 297.97998,75.93213 298.53565,76.48828 298.53565,77.17188 C 298.53565,77.17188 298.53565,93.09131 298.53565,104.59034 L 215.4619,104.59034 C 212.41698,110.09571 206.55077,113.83399 199.81835,113.83399 C 193.083,113.83399 187.21825,110.09913 184.1748,104.59034 L 179.82666,104.59034 C 179.82666,93.09132 179.82666,77.17188 179.82666,77.17188 C 179.82664,76.48828 180.38329,75.93213 181.06688,75.93213 z"
|
||||
id="path294" />
|
||||
|
||||
<g
|
||||
enable-background="new "
|
||||
id="g296">
|
||||
<path
|
||||
d="M 265.60986,112.8833 C 265.68994,113.03906 265.79736,113.16504 265.93115,113.26172 C 266.06494,113.35791 266.22119,113.42969 266.40088,113.47608 C 266.58154,113.52296 266.76807,113.54639 266.96045,113.54639 C 267.09033,113.54639 267.22998,113.53565 267.3794,113.51368 C 267.52784,113.4922 267.66749,113.44972 267.79835,113.3877 C 267.92823,113.32569 268.03761,113.23975 268.12355,113.13086 C 268.21144,113.02197 268.25441,112.88379 268.25441,112.71533 C 268.25441,112.53515 268.19679,112.38916 268.08156,112.27685 C 267.9673,112.16455 267.81594,112.07177 267.62941,111.99658 C 267.44386,111.92236 267.23195,111.85693 266.9966,111.80078 C 266.76027,111.74463 266.52101,111.68262 266.27883,111.61377 C 266.02981,111.55176 265.78762,111.47559 265.55129,111.38525 C 265.31594,111.29541 265.10402,111.17822 264.9175,111.03515 C 264.73098,110.89208 264.58059,110.71337 264.46535,110.49853 C 264.35109,110.28369 264.29347,110.02392 264.29347,109.71923 C 264.29347,109.37646 264.36671,109.07958 264.51222,108.82763 C 264.6587,108.57568 264.85011,108.36572 265.08644,108.19726 C 265.32179,108.02929 265.58937,107.90478 265.8882,107.82372 C 266.18605,107.74315 266.48488,107.70263 266.78273,107.70263 C 267.13136,107.70263 267.46535,107.74169 267.78566,107.81982 C 268.105,107.89746 268.39015,108.02392 268.6382,108.19824 C 268.88722,108.37256 269.08449,108.59521 269.23097,108.86621 C 269.37648,109.13721 269.44972,109.46582 269.44972,109.85156 L 268.02784,109.85156 C 268.01514,109.65234 267.97315,109.4873 267.90284,109.35693 C 267.83155,109.22607 267.73682,109.12353 267.61964,109.04834 C 267.50148,108.97412 267.36671,108.9209 267.21534,108.89014 C 267.063,108.85889 266.89796,108.84326 266.71827,108.84326 C 266.60108,108.84326 266.48292,108.85596 266.36573,108.88037 C 266.24757,108.90576 266.14112,108.94922 266.04542,109.01123 C 265.94874,109.07373 265.86964,109.15137 265.80812,109.24463 C 265.7466,109.33838 265.71535,109.45654 265.71535,109.59961 C 265.71535,109.73047 265.73976,109.83643 265.78957,109.91699 C 265.83937,109.99804 265.93801,110.07275 266.08352,110.14111 C 266.22903,110.20947 266.43118,110.27832 266.68899,110.34668 C 266.9468,110.41504 267.28372,110.50244 267.70071,110.60791 C 267.82473,110.63281 267.99661,110.67822 268.21731,110.74365 C 268.43801,110.80908 268.65676,110.91308 268.87454,111.05615 C 269.09231,111.1997 269.27981,111.39111 269.43899,111.63037 C 269.59719,111.87012 269.67629,112.17676 269.67629,112.55029 C 269.67629,112.85547 269.61672,113.13867 269.49856,113.3999 C 269.3804,113.66162 269.20461,113.8872 268.97122,114.07666 C 268.73782,114.26709 268.44876,114.41455 268.10403,114.52051 C 267.75833,114.62647 267.35794,114.6792 266.90481,114.6792 C 266.53762,114.6792 266.18118,114.63379 265.83547,114.54346 C 265.49074,114.45313 265.18508,114.31104 264.92043,114.11768 C 264.65676,113.92432 264.4468,113.67774 264.29055,113.37891 C 264.13528,113.07959 264.06106,112.7251 264.06692,112.31397 L 265.4888,112.31397 C 265.48877,112.53809 265.52881,112.72803 265.60986,112.8833 z"
|
||||
id="path298"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
d="M 273.8667,107.8667 L 276.35986,114.53076 L 274.8374,114.53076 L 274.33349,113.04638 L 271.84033,113.04638 L 271.31787,114.53076 L 269.84326,114.53076 L 272.36377,107.8667 L 273.8667,107.8667 z M 273.95068,111.95264 L 273.11084,109.50928 L 273.09229,109.50928 L 272.22315,111.95264 L 273.95068,111.95264 z"
|
||||
id="path300"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
</g>
|
||||
|
||||
<g
|
||||
enable-background="new "
|
||||
id="g302">
|
||||
<path
|
||||
d="M 239.17821,107.8667 C 239.49559,107.8667 239.78563,107.89502 240.04735,107.95068 C 240.30907,108.00683 240.53368,108.09863 240.72118,108.22607 C 240.9077,108.35351 241.05321,108.52295 241.15575,108.73437 C 241.25829,108.94579 241.31005,109.20703 241.31005,109.51806 C 241.31005,109.854 241.23388,110.13329 241.08056,110.35742 C 240.92822,110.58154 240.70165,110.76465 240.40283,110.90771 C 240.81494,111.02587 241.12256,111.23291 241.32568,111.5288 C 241.5288,111.82469 241.63037,112.18114 241.63037,112.59814 C 241.63037,112.93408 241.56494,113.22509 241.43408,113.47119 C 241.30322,113.7168 241.12646,113.91748 240.90576,114.07324 C 240.68408,114.229 240.43115,114.34424 240.14795,114.41845 C 239.86377,114.49365 239.57275,114.53075 239.27295,114.53075 L 236.03662,114.53075 L 236.03662,107.86669 L 239.17821,107.86669 L 239.17821,107.8667 z M 238.99071,110.56201 C 239.25243,110.56201 239.46727,110.5 239.63622,110.37597 C 239.80419,110.25146 239.88817,110.05029 239.88817,109.77099 C 239.88817,109.61572 239.85985,109.48828 239.80419,109.38915 C 239.74755,109.28954 239.67333,109.21239 239.57958,109.15624 C 239.48583,109.10058 239.37841,109.06151 239.25731,109.04003 C 239.13524,109.01806 239.00926,109.00732 238.8784,109.00732 L 237.50535,109.00732 L 237.50535,110.56201 L 238.99071,110.56201 z M 239.07664,113.39014 C 239.22019,113.39014 239.35691,113.37647 239.48777,113.34815 C 239.61863,113.32032 239.73484,113.27344 239.83445,113.2085 C 239.93406,113.14307 240.01316,113.0542 240.07273,112.94239 C 240.1323,112.83058 240.1616,112.68751 240.1616,112.51319 C 240.1616,112.17139 240.06492,111.92725 239.87156,111.78126 C 239.6782,111.63527 239.42234,111.56202 239.10496,111.56202 L 237.50535,111.56202 L 237.50535,113.39014 L 239.07664,113.39014 z"
|
||||
id="path304"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<path
|
||||
d="M 241.88914,107.8667 L 243.53269,107.8667 L 245.09324,110.49854 L 246.64402,107.8667 L 248.27781,107.8667 L 245.80418,111.97315 L 245.80418,114.53077 L 244.33543,114.53077 L 244.33543,111.93604 L 241.88914,107.8667 z"
|
||||
id="path306"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
</g>
|
||||
|
||||
<g
|
||||
id="g6316_1_"
|
||||
transform="matrix(0.624995,0,0,0.624995,391.2294,176.9332)">
|
||||
|
||||
<path
|
||||
id="path6318_1_"
|
||||
cx="475.97119"
|
||||
ry="29.209877"
|
||||
cy="252.08646"
|
||||
type="arc"
|
||||
rx="29.209877"
|
||||
d="M -175.0083,-139.1153 C -175.00204,-129.7035 -182.62555,-122.06751 -192.03812,-122.06049 C -201.44913,-122.05341 -209.08512,-129.67774 -209.09293,-139.09028 C -209.09293,-139.09809 -209.09293,-139.10749 -209.09293,-139.1153 C -209.09919,-148.52784 -201.47413,-156.1623 -192.06311,-156.17011 C -182.65054,-156.17713 -175.01456,-148.55207 -175.0083,-139.14026 C -175.0083,-139.13092 -175.0083,-139.1239 -175.0083,-139.1153 z"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<g
|
||||
id="g6320_1_"
|
||||
transform="translate(-23.9521,-89.72962)">
|
||||
<path
|
||||
id="path6322_1_"
|
||||
d="M -168.2204,-68.05536 C -173.39234,-68.05536 -177.76892,-66.25067 -181.35175,-62.64203 C -185.02836,-58.90759 -186.86588,-54.48883 -186.86588,-49.38568 C -186.86588,-44.28253 -185.02836,-39.89416 -181.35175,-36.22308 C -177.67673,-32.55114 -173.29859,-30.71521 -168.2204,-30.71521 C -163.07974,-30.71521 -158.62503,-32.56677 -154.85312,-36.26996 C -151.30307,-39.78558 -149.52652,-44.15827 -149.52652,-49.38568 C -149.52652,-54.6123 -151.33432,-59.03265 -154.94843,-62.64203 C -158.5625,-66.25067 -162.98599,-68.05536 -168.2204,-68.05536 z M -168.17352,-64.69519 C -163.936,-64.69519 -160.33752,-63.20221 -157.37655,-60.21466 C -154.38748,-57.25836 -152.89214,-53.64899 -152.89214,-49.38568 C -152.89214,-45.09186 -154.35466,-41.52856 -157.28438,-38.69653 C -160.36876,-35.64727 -163.99849,-34.12304 -168.17351,-34.12304 C -172.34856,-34.12304 -175.94701,-35.63244 -178.96892,-38.64965 C -181.9908,-41.66918 -183.50176,-45.24657 -183.50176,-49.38567 C -183.50176,-53.52398 -181.97518,-57.13414 -178.92205,-60.21465 C -175.9939,-63.20221 -172.41107,-64.69519 -168.17352,-64.69519 z" />
|
||||
|
||||
<path
|
||||
id="path6324_1_"
|
||||
d="M -176.49548,-52.02087 C -175.75171,-56.71856 -172.44387,-59.22949 -168.30008,-59.22949 C -162.33911,-59.22949 -158.70783,-54.90448 -158.70783,-49.1372 C -158.70783,-43.50982 -162.57194,-39.13793 -168.39383,-39.13793 C -172.39856,-39.13793 -175.98297,-41.60277 -176.63611,-46.43877 L -171.93292,-46.43877 C -171.7923,-43.92778 -170.1626,-43.04418 -167.83447,-43.04418 C -165.1813,-43.04418 -163.4563,-45.50908 -163.4563,-49.27709 C -163.4563,-53.22942 -164.94693,-55.32244 -167.74228,-55.32244 C -169.79074,-55.32244 -171.55948,-54.57787 -171.93292,-52.02087 L -170.56418,-52.02789 L -174.26734,-48.32629 L -177.96894,-52.02789 L -176.49548,-52.02087 z" />
|
||||
|
||||
</g>
|
||||
|
||||
</g>
|
||||
|
||||
<g
|
||||
id="g313">
|
||||
<circle
|
||||
cx="242.56226"
|
||||
cy="90.224609"
|
||||
r="10.8064"
|
||||
id="circle315"
|
||||
sodipodi:cx="242.56226"
|
||||
sodipodi:cy="90.224609"
|
||||
sodipodi:rx="10.8064"
|
||||
sodipodi:ry="10.8064"
|
||||
style="fill:#ffffff" />
|
||||
|
||||
<g
|
||||
id="g317">
|
||||
<path
|
||||
d="M 245.68994,87.09766 C 245.68994,86.68116 245.35205,86.34424 244.93603,86.34424 L 240.16357,86.34424 C 239.74755,86.34424 239.40966,86.68115 239.40966,87.09766 L 239.40966,91.87061 L 240.74071,91.87061 L 240.74071,97.52295 L 244.3579,97.52295 L 244.3579,91.87061 L 245.68993,91.87061 L 245.68993,87.09766 L 245.68994,87.09766 z"
|
||||
id="path319" />
|
||||
|
||||
<circle
|
||||
cx="242.5498"
|
||||
cy="84.083008"
|
||||
r="1.63232"
|
||||
id="circle321"
|
||||
sodipodi:cx="242.5498"
|
||||
sodipodi:cy="84.083008"
|
||||
sodipodi:rx="1.63232"
|
||||
sodipodi:ry="1.63232" />
|
||||
|
||||
</g>
|
||||
|
||||
<path
|
||||
clip-rule="evenodd"
|
||||
d="M 242.53467,78.31836 C 239.30322,78.31836 236.56641,79.4458 234.32715,81.70215 C 232.0293,84.03516 230.88086,86.79736 230.88086,89.98633 C 230.88086,93.1753 232.0293,95.91846 234.32715,98.21338 C 236.625,100.50781 239.36133,101.65527 242.53467,101.65527 C 245.74756,101.65527 248.53272,100.49853 250.88819,98.18359 C 253.10889,95.98681 254.21827,93.2539 254.21827,89.98632 C 254.21827,86.71874 253.08936,83.95751 250.83057,81.70214 C 248.57178,79.4458 245.80615,78.31836 242.53467,78.31836 z M 242.56396,80.41797 C 245.2124,80.41797 247.46142,81.35156 249.31103,83.21875 C 251.18115,85.06592 252.11572,87.32227 252.11572,89.98633 C 252.11572,92.66992 251.20068,94.89746 249.36963,96.66699 C 247.4419,98.57275 245.17334,99.52539 242.56397,99.52539 C 239.9546,99.52539 237.70557,98.58252 235.81739,96.6958 C 233.92774,94.80957 232.98389,92.57324 232.98389,89.98633 C 232.98389,87.3999 233.93799,85.14404 235.84619,83.21875 C 237.67676,81.35156 239.9165,80.41797 242.56396,80.41797 z"
|
||||
id="path323"
|
||||
style="fill-rule:evenodd" />
|
||||
|
||||
</g>
|
||||
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 16 KiB |
|
@ -1,250 +0,0 @@
|
|||
@media print {
|
||||
|
||||
/* **************************
|
||||
* Définition des pages *
|
||||
* ************************ */
|
||||
|
||||
@page {
|
||||
size: A4;
|
||||
margin: 25mm;
|
||||
bleed: 6mm;
|
||||
/* Numérotation de page au centre en bas
|
||||
* de la page. Le compteur est définit
|
||||
* dans le selecteur body. */
|
||||
@bottom-center {
|
||||
content: counter(page);
|
||||
}
|
||||
}
|
||||
@page:left {
|
||||
margin-left: 25mm;
|
||||
margin-right: 15mm;
|
||||
}
|
||||
@page:right {
|
||||
margin-left: 15mm;
|
||||
margin-right: 25mm;
|
||||
}
|
||||
@page:first {
|
||||
/* Insertion en haut à droite du logo de la
|
||||
* bibliothèque de l'UNIGE. */
|
||||
@top-right {
|
||||
content: "";
|
||||
background-image: url("static/bibliotheque-logo.svg");
|
||||
background-position: right;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 25%;
|
||||
}
|
||||
/* Place le bloc de la licence en bas à gauche
|
||||
* de la première page. Voir le sélecteur
|
||||
* #licence plus bas. */
|
||||
@bottom-left{
|
||||
content: element(licenceBlock);
|
||||
font-size: small;
|
||||
}
|
||||
@bottom-center {
|
||||
content: none;
|
||||
}
|
||||
/* Insert la date en bas à droite de la
|
||||
* première page. Voir le sélecteur .date */
|
||||
@bottom-right {
|
||||
content: string(date);
|
||||
font-size: small;
|
||||
}
|
||||
}
|
||||
|
||||
/* **************************
|
||||
* Définitions globales *
|
||||
* ************************ */
|
||||
|
||||
body {
|
||||
font-family: "Noto Sans", "Open Sans",
|
||||
Arial, Helvetica, sans-serif;
|
||||
/* Définit les trois variables de compteur nécessaires */
|
||||
counter-reset: figureNumber toc tableNumber;
|
||||
}
|
||||
/* Définit que string(date) contient la date indiquée dans le frontmatter
|
||||
* de la source markdown */
|
||||
.date {
|
||||
string-set: date content(text);
|
||||
display: none; /* Pour ne pas afficher la date sous le titre. */
|
||||
}
|
||||
/* Définit que running(licenceBlock) contient le block licence.
|
||||
* Le bloc licence est décrit dans le fichier markdown source, au-dessous
|
||||
* de la section des objectifs. Le CSS permet de le placer correctement */
|
||||
#licence {
|
||||
position: running(licenceBlock);
|
||||
}
|
||||
|
||||
/* *****************
|
||||
* Page de titre *
|
||||
* *************** */
|
||||
|
||||
.logo {
|
||||
display: inline-flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 60%;
|
||||
margin: 2em auto 1em auto;
|
||||
}
|
||||
.logo img {
|
||||
max-width: 50%;
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
#title-block-header {
|
||||
/* Concerne le bloc titre sur la page de titre */
|
||||
text-align: center;
|
||||
margin: 4em 0;
|
||||
}
|
||||
|
||||
.authors {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.author {
|
||||
margin: 0;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
/* Les 4 règles suivantes mettent en forme la table des matières :*
|
||||
* Suppression des liste à puce, numérotation des chapitres et affichage du
|
||||
* numéro de page. */
|
||||
#TOC ul {
|
||||
list-style: none;
|
||||
counter-reset: toc;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
#TOC li {
|
||||
counter-increment: toc;
|
||||
}
|
||||
#TOC li::before {
|
||||
content: counter(toc) ". ";
|
||||
}
|
||||
#TOC a::after {
|
||||
content: target-counter(attr(href url), page);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* ***************************
|
||||
* Structure du document *
|
||||
* ************************* */
|
||||
|
||||
/* Ajouter ou supprimer les ID de titre pour un saut de page.
|
||||
* Les IDs #first-section et #bibliography peuvent être ajoutés
|
||||
* dans la source markdown. */
|
||||
#first-section,
|
||||
#bibliography,
|
||||
.newpage,
|
||||
.footnotes {
|
||||
break-before: page;
|
||||
}
|
||||
|
||||
/* *************
|
||||
* Contenu *
|
||||
* *********** */
|
||||
|
||||
h2 {
|
||||
color: #d80669;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #f2f1f1;
|
||||
border: 2px solid #d80669;
|
||||
border-radius: .5em;
|
||||
padding: .5em 1em;
|
||||
/* Évite que les blocs de code ne soient séparés sur 2 pages */
|
||||
break-inside: avoid;
|
||||
}
|
||||
pre > code {
|
||||
border-radius: none;
|
||||
padding: none;
|
||||
}
|
||||
code {
|
||||
font-family: 'Lilex Nerd Font', 'Courier New', Courier, monospace;
|
||||
font-size: 90%;
|
||||
line-height: 1.4;
|
||||
background-color: #f2f1f1;
|
||||
padding: 2px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.footnotes::before {
|
||||
content: "Notes";
|
||||
color: #d80669;
|
||||
font-size: 120%;
|
||||
font-weight: bold;
|
||||
}
|
||||
.footnote-ref {
|
||||
text-decoration: none;
|
||||
padding-left: 2px;
|
||||
}
|
||||
.footnote-back {
|
||||
font-size: small;
|
||||
text-decoration: none;
|
||||
padding-left: .5em;
|
||||
}
|
||||
|
||||
figure {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px solid #d80669;
|
||||
border-radius: .5em;
|
||||
padding: .5em;
|
||||
/* Évite que les figures ne soient séparés sur 2 pages */
|
||||
break-inside: avoid;
|
||||
}
|
||||
figure img {
|
||||
max-width: 85%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
figcaption {
|
||||
text-align: center;
|
||||
font-size: 90%;
|
||||
counter-increment: figureNumber;
|
||||
padding-top: .5em;
|
||||
}
|
||||
figcaption::before {
|
||||
content: "Figure " counter(figureNumber) " : ";
|
||||
}
|
||||
|
||||
.exercise {
|
||||
background-color: #f2f1f1;
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
border: 2px solid #d80669;
|
||||
border-radius: .5em;
|
||||
padding: 0 .5em;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
blockquote em {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
div.csl-entry {
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 90%;
|
||||
margin: 1em auto;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 5px;
|
||||
border: 1px solid;
|
||||
}
|
||||
table > caption {
|
||||
counter-increment: tableNumber;
|
||||
caption-side: bottom;
|
||||
font-size: small;
|
||||
padding-top: .5em;
|
||||
}
|
||||
table > caption:before {
|
||||
content: "Table " counter(tableNumber) " : ";
|
||||
}
|
||||
}
|
|
@ -1,87 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
lang="$lang$"
|
||||
xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
$for(author-meta)$
|
||||
<meta name="author" content="$author-meta$" />
|
||||
$endfor$
|
||||
$if(date-meta)$
|
||||
<meta name="dcterms.date" content="$date-meta$" />
|
||||
$endif$
|
||||
$if(keywords)$
|
||||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
|
||||
$endif$
|
||||
$if(description-meta)$
|
||||
<meta name="description" content="$description-meta$" />
|
||||
$endif$
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
<style>
|
||||
$styles.html()$
|
||||
</style>
|
||||
$for(css)$
|
||||
<link rel="stylesheet" href="$css$" />
|
||||
$endfor$
|
||||
<link href="interface.css" rel="stylesheet" type="text/css" />
|
||||
<script src="paged.polyfill.js"></script>
|
||||
<script src="reload-in-place.js"></script>
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
$if(math)$
|
||||
$math$
|
||||
$endif$
|
||||
|
||||
</head>
|
||||
<body>
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
$if(title)$
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<p class="subtitle">$subtitle$</p>
|
||||
$endif$
|
||||
$if(author)$
|
||||
<div class="authors">
|
||||
$for(author)$
|
||||
<p class="author">$author$</p>
|
||||
$endfor$
|
||||
</div>
|
||||
$endif$
|
||||
$if(date)$
|
||||
<p class="date">$date$</p>
|
||||
$endif$
|
||||
$if(logo)$
|
||||
<div class="logo">
|
||||
$for(logo)$
|
||||
<img src="$logo$" />
|
||||
$endfor$
|
||||
</div>
|
||||
$endif$
|
||||
$if(abstract)$
|
||||
<div class="abstract">
|
||||
$abstract$
|
||||
</div>
|
||||
$endif$
|
||||
</header>
|
||||
$endif$
|
||||
$if(toc)$
|
||||
<nav id="$idprefix$TOC" role="doc-toc">
|
||||
$if(toc-title)$
|
||||
<h2 id="$idprefix$toc-title">$toc-title$</h2>
|
||||
$endif$
|
||||
$table-of-contents$
|
||||
</nav>
|
||||
$endif$
|
||||
$body$
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
</body>
|
||||
</html>
|