Skip to content

dgricci/xml-1a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xml-1a

Cours d'initiation à XML.

Dépendances logiciels

Plate-forme de test : Ubuntu 14.04.2

Pour cloner complètement ce projet :

$ git clone --recursive https://github.com/dgricci/xml-1a

Post-installation de reveal.js

Préalable

  • Installation de Grunt :
$ sudo http_proxy=host:port https_proxy=host:port npm install -g grunt-cli
# certains répertoires de $HOME/.npm appartiennent à root avec l'installation
# de grunt-cli en global, les re-donner à $USER :
$ sudo chown -R $USER:$(groups $USER | sed -e 's/^.* : //' | cut -d\  -f1) $HOME/.npm/{nopt,minimatch,glob,lodash,inherits}

Préparation à l'utilisation de reveal.js

Dans le répertoire du projet :

$ cd externals/reveal.js
$ http_proxy=host:port https_proxy=host:port npm install grunt
$ http_proxy=host:port https_proxy=host:port npm install grunt-contrib-qunit \
    grunt-contrib-jshint grunt-contrib-cssmin grunt-contrib-uglify \
    grunt-contrib-watch grunt-sass grunt-contrib-connect grunt-autoprefixer \
    grunt-zip
$ grunt cssmin uglify

Dépendance pandoc

Il faut installer le paquet libghc-highlighting-kate-dev :

$ sudo apt-get install libghc-highlighting-kate-dev

Il est possible de tester la génération d'un diaporama avec :

$ pandoc -s -t revealjs -i --slide-level=1 --self-contained -o README.html README.md

Puis d'ouvrir le fichier README.html dans un navigateur.

Impression

  • Ouvrir le ficher README.html dans un navigateur en ajoutant ?print-pdf dans l'URL ;
  • Imprimer :
    • Paysage
    • A4
    • Pas de marge
    • Impression des images de fond
    • Enregistrer dans un fichier

About

cours d'initiation à XML (1ère partie)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published