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
data/spec/app_spec.rb
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'rack/test'
|
3
|
+
|
4
|
+
describe Softcover::App do
|
5
|
+
include Rack::Test::Methods
|
6
|
+
|
7
|
+
def app
|
8
|
+
Softcover::App
|
9
|
+
end
|
10
|
+
|
11
|
+
context "ordinary book" do
|
12
|
+
before(:all) do
|
13
|
+
generate_book
|
14
|
+
Softcover::Builders::Html.new.build!
|
15
|
+
end
|
16
|
+
# after(:all) { remove_book }
|
17
|
+
|
18
|
+
before { chdir_to_book }
|
19
|
+
|
20
|
+
let(:manifest) { Softcover::BookManifest.new }
|
21
|
+
let(:chapter) { manifest.chapters[1] }
|
22
|
+
|
23
|
+
it 'redirects / to first chapter' do
|
24
|
+
get '/'
|
25
|
+
expect(last_response).to be_redirect
|
26
|
+
expect(last_response.location).to match chapter.slug
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'GET chapter' do
|
30
|
+
get "/#{chapter.slug}"
|
31
|
+
expect(last_response).to be_ok
|
32
|
+
expect(last_response.body).to match Regexp.new(chapter.title)
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'GET chapter.js' do
|
36
|
+
get "/#{chapter.slug}.js"
|
37
|
+
expect(last_response).to be_ok
|
38
|
+
expect(last_response.body).to match Regexp.new(chapter.title)
|
39
|
+
expect(last_response.body).not_to match Regexp.new('<html>')
|
40
|
+
end
|
41
|
+
|
42
|
+
it 'GET nonexistent chapter' do
|
43
|
+
get '/boom'
|
44
|
+
expect(last_response.status).to eq 404
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'serving files' do
|
48
|
+
|
49
|
+
it 'GET pygments.css' do
|
50
|
+
get '/stylesheets/pygments.css'
|
51
|
+
expect_server_response_of_type 'text/css'
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'GET softcover.css' do
|
55
|
+
get '/stylesheets/softcover.css'
|
56
|
+
expect_server_response_of_type 'text/css'
|
57
|
+
end
|
58
|
+
|
59
|
+
it 'GET custom.css' do
|
60
|
+
get '/stylesheets/custom.css'
|
61
|
+
expect_server_response_of_type 'text/css'
|
62
|
+
end
|
63
|
+
|
64
|
+
it 'GET main.js' do
|
65
|
+
get '/main.js'
|
66
|
+
expect_server_response_of_type 'application/javascript'
|
67
|
+
end
|
68
|
+
|
69
|
+
it 'GET css asset' do
|
70
|
+
get '/assets/main.css'
|
71
|
+
expect_server_response_of_type 'text/css'
|
72
|
+
end
|
73
|
+
|
74
|
+
it 'GET image asset' do
|
75
|
+
get '/assets/icons.png'
|
76
|
+
expect_server_response_of_type 'image/png'
|
77
|
+
end
|
78
|
+
|
79
|
+
it 'GET image within book' do
|
80
|
+
get '/images/2011_michael_hartl.png'
|
81
|
+
expect_server_response_of_type 'image/png'
|
82
|
+
end
|
83
|
+
|
84
|
+
def expect_server_response_of_type(type)
|
85
|
+
expect(last_response).to be_ok
|
86
|
+
expect(last_response.content_type).to match type
|
87
|
+
expect(last_response.content_length > 0).to be_true
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
data/spec/auth_spec.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Softcover::Commands::Auth do
|
4
|
+
context 'valid login' do
|
5
|
+
before do
|
6
|
+
email = 'valid@lemurheavy.com'
|
7
|
+
pass = 'asdf'
|
8
|
+
|
9
|
+
stub_valid_login email, pass, TEST_API_KEY
|
10
|
+
|
11
|
+
Softcover::Commands::Auth.login email, pass
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'should set the api key' do
|
15
|
+
expect(Softcover::Config['api_key']).to eq TEST_API_KEY
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
context 'invalid login' do
|
20
|
+
before do
|
21
|
+
email = 'invalid@lemurheavy.com'
|
22
|
+
pass = 'asdf'
|
23
|
+
|
24
|
+
stub_invalid_login email, pass
|
25
|
+
|
26
|
+
Softcover::Commands::Auth.login email, pass
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'should not set the api key' do
|
30
|
+
expect(Softcover::Config['api_key']).to be_nil
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
context "logging out" do
|
35
|
+
before do
|
36
|
+
Softcover::Config['api_key'] = 'asdfasdf'
|
37
|
+
Softcover::Commands::Auth.logout
|
38
|
+
end
|
39
|
+
|
40
|
+
it "should unset the api_key" do
|
41
|
+
expect(Softcover::Config['api_key']).to be_nil
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Softcover::BookManifest do
|
4
|
+
context "with book generation" do
|
5
|
+
before(:all) { generate_book }
|
6
|
+
after(:all) { remove_book }
|
7
|
+
subject(:manifest) { Softcover::BookManifest.new }
|
8
|
+
|
9
|
+
context "in valid book directory" do
|
10
|
+
|
11
|
+
describe "basic information" do
|
12
|
+
its(:title) { should eq "Title of the Book" }
|
13
|
+
its(:subtitle) { should eq "Change me" }
|
14
|
+
its(:description) { should eq "Change me." }
|
15
|
+
its(:author) { should eq "Author Name" }
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "chapter information" do
|
19
|
+
subject(:chapter) { manifest.chapters[1] }
|
20
|
+
it { should be_a Softcover::BookManifest::Chapter }
|
21
|
+
its(:title) { should eq "A chapter" }
|
22
|
+
its(:slug) { should eq "a_chapter" }
|
23
|
+
its(:chapter_number) { should eq 1 }
|
24
|
+
its("sections.first.name") do
|
25
|
+
should eq 'A section'
|
26
|
+
end
|
27
|
+
|
28
|
+
describe "for second chapter" do
|
29
|
+
subject(:chapter) { manifest.chapters[2] }
|
30
|
+
its(:title) { should eq 'Another chapter' }
|
31
|
+
its(:slug) { should eq "another_chapter" }
|
32
|
+
its(:chapter_number) { should eq 2 }
|
33
|
+
end
|
34
|
+
|
35
|
+
describe "for third chapter" do
|
36
|
+
subject(:chapter) { manifest.chapters[3] }
|
37
|
+
its(:title) { should eq 'Yet \emph{another} chapter' }
|
38
|
+
its(:slug) { should eq "yet_another_chapter" }
|
39
|
+
its(:chapter_number) { should eq 3 }
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context "in a valid book subdirectory" do
|
45
|
+
before { Dir.chdir 'chapters' }
|
46
|
+
describe "finding the manifest in a higher directory" do
|
47
|
+
its(:slug) { should eq "book" }
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
context "with mixed Markdown & PolyTeX files" do
|
52
|
+
before do
|
53
|
+
manifest.stub(:source_files).and_return(['foo.md', 'bar.tex'])
|
54
|
+
end
|
55
|
+
|
56
|
+
it "should have the right basenames" do
|
57
|
+
expect(manifest.basenames).to eq ['foo', 'bar']
|
58
|
+
end
|
59
|
+
|
60
|
+
it "should have the right extensions" do
|
61
|
+
expect(manifest.extensions).to eq ['.md', '.tex']
|
62
|
+
end
|
63
|
+
|
64
|
+
it "should have the right chapter objects" do
|
65
|
+
expect(manifest.chapter_objects[0].slug). to eq 'foo'
|
66
|
+
expect(manifest.chapter_objects[0].extension).to eq '.md'
|
67
|
+
expect(manifest.chapter_objects[1].slug). to eq 'bar'
|
68
|
+
expect(manifest.chapter_objects[1].extension).to eq '.tex'
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
context "in an invalid book directory" do
|
74
|
+
it "raises an error when manifest missing" do
|
75
|
+
expect{ subject }.to raise_error(Softcover::BookManifest::NotFound)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
data/spec/book_spec.rb
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Softcover::Book do
|
4
|
+
context "#initialize" do
|
5
|
+
context "valid book directory" do
|
6
|
+
before(:all) { generate_book(id: 1) }
|
7
|
+
after(:all) { remove_book }
|
8
|
+
|
9
|
+
describe "reading from book.yml" do
|
10
|
+
its(:filenames) { should_not include "html/test-book.html"}
|
11
|
+
|
12
|
+
its(:filenames) { should include "html/chapter-1_fragment.html"}
|
13
|
+
its(:filenames) { should_not include "html/chapter-1.html"}
|
14
|
+
its(:filenames) { should include "html/#{subject.slug}.html"}
|
15
|
+
|
16
|
+
its(:filenames) { should include "config/marketing.yml"}
|
17
|
+
|
18
|
+
its(:slug) { should eq "book" }
|
19
|
+
its(:url) { should match /\/books\/(.*?)\/redirect/ }
|
20
|
+
|
21
|
+
it "sets chapter attributes" do
|
22
|
+
expect(subject.chapter_attributes.first[:menu_heading]).
|
23
|
+
to match /Frontmatter/
|
24
|
+
end
|
25
|
+
|
26
|
+
it "has rendered latex in menu_heading" do
|
27
|
+
expect(subject.chapter_attributes.last[:menu_heading]).
|
28
|
+
to match /<em>/
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "reading from marketing.yml" do
|
33
|
+
its(:prices) { should_not be_empty }
|
34
|
+
its(:faq) { should_not be_empty }
|
35
|
+
its(:testimonials) { should_not be_empty }
|
36
|
+
its(:marketing_content) { should be_empty }
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,219 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Softcover::Builders::Epub do
|
4
|
+
before(:all) do
|
5
|
+
generate_book
|
6
|
+
@file_to_be_removed = path('html/should_be_removed.html')
|
7
|
+
File.write(@file_to_be_removed, '')
|
8
|
+
silence { `softcover build:epub` }
|
9
|
+
@builder = Softcover::Builders::Epub.new
|
10
|
+
@builder.build!
|
11
|
+
end
|
12
|
+
after(:all) { remove_book }
|
13
|
+
subject(:builder) { @builder }
|
14
|
+
|
15
|
+
it "should be valid" do
|
16
|
+
output = `softcover epub:validate`
|
17
|
+
expect(output).to match(/No errors or warnings/)
|
18
|
+
end
|
19
|
+
|
20
|
+
describe "mimetype file" do
|
21
|
+
it "should exist in the right directory" do
|
22
|
+
expect(path('epub/mimetype')).to exist
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should have the right contents" do
|
26
|
+
File.open('epub/mimetype') do |f|
|
27
|
+
expect(f.read).to match(/application\/epub\+zip/)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "META-INF" do
|
33
|
+
it "should have the right container file" do
|
34
|
+
expect('epub/META-INF/container.xml').to exist
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should have an iBooks XML file" do
|
38
|
+
expect('epub/META-INF/com.apple.ibooks.display-options.xml').to exist
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should have the right contents" do
|
42
|
+
File.open('epub/META-INF/container.xml') do |f|
|
43
|
+
expect(f.read).to match(/rootfile full-path="OEBPS\/content.opf"/)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe "OEBPS" do
|
49
|
+
describe "contents" do
|
50
|
+
describe "opf file" do
|
51
|
+
let(:content_opf) { 'epub/OEBPS/content.opf' }
|
52
|
+
let(:doc) { Nokogiri.XML(File.read(content_opf)) }
|
53
|
+
|
54
|
+
subject { content_opf }
|
55
|
+
|
56
|
+
it { should exist }
|
57
|
+
|
58
|
+
it "should have the chapter right items" do
|
59
|
+
expect(doc.css('item#a_chapter')).not_to be_empty
|
60
|
+
expect(doc.css('item#another_chapter')).not_to be_empty
|
61
|
+
end
|
62
|
+
|
63
|
+
it "should have the right TOC chapter refs" do
|
64
|
+
toc_refs = doc.css('itemref').map { |node| node['idref'] }
|
65
|
+
expect(toc_refs).to eq %w[cover frontmatter a_chapter another_chapter
|
66
|
+
yet_another_chapter]
|
67
|
+
end
|
68
|
+
|
69
|
+
it "should have the right title" do
|
70
|
+
expect(doc.to_xml).to match(/>#{builder.manifest.title}</)
|
71
|
+
end
|
72
|
+
|
73
|
+
it "should have the right author" do
|
74
|
+
author = Regexp.escape(builder.manifest.author)
|
75
|
+
expect(doc.to_xml).to match(/>#{author}</)
|
76
|
+
end
|
77
|
+
|
78
|
+
it "should have the right copyright line" do
|
79
|
+
copyright = Regexp.escape("Copyright (c) #{Time.new.year}")
|
80
|
+
author = Regexp.escape(builder.manifest.author)
|
81
|
+
expect(doc.to_xml).to match(/>#{copyright} #{author}</)
|
82
|
+
end
|
83
|
+
|
84
|
+
it "should have a unique UUID" do
|
85
|
+
uuid = Regexp.escape(builder.manifest.uuid)
|
86
|
+
expect(doc.to_xml).to match(/#{uuid}</)
|
87
|
+
end
|
88
|
+
|
89
|
+
it "should have the right conver meta tag" do
|
90
|
+
meta = '<meta name="cover" content="img-cover-jpg"/>'
|
91
|
+
expect(doc.to_xml).to include meta
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
context "stylesheets directory" do
|
96
|
+
it "should have a Pygments CSS file" do
|
97
|
+
expect('epub/OEBPS/styles/pygments.css').to exist
|
98
|
+
end
|
99
|
+
|
100
|
+
it "should have a page template file" do
|
101
|
+
expect('epub/OEBPS/styles/page-template.xpgt').to exist
|
102
|
+
end
|
103
|
+
|
104
|
+
it "should have a PolyTeXnic CSS file" do
|
105
|
+
expect('epub/OEBPS/styles/softcover.css').to exist
|
106
|
+
end
|
107
|
+
|
108
|
+
it "should have an EPUB CSS file" do
|
109
|
+
expect('epub/OEBPS/styles/epub.css').to exist
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
describe "spine toc" do
|
115
|
+
subject(:toc) { 'epub/OEBPS/toc.ncx' }
|
116
|
+
let(:doc) { Nokogiri::XML(File.read(toc)) }
|
117
|
+
|
118
|
+
it { should exist }
|
119
|
+
|
120
|
+
it "should contain the right filenames in the right order" do
|
121
|
+
filenames = %w[frontmatter_fragment.html a_chapter_fragment.html
|
122
|
+
another_chapter_fragment.html
|
123
|
+
yet_another_chapter_fragment.html]
|
124
|
+
source_files = doc.css('content').map { |node| node['src'] }
|
125
|
+
expect(source_files).to eql(filenames)
|
126
|
+
end
|
127
|
+
|
128
|
+
it "should have the right title" do
|
129
|
+
expect(doc.to_xml).to match(/>#{builder.manifest.title}</)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
context "HTML generation" do
|
134
|
+
|
135
|
+
context "math? method" do
|
136
|
+
it "should return true when there's math" do
|
137
|
+
expect(builder.math?('\(')).to be_true
|
138
|
+
expect(builder.math?('\[')).to be_true
|
139
|
+
expect(builder.math?('\begin{equation}')).to be_true
|
140
|
+
end
|
141
|
+
|
142
|
+
it "should return false when there's no math" do
|
143
|
+
expect(builder.math?('foo')).to be_false
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
it "should remove the HTML files" do
|
148
|
+
expect(@file_to_be_removed).not_to exist
|
149
|
+
end
|
150
|
+
|
151
|
+
it "should create the HTML files" do
|
152
|
+
has_math = false
|
153
|
+
expect(path('epub/OEBPS/cover.html')).to exist
|
154
|
+
builder.manifest.chapters.each_with_index do |chapter, i|
|
155
|
+
content = File.read(path("html/#{chapter.slug}_fragment.html"))
|
156
|
+
has_math ||= builder.math?(content)
|
157
|
+
fragment = path("epub/OEBPS/#{chapter.slug}_fragment.html")
|
158
|
+
expect(fragment).to exist
|
159
|
+
end
|
160
|
+
# Make sure at least one template file has math.
|
161
|
+
expect(has_math).to be_true
|
162
|
+
end
|
163
|
+
|
164
|
+
describe "cover file" do
|
165
|
+
subject(:cover_file) { File.read(path('epub/OEBPS/cover.html')) }
|
166
|
+
it "should have the right cover image" do
|
167
|
+
expect(cover_file).to include 'cover.jpg'
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
it "should create math PNGs" do
|
172
|
+
expect(path("epub/OEBPS/images/texmath")).to exist
|
173
|
+
expect(Dir[path("epub/OEBPS/images/texmath/*.png")]).not_to be_empty
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
it "should create the style files" do
|
178
|
+
expect(path('epub/OEBPS/styles/page-template.xpgt')).to exist
|
179
|
+
expect(path('epub/OEBPS/styles/pygments.css')).to exist
|
180
|
+
expect(path('epub/OEBPS/styles/softcover.css')).to exist
|
181
|
+
end
|
182
|
+
|
183
|
+
it "should scrub the CSS file of the book id" do
|
184
|
+
css = File.read(path('epub/OEBPS/styles/softcover.css'))
|
185
|
+
expect(css).not_to match /\#book/
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
it "should generate the EPUB" do
|
190
|
+
expect(path('ebooks/book.epub')).to exist
|
191
|
+
expect(path('epub/book.epub')).not_to exist
|
192
|
+
expect(path('epub/book.zip')).not_to exist
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
describe Softcover::Builders::Epub do
|
197
|
+
context "for a Markdown book" do
|
198
|
+
before(:all) do
|
199
|
+
generate_book(markdown: true)
|
200
|
+
@builder = Softcover::Builders::Epub.new
|
201
|
+
@builder.build!
|
202
|
+
chdir_to_book
|
203
|
+
end
|
204
|
+
after(:all) { remove_book }
|
205
|
+
subject(:builder) { @builder }
|
206
|
+
|
207
|
+
it "should be valid" do
|
208
|
+
expect(`softcover epub:validate`).to match(/No errors or warnings/)
|
209
|
+
end
|
210
|
+
|
211
|
+
it "should not raise an error" do
|
212
|
+
expect { subject }.not_to raise_error
|
213
|
+
end
|
214
|
+
|
215
|
+
it "should remove the generated LaTeX files" do
|
216
|
+
expect(Dir.glob(path('chapters/*.tex'))).to be_empty
|
217
|
+
end
|
218
|
+
end
|
219
|
+
end
|
@@ -0,0 +1,170 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Softcover::Builders::Html do
|
4
|
+
|
5
|
+
describe "when generating from PolyTeX source" do
|
6
|
+
before(:all) { generate_book }
|
7
|
+
after(:all) { remove_book }
|
8
|
+
|
9
|
+
describe "#build!" do
|
10
|
+
subject(:builder) { Softcover::Builders::Html.new }
|
11
|
+
let(:file_to_be_removed) { path('html/should_be_removed.html') }
|
12
|
+
before do
|
13
|
+
# Create an empty file that should be removed automatically.
|
14
|
+
File.write(file_to_be_removed, '')
|
15
|
+
builder.build!
|
16
|
+
end
|
17
|
+
|
18
|
+
its(:built_files) { should include File.join('html', 'book.html') }
|
19
|
+
|
20
|
+
it "should remove the HTML file without a corresponding LaTeX file" do
|
21
|
+
expect(file_to_be_removed).not_to exist
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "HTML output" do
|
25
|
+
let(:output) { File.read("html/book.html") }
|
26
|
+
subject { output }
|
27
|
+
|
28
|
+
it { should include '<!DOCTYPE html>' }
|
29
|
+
it { should include 'pygments.css' }
|
30
|
+
it { should include 'MathJax' }
|
31
|
+
it { should_not include 'functionNumber'}
|
32
|
+
|
33
|
+
context "HTML document" do
|
34
|
+
subject(:doc) { Nokogiri::HTML(output) }
|
35
|
+
|
36
|
+
context "frontmatter" do
|
37
|
+
subject(:frontmatter) { doc.at_css('#frontmatter') }
|
38
|
+
it { should_not be_nil }
|
39
|
+
it "should link the preface to the frontmatter page" do
|
40
|
+
link = '<a href="#preface"'
|
41
|
+
expect(frontmatter.to_xhtml).to match /#{link}/
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
context "first chapter" do
|
46
|
+
subject(:chapter) { doc.at_css('#cha-a_chapter') }
|
47
|
+
it { should_not be_nil }
|
48
|
+
it "should have a chapter class" do
|
49
|
+
expect(chapter['class']).to eq 'chapter'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
context "second chapter" do
|
54
|
+
subject(:chapter) { doc.at_css('#cha-another_chapter') }
|
55
|
+
it { should_not be_nil }
|
56
|
+
it "should have a chapter class" do
|
57
|
+
expect(chapter['class']).to eq 'chapter'
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe "Pygments stylesheet" do
|
64
|
+
let(:stylesheet) { 'html/stylesheets/pygments.css' }
|
65
|
+
subject { stylesheet }
|
66
|
+
|
67
|
+
it { should exist }
|
68
|
+
it "should have a .highlight class" do
|
69
|
+
expect(File.read(stylesheet)).to match('.highlight')
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
describe "HTML fragments output" do
|
74
|
+
let(:output) { File.read('html/a_chapter_fragment.html') }
|
75
|
+
subject { output }
|
76
|
+
|
77
|
+
it { should match('A chapter') }
|
78
|
+
end
|
79
|
+
|
80
|
+
describe "frontmatter output" do
|
81
|
+
let(:filename) { 'html/frontmatter_fragment.html' }
|
82
|
+
|
83
|
+
it "should create a frontmatter file" do
|
84
|
+
expect(filename).to exist
|
85
|
+
end
|
86
|
+
|
87
|
+
describe "contents" do
|
88
|
+
subject(:doc) { Nokogiri::HTML(File.open(filename)) }
|
89
|
+
|
90
|
+
it "should include the title page" do
|
91
|
+
expect(doc.at_css('div#title_page')).not_to be_nil
|
92
|
+
end
|
93
|
+
|
94
|
+
it "should include the table of contents" do
|
95
|
+
expect(doc.at_css('div#table_of_contents')).not_to be_nil
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe "HTML MathJax output" do
|
101
|
+
let(:output) { File.read(path('html/a_chapter.html')) }
|
102
|
+
subject { output }
|
103
|
+
|
104
|
+
it { should include 'MathJax.Hub.Config' }
|
105
|
+
it { should include 'TeX-AMS-MML_SVG' }
|
106
|
+
it { should include 'formatNumber: function (n)' }
|
107
|
+
it { should include 'A chapter' }
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe "when generating from Markdown source" do
|
113
|
+
before(:all) do
|
114
|
+
generate_book(markdown: true)
|
115
|
+
end
|
116
|
+
after(:all) { remove_book }
|
117
|
+
|
118
|
+
describe "#build!" do
|
119
|
+
subject(:builder) { Softcover::Builders::Html.new }
|
120
|
+
|
121
|
+
before do
|
122
|
+
@file_to_be_removed = path("#{builder.manifest.polytex_dir}/remove.tex")
|
123
|
+
File.write(@file_to_be_removed, '')
|
124
|
+
builder.build!
|
125
|
+
end
|
126
|
+
|
127
|
+
its(:built_files) { should include "html/a_chapter.html" }
|
128
|
+
its(:built_files) { should include "html/a_chapter_fragment.html" }
|
129
|
+
its(:built_files) { should include "html/another_chapter.html" }
|
130
|
+
its(:built_files) { should include "html/another_chapter_fragment.html" }
|
131
|
+
|
132
|
+
it "should remove an unneeded LaTeX file" do
|
133
|
+
expect(@file_to_be_removed).not_to exist
|
134
|
+
end
|
135
|
+
|
136
|
+
it "should include generated LaTeX files" do
|
137
|
+
expect(Dir.glob(path('generated_polytex/*.tex'))).not_to be_empty
|
138
|
+
end
|
139
|
+
|
140
|
+
it "should write cache files" do
|
141
|
+
expect(Dir.glob(path('tmp/*.cache'))).not_to be_empty
|
142
|
+
end
|
143
|
+
|
144
|
+
describe "master LaTeX file" do
|
145
|
+
let(:master_file) { builder.master_filename(builder.manifest) }
|
146
|
+
subject { File.read(master_file) }
|
147
|
+
it { should include "\\title{#{builder.manifest.title}}" }
|
148
|
+
it { should include "\\subtitle{#{builder.manifest.subtitle}}" }
|
149
|
+
it { should include "\\author{#{builder.manifest.author}}" }
|
150
|
+
it { should include '\date{}' }
|
151
|
+
it { should include '\begin{document}' }
|
152
|
+
it { should include '\include{generated_polytex/preface}' }
|
153
|
+
it { should include '\include{generated_polytex/a_chapter}' }
|
154
|
+
it { should include '\include{generated_polytex/another_chapter}' }
|
155
|
+
it { should include '\include{generated_polytex/yet_another_chapter}' }
|
156
|
+
it { should include '\end{document}' }
|
157
|
+
end
|
158
|
+
|
159
|
+
describe "commented-out lines of Book.txt" do
|
160
|
+
let(:lines) { ['foo.md', '# bar.md'] }
|
161
|
+
let(:content) { builder.master_content(builder.manifest) }
|
162
|
+
before { builder.stub(:book_file_lines).and_return(lines) }
|
163
|
+
it "should be ignored" do
|
164
|
+
expect(content).to include 'generated_polytex/foo'
|
165
|
+
expect(content).not_to include 'generated_polytex/bar'
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|