Commit 5342e919 authored by paugier's avatar paugier
Browse files

Solve problem with reveal.js

parent 2f31e2af
syntax: glob
*.pyd*
*.pyc
*~
......@@ -13,4 +11,5 @@ ipynb/*.slides.html
**/*.egg-info/
ipynb/index.html
\ No newline at end of file
ipynb/index.html
.vscode
\ No newline at end of file
......@@ -37,7 +37,7 @@ ipynb/index.html: ipynb/index.rst
cd $(IPYNBDIR) && rst2html5 index.rst > index.html
%.slides.html: %.ipynb ipynb/slides_reveal_wide.tpl
jupyter-nbconvert $< --to slides --template ipynb/slides_reveal_wide.tpl
jupyter-nbconvert $< --reveal-prefix='./reveal.js' --to slides --template ipynb/slides_reveal_wide.tpl
presentations: $(IPYNBPRES) ipynb/index.html
......
......@@ -9,12 +9,10 @@ To display and/or modify the presentations, use the Makefile. See::
make help
Repositories
------------
Repository
----------
The old repository is https://sourcesup.renater.fr/projects/py-training-uga/
We now use a repository hosted in the Gitlab of UGA:
The repository hosted in the Gitlab of UGA:
https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga
- Clone the repository with Git with https::
......@@ -40,5 +38,4 @@ Authors
-------
Pierre Augier (LEGI), Cyrille Bonamy (LEGI), Eric Maldonado (Irstea), Franck
Thollard (ISTERRE), Christophe Picard (LJK)
Thollard (ISTERRE), Christophe Picard (LJK), Loïc Huder (ISTerre)
......@@ -12,7 +12,7 @@
"\n",
"**A training to acquire strong basis in Python to use it efficiently**\n",
"\n",
"Pierre Augier (LEGI), Cyrille Bonamy (LEGI), Eric Maldonado (Irstea), Franck Thollard (ISTerre), Christophe Picard (LJK) Loïc Huder (ISTerre)\n",
"Pierre Augier (LEGI), Cyrille Bonamy (LEGI), Eric Maldonado (Irstea), Franck Thollard (ISTerre), Christophe Picard (LJK), Loïc Huder (ISTerre)\n",
"\n",
"# First steps\n",
"\n",
......@@ -274,9 +274,7 @@
"\n",
"Remarks: \n",
"\n",
"- it is very important to use a good editor to code in Python (for example spyder, emacs or vi with [a good setup](https://bitbucket.org/fluiddyn/fluid_emacs.d)).\n",
"\n",
"- a good modern open-source editor: [Visual Studio Code] (https://code.visualstudio.com/docs/languages/python)."
"- it is very important to use a good editor to code in Python (for example Spyder, emacs or vi with [a good setup](https://bitbucket.org/fluiddyn/fluid_emacs.d), or [Visual Studio Code](https://code.visualstudio.com/docs/languages/python))."
]
},
{
......@@ -312,7 +310,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
"version": "3.7.2"
}
},
"nbformat": 4,
......
......@@ -12,8 +12,7 @@
"\n",
"**A training to acquire strong basis in Python to use it efficiently**\n",
"\n",
"Pierre Augier (LEGI), Cyrille Bonamy (LEGI), Eric Maldonado (Irstea), Franck Thollard (ISTerre), Christophe Picard (LJK),\n",
" Loïc Huder (ISTerre)\n",
"Pierre Augier (LEGI), Cyrille Bonamy (LEGI), Eric Maldonado (Irstea), Franck Thollard (ISTerre), Christophe Picard (LJK), Loïc Huder (ISTerre)\n",
" \n",
"\n",
"# Characteristics of the Python language"
......
{%- extends 'basic.tpl' -%}
{% from 'mathjax.tpl' import mathjax %}
// added by Pierre Augier
{%- block input_group scoped -%}
{%- if not cell.metadata.get('source_hidden', False) -%}
{{ super() }}
{%- endif -%}
{%- endblock input_group -%}
{%- block output_prompt -%}
{%- if not cell.metadata.get('source_hidden', False) -%}
{{ super() }}
{%- endif -%}
{%- endblock output_prompt -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.get('slide_start', False) -%}
<section>
......@@ -189,7 +202,12 @@ require(
controls: true,
progress: true,
history: true,
width: 1200,
// changed by Pierre Augier
width: '85%',
height: '100%',
slideNumber: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'linear', // default/cube/page/concave/zoom/linear/none
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment