This short howto is intended to be a mental note for myself so I don't have
to spend all the wasted hours that took me to figure out howto get landslide
up and running and beautifully displaying LaTeX on the slides. If you find it
useful, good for you ;-)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| <script type="text/x-mathjax-config;executed=true"> | |
| MathJax.Hub.Register.StartupHook("HTML-CSS Jax Startup",function () { | |
| var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; | |
| HTMLCSS.Font.checkWebFont = function (check,font,callback) { | |
| if (check.time(callback)) return; | |
| if (check.total === 0) { | |
| HTMLCSS.Font.testFont(font); | |
| setTimeout(check,200); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define [ | |
| "marked", | |
| "jquery", | |
| "mathjax" | |
| ], (marked, $, MathJax) -> | |
| # see: http://cdn.mathjax.org/mathjax/latest/test/sample-dynamic-2.html | |
| class MathJaxMarkdownEditor | |
| inputName: "#editor" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Calculator < UIView | |
| attr_accessor :entryView | |
| attr_accessor :stepView | |
| attr_accessor :keyboardView | |
| attr_accessor :current_problem | |
| attr_accessor :nextInput | |
| attr_accessor :hint | |
| attr_accessor :reveal | |
| attr_accessor :explain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Title</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
| <!-- Use remark, jQuery and MathJax --> | |
| <script src="https://github.com/downloads/gnab/remark/remark-0.3.6.min.js"></script> | |
| <script src="http://code.jquery.com/jquery-latest.js"></script> | |
| <script src="http://cdn.mathjax.org/mathjax/2.0-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&delayStartupUntil=configured"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <title>moments -- Sage</title> | |
| <link type="text/css" rel="stylesheet" href="/css/main.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <!-- http://docs.mathjax.org/en/v1.1-latest/typeset.html --> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>MathJax Dynamic Math Test Page</title> | |
| <script type="text/x-mathjax-config"> | |
| MathJax.Hub.Config({ | |
| tex2jax: { | |
| inlineMath: [["$","$"],["\\(","\\)"]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| index 1a06ae2..ef440ea 100644 | |
| --- a/_config.yml | |
| +++ b/_config.yml | |
| @@ -33,7 +33,7 @@ destination: public | |
| plugins: plugins | |
| code_dir: downloads/code | |
| category_dir: blog/categories | |
| -markdown: rdiscount | |
| +markdown: kramdown | |
| pygments: false # default python pygments have been replaced by pygments.rb |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zmq = require("zmq") | |
| fs = require("fs") | |
| var config = JSON.parse(fs.readFileSync(process.argv[2])) | |
| var connexion = "tcp://"+config.ip+":" | |
| var shell_conn = connexion+config.shell_port | |
| var pub_conn = connexion+config.iopub_port | |
| var hb_conn = connexion+config.hb_port |