softcover-nonstop 1.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +27 -0
- data/.pull_requests/1371777843 +0 -0
- data/.pull_requests/1371928784 +0 -0
- data/.pull_requests/1372807241 +0 -0
- data/.pull_requests/1374784202 +0 -0
- data/.pull_requests/1375325174 +0 -0
- data/.pull_requests/1375410822 +0 -0
- data/.pull_requests/1375469799 +0 -0
- data/.pull_requests/1375490251 +0 -0
- data/.pull_requests/1375493726 +0 -0
- data/.pull_requests/1375496302 +0 -0
- data/.pull_requests/1375496370 +0 -0
- data/.pull_requests/1375576640 +0 -0
- data/.pull_requests/1375841865 +0 -0
- data/.pull_requests/1376353301 +0 -0
- data/.pull_requests/1376358293 +0 -0
- data/.pull_requests/1376358392 +0 -0
- data/.pull_requests/1376451118 +0 -0
- data/.pull_requests/1376508357 +0 -0
- data/.pull_requests/1376513848 +0 -0
- data/.pull_requests/1376626000 +0 -0
- data/.pull_requests/1376626358 +0 -0
- data/.pull_requests/1376694273 +0 -0
- data/.pull_requests/1376696608 +0 -0
- data/.pull_requests/1376701133 +0 -0
- data/.pull_requests/1376705147 +0 -0
- data/.pull_requests/1377192571 +0 -0
- data/.pull_requests/1377195255 +0 -0
- data/.pull_requests/1377227817 +0 -0
- data/.pull_requests/1378780517 +0 -0
- data/.pull_requests/1379022091 +0 -0
- data/.pull_requests/1379023124 +0 -0
- data/.pull_requests/1379355960 +0 -0
- data/.pull_requests/1379457178 +0 -0
- data/.pull_requests/1379471050 +0 -0
- data/.pull_requests/1379630778 +0 -0
- data/.pull_requests/1380079375 +0 -0
- data/.pull_requests/1380081971 +0 -0
- data/.pull_requests/1380222458 +0 -0
- data/.pull_requests/1380229616 +0 -0
- data/.pull_requests/1380321946 +0 -0
- data/.pull_requests/1380587638 +0 -0
- data/.pull_requests/1380673383 +0 -0
- data/.pull_requests/1380675541 +0 -0
- data/.pull_requests/1380676529 +0 -0
- data/.pull_requests/1380944160 +0 -0
- data/.pull_requests/1381001404 +0 -0
- data/.pull_requests/1381001955 +0 -0
- data/.pull_requests/1381005206 +0 -0
- data/.pull_requests/1381103407 +0 -0
- data/.pull_requests/1381265319 +0 -0
- data/.pull_requests/1381276823 +0 -0
- data/.pull_requests/1381344368 +0 -0
- data/.pull_requests/1381385299 +0 -0
- data/.pull_requests/1381429963 +0 -0
- data/.pull_requests/1381532321 +0 -0
- data/.pull_requests/1381635684 +0 -0
- data/.pull_requests/1381875886 +0 -0
- data/.pull_requests/1382040914 +0 -0
- data/.pull_requests/1382056382 +0 -0
- data/.pull_requests/1382229425 +0 -0
- data/.pull_requests/1382501299 +0 -0
- data/.pull_requests/1382559045 +0 -0
- data/.pull_requests/1382569908 +0 -0
- data/.pull_requests/1382643470 +0 -0
- data/.pull_requests/1382660994 +0 -0
- data/.pull_requests/1382815660 +0 -0
- data/.pull_requests/1383162273 +0 -0
- data/.pull_requests/1383274302 +0 -0
- data/.pull_requests/1383274901 +0 -0
- data/.pull_requests/1383336387 +0 -0
- data/.pull_requests/1383420874 +0 -0
- data/.pull_requests/1383707748 +0 -0
- data/.pull_requests/1384207054 +0 -0
- data/.pull_requests/1384304643 +0 -0
- data/.pull_requests/1384447036 +0 -0
- data/.pull_requests/1384468478 +0 -0
- data/.pull_requests/1384801823 +0 -0
- data/.pull_requests/1385070261 +0 -0
- data/.pull_requests/1385518404 +0 -0
- data/.pull_requests/1385766008 +0 -0
- data/.pull_requests/1385778329 +0 -0
- data/.pull_requests/1385834422 +0 -0
- data/.pull_requests/1385835007 +0 -0
- data/.pull_requests/1385862948 +0 -0
- data/.pull_requests/1386099285 +0 -0
- data/.pull_requests/1386115582 +0 -0
- data/.pull_requests/1386448492 +0 -0
- data/.pull_requests/1387399930 +0 -0
- data/.pull_requests/1387400263 +0 -0
- data/.pull_requests/1387592428 +0 -0
- data/.pull_requests/1387944330 +0 -0
- data/.pull_requests/1388094706 +0 -0
- data/.pull_requests/1388441218 +0 -0
- data/.pull_requests/1388518194 +0 -0
- data/.pull_requests/1388713504 +0 -0
- data/.pull_requests/1388804598 +0 -0
- data/.pull_requests/1395697365 +0 -0
- data/.pull_requests/1403289532 +0 -0
- data/.rspec +1 -0
- data/.travis.yml +13 -0
- data/.vagrant.yml +1 -0
- data/Gemfile +26 -0
- data/LICENSE.txt +22 -0
- data/README.md +27 -0
- data/Rakefile +2 -0
- data/bin/sc +4 -0
- data/bin/softcover +4 -0
- data/lib/softcover/book.rb +238 -0
- data/lib/softcover/book_manifest.rb +385 -0
- data/lib/softcover/builder.rb +86 -0
- data/lib/softcover/builders/epub.rb +514 -0
- data/lib/softcover/builders/html.rb +239 -0
- data/lib/softcover/builders/mobi.rb +59 -0
- data/lib/softcover/builders/pdf.rb +160 -0
- data/lib/softcover/builders/preview.rb +38 -0
- data/lib/softcover/builders/utils/page.js +62 -0
- data/lib/softcover/cli.rb +270 -0
- data/lib/softcover/client.rb +119 -0
- data/lib/softcover/commands/auth.rb +18 -0
- data/lib/softcover/commands/build.rb +74 -0
- data/lib/softcover/commands/check.rb +112 -0
- data/lib/softcover/commands/deployment.rb +35 -0
- data/lib/softcover/commands/epub_validator.rb +32 -0
- data/lib/softcover/commands/generator.rb +140 -0
- data/lib/softcover/commands/opener.rb +17 -0
- data/lib/softcover/commands/publisher.rb +131 -0
- data/lib/softcover/commands/server.rb +66 -0
- data/lib/softcover/config.rb +62 -0
- data/lib/softcover/directories.rb +5 -0
- data/lib/softcover/formats.rb +5 -0
- data/lib/softcover/mathjax.rb +85 -0
- data/lib/softcover/output.rb +39 -0
- data/lib/softcover/rails/railtie.rb +9 -0
- data/lib/softcover/sanitizer.rb +48 -0
- data/lib/softcover/server/app.rb +78 -0
- data/lib/softcover/server/assets/bg.gif +0 -0
- data/lib/softcover/server/assets/icons.png +0 -0
- data/lib/softcover/server/assets/main.css +189 -0
- data/lib/softcover/server/assets/underscore-min.js +6 -0
- data/lib/softcover/server/assets/underscore-min.map +1 -0
- data/lib/softcover/server/views/book.html.erb +55 -0
- data/lib/softcover/server/views/main.js.erb +58 -0
- data/lib/softcover/template/.softcover-build +6 -0
- data/lib/softcover/template/.softcover-deploy +6 -0
- data/lib/softcover/template/Book.txt +9 -0
- data/lib/softcover/template/README.md +10 -0
- data/lib/softcover/template/chapters/a_chapter.md +142 -0
- data/lib/softcover/template/chapters/a_chapter.tex +182 -0
- data/lib/softcover/template/chapters/another_chapter.md +11 -0
- data/lib/softcover/template/chapters/another_chapter.tex +4 -0
- data/lib/softcover/template/chapters/preface.md +3 -0
- data/lib/softcover/template/chapters/preface.tex +3 -0
- data/lib/softcover/template/chapters/yet_another_chapter.md +3 -0
- data/lib/softcover/template/chapters/yet_another_chapter.tex +6 -0
- data/lib/softcover/template/config/book.yml.erb +11 -0
- data/lib/softcover/template/config/lang.yml +14 -0
- data/lib/softcover/template/config/marketing.yml +60 -0
- data/lib/softcover/template/config/preamble.tex +8 -0
- data/lib/softcover/template/epub/OEBPS/styles/.gitkeep +0 -0
- data/lib/softcover/template/epub/OEBPS/styles/custom_epub.css +7 -0
- data/lib/softcover/template/epub/OEBPS/styles/epub.css +23 -0
- data/lib/softcover/template/epub/OEBPS/styles/page-template.xpgt +49 -0
- data/lib/softcover/template/gitignore +36 -0
- data/lib/softcover/template/html/.gitkeep +0 -0
- data/lib/softcover/template/html/MathJax/MathJax.js +30 -0
- data/lib/softcover/template/html/MathJax/config/TeX-AMS-MML_SVG.js +68 -0
- data/lib/softcover/template/html/MathJax/config/TeX-AMS_HTML.js +59 -0
- data/lib/softcover/template/html/MathJax/extensions/FontWarnings.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/HTML-CSS/handle-floats.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/HelpDialog.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/MathEvents.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/MathML/content-mathml.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/MathMenu.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/MathZoom.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/Safe.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/AMScd.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/AMSmath.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/AMSsymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/HTML.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/action.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/autobold.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/autoload-all.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/bbox.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/begingroup.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/boldsymbol.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/cancel.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/color.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/enclose.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/extpfeil.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/mathchoice.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/mhchem.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/newcommand.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/noErrors.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/noUndefined.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/unicode.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/TeX/verb.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/asciimath2jax.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/jsMath2jax.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/mml2jax.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/tex2jax.js +16 -0
- data/lib/softcover/template/html/MathJax/extensions/toMathML.js +16 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff +0 -0
- data/lib/softcover/template/html/MathJax/images/CloseX-31.png +0 -0
- data/lib/softcover/template/html/MathJax/images/MenuArrow-15.png +0 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/jax.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/Arrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/CombDiactForSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/Dingbats.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscSymbolsAndArrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/MiscTechnical.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SupplementalArrowsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/element/mml/optable/SupplementalArrowsB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/AsciiMath/config.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/AsciiMath/jax.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/config.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/a.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/b.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/c.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/d.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/e.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/f.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/fr.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/g.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/h.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/i.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/j.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/k.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/l.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/m.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/n.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/o.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/opf.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/p.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/q.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/r.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/s.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/scr.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/t.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/u.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/v.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/w.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/x.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/y.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/entities/z.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/MathML/jax.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/TeX/config.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/input/TeX/jax.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/annotation-xml.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/maction.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/menclose.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/mglyph.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/ms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/mtable.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/autoload/multiline.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/config.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BBBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedD.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-1.0.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/imageFonts.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/HTML-CSS/jax.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/NativeMML/config.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/NativeMML/jax.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/annotation-xml.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/maction.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/menclose.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/mglyph.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/mmultiscripts.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/ms.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/mtable.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/autoload/multiline.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/config.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Arrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/BoxDrawing.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Dingbats.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/EnclosedAlphanum.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscTechnical.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/PUA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/PUA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/PUA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Arrows.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/CombDiactForSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Latin1Supplement.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscMathSymbolsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscTechnical.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SupplementalArrowsA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GeneralPunctuation.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/GeometricShapes.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/GreekAndCoptic.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/LatinExtendedA.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/LatinExtendedB.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/LetterlikeSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MiscSymbols.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SpacingModLetters.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SuppMathOperators.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Math/BoldItalic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Math/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size1/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size2/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size3/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Size4/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/BasicLatin.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/Main.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/Other.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/fontdata-extra.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/fonts/TeX/fontdata.js +16 -0
- data/lib/softcover/template/html/MathJax/jax/output/SVG/jax.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/de/FontWarnings.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/de/HTML-CSS.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/de/HelpDialog.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/de/MathML.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/de/MathMenu.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/de/TeX.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/de/de.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/en/FontWarnings.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/en/HTML-CSS.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/en/HelpDialog.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/en/MathML.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/en/MathMenu.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/en/TeX.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/en/en.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/fr/FontWarnings.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/fr/HTML-CSS.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/fr/HelpDialog.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/fr/MathML.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/fr/MathMenu.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/fr/TeX.js +16 -0
- data/lib/softcover/template/html/MathJax/localization/fr/fr.js +16 -0
- data/lib/softcover/template/html/jquery/1.10.2/jquery-1.10.2.js +9789 -0
- data/lib/softcover/template/html/jquery/1.10.2/jquery-1.10.2.min.map +1 -0
- data/lib/softcover/template/html/stylesheets/.gitkeep +0 -0
- data/lib/softcover/template/html/stylesheets/custom.css +15 -0
- data/lib/softcover/template/html/stylesheets/softcover.css +440 -0
- data/lib/softcover/template/images/.gitkeep +0 -0
- data/lib/softcover/template/images/2011_michael_hartl.png +0 -0
- data/lib/softcover/template/images/cover-web.png +0 -0
- data/lib/softcover/template/images/cover.jpg +0 -0
- data/lib/softcover/template/images/cover.pdf +1020 -15
- data/lib/softcover/template/images/cover.png +0 -0
- data/lib/softcover/template/images/figures/.gitkeep +0 -0
- data/lib/softcover/template/images/testimonial_1.png +0 -0
- data/lib/softcover/template/latex_styles/custom.sty +19 -0
- data/lib/softcover/template/latex_styles/custom_pdf.sty +9 -0
- data/lib/softcover/template/latex_styles/framed.sty +548 -0
- data/lib/softcover/template/latex_styles/language_customization.sty +11 -0
- data/lib/softcover/template/latex_styles/softcover.sty +167 -0
- data/lib/softcover/template/media/screencasts/.gitkeep +0 -0
- data/lib/softcover/uploader.rb +90 -0
- data/lib/softcover/utils.rb +284 -0
- data/lib/softcover/version.rb +3 -0
- data/lib/softcover.rb +68 -0
- data/softcover.gemspec +41 -0
- data/spec/app_spec.rb +91 -0
- data/spec/auth_spec.rb +44 -0
- data/spec/book_manifest_spec.rb +78 -0
- data/spec/book_spec.rb +40 -0
- data/spec/builder_spec.rb +10 -0
- data/spec/builders/epub_spec.rb +219 -0
- data/spec/builders/html_spec.rb +170 -0
- data/spec/builders/mobi_spec.rb +59 -0
- data/spec/builders/pdf_spec.rb +113 -0
- data/spec/builders/preview_spec.rb +30 -0
- data/spec/cli_spec.rb +183 -0
- data/spec/commands/build_spec.rb +59 -0
- data/spec/commands/check_spec.rb +55 -0
- data/spec/commands/deployment_spec.rb +21 -0
- data/spec/commands/generator_spec.rb +130 -0
- data/spec/commands/opener_spec.rb +17 -0
- data/spec/commands/publisher_spec.rb +140 -0
- data/spec/commands/server_spec.rb +21 -0
- data/spec/config_spec.rb +30 -0
- data/spec/fixtures/.gitkeep +0 -0
- data/spec/mathjax_spec.rb +61 -0
- data/spec/output_spec.rb +41 -0
- data/spec/sanitizer_spec.rb +37 -0
- data/spec/spec_helper.rb +54 -0
- data/spec/support/exist_matcher.rb +7 -0
- data/spec/utils_spec.rb +10 -0
- data/spec/webmock_helpers.rb +210 -0
- data/tasks/run_specs.rake +5 -0
- metadata +1133 -0
@@ -0,0 +1,270 @@
|
|
1
|
+
require "thor"
|
2
|
+
|
3
|
+
module Softcover
|
4
|
+
class CLI < Thor
|
5
|
+
include Softcover::Utils
|
6
|
+
|
7
|
+
map "-v" => :version
|
8
|
+
|
9
|
+
desc "version", "Return the version number (-v for short)"
|
10
|
+
method_option :version, aliases: '-v',
|
11
|
+
desc: "Print version number", type: :boolean
|
12
|
+
def version
|
13
|
+
require 'softcover/version'
|
14
|
+
puts "Softcover #{Softcover::VERSION}"
|
15
|
+
exit 0
|
16
|
+
end
|
17
|
+
|
18
|
+
# ===============================================
|
19
|
+
# Builder
|
20
|
+
# ===============================================
|
21
|
+
|
22
|
+
desc 'build, build:all', 'Build all formats'
|
23
|
+
method_option :quiet, aliases: '-q',
|
24
|
+
desc: "Quiet output", type: :boolean
|
25
|
+
method_option :silent, aliases: '-s',
|
26
|
+
desc: "Silent output", type: :boolean
|
27
|
+
def build
|
28
|
+
Softcover::Commands::Build.all_formats(options)
|
29
|
+
end
|
30
|
+
map "build:all" => "build"
|
31
|
+
|
32
|
+
Softcover::FORMATS.each do |format|
|
33
|
+
desc "build:#{format}", "Build #{format.upcase}"
|
34
|
+
if format == 'pdf'
|
35
|
+
method_option :debug, aliases: '-d',
|
36
|
+
desc: "Run raw xelatex for debugging purposes",
|
37
|
+
type: :boolean
|
38
|
+
method_option :once, aliases: '-o',
|
39
|
+
desc: "Run PDF generator once (no xref update)",
|
40
|
+
type: :boolean
|
41
|
+
method_option :'find-overfull', aliases: '-f',
|
42
|
+
desc: "Find overfull hboxes",
|
43
|
+
type: :boolean
|
44
|
+
method_option :nonstop, aliases: '-n',
|
45
|
+
desc: "Run PDF generator in nonstopmode",
|
46
|
+
type: :boolean
|
47
|
+
elsif format == 'mobi'
|
48
|
+
method_option :kindlegen, aliases: '-k',
|
49
|
+
desc: "Use KindleGen to build the MOBI",
|
50
|
+
type: :boolean
|
51
|
+
end
|
52
|
+
method_option :quiet, aliases: '-q',
|
53
|
+
desc: "Quiet output", type: :boolean
|
54
|
+
method_option :silent, aliases: '-s',
|
55
|
+
desc: "Silent output", type: :boolean
|
56
|
+
define_method "build:#{format}" do
|
57
|
+
Softcover::Commands::Build.for_format format, options
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# ===============================================
|
62
|
+
# Preview
|
63
|
+
# ===============================================
|
64
|
+
desc "build:preview", "Build book preview in all formats"
|
65
|
+
method_option :quiet, aliases: '-q',
|
66
|
+
desc: "Quiet output", type: :boolean
|
67
|
+
method_option :silent, aliases: '-s',
|
68
|
+
desc: "Silent output", type: :boolean
|
69
|
+
define_method "build:preview" do
|
70
|
+
Softcover::Commands::Build.preview(options)
|
71
|
+
end
|
72
|
+
|
73
|
+
# ===============================================
|
74
|
+
# Clean
|
75
|
+
# ===============================================
|
76
|
+
desc "clean", "Clean unneeded files"
|
77
|
+
def clean
|
78
|
+
rm(Dir.glob('*.aux'))
|
79
|
+
rm(Dir.glob(File.join('chapters', '*.aux')))
|
80
|
+
rm(Dir.glob('*.toc'))
|
81
|
+
rm(Dir.glob('*.out'))
|
82
|
+
rm(Dir.glob('*.tmp.*'))
|
83
|
+
rm(Dir.glob(path('tmp/*')))
|
84
|
+
rm('.highlight_cache')
|
85
|
+
end
|
86
|
+
|
87
|
+
# ===============================================
|
88
|
+
# Check
|
89
|
+
# ===============================================
|
90
|
+
desc "check", "Check dependencies"
|
91
|
+
def check
|
92
|
+
Softcover::Commands::Check.check_dependencies!
|
93
|
+
end
|
94
|
+
|
95
|
+
# ===============================================
|
96
|
+
# Server
|
97
|
+
# ===============================================
|
98
|
+
|
99
|
+
desc 'server', 'Run local server'
|
100
|
+
method_option :port, type: :numeric, default: 4000, aliases: '-p'
|
101
|
+
def server
|
102
|
+
if Softcover::BookManifest::valid_directory?
|
103
|
+
Softcover::Commands::Server.run options[:port]
|
104
|
+
else
|
105
|
+
puts 'Not in a valid book directory.'
|
106
|
+
exit 1
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# ===============================================
|
111
|
+
# Auth
|
112
|
+
# ===============================================
|
113
|
+
|
114
|
+
desc "login", "Log into Softcover account"
|
115
|
+
def login
|
116
|
+
puts "Logging in."
|
117
|
+
|
118
|
+
logged_in = false
|
119
|
+
while not logged_in do
|
120
|
+
email = ask "Email:"
|
121
|
+
password = ask_without_echo "Password (won't be shown):"
|
122
|
+
unless logged_in = Softcover::Commands::Auth.login(email, password)
|
123
|
+
puts "Invalid login, please try again."
|
124
|
+
end
|
125
|
+
end
|
126
|
+
puts "Welcome back, #{email}!"
|
127
|
+
end
|
128
|
+
|
129
|
+
desc "logout", "Log out of Softcover account"
|
130
|
+
def logout
|
131
|
+
Softcover::Commands::Auth.logout
|
132
|
+
end
|
133
|
+
|
134
|
+
# ===============================================
|
135
|
+
# Publisher
|
136
|
+
# ===============================================
|
137
|
+
|
138
|
+
desc "publish", "Publish your book on Softcover"
|
139
|
+
method_option :quiet, aliases: '-q',
|
140
|
+
desc: "Quiet output", type: :boolean
|
141
|
+
method_option :silent, aliases: '-s',
|
142
|
+
desc: "Silent output", type: :boolean
|
143
|
+
method_option :remove_unused_media_bundles, aliases: '-r',
|
144
|
+
desc: "Remove unused media bundles", type: :boolean
|
145
|
+
def publish
|
146
|
+
require 'softcover/commands/publisher'
|
147
|
+
|
148
|
+
invoke :login unless logged_in?
|
149
|
+
|
150
|
+
puts "Publishing..." unless options[:silent]
|
151
|
+
Softcover::Commands::Publisher.publish!(options)
|
152
|
+
end
|
153
|
+
|
154
|
+
desc "publish:media", "Publish media"
|
155
|
+
method_option :daemon, aliases: '-d', force: false,
|
156
|
+
desc: "Run as daemon", type: :boolean
|
157
|
+
method_option :watch, aliases: '-w', type: :boolean,
|
158
|
+
force: false, desc: "Watch a directory to auto upload."
|
159
|
+
method_option :remove_unused_media_files, aliases: '-r',
|
160
|
+
desc: "Remove unused media files", type: :boolean
|
161
|
+
|
162
|
+
# TODO: make screencasts dir .book configurable
|
163
|
+
define_method "publish:media" do |dir=
|
164
|
+
Softcover::Book::DEFAULT_MEDIA_DIR|
|
165
|
+
require 'softcover/commands/publisher'
|
166
|
+
|
167
|
+
puts "Publishing media bundles..."
|
168
|
+
Softcover::Commands::Publisher.
|
169
|
+
publish_media! options.merge(dir: dir)
|
170
|
+
end
|
171
|
+
|
172
|
+
desc "unpublish", "Remove book from Softcover"
|
173
|
+
method_option :slug, aliases: '-s',
|
174
|
+
desc: "Specify slug", type: :string
|
175
|
+
|
176
|
+
method_option :force, aliases: '-f',
|
177
|
+
desc: "Force", type: :boolean
|
178
|
+
def unpublish
|
179
|
+
require 'softcover/commands/publisher'
|
180
|
+
|
181
|
+
invoke :login unless logged_in?
|
182
|
+
slug = options[:slug] || unpublish_slug
|
183
|
+
if options[:force] || ask("Type '#{slug}' to unpublish:") == slug
|
184
|
+
puts "Unpublishing..." unless options[:silent]
|
185
|
+
Softcover::Commands::Publisher.unpublish!(slug)
|
186
|
+
else
|
187
|
+
puts "Canceled."
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# ===============================================
|
192
|
+
# Deployment
|
193
|
+
# ===============================================
|
194
|
+
desc "deploy", "Build & publish book"
|
195
|
+
def deploy
|
196
|
+
Softcover::Commands::Deployment.deploy!
|
197
|
+
end
|
198
|
+
|
199
|
+
# ===============================================
|
200
|
+
# Generator
|
201
|
+
# ===============================================
|
202
|
+
|
203
|
+
desc "new <name>", "Generate new book directory structure"
|
204
|
+
method_option :polytex,
|
205
|
+
:type => :boolean,
|
206
|
+
:default => false,
|
207
|
+
:aliases => "-p",
|
208
|
+
:desc => "Generate a PolyTeX book."
|
209
|
+
def new(n)
|
210
|
+
Softcover::Commands::Generator.generate_file_tree(n, options)
|
211
|
+
end
|
212
|
+
|
213
|
+
# ===============================================
|
214
|
+
# Open
|
215
|
+
# ===============================================
|
216
|
+
|
217
|
+
desc "open", "Open book on Softcover website"
|
218
|
+
def open
|
219
|
+
Softcover::Commands::Opener.open!
|
220
|
+
end
|
221
|
+
|
222
|
+
# ===============================================
|
223
|
+
# EPUB validate
|
224
|
+
# ===============================================
|
225
|
+
|
226
|
+
desc "epub:validate, epub:check", "Validate EPUB with epubcheck"
|
227
|
+
define_method "epub:validate" do
|
228
|
+
Softcover::Commands::EpubValidator.validate!
|
229
|
+
end
|
230
|
+
map "epub:check" => "epub:validate"
|
231
|
+
|
232
|
+
# ===============================================
|
233
|
+
# Config
|
234
|
+
# ===============================================
|
235
|
+
|
236
|
+
desc "config", "View local config"
|
237
|
+
def config
|
238
|
+
require "softcover/config"
|
239
|
+
puts "Reading contents of #{Softcover::Config.path}:"
|
240
|
+
Softcover::Config.read
|
241
|
+
end
|
242
|
+
|
243
|
+
desc "config:add key=value", "Add to your local config vars"
|
244
|
+
define_method "config:add" do |pair|
|
245
|
+
require "softcover/config"
|
246
|
+
key, value = pair.split "="
|
247
|
+
Softcover::Config[key] = value
|
248
|
+
|
249
|
+
puts 'Config var added:'
|
250
|
+
config
|
251
|
+
end
|
252
|
+
|
253
|
+
desc "config:remove key", "Remove key from local config vars"
|
254
|
+
define_method "config:remove" do |key|
|
255
|
+
require "softcover/config"
|
256
|
+
Softcover::Config[key] = nil
|
257
|
+
|
258
|
+
puts 'Config var removed.'
|
259
|
+
end
|
260
|
+
|
261
|
+
protected
|
262
|
+
def ask_without_echo(*args)
|
263
|
+
system "stty -echo"
|
264
|
+
ret = ask *args
|
265
|
+
system "stty echo"
|
266
|
+
puts
|
267
|
+
ret
|
268
|
+
end
|
269
|
+
end
|
270
|
+
end
|
@@ -0,0 +1,119 @@
|
|
1
|
+
|
2
|
+
module Softcover
|
3
|
+
class Client
|
4
|
+
include Softcover::Utils
|
5
|
+
|
6
|
+
ApiVersion = 1
|
7
|
+
|
8
|
+
ApiPrefix = "/api/v#{ApiVersion}"
|
9
|
+
|
10
|
+
Paths = {
|
11
|
+
login: 'login',
|
12
|
+
books: 'books'
|
13
|
+
}
|
14
|
+
|
15
|
+
attr_accessor :host, :book
|
16
|
+
|
17
|
+
def initialize(email=nil,password=nil,book=nil)
|
18
|
+
require 'json'
|
19
|
+
require 'rest_client'
|
20
|
+
require "softcover/config"
|
21
|
+
@email = email
|
22
|
+
@password = password
|
23
|
+
@book = book
|
24
|
+
|
25
|
+
@api_key = Softcover::Config['api_key']
|
26
|
+
@host = Softcover::Config['host']
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.new_with_book(book)
|
30
|
+
new nil, nil, book
|
31
|
+
end
|
32
|
+
|
33
|
+
# ============ Auth ===========
|
34
|
+
def login!
|
35
|
+
require "softcover/config"
|
36
|
+
response = post path_for(:login), email: @email, password: @password
|
37
|
+
|
38
|
+
json = JSON response
|
39
|
+
Softcover::Config['api_key'] = @api_key = json['api_key']
|
40
|
+
end
|
41
|
+
|
42
|
+
# ============ Publishing ===========
|
43
|
+
def create_or_update_book(params)
|
44
|
+
JSON post path_for(:books), params
|
45
|
+
rescue RestClient::ResourceNotFound
|
46
|
+
{ "errors" =>
|
47
|
+
"Book ID #{params[:id]} not found for this account. "+
|
48
|
+
"Either login again or delete this file: .softcover-book"
|
49
|
+
}
|
50
|
+
end
|
51
|
+
|
52
|
+
def notify_file_upload(params)
|
53
|
+
JSON post path_for(:books, book.id, :notify_file_upload), params
|
54
|
+
end
|
55
|
+
|
56
|
+
def notify_upload_complete
|
57
|
+
JSON put path_for(:books, book.id), upload_complete: true
|
58
|
+
end
|
59
|
+
|
60
|
+
def destroy
|
61
|
+
delete path_for(:books, book.id)
|
62
|
+
end
|
63
|
+
|
64
|
+
def destroy_book_by_slug(slug)
|
65
|
+
delete path_for(:books, slug)
|
66
|
+
end
|
67
|
+
|
68
|
+
# ============ Media ===========
|
69
|
+
def get_media_upload_params(path, files, manifest=nil, options={})
|
70
|
+
JSON post path_for(:books, book.id, :media),
|
71
|
+
path: path,
|
72
|
+
files: files,
|
73
|
+
manifest: manifest,
|
74
|
+
remove_unused_media_files: options[:remove_unused_media_files]
|
75
|
+
# TODO: handle errors
|
76
|
+
end
|
77
|
+
|
78
|
+
# ============ Utils ===========
|
79
|
+
private
|
80
|
+
%w{put post}.each do |verb|
|
81
|
+
define_method verb do |url, params={}, headers={}|
|
82
|
+
begin
|
83
|
+
RestClient.send verb, @host + url,
|
84
|
+
params_with_key(params).to_json,
|
85
|
+
formatted_headers(headers)
|
86
|
+
rescue RestClient::UnprocessableEntity
|
87
|
+
handle_422
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
%w{get delete}.each do |verb|
|
93
|
+
define_method verb do |url, headers={}|
|
94
|
+
begin
|
95
|
+
path = "#{@host + url}?api_key=#{@api_key}"
|
96
|
+
RestClient.send verb, path, formatted_headers(headers)
|
97
|
+
rescue RestClient::UnprocessableEntity
|
98
|
+
handle_422
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
def params_with_key(params)
|
104
|
+
@api_key.present? ? params.merge({api_key: @api_key}) : params
|
105
|
+
end
|
106
|
+
|
107
|
+
def formatted_headers(headers={})
|
108
|
+
headers.merge accept: :json, content_type: :json
|
109
|
+
end
|
110
|
+
|
111
|
+
def path_for(action, *args)
|
112
|
+
File.join ApiPrefix, Paths[action], *(args.map &:to_s)
|
113
|
+
end
|
114
|
+
|
115
|
+
def handle_422
|
116
|
+
return { "errors" => "You don't have access to that resource." }
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Softcover
|
2
|
+
module Commands
|
3
|
+
module Auth
|
4
|
+
extend self
|
5
|
+
|
6
|
+
def login(email, password)
|
7
|
+
require "softcover/client"
|
8
|
+
client = Softcover::Client.new email, password
|
9
|
+
client.login!
|
10
|
+
end
|
11
|
+
|
12
|
+
def logout
|
13
|
+
require "softcover/config"
|
14
|
+
Softcover::Config['api_key'] = nil
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
module Softcover
|
2
|
+
module Commands
|
3
|
+
module Build
|
4
|
+
include Softcover::Output
|
5
|
+
include Softcover::Utils
|
6
|
+
extend self
|
7
|
+
|
8
|
+
# Builds the book for the given format.
|
9
|
+
def for_format(format, options={})
|
10
|
+
raise 'Invalid format' unless Softcover::FORMATS.include?(format)
|
11
|
+
building_message(format.upcase, options)
|
12
|
+
builder_for(format).build!(options)
|
13
|
+
if format == 'html' && !(options[:silent] || options[:quiet])
|
14
|
+
puts "LaTeX-to-XML debug information output to log/tralics.log"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Builds the book for all formats.
|
19
|
+
def all_formats(options={})
|
20
|
+
building_message('all formats', options)
|
21
|
+
if custom?
|
22
|
+
build_custom_formats!
|
23
|
+
else
|
24
|
+
Softcover::BUILD_ALL_FORMATS.each do |format|
|
25
|
+
if format == 'mobi'
|
26
|
+
building_message('EPUB & MOBI', options)
|
27
|
+
else
|
28
|
+
building_message(format.upcase, options)
|
29
|
+
end
|
30
|
+
builder_for(format).build!(options)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# Builds the book preview.
|
36
|
+
def preview(options={})
|
37
|
+
building_message('preview', options)
|
38
|
+
builder_for('preview').build!
|
39
|
+
end
|
40
|
+
|
41
|
+
# Returns the builder for the given format.
|
42
|
+
def builder_for(format)
|
43
|
+
"Softcover::Builders::#{format.titleize}".constantize.new
|
44
|
+
end
|
45
|
+
|
46
|
+
def custom?
|
47
|
+
File.exist?(build_config) && !custom_commands.empty?
|
48
|
+
end
|
49
|
+
|
50
|
+
def build_custom_formats!
|
51
|
+
execute custom_commands
|
52
|
+
end
|
53
|
+
|
54
|
+
# Returns custom commands (if any).
|
55
|
+
def custom_commands
|
56
|
+
commands(File.readlines(build_config).map(&:strip))
|
57
|
+
end
|
58
|
+
|
59
|
+
# Returns the filename for configuring `softcover build`.
|
60
|
+
def build_config
|
61
|
+
'.softcover-build'
|
62
|
+
end
|
63
|
+
|
64
|
+
private
|
65
|
+
|
66
|
+
# Shows a message when building a particular format.
|
67
|
+
def building_message(format, options={})
|
68
|
+
unless options[:silent] || options[:'find-overfull']
|
69
|
+
puts "Building #{format}..."
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
module Softcover
|
4
|
+
module Commands
|
5
|
+
module Check
|
6
|
+
extend self
|
7
|
+
extend Softcover::Utils
|
8
|
+
|
9
|
+
def check_dependencies!
|
10
|
+
puts "Checking Softcover dependencies..."
|
11
|
+
simulate_work(1)
|
12
|
+
missing_dependencies = []
|
13
|
+
dependencies.each do |label, name|
|
14
|
+
printf "%-30s", "Checking for #{name}..."
|
15
|
+
simulate_work(0.15)
|
16
|
+
if present?(label)
|
17
|
+
puts "Found"
|
18
|
+
else
|
19
|
+
missing_dependencies << label
|
20
|
+
puts "Missing"
|
21
|
+
end
|
22
|
+
simulate_work(0.1)
|
23
|
+
end
|
24
|
+
simulate_work(0.25)
|
25
|
+
if missing_dependencies.empty?
|
26
|
+
puts "All dependencies satisfied."
|
27
|
+
else
|
28
|
+
puts "Missing dependencies:"
|
29
|
+
missing_dependencies.each do |dependency|
|
30
|
+
puts " • " + missing_dependency_message(dependency)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def dependencies
|
36
|
+
[[:latex, 'LaTeX'],
|
37
|
+
[:ghostscript, 'GhostScript'],
|
38
|
+
[:convert, 'ImageMagick'],
|
39
|
+
[:node, 'Node.js'],
|
40
|
+
[:phantomjs, 'PhantomJS'],
|
41
|
+
[:inkscape, 'Inkscape'],
|
42
|
+
[:calibre, 'Calibre'],
|
43
|
+
[:kindlegen, 'KindleGen'],
|
44
|
+
[:java, 'Java'],
|
45
|
+
[:zip, 'zip'],
|
46
|
+
[:epubcheck, 'EpubCheck'],
|
47
|
+
]
|
48
|
+
end
|
49
|
+
|
50
|
+
def dependency_labels
|
51
|
+
dependencies.map(&:first)
|
52
|
+
end
|
53
|
+
|
54
|
+
def dependency_names
|
55
|
+
dependencies.map { |e| e[1] }
|
56
|
+
end
|
57
|
+
|
58
|
+
def missing_dependency_message(label)
|
59
|
+
case label
|
60
|
+
when :latex
|
61
|
+
message = "LaTeX (http://latex-project.org/ftp.html)\n"
|
62
|
+
message += " ∟ Huge download—start it now!"
|
63
|
+
when :ghostscript
|
64
|
+
message = "GhostScript (should come with LaTeX)\n"
|
65
|
+
when :convert
|
66
|
+
"ImageMagick (http://www.imagemagick.org/script/binary-releases.php)"
|
67
|
+
when :node
|
68
|
+
"NodeJS (http://nodejs.org/)"
|
69
|
+
when :phantomjs
|
70
|
+
message = "PhantomJS (http://phantomjs.org/)\n"
|
71
|
+
message += " ∟ Put bin/phantomjs somewhere on your path,"
|
72
|
+
message += " e.g., in /usr/local/bin"
|
73
|
+
when :kindlegen
|
74
|
+
url = 'http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211'
|
75
|
+
message = "KindleGen (#{url})\n"
|
76
|
+
message += " ∟ Put the kindlegen executable on your path,"
|
77
|
+
message += " e.g., in /usr/local/bin"
|
78
|
+
when :calibre
|
79
|
+
url = 'http://calibre-ebook.com/'
|
80
|
+
message = "Calibre (#{url})\n"
|
81
|
+
message += " ∟ Enable Calibre command-line tools"
|
82
|
+
message += " (http://manual.calibre-ebook.com/cli/cli-index.html)"
|
83
|
+
when :java
|
84
|
+
url = 'http://www.java.com/en/download/help/index_installing.xml'
|
85
|
+
"Java (#{url})"
|
86
|
+
when :zip
|
87
|
+
"Install zip (e.g., apt-get install zip)"
|
88
|
+
when :epubcheck
|
89
|
+
url = 'https://github.com/IDPF/epubcheck/releases/'
|
90
|
+
url += 'download/v3.0/epubcheck-3.0.zip'
|
91
|
+
message = "EpubCheck 3.0 (#{url})\n"
|
92
|
+
message += " ∟ Unzip and put epubcheck-3.0/ in $HOME/bin"
|
93
|
+
when :inkscape
|
94
|
+
message = "Inkscape (http://inkscape.org/)"
|
95
|
+
else
|
96
|
+
raise "Unknown label #{label}"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
def present?(label)
|
101
|
+
File.exist?(dependency_filename(label))
|
102
|
+
end
|
103
|
+
|
104
|
+
# Simulate working for given time.
|
105
|
+
# `softcover check` is more satisfying if it looks like it's doing work.
|
106
|
+
def simulate_work(time)
|
107
|
+
sleep time unless Softcover::test?
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Softcover
|
2
|
+
module Commands
|
3
|
+
module Deployment
|
4
|
+
include Softcover::Utils
|
5
|
+
extend self
|
6
|
+
|
7
|
+
# Deploy a book by building and publishing it.
|
8
|
+
# The deploy steps can be customized using `.poly-publish`
|
9
|
+
# in the book project's home directory.
|
10
|
+
def deploy!
|
11
|
+
if File.exist?('.softcover-deploy') && !custom_commands.empty?
|
12
|
+
execute custom_commands
|
13
|
+
else
|
14
|
+
execute default_commands
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Returns the default commands.
|
19
|
+
def default_commands
|
20
|
+
commands(['softcover build:all', 'softcover build:preview',
|
21
|
+
'softcover publish'])
|
22
|
+
end
|
23
|
+
|
24
|
+
# Returns custom commands (if any).
|
25
|
+
def custom_commands
|
26
|
+
commands(File.readlines(deploy_config).map(&:strip))
|
27
|
+
end
|
28
|
+
|
29
|
+
# Returns the filename for configuring `softcover deploy`.
|
30
|
+
def deploy_config
|
31
|
+
'.softcover-deploy'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Softcover
|
2
|
+
module Commands
|
3
|
+
module EpubValidator
|
4
|
+
extend Softcover::Utils
|
5
|
+
extend self
|
6
|
+
|
7
|
+
# Validates a book according to the EPUB standard.
|
8
|
+
def validate!
|
9
|
+
manifest = BookManifest.new(source: source)
|
10
|
+
epub = path("ebooks/#{manifest.filename}.epub")
|
11
|
+
if File.exist?(epub)
|
12
|
+
puts "Validating EPUB..."
|
13
|
+
system("#{java} -jar #{epubcheck} #{epub}")
|
14
|
+
else
|
15
|
+
puts "File '#{epub}' not found"
|
16
|
+
puts "Run 'softcover build:epub' to generate"
|
17
|
+
exit 1
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def java
|
24
|
+
@java ||= executable(dependency_filename(:java))
|
25
|
+
end
|
26
|
+
|
27
|
+
def epubcheck
|
28
|
+
@epubcheck ||= executable(dependency_filename(:epubcheck)).inspect
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|