Skip to content

Commit

Permalink
Some improvements made
Browse files Browse the repository at this point in the history
  • Loading branch information
Yves Chevallier committed Aug 2, 2020
1 parent e5c5c2c commit a70c30a
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 16 deletions.
7 changes: 1 addition & 6 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
- [ ] Sphinx
- [ ] Missing character from _build/latex/main.log (japanese/korean)
- [ ] Bibliography
- [ ] Center les tables
- [ ] Rename source file with ascending order
- [ ] Display code-block with filename like https://docs.travis-ci.com/user/deployment/releases/
- [ ] Code
Expand All @@ -15,29 +14,25 @@
- [ ] Menu déroulant pour toc-tree
- [ ] Custom
- [ ] Rendu de la fiche d'unité
- [ ] Make LaTeX work flawlessly
- [ ] Advanced
- [ ] Keep track of the hyperlinked used
- [ ] Bugs
- [ ] Quotes in french
- [ ] Navlink header: Contenu, Exercices, Annexes,
- [ ] §3.3.3 ou exclusif : symbole ^ dans l'entête du tableau
- [ ] §3.3.4 complément à un : symbole ~ dans l'entête du tableau

- [ ] Page d'accueil LateX
- [ ] Table captions
- [ ] Article 12
- [ ] Enumeration vilaine (indentation)
- [ ] Color links
- [ ] Exercice (environment exercice)
- [ ] Bibliograhie
- [ ] Solutions des exercices
- [ ] Organisationd de l'ouvrage, conventions d'ecriture
- [ ] Logo C pour l'ingénieur : Atome, outil chirurgical
- [ ] Taille des figures
- [ ] Index italique et références
- [ ] Build from GitHub Actions
- [ ] Index at the end of document?
- [ ] Exercice thing...

.. only:: comment

Expand Down
16 changes: 16 additions & 0 deletions backmatter/bibliography.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
=============
Bibliographie
=============

Les références utilisées dans cet ouvrage sont :

- Programming languages C -- `ISO/IEC 9899 <https://www.iso.org/standard/74528.html>`__
- Le guide complet du langage C -- Claude Delanoy, 844 pages (`ISBN-13 978-2212140125 <https://isbnsearch.org/isbn/9782212140125>`__)
- Le Langage C 2e edition -- K&R, 304 pages (`ISBN-13 978-2100715770 <https://isbnsearch.org/isbn/9782100715770>`__)
- Cracking the coding interview -- Gayle Laakmann, 687 pages (`ISBN-13 978-0984782857 <https://isbnsearch.org/isbn/9780984782857>`__)
- C: The Complete Reference, 4th Ed. -- Osborne, 2.5 pounds (`ISBN-13 978-0070411838 <https://isbnsearch.org/isbn/9780070411838>`__)

- Die.net -- https://www.die.net
- Wikipedia -- https://www.wikipedia.org
- StackOverflow -- https://stackoverflow.com

13 changes: 9 additions & 4 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'sphinx.ext.mathjax',
'sphinx.ext.githubpages',
'sphinx.ext.todo',
# 'sphinxcontrib.bibtex',
'sphinxcontrib.rsvgconverter',
'exercices',
'unicode',
Expand Down Expand Up @@ -61,12 +62,14 @@
latex_engine = 'xelatex'
latex_elements = {
'papersize': 'a4paper',
'babel': '\\usepackage[french]{babel}',
'pointsize': '12pt',
'babel': r'\usepackage[french]{babel}',
'inputenc': '',
'utf8extra': '',
'fontpkg': '',
'fncychap': '',
'printindex': r'\footnotesize\raggedright\printindex',
'printindex': '',
'maketitle': r'\maketitle',
'preamble': r'''
% Disable the ugly colouring of titles. Why does Sphinx do this?
Expand Down Expand Up @@ -107,11 +110,13 @@
\fancyfoot{}
\fancyhead{}
\fancyhead[LE,RO]{{\thepage}}
\fancyhead[CO]{{\@title}}
\fancyhead[CE]{{\nouppercase{\rightmark}}}
\fancyhead[CO]{\uppercase{Le C pour l'ingénieur}}
\fancyhead[CE]{\leftmark}
\renewcommand{\headrulewidth}{0.2pt}
\renewcommand{\footrulewidth}{0pt}
}
\makeatother
'''
}

Expand Down
Binary file added icons/hint.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions icons/hint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions index.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@

.. raw:: latex

\frontmatter

=====================
Le C pour l'ingénieur
=====================

.. raw:: latex

\section*{Notes}
\section*{Préambule}

Cet ouvrage est destiné aux étudiants de première année Bachelor `HEIG-VD <http://heig-vd.ch>`__, département TIN et filières Génie électrique. Il est une introduction à la programmation en C. Il couvre la matière vue durant le cycle des cours :ref:`Info1 <info1>` et :ref:`Info2 <info2>`.

Expand All @@ -30,7 +26,7 @@ Date : |today|
.. toctree::
:numbered:
:maxdepth: 2
:caption: Contenu
:caption: Table des matières
:glob:

content/*
Expand Down
37 changes: 37 additions & 0 deletions refs.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@book{c99,
title = {Programming languages - C},
organization = {International Organization for Standardization},
url = {http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf},
shorttitle = {{ISO}/{IEC} 9899:99},
publisher = {{ISO}/{IEC}},
urldate = {2020-08-02},
date = {1999-12},
langid = {english},
booktitle = {Languages used in information technology}
}
@book{alma991001182659705596,
author = {Delannoy Claude},
address = {Paris},
edition = {[Nouvelle édition]},
isbn = {2-212-08985-6},
keywords = {C (langage de programmation)},
language = {fre},
publisher = {Eyrolles},
title = {Programmer en langage C [Texte imprimé] : avec exercices corrigés / Claude Delannoy},
}
@Book{kernighan2004le,
author = {Kernighan, Brian},
title = {Le langage C norme ANSI},
publisher = {Dunod},
year = {2004},
address = {Paris},
isbn = {9782100715770}
}
@Book{mcdowell2015cracking,
author = {McDowell, Gayle},
title = {Cracking the coding interview : 189 programming questions and solutions},
publisher = {CareerCup, LLC},
year = {2015},
address = {Palo Alto, CA},
isbn = {978-0-9847828-5-7}
}

0 comments on commit a70c30a

Please sign in to comment.