├── .gitignore ├── bin └── tpl4md.bat └── share ├── templates ├── epub │ ├── make-clean.bat │ ├── make-epub.bat │ ├── title.txt │ ├── images │ │ └── hw.jpg │ ├── doc │ │ ├── README_epub.pdf │ │ └── README-fr_epub.pdf │ ├── configuration.json │ ├── Makefile │ ├── generate_files │ ├── generator.py │ ├── document.md │ ├── README.md │ └── README-fr.md ├── pdf-cplx │ ├── make-clean.bat │ ├── make-pdf-cplx.bat │ ├── images │ │ ├── hw.jpg │ │ └── quotes_opening.png │ ├── dblatex │ │ ├── dbk_callout.sty │ │ ├── dbk_locale.sty │ │ ├── dbk_changebar.sty │ │ ├── dbk_admonition.sty │ │ ├── dbk_item.sty │ │ ├── dbk_biblio.sty │ │ ├── dbk_hyper.sty │ │ ├── dbk_title.sty │ │ ├── dbk_graphic.sty │ │ ├── dbk_table.sty │ │ ├── dbk_verbatim.sty │ │ ├── lastpage.sty │ │ ├── dbk_core.sty │ │ ├── dbk_headfoot.sty │ │ ├── dbk_fonts.sty │ │ ├── dbk_revision.sty │ │ └── dbk_annot.sty │ ├── doc │ │ └── README-fr_pdf-cplx.pdf │ ├── Makefile │ ├── configuration.json │ ├── generator.py │ ├── document.md │ └── pdf-template-cplx.tex ├── pdf-simple │ ├── make-clean.bat │ ├── make-pdf-simple.bat │ ├── images │ │ └── hw.jpg │ ├── doc │ │ ├── README_pdf-simple.pdf │ │ └── README_pdf-simple.md │ ├── Makefile │ ├── configuration.json │ ├── generator.py │ ├── pdf-template-simple.tex │ ├── document.md │ └── generate_files └── slides-reveal │ ├── make-clean.bat │ ├── make-slides-reveal.bat │ ├── Makefile │ ├── favicon.ico │ ├── images │ └── hw.jpg │ ├── lib │ ├── font │ │ ├── league_gothic_license │ │ ├── league_gothic-webfont.eot │ │ ├── league_gothic-webfont.ttf │ │ └── league_gothic-webfont.woff │ ├── js │ │ ├── html5shiv.js │ │ ├── classList.js │ │ └── head.min.js │ └── css │ │ └── zenburn.css │ ├── doc │ ├── README_slides-reveal.pdf │ └── README_slides-reveal.md │ ├── plugin │ ├── markdown │ │ ├── example.md │ │ └── example.html │ ├── multiplex │ │ ├── client.js │ │ ├── master.js │ │ └── index.js │ ├── print-pdf │ │ └── print-pdf.js │ ├── postmessage │ │ ├── postmessage.js │ │ └── example.html │ ├── remotes │ │ └── remotes.js │ ├── notes-server │ │ ├── client.js │ │ ├── index.js │ │ └── notes.html │ └── notes │ │ ├── notes.js │ │ └── notes.html │ ├── src │ ├── second_part.md │ └── first_part.md │ ├── configuration.json │ ├── css │ ├── theme │ │ ├── template │ │ │ ├── settings.scss │ │ │ ├── mixins.scss │ │ │ └── theme.scss │ │ ├── source │ │ │ ├── night.scss │ │ │ ├── serif.scss │ │ │ ├── sky.scss │ │ │ ├── simple.scss │ │ │ ├── default.scss │ │ │ ├── beige.scss │ │ │ ├── moon.scss │ │ │ └── solarized.scss │ │ ├── README.md │ │ ├── night.css │ │ ├── serif.css │ │ ├── simple.css │ │ ├── moon.css │ │ ├── solarized.css │ │ ├── sky.css │ │ ├── beige.css │ │ └── default.css │ └── print │ │ ├── pdf.css │ │ └── paper.css │ ├── LICENSE │ ├── package.json │ ├── generator.py │ ├── index.html │ ├── Gruntfile.js │ └── generate_files ├── doc ├── README.pdf └── README-fr.pdf └── common ├── cleanup.py └── bin └── config_parsing /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /bin/tpl4md.bat: -------------------------------------------------------------------------------- 1 | marksf_gen -i 2 | pause -------------------------------------------------------------------------------- /share/templates/epub/make-clean.bat: -------------------------------------------------------------------------------- 1 | make clean 2 | pause -------------------------------------------------------------------------------- /share/templates/epub/make-epub.bat: -------------------------------------------------------------------------------- 1 | make epub 2 | pause -------------------------------------------------------------------------------- /share/templates/epub/title.txt: -------------------------------------------------------------------------------- 1 | % !title! 2 | % !author! 3 | -------------------------------------------------------------------------------- /share/templates/pdf-cplx/make-clean.bat: -------------------------------------------------------------------------------- 1 | make clean 2 | pause -------------------------------------------------------------------------------- /share/templates/pdf-simple/make-clean.bat: -------------------------------------------------------------------------------- 1 | make clean 2 | pause -------------------------------------------------------------------------------- /share/templates/pdf-cplx/make-pdf-cplx.bat: -------------------------------------------------------------------------------- 1 | make pdf-cplx 2 | pause -------------------------------------------------------------------------------- /share/templates/slides-reveal/make-clean.bat: -------------------------------------------------------------------------------- 1 | make clean 2 | pause -------------------------------------------------------------------------------- /share/templates/pdf-simple/make-pdf-simple.bat: -------------------------------------------------------------------------------- 1 | make pdf-simple 2 | pause -------------------------------------------------------------------------------- /share/templates/slides-reveal/make-slides-reveal.bat: -------------------------------------------------------------------------------- 1 | make slides-reveal 2 | pause -------------------------------------------------------------------------------- /share/doc/README.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/doc/README.pdf -------------------------------------------------------------------------------- /share/doc/README-fr.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/doc/README-fr.pdf -------------------------------------------------------------------------------- /share/templates/epub/images/hw.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/epub/images/hw.jpg -------------------------------------------------------------------------------- /share/templates/slides-reveal/Makefile: -------------------------------------------------------------------------------- 1 | slides-reveal: 2 | python ./bin/generate_files 3 | clean: 4 | rm -rf index.html -------------------------------------------------------------------------------- /share/templates/pdf-cplx/images/hw.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-cplx/images/hw.jpg -------------------------------------------------------------------------------- /share/templates/epub/doc/README_epub.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/epub/doc/README_epub.pdf -------------------------------------------------------------------------------- /share/templates/pdf-simple/images/hw.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-simple/images/hw.jpg -------------------------------------------------------------------------------- /share/templates/epub/doc/README-fr_epub.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/epub/doc/README-fr_epub.pdf -------------------------------------------------------------------------------- /share/templates/slides-reveal/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/slides-reveal/favicon.ico -------------------------------------------------------------------------------- /share/templates/slides-reveal/images/hw.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/slides-reveal/images/hw.jpg -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_callout.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-cplx/dblatex/dbk_callout.sty -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_locale.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-cplx/dblatex/dbk_locale.sty -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_changebar.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-cplx/dblatex/dbk_changebar.sty -------------------------------------------------------------------------------- /share/templates/pdf-cplx/images/quotes_opening.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-cplx/images/quotes_opening.png -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_admonition.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-cplx/dblatex/dbk_admonition.sty -------------------------------------------------------------------------------- /share/templates/pdf-cplx/doc/README-fr_pdf-cplx.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-cplx/doc/README-fr_pdf-cplx.pdf -------------------------------------------------------------------------------- /share/templates/pdf-simple/doc/README_pdf-simple.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/pdf-simple/doc/README_pdf-simple.pdf -------------------------------------------------------------------------------- /share/templates/slides-reveal/lib/font/league_gothic_license: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/doc/README_slides-reveal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/slides-reveal/doc/README_slides-reveal.pdf -------------------------------------------------------------------------------- /share/templates/slides-reveal/lib/font/league_gothic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/slides-reveal/lib/font/league_gothic-webfont.eot -------------------------------------------------------------------------------- /share/templates/slides-reveal/lib/font/league_gothic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/slides-reveal/lib/font/league_gothic-webfont.ttf -------------------------------------------------------------------------------- /share/templates/slides-reveal/lib/font/league_gothic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dloureiro/tpl4md/HEAD/share/templates/slides-reveal/lib/font/league_gothic-webfont.woff -------------------------------------------------------------------------------- /share/templates/epub/configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "source_file_name":"document.md", 3 | "destination_file_name":"example", 4 | "title" : "Sample E-book", 5 | "author" : "John Doe" 6 | } -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_item.sty: -------------------------------------------------------------------------------- 1 | % 2 | % This package can handle @continuation, @spacing, and @numeration. 3 | % 4 | \usepackage[shortlabels]{common/dblatex/enumitem} 5 | 6 | % No extra indentation 7 | \setitemize{leftmargin=*} 8 | 9 | -------------------------------------------------------------------------------- /share/common/cleanup.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/python 2 | 3 | import glob, os 4 | 5 | directory='../templates' 6 | os.chdir(directory) 7 | filelist = glob.glob("*/generator.pyc") 8 | for f in filelist: 9 | print "-- Removing file : " + f 10 | os.remove(f) -------------------------------------------------------------------------------- /share/templates/slides-reveal/lib/js/html5shiv.js: -------------------------------------------------------------------------------- 1 | document.createElement('header'); 2 | document.createElement('nav'); 3 | document.createElement('section'); 4 | document.createElement('article'); 5 | document.createElement('aside'); 6 | document.createElement('footer'); 7 | document.createElement('hgroup'); -------------------------------------------------------------------------------- /share/templates/slides-reveal/plugin/markdown/example.md: -------------------------------------------------------------------------------- 1 | # Markdown Demo 2 | 3 | 4 | 5 | ## External 1.1 6 | 7 | Content 1.1 8 | 9 | 10 | ## External 1.2 11 | 12 | Content 1.2 13 | 14 | 15 | 16 | ## External 2 17 | 18 | Content 2.1 19 | 20 | 21 | 22 | ## External 3.1 23 | 24 | Content 3.1 25 | 26 | 27 | ## External 3.2 28 | 29 | Content 3.2 30 | -------------------------------------------------------------------------------- /share/templates/epub/Makefile: -------------------------------------------------------------------------------- 1 | SOURCE_FILE_NAME = `python ./bin/config_parsing source_file_name` 2 | BOOK_FILE_NAME = `python ./bin/config_parsing destination_file_name` 3 | 4 | EPUB_BUILDER = pandoc 5 | EPUB_BUILDER_FLAGS = \ 6 | --toc 7 | 8 | epub: 9 | python ./bin/generate_files 10 | $(EPUB_BUILDER) $(EPUB_BUILDER_FLAGS) title-gen.txt $(SOURCE_FILE_NAME) -o $(BOOK_FILE_NAME).epub 11 | rm -rf title-gen.txt 12 | 13 | clean: 14 | rm -f $(BOOK_FILE_NAME).epub 15 | rm -f title-gen.txt -------------------------------------------------------------------------------- /share/templates/slides-reveal/plugin/multiplex/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var multiplex = Reveal.getConfig().multiplex; 3 | var socketId = multiplex.id; 4 | var socket = io.connect(multiplex.url); 5 | 6 | socket.on(multiplex.id, function(data) { 7 | // ignore data from sockets that aren't ours 8 | if (data.socketId !== socketId) { return; } 9 | if( window.location.host === 'localhost:1947' ) return; 10 | 11 | Reveal.slide(data.indexh, data.indexv, data.indexf, 'remote'); 12 | }); 13 | }()); 14 | -------------------------------------------------------------------------------- /share/templates/pdf-cplx/Makefile: -------------------------------------------------------------------------------- 1 | SOURCE_FILE_NAME = `python ./bin/config_parsing source_file_name` 2 | BOOK_FILE_NAME = `python ./bin/config_parsing destination_file_name` 3 | 4 | PDF_BUILDER = pandoc 5 | PDF_BUILDER_CPLX_FLAGS = \ 6 | --latex-engine xelatex \ 7 | --template pdf-template-gen.tex \ 8 | --listings \ 9 | --toc 10 | 11 | pdf-cplx: 12 | python ./bin/generate_files 13 | $(PDF_BUILDER) $(PDF_BUILDER_CPLX_FLAGS) $(SOURCE_FILE_NAME) -f markdown -o $(BOOK_FILE_NAME).pdf 14 | rm -rf ./pdf-template-gen.tex 15 | 16 | clean: 17 | rm -f $(BOOK_FILE_NAME).pdf 18 | rm -f pdf-template-gen.tex -------------------------------------------------------------------------------- /share/templates/pdf-simple/Makefile: -------------------------------------------------------------------------------- 1 | SOURCE_FILE_NAME = `python ./bin/config_parsing source_file_name` 2 | BOOK_FILE_NAME = `python ./bin/config_parsing destination_file_name` 3 | 4 | PDF_BUILDER = pandoc 5 | PDF_BUILDER_SIMPLE_FLAGS = \ 6 | --latex-engine xelatex \ 7 | --listings \ 8 | --template pdf-template-gen.tex 9 | 10 | pdf-simple: 11 | python ./bin/generate_files 12 | $(PDF_BUILDER) $(PDF_BUILDER_SIMPLE_FLAGS) $(SOURCE_FILE_NAME) -f markdown -o $(BOOK_FILE_NAME).pdf 13 | rm -rf ./pdf-template-gen.tex 14 | clean: 15 | rm -f $(BOOK_FILE_NAME).pdf 16 | rm -f pdf-template-gen.tex -------------------------------------------------------------------------------- /share/templates/slides-reveal/src/second_part.md: -------------------------------------------------------------------------------- 1 | # Merci! 2 | ## Questions? 3 | 4 |
5 |
6 | 7 | 8 | [http://www.sysfera.com](http://www.sysfera.com)
9 | [http://sysfera.github.com](http://sysfera.github.com) 10 |
11 | 12 | [contact@sysfera.com](mailto://contact@sysfera.com)
13 | [marie.granier@sysfera.com](mailto://marie.granier@sysfera.com)
14 | [benjamin.depardon@sysfera.com](mailto://benjamin.depardon@sysfera.com)
15 | [david.loureiro@sysfera.com](mailto://david.loureiro@sysfera.com)
16 |
-------------------------------------------------------------------------------- /share/templates/slides-reveal/configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "title" : "Document entre SysFera et un client", 3 | "subtitle":"Trop bien", 4 | "author" : "John Doe", 5 | "website":"http://www.sysfera.com", 6 | "e-mail" : "john.doe@sysfera.com", 7 | "twitter" : "hakimel", 8 | "event":"Mix-IT", 9 | "date":"2013-04-27", 10 | "transition":"cube", 11 | "loop":true, 12 | "autoSlide":7000, 13 | "table_of_contents":true, 14 | "source_files":[ 15 | { 16 | "file":"src/first_part.md", 17 | "title":"First part" 18 | }, 19 | { 20 | "file":"src/second_part.md", 21 | "title":"Second part" 22 | } 23 | ] 24 | } -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_biblio.sty: -------------------------------------------------------------------------------- 1 | \usepackage{bibtopic} 2 | 3 | % btPrintAll redefined to not include a file 4 | 5 | \newenvironment{bibgroup}{% 6 | \ifthenelse{\boolean{bt@inside@sect}}{% 7 | \protected@edef\bt@curr@line{\the\inputlineno}% 8 | \def\bt@curr@cmd{\string\btPrintAll}% 9 | \bt@stepcnt\bt@internal@sect@cnt 10 | \bt@print@citedfalse\bt@print@alltrue 11 | \label{Sec:\bt@internal@sect@cnt}% 12 | \bt@change@bibitem 13 | }{% 14 | \bt@sect@err{btSect}{\btPrintAll}% 15 | }% 16 | }{ 17 | \ifthenelse{\boolean{bt@inside@sect}}{% 18 | \bt@print@keyvals{\bt@sect@ref@list}% 19 | {Sec:\bt@internal@sect@cnt}% 20 | }{% 21 | }% 22 | } 23 | 24 | -------------------------------------------------------------------------------- /share/templates/pdf-simple/configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "source_file_name":"document.md", 3 | "destination_file_name":"example", 4 | "client":"Client", 5 | "title" : "Document entre SysFera et un client", 6 | "author" : "John Doe", 7 | "project_name" : "Projet 999", 8 | "release_info":"Réalisé héhé", 9 | "water_mark":"DRAFT", 10 | "lang":"french", 11 | "author_company" : "Example inc.", 12 | "footer":{ 13 | "left":[ 14 | "A marvelous company", 15 | "We are a rock-solid team", 16 | "located at the edge of the univers" 17 | ], 18 | "right":[ 19 | "Web : \\url{www.example.com}", 20 | "e-mail : \\url{contact@example.com}", 21 | "Tel : 01 23 45 67 89" 22 | ] 23 | } 24 | } -------------------------------------------------------------------------------- /share/common/bin/config_parsing: -------------------------------------------------------------------------------- 1 | #! /usr/bin/python 2 | 3 | import json 4 | import sys 5 | import codecs 6 | from os import path, access, R_OK # W_OK for write permission. 7 | import argparse 8 | 9 | def main(key_to_retrieve) : 10 | 11 | configuration_file = u'./configuration.json' 12 | 13 | if path.isfile(configuration_file) and access(configuration_file, R_OK): 14 | 15 | json_data=codecs.open(configuration_file,'r','utf-8') 16 | data = json.load(json_data) 17 | print(data[key_to_retrieve]) 18 | json_data.close() 19 | 20 | else : 21 | print "configuration.json file does not exist!" 22 | 23 | parser = argparse.ArgumentParser() 24 | parser.add_argument("key", help="The key of the value to retrieve from the configuration file") 25 | args = parser.parse_args() 26 | 27 | if args.key != None : 28 | main(args.key) 29 | else : 30 | parser.print_help() -------------------------------------------------------------------------------- /share/templates/slides-reveal/plugin/print-pdf/print-pdf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * phantomjs script for printing presentations to PDF. 3 | * 4 | * Example: 5 | * phantomjs print-pdf.js "http://lab.hakim.se/reveal-js?print-pdf" reveal-demo.pdf 6 | * 7 | * By Manuel Bieh (https://github.com/manuelbieh) 8 | */ 9 | 10 | // html2pdf.js 11 | var page = new WebPage(); 12 | var system = require( 'system' ); 13 | 14 | page.paperSize = { 15 | format: 'A4', 16 | orientation: 'landscape', 17 | margin: { 18 | left: '0', 19 | right: '0', 20 | top: '0', 21 | bottom: '0' 22 | } 23 | }; 24 | page.zoomFactor = 1.5; 25 | 26 | var revealFile = system.args[1] || 'index.html?print-pdf'; 27 | var slideFile = system.args[2] || 'slides.pdf'; 28 | 29 | if( slideFile.match( /\.pdf$/gi ) === null ) { 30 | slideFile += '.pdf'; 31 | } 32 | 33 | console.log( 'Printing PDF...' ); 34 | 35 | page.open( revealFile, function( status ) { 36 | console.log( 'Printed succesfully' ); 37 | page.render( slideFile ); 38 | phantom.exit(); 39 | } ); -------------------------------------------------------------------------------- /share/templates/slides-reveal/css/theme/template/settings.scss: -------------------------------------------------------------------------------- 1 | // Base settings for all themes that can optionally be 2 | // overridden by the super-theme 3 | 4 | // Background of the presentation 5 | $backgroundColor: #2b2b2b; 6 | 7 | // Primary/body text 8 | $mainFont: 'Lato', sans-serif; 9 | $mainFontSize: 36px; 10 | $mainColor: #eee; 11 | 12 | // Headings 13 | $headingFont: 'League Gothic', Impact, sans-serif; 14 | $headingColor: #eee; 15 | $headingLineHeight: 0.9em; 16 | $headingLetterSpacing: 0.02em; 17 | $headingTextTransform: uppercase; 18 | $headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2); 19 | $heading1TextShadow: $headingTextShadow; 20 | 21 | // Links and actions 22 | $linkColor: #13DAEC; 23 | $linkColorHover: lighten( $linkColor, 20% ); 24 | 25 | // Text selection 26 | $selectionBackgroundColor: #FF5E99; 27 | $selectionColor: #fff; 28 | 29 | // Generates the presentation background, can be overridden 30 | // to return a background image or gradient 31 | @mixin bodyBackground() { 32 | background: $backgroundColor; 33 | } -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_hyper.sty: -------------------------------------------------------------------------------- 1 | % 2 | % If hyperlink, load the hyperref package and set the \hyperlabel command needed 3 | % by the DocBook stylesheets 4 | % 5 | \@ifundefined{DBKhyperlink}{ \def\DBKhyperlink{no} }{} 6 | 7 | \usepackage{ifpdf} 8 | 9 | \ifthenelse{\equal{\DBKhyperlink}{yes}}{ 10 | \@ifundefined{hyperparam}{ 11 | \def\hyperparam{linktocpage,colorlinks,citecolor=blue,pdfstartview=FitH} 12 | }{} 13 | \@ifundefined{hyperparamadd}{ 14 | \def\hyperparamadd{} 15 | }{} 16 | \ifpdf 17 | \usepackage[pdftex,plainpages=false,\hyperparam,\hyperparamadd]{hyperref} 18 | \def\hyperlabel#1{\hypertarget{#1}{}} 19 | \else\ifxetex 20 | \usepackage[xetex,plainpages=false,\hyperparam,\hyperparamadd]{hyperref} 21 | \def\hyperlabel#1{\hypertarget{#1}{}} 22 | \else 23 | \usepackage[dvips,plainpages=false,\hyperparam,\hyperparamadd]{hyperref} 24 | \def\hyperlabel#1{\Hy@raisedlink{\hyper@anchorstart{#1}\hyper@anchorend}} 25 | \fi\fi 26 | }{ 27 | \usepackage{hyperref} 28 | \def\hyperlabel#1{} 29 | } 30 | 31 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/css/theme/source/night.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 16 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 17 | 18 | 19 | // Override theme settings (see ../template/settings.scss) 20 | $backgroundColor: #111; 21 | 22 | $mainFont: 'Open Sans', sans-serif; 23 | $linkColor: #e7ad52; 24 | $linkColorHover: lighten( $linkColor, 20% ); 25 | $headingFont: 'Montserrat', Impact, sans-serif; 26 | $headingTextShadow: none; 27 | $headingLetterSpacing: -0.03em; 28 | $headingTextTransform: none; 29 | $selectionBackgroundColor: #e7ad52; 30 | $mainFontSize: 30px; 31 | 32 | 33 | // Theme template ------------------------------ 34 | @import "../template/theme"; 35 | // --------------------------------------------- -------------------------------------------------------------------------------- /share/templates/slides-reveal/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2013 Hakim El Hattab, http://hakim.se 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /share/templates/slides-reveal/plugin/postmessage/postmessage.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | simple postmessage plugin 4 | 5 | Useful when a reveal slideshow is inside an iframe. 6 | It allows to call reveal methods from outside. 7 | 8 | Example: 9 | var reveal = window.frames[0]; 10 | 11 | // Reveal.prev(); 12 | reveal.postMessage(JSON.stringify({method: 'prev', args: []}), '*'); 13 | // Reveal.next(); 14 | reveal.postMessage(JSON.stringify({method: 'next', args: []}), '*'); 15 | // Reveal.slide(2, 2); 16 | reveal.postMessage(JSON.stringify({method: 'slide', args: [2,2]}), '*'); 17 | 18 | Add to the slideshow: 19 | 20 | dependencies: [ 21 | ... 22 | { src: 'plugin/postmessage/postmessage.js', async: true, condition: function() { return !!document.body.classList; } } 23 | ] 24 | 25 | */ 26 | 27 | (function (){ 28 | 29 | window.addEventListener( "message", function ( event ) { 30 | var data = JSON.parse( event.data ), 31 | method = data.method, 32 | args = data.args; 33 | 34 | if( typeof Reveal[method] === 'function' ) { 35 | Reveal[method].apply( Reveal, data.args ); 36 | } 37 | }, false); 38 | 39 | }()); 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/src/first_part.md: -------------------------------------------------------------------------------- 1 | # SysFera 2 | 3 | !SLIDE 4 | # Historique 5 | 6 | * 2001-2010 : 7 | * Laboratoire de l’Informatique du parallélisme (ENS, INRIA), Equipe-projet Graal/Avalon 8 | * Projet Décrypthon 9 | * 2010-2013 10 | * SysFera 11 | * Co-développement avec EDF R&D 12 | * Impliqué dans des projets de plates-formes de calcul (IRT, ANR, FP7, Mésocentres, Décrypthon 3) 13 | 14 | 15 | !SLIDE 16 | # Vision HPC 17 | 18 | ### Facilité l’utilisation des ressources HPC 19 | 20 | * Les ingénieurs/chercheurs doivent se concentrer sur leur métier, pas sur l’informatique 21 | * Facilité d’utilisation des ressources et des applications 22 | * Transparence d’accès aux ressources 23 | * Fédérer l’accès aux ressources 24 | 25 | 26 | !SLIDE 27 | # Vision SaaS 28 | 29 | ### Permettre le passage et l’exploitation d’applications en SaaS de manière efficace 30 | 31 | * On-Premise -> SaaS : sans toucher à son application 32 | * Scalabilité 33 | * Interaction entre marketing – vente – support – applications – infrastructure 34 | * Utilisation d’infrastructure Cloud 35 | 36 | !SLIDE 37 | # Références 38 | 39 | ![](images/references_client.png "références client") -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_title.sty: -------------------------------------------------------------------------------- 1 | % ****************************************************************************** 2 | % *** Page de garde 3 | % ****************************************************************************** 4 | 5 | \newlength{\oldbaselineskip} 6 | 7 | \def\DBKcover{ 8 | \ifthenelse{\equal{\DBKedition}{}}{\def\edhead{}}{\def\edhead{Ed. \DBKedition}} 9 | 10 | % interligne double 11 | \setlength{\oldbaselineskip}{\baselineskip} 12 | \setlength{\baselineskip}{2\oldbaselineskip} 13 | \textsf{ 14 | \vfill 15 | \vspace{2.5cm} 16 | \begin{center} 17 | \huge{\textbf{\DBKtitle}}\\ % 18 | \ifx\DBKsubtitle\relax\else% 19 | \underline{\ \ \ \ \ \ \ \ \ \ \ }\\ % 20 | \ \\ % 21 | \huge{\textbf{\DBKsubtitle}}\\ % 22 | \fi 23 | \end{center} 24 | \vfill 25 | \setlength{\baselineskip}{\oldbaselineskip} 26 | \hspace{1cm} 27 | \vspace{1cm} 28 | \begin{center} 29 | \begin{tabular}{p{7cm} p{7cm}} 30 | \Large{\DBKreference{} \edhead} & \\ 31 | \end{tabular} 32 | \end{center} 33 | } 34 | \thispagestyle{empty} 35 | % Format for the other pages 36 | \newpage 37 | \setcounter{page}{1} 38 | \setlength{\baselineskip}{\oldbaselineskip} 39 | %\chead[]{\DBKcheadfront} 40 | %\lfoot[]{} 41 | } 42 | 43 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/plugin/postmessage/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 |
11 | 12 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/css/theme/source/serif.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se; so is the theme - beige.css - that this is based off of. 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Override theme settings (see ../template/settings.scss) 18 | $mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 19 | $mainColor: #000; 20 | $headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 21 | $headingColor: #383D3D; 22 | $headingTextShadow: none; 23 | $headingTextTransform: none; 24 | $backgroundColor: #F0F1EB; 25 | $linkColor: #51483D; 26 | $linkColorHover: lighten( $linkColor, 20% ); 27 | $selectionBackgroundColor: #26351C; 28 | 29 | 30 | 31 | // Theme template ------------------------------ 32 | @import "../template/theme"; 33 | // --------------------------------------------- -------------------------------------------------------------------------------- /share/templates/slides-reveal/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "reveal.js", 3 | "version": "2.4.0", 4 | "description": "The HTML Presentation Framework", 5 | "homepage": "http://lab.hakim.se/reveal-js", 6 | "subdomain": "revealjs", 7 | "scripts": { 8 | "test": "grunt jshint", 9 | "start": "" 10 | }, 11 | "author": { 12 | "name": "Hakim El Hattab", 13 | "email": "hakim.elhattab@gmail.com", 14 | "web": "http://hakim.se" 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "git://github.com/hakimel/reveal.js.git" 19 | }, 20 | "engines": { 21 | "node": "~0.8.0" 22 | }, 23 | "dependencies": { 24 | "underscore": "~1.3.3", 25 | "express": "~2.5.9", 26 | "mustache": "~0.4.0", 27 | "socket.io": "~0.9.13" 28 | }, 29 | "devDependencies": { 30 | "grunt-contrib-jshint": "~0.2.0", 31 | "grunt-contrib-cssmin": "~0.4.1", 32 | "grunt-contrib-uglify": "~0.1.1", 33 | "grunt-contrib-watch": "~0.2.0", 34 | "grunt-contrib-sass": "~0.2.2", 35 | "grunt-contrib-connect": "~0.2.0", 36 | "grunt-zip": "~0.7.0", 37 | "grunt": "~0.4.0" 38 | }, 39 | "licenses": [ 40 | { 41 | "type": "MIT", 42 | "url": "https://github.com/hakimel/reveal.js/blob/master/LICENSE" 43 | } 44 | ] 45 | } 46 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/css/theme/source/sky.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Sky theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); 17 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainFont: 'Open Sans', sans-serif; 22 | $mainColor: #333; 23 | $headingFont: 'Quicksand', sans-serif; 24 | $headingColor: #333; 25 | $headingLetterSpacing: -0.08em; 26 | $headingTextShadow: none; 27 | $backgroundColor: #f7fbfc; 28 | $linkColor: #3b759e; 29 | $linkColorHover: lighten( $linkColor, 20% ); 30 | $selectionBackgroundColor: #134674; 31 | 32 | // Background generator 33 | @mixin bodyBackground() { 34 | @include radial-gradient( #add9e4, #f7fbfc ); 35 | } 36 | 37 | 38 | 39 | // Theme template ------------------------------ 40 | @import "../template/theme"; 41 | // --------------------------------------------- -------------------------------------------------------------------------------- /share/templates/epub/generate_files: -------------------------------------------------------------------------------- 1 | import re 2 | import sys 3 | import json 4 | import codecs 5 | from os import path, access, R_OK # W_OK for write permission. 6 | 7 | if len(sys.argv) > 1 : 8 | debug = True; 9 | else : 10 | debug = False; 11 | 12 | json_data=codecs.open('./configuration.json', "r", "utf-8") 13 | data = json.load(json_data) 14 | json_data.close() 15 | 16 | file_handle = codecs.open("./common/title.txt", 'r', "utf-8") 17 | file_string = file_handle.read() 18 | file_handle.close() 19 | # Getting title 20 | if "title" in data : 21 | title = data["title"] 22 | else : 23 | print "Setting default value for title : My title" 24 | title = "My title" 25 | 26 | if debug : print "Setting title to " + title 27 | file_string = (re.sub(u'!title!', title, file_string)) 28 | 29 | # Getting author 30 | if "author" in data : 31 | author = data["author"] 32 | else : 33 | print "Setting default value for author : My author" 34 | author = "My author" 35 | 36 | if debug : print "Setting author to " + author 37 | file_string = (re.sub(u'!author!', author, file_string)) 38 | 39 | # Write contents to file. 40 | # Using mode 'w' truncates the file. 41 | file_handle = codecs.open("./title-gen.txt", 'w', "utf-8") 42 | file_handle.write(file_string) 43 | file_handle.close() -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_graphic.sty: -------------------------------------------------------------------------------- 1 | % 2 | % Check if the image file (#1) exists. If so, it switches to #2, else to #3 3 | % It assumes that the graphics package \Gin@extensions macro is defined. 4 | % 5 | \long\def\imgexists#1#2#3{% 6 | \begingroup% 7 | \let\img@file\relax% 8 | \filename@parse{#1}% 9 | \ifx\filename@ext\relax% 10 | \@for\Gin@temp:=\Gin@extensions\do{% 11 | \ifx\img@file\relax% 12 | \IfFileExists{#1\Gin@temp}{\def\img@file{#1}}{}% 13 | \fi}% 14 | \else 15 | \IfFileExists{#1}{\def\img@file{#1}}{}% 16 | \fi% 17 | \ifx\img@file\relax#3\else#2\fi% 18 | \endgroup% 19 | } 20 | 21 | % 22 | % The image keeps its natural size if lower than the max boundaries 23 | % Now it's fully based on internal graphics macros 24 | % 25 | % Macros defining the maximum lengths 26 | \def\imgmaxwidth{\textwidth} 27 | \def\imgmaxheight{\textheight} 28 | 29 | % Real image sizes 30 | \def\imgrwidth{\Gin@nat@width} 31 | \def\imgrheight{\Gin@nat@height} 32 | \def\imgevalsize#1{}% 33 | 34 | % Use the maximum possible size 35 | \def\imgwidth{% 36 | \ifdim\Gin@nat@width>\imgmaxwidth 37 | \imgmaxwidth 38 | \else 39 | \Gin@nat@width 40 | \fi 41 | } 42 | 43 | \def\imgheight{% 44 | \ifdim\Gin@nat@height>\imgmaxheight 45 | \imgmaxheight 46 | \else 47 | \Gin@nat@height 48 | \fi 49 | } 50 | 51 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/css/theme/source/simple.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | 22 | // Override theme settings (see ../template/settings.scss) 23 | $mainFont: 'Lato', sans-serif; 24 | $mainColor: #000; 25 | $headingFont: 'News Cycle', Impact, sans-serif; 26 | $headingColor: #000; 27 | $headingTextShadow: none; 28 | $headingTextTransform: none; 29 | $backgroundColor: #fff; 30 | $linkColor: #00008B; 31 | $linkColorHover: lighten( $linkColor, 20% ); 32 | $selectionBackgroundColor: rgba(0, 0, 0, 0.99); 33 | 34 | 35 | 36 | // Theme template ------------------------------ 37 | @import "../template/theme"; 38 | // --------------------------------------------- -------------------------------------------------------------------------------- /share/templates/pdf-cplx/dblatex/dbk_table.sty: -------------------------------------------------------------------------------- 1 | %% 2 | %% Manages the tables. 3 | %% 4 | %% The package is provided to: 5 | %% - fix or workaround some bugs, 6 | %% - define some specific dimensions, 7 | %% - workaround annoying longtable things about table counter. 8 | 9 | \usepackage{longtable} 10 | \usepackage{lscape} 11 | \usepackage{colortbl} 12 | \usepackage{multirow} 13 | \usepackage{calc} 14 | \usepackage{hhline} 15 | 16 | % Multirow changed, used by newtbl 17 | \usepackage{common/dblatex/multirow2} 18 | 19 | % Temporary latex/3797 bug fix (colortbl) by Morten Hoegholm 20 | \expandafter\renewcommand\expandafter\multicolumn 21 | \expandafter[\expandafter3\expandafter]\expandafter{% 22 | \multicolumn{#1}{#2}{#3}} 23 | 24 | % Make \@xmultirow long 25 | \expandafter\long\expandafter\def% 26 | \expandafter\@xmultirow% 27 | \expandafter#\expandafter1% 28 | \expandafter[\expandafter#\expandafter2\expandafter]% 29 | \expandafter#\expandafter3% 30 | \expandafter[\expandafter#\expandafter4\expandafter]% 31 | \expandafter#\expandafter5% 32 | \expandafter{\@xmultirow{#1}[#2]{#3}[#4]{#5}} 33 | 34 | % For the newtbl code 35 | \newdimen\newtblstarfactor% 36 | \newdimen\newtblsparewidth% 37 | \newdimen\newtblcolwidth% 38 | \newdimen\tablewidth% 39 | 40 | % Avoid table counter mess with (informal) longtable 41 | \def\emptyrefstepcounter#1{} 42 | \let\stdrefstepcounter\refstepcounter% 43 | \def\savetablecounter{% 44 | \let\refstepcounter\emptyrefstepcounter% 45 | } 46 | \def\restoretablecounter{% 47 | \let\refstepcounter\stdrefstepcounter% 48 | } 49 | 50 | -------------------------------------------------------------------------------- /share/templates/slides-reveal/lib/js/classList.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/ 2 | if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p