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,239 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
3
|
+
module Softcover
|
4
|
+
module Builders
|
5
|
+
class Html < Builder
|
6
|
+
include Softcover::Utils
|
7
|
+
|
8
|
+
def setup
|
9
|
+
Dir.mkdir "html" unless File.directory?("html")
|
10
|
+
html_styles = path('html/stylesheets')
|
11
|
+
unless File.directory?(html_styles)
|
12
|
+
Dir.mkdir html_styles
|
13
|
+
end
|
14
|
+
template_dir = path("#{File.dirname(__FILE__)}/../template")
|
15
|
+
custom_css = path("#{template_dir}/html/stylesheets/custom.css")
|
16
|
+
target = path("#{html_styles}/custom.css")
|
17
|
+
FileUtils.cp(custom_css, target) unless File.exist?(target)
|
18
|
+
clean!
|
19
|
+
end
|
20
|
+
|
21
|
+
def build(options = {})
|
22
|
+
if Softcover::profiling?
|
23
|
+
require 'ruby-prof'
|
24
|
+
RubyProf.start
|
25
|
+
end
|
26
|
+
|
27
|
+
write_master_latex_file(manifest)
|
28
|
+
|
29
|
+
if manifest.markdown?
|
30
|
+
unless options[:'find-overfull']
|
31
|
+
remove_unneeded_polytex_files
|
32
|
+
end
|
33
|
+
manifest.chapters.each do |chapter|
|
34
|
+
write_latex_files(chapter, options)
|
35
|
+
end
|
36
|
+
|
37
|
+
# Reset the manifest to use PolyTeX.
|
38
|
+
self.manifest = Softcover::BookManifest.new(source: :polytex,
|
39
|
+
verify_paths: false,
|
40
|
+
origin: :markdown)
|
41
|
+
end
|
42
|
+
|
43
|
+
if manifest.polytex?
|
44
|
+
basename = File.basename(manifest.filename, '.tex')
|
45
|
+
@html = converted_html(basename)
|
46
|
+
@title = basename
|
47
|
+
@mathjax = Softcover::Mathjax::config(chapter_number: false)
|
48
|
+
@src = Softcover::Mathjax::AMS_SVG
|
49
|
+
erb_file = File.read(File.join(File.dirname(__FILE__),
|
50
|
+
'..', 'server', 'views',
|
51
|
+
'book.html.erb'))
|
52
|
+
file_content = ERB.new(erb_file).result(binding)
|
53
|
+
write_full_html_file(basename, file_content)
|
54
|
+
write_chapter_html_files(Nokogiri::HTML(file_content), erb_file)
|
55
|
+
end
|
56
|
+
|
57
|
+
if Softcover::profiling?
|
58
|
+
result = RubyProf.stop
|
59
|
+
printer = RubyProf::GraphPrinter.new(result)
|
60
|
+
printer.print(STDOUT, {})
|
61
|
+
end
|
62
|
+
|
63
|
+
true
|
64
|
+
end
|
65
|
+
|
66
|
+
# Removes any PolyTeX files not corresponding to current MD chapters.
|
67
|
+
def remove_unneeded_polytex_files
|
68
|
+
files_to_keep = manifest.chapters.map do |chapter|
|
69
|
+
path("#{manifest.polytex_dir}/#{chapter.slug}.tex")
|
70
|
+
end
|
71
|
+
all_files = Dir.glob(path("#{manifest.polytex_dir}/*.tex"))
|
72
|
+
files_to_remove = all_files - files_to_keep
|
73
|
+
FileUtils.rm(files_to_remove)
|
74
|
+
end
|
75
|
+
|
76
|
+
# Writes the LaTeX files for a given Markdown chapter.
|
77
|
+
def write_latex_files(chapter, options = {})
|
78
|
+
polytex_filename = path("#{manifest.polytex_dir}/#{chapter.slug}.tex")
|
79
|
+
if chapter.source == :polytex
|
80
|
+
FileUtils.cp path("chapters/#{chapter.full_name}"), polytex_filename
|
81
|
+
else
|
82
|
+
mkdir Softcover::Directories::TMP
|
83
|
+
markdown = File.read(path("chapters/#{chapter.full_name}"))
|
84
|
+
# Only write if the Markdown file hasn't changed since the last time
|
85
|
+
# it was converted, as then the current PolyTeX file is up-to-date.
|
86
|
+
# The call to File.exist?(filename) is just in case the PolyTeX file
|
87
|
+
# corresponding to the Markdown file was removed by hand in the
|
88
|
+
# interim.
|
89
|
+
unless (File.exist?(chapter.cache_filename) &&
|
90
|
+
File.read(chapter.cache_filename) == digest(markdown) &&
|
91
|
+
File.exist?(polytex_filename) &&
|
92
|
+
!markdown.include?('\input'))
|
93
|
+
File.write(polytex_filename, polytex(chapter, markdown))
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
# Returns the PolyTeX for the chapter.
|
99
|
+
# As a side-effect, we cache a digest of the Markdown to prevent
|
100
|
+
# unnecessary conversions.
|
101
|
+
def polytex(chapter, markdown)
|
102
|
+
File.write(chapter.cache_filename, digest(markdown))
|
103
|
+
p = Polytexnic::Pipeline.new(markdown,
|
104
|
+
source: :markdown,
|
105
|
+
custom_commands: Softcover.custom_styles,
|
106
|
+
language_labels: language_labels)
|
107
|
+
p.polytex
|
108
|
+
end
|
109
|
+
|
110
|
+
# Returns the converted HTML.
|
111
|
+
def converted_html(basename)
|
112
|
+
polytex_filename = basename + '.tex'
|
113
|
+
polytex = File.read(polytex_filename)
|
114
|
+
# Replace the includes with the file contents, padding with a trailing
|
115
|
+
# newline for safety.
|
116
|
+
polytex.gsub!(/(^\s*\\include{(.*?)})/) do
|
117
|
+
File.read($2 + '.tex') + "\n"
|
118
|
+
end
|
119
|
+
Polytexnic::Pipeline.new(polytex,
|
120
|
+
custom_commands: Softcover.custom_styles,
|
121
|
+
language_labels: language_labels).to_html
|
122
|
+
end
|
123
|
+
|
124
|
+
# Writes the full HTML file for the book.
|
125
|
+
# The resulting file is a self-contained HTML document suitable
|
126
|
+
# for viewing in isolation.
|
127
|
+
def write_full_html_file(basename, file_content)
|
128
|
+
html_filename = File.join('html', basename + '.html')
|
129
|
+
File.open(html_filename, 'w') do |f|
|
130
|
+
f.write(file_content)
|
131
|
+
end
|
132
|
+
polytexnic_css = File.join('html', 'stylesheets', 'softcover.css')
|
133
|
+
source_css = File.join(File.dirname(__FILE__),
|
134
|
+
"../template/#{polytexnic_css}")
|
135
|
+
FileUtils.cp source_css, polytexnic_css
|
136
|
+
write_pygments_file(:html, File.join('html', 'stylesheets'))
|
137
|
+
built_files.push html_filename
|
138
|
+
end
|
139
|
+
|
140
|
+
# Writes the full HTML file for each chapter.
|
141
|
+
# The resulting files are self-contained HTML documents suitable
|
142
|
+
# for viewing in isolation.
|
143
|
+
def write_chapter_html_files(html, erb_file)
|
144
|
+
reference_cache = split_into_chapters(html)
|
145
|
+
target_cache = build_target_cache(html)
|
146
|
+
manifest.chapters.each_with_index do |chapter, i|
|
147
|
+
update_cross_references(chapter, reference_cache, target_cache)
|
148
|
+
write_fragment_file(chapter)
|
149
|
+
write_complete_file(chapter, erb_file, i)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
# Splits the full XML document into chapters.
|
154
|
+
def split_into_chapters(xml)
|
155
|
+
chapter_number = 0
|
156
|
+
current_chapter = manifest.chapters.first
|
157
|
+
reference_cache = {}
|
158
|
+
xml.css('#book>div').each do |node|
|
159
|
+
klass = node.attributes['class'].to_s
|
160
|
+
id = node.attributes['id'].to_s
|
161
|
+
if klass == 'chapter' || id == 'frontmatter'
|
162
|
+
current_chapter = manifest.chapters[chapter_number]
|
163
|
+
node['data-chapter'] = current_chapter.slug
|
164
|
+
chapter_number += 1
|
165
|
+
end
|
166
|
+
|
167
|
+
reference_cache[node['data-tralics-id']] = current_chapter
|
168
|
+
node.xpath('.//*[@data-tralics-id]').each do |labeled_node|
|
169
|
+
reference_cache[labeled_node['data-tralics-id']] = current_chapter
|
170
|
+
end
|
171
|
+
|
172
|
+
current_chapter.nodes.push node
|
173
|
+
end
|
174
|
+
reference_cache
|
175
|
+
end
|
176
|
+
|
177
|
+
# Builds a cache of targets for cross-references.
|
178
|
+
def build_target_cache(xml)
|
179
|
+
{}.tap do |target_cache|
|
180
|
+
xml.xpath("//*[@id]").each do |target|
|
181
|
+
target_cache[target['id']] = target
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# Updates the book's cross-references.
|
187
|
+
def update_cross_references(chapter, ref_map, target_cache)
|
188
|
+
chapter.nodes.each do |node|
|
189
|
+
node.css('a.hyperref').each do |ref_node|
|
190
|
+
ref_id = ref_node['href'][1..-1] # i.e., 'cha-foo_bar'
|
191
|
+
target = target_cache[ref_id]
|
192
|
+
unless target.nil?
|
193
|
+
id = target['id']
|
194
|
+
ref_chapter = if target['data-tralics-id'].nil?
|
195
|
+
# This branch is true for chapter-star.
|
196
|
+
chapter
|
197
|
+
else
|
198
|
+
ref_map[target['data-tralics-id']]
|
199
|
+
end
|
200
|
+
ref_node['href'] = "#{ref_chapter.fragment_name}##{id}"
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# Writes the chapter fragment HTML (omitting, e.g., <html> tags, etc.)
|
207
|
+
def write_fragment_file(chapter)
|
208
|
+
html_filename = File.join('html', "#{chapter.slug}_fragment.html")
|
209
|
+
File.open(html_filename, 'w') do |f|
|
210
|
+
chapter.nodes.each do |node|
|
211
|
+
f.write(node.to_xhtml)
|
212
|
+
end
|
213
|
+
end
|
214
|
+
built_files.push html_filename
|
215
|
+
end
|
216
|
+
|
217
|
+
# Writes the chapter as a complete, self-contained HTML document.
|
218
|
+
def write_complete_file(chapter, erb_file, n)
|
219
|
+
html_filename = File.join('html', chapter.slug + '.html')
|
220
|
+
File.open(html_filename, 'w') do |f|
|
221
|
+
@html = chapter.nodes.map(&:to_xhtml).join("\n")
|
222
|
+
@mathjax = Softcover::Mathjax::config(chapter_number: n)
|
223
|
+
@src = Softcover::Mathjax::AMS_SVG
|
224
|
+
file_content = ERB.new(erb_file).result(binding)
|
225
|
+
f.write(file_content)
|
226
|
+
end
|
227
|
+
built_files.push html_filename
|
228
|
+
end
|
229
|
+
|
230
|
+
def clean!
|
231
|
+
# It's safe to remove HTML files in the html/ directory,
|
232
|
+
# as they are regenerated every time the book gets built.
|
233
|
+
# This also arranges to clear out unused HTML files, as happens when,
|
234
|
+
# e.g., the name of a LaTeX chapter file changes.
|
235
|
+
FileUtils.rm(Dir.glob(path('html/*.html')))
|
236
|
+
end
|
237
|
+
end
|
238
|
+
end
|
239
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
module Softcover
|
2
|
+
module Builders
|
3
|
+
class Mobi < Builder
|
4
|
+
include Softcover::Utils
|
5
|
+
include Softcover::EpubUtils
|
6
|
+
|
7
|
+
def build!(options={})
|
8
|
+
Softcover::Builders::Epub.new.build!(options)
|
9
|
+
filename = mobi_filename(options)
|
10
|
+
command = mobi_command(filename, options)
|
11
|
+
silent = options[:silent] || Softcover.test?
|
12
|
+
if options[:quiet] || silent
|
13
|
+
silence { system(command) }
|
14
|
+
else
|
15
|
+
system(command)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
# Returns the filename of the MOBI (preview if necessary).
|
20
|
+
def mobi_filename(options={})
|
21
|
+
options[:preview] ? manifest.filename + '-preview' : manifest.filename
|
22
|
+
end
|
23
|
+
|
24
|
+
# Returns the command for making a MOBI, based on the options.
|
25
|
+
def mobi_command(filename, options={})
|
26
|
+
if options[:kindlegen]
|
27
|
+
"#{kindlegen} ebooks/#{filename}.epub"
|
28
|
+
else
|
29
|
+
"#{calibre} ebooks/#{filename}.epub ebooks/#{filename}.mobi" +
|
30
|
+
" #{calibre_options}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
private
|
35
|
+
|
36
|
+
def calibre
|
37
|
+
@calibre ||= executable(dependency_filename(:calibre))
|
38
|
+
end
|
39
|
+
|
40
|
+
# Returns the options for the Calibre `ebook-convert` CLI.
|
41
|
+
def calibre_options
|
42
|
+
# Include both Mobipocket & KF8 formats.
|
43
|
+
# It took me forever to figure this out. It really should be
|
44
|
+
# the Calibre default.
|
45
|
+
opts = "--mobi-file-type both"
|
46
|
+
if cover?
|
47
|
+
opts += " --cover #{cover_img_path}"
|
48
|
+
# Get covers to work in Kindle desktop app.
|
49
|
+
opts += " --share-not-sync"
|
50
|
+
end
|
51
|
+
opts
|
52
|
+
end
|
53
|
+
|
54
|
+
def kindlegen
|
55
|
+
@kindlegen ||= executable(dependency_filename(:kindlegen))
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,160 @@
|
|
1
|
+
module Softcover
|
2
|
+
module Builders
|
3
|
+
class Pdf < Builder
|
4
|
+
include Softcover::Output
|
5
|
+
include Softcover::Utils
|
6
|
+
|
7
|
+
def build!(options={})
|
8
|
+
make_png_from_gif
|
9
|
+
if manifest.markdown?
|
10
|
+
# Build the HTML to produce PolyTeX as a side-effect,
|
11
|
+
# then update the manifest to reduce PDF generation
|
12
|
+
# to a previously solved problem.
|
13
|
+
Softcover::Builders::Html.new.build!
|
14
|
+
opts = options.merge({ source: :polytex, origin: :markdown})
|
15
|
+
self.manifest = Softcover::BookManifest.new(opts)
|
16
|
+
end
|
17
|
+
|
18
|
+
write_master_latex_file(manifest)
|
19
|
+
|
20
|
+
# Build the PolyTeX filename so it accepts both 'foo' and 'foo.tex'.
|
21
|
+
basename = File.basename(manifest.filename, '.tex')
|
22
|
+
book_filename = basename + '.tex'
|
23
|
+
|
24
|
+
# In debug mode, execute `xelatex` and exit.
|
25
|
+
if options[:debug]
|
26
|
+
execute "#{xelatex} #{book_filename}"
|
27
|
+
return # only gets called in test env
|
28
|
+
end
|
29
|
+
|
30
|
+
polytex_filenames = manifest.pdf_chapter_filenames << book_filename
|
31
|
+
polytex_filenames.each do |filename|
|
32
|
+
polytex = File.read(filename)
|
33
|
+
latex = Polytexnic::Pipeline.new(polytex,
|
34
|
+
language_labels: language_labels).
|
35
|
+
to_latex
|
36
|
+
if filename == book_filename
|
37
|
+
latex.gsub!(/\\include{(.*?)}/) do
|
38
|
+
"\\include{#{Softcover::Utils.tmpify(manifest, $1)}.tmp}"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
File.write(Softcover::Utils.tmpify(manifest, filename), latex)
|
42
|
+
end
|
43
|
+
write_pygments_file(:latex, Softcover::Directories::STYLES)
|
44
|
+
copy_polytexnic_sty
|
45
|
+
|
46
|
+
# Renaming the PDF in the command is necessary because `execute`
|
47
|
+
# below uses `exec` (except in tests, where it breaks). Since `exec`
|
48
|
+
# causes the Ruby process to end, any Ruby code after `exec`
|
49
|
+
# is ignored.
|
50
|
+
# (The reason for using `exec` is so that LaTeX errors get emitted to
|
51
|
+
# the screen rather than just hanging the process.)
|
52
|
+
cmd = "#{pdf_cmd(book_filename, options)} " +
|
53
|
+
"; #{rename_pdf(basename, options)}"
|
54
|
+
# Here we use `system` when making a preview because the preview command
|
55
|
+
# needs to run after the main PDF build.
|
56
|
+
if options[:quiet] || options[:silent]
|
57
|
+
silence_stream(STDERR) do
|
58
|
+
silence { options[:preview] ? system(cmd) : execute(cmd) }
|
59
|
+
end
|
60
|
+
elsif options[:'find-overfull']
|
61
|
+
silence_stream(STDERR) { execute(cmd) }
|
62
|
+
else
|
63
|
+
options[:preview] ? system(cmd) : execute(cmd)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
private
|
68
|
+
|
69
|
+
# Returns the `xelatex` executable.
|
70
|
+
# The `xelatex` program is roughly equivalent to the more standard
|
71
|
+
# `pdflatex`, but has better support for Unicode.
|
72
|
+
def xelatex
|
73
|
+
@xelatex ||= executable(dependency_filename(:latex))
|
74
|
+
end
|
75
|
+
|
76
|
+
# Make a PNG for each GIF in the images/ directory.
|
77
|
+
def make_png_from_gif
|
78
|
+
gif_pattern = File.join('images', '**', '*.gif')
|
79
|
+
gif_files = Dir.glob(gif_pattern).reject { |f| File.directory?(f) }
|
80
|
+
gif_files.each do |gif|
|
81
|
+
dir = File.dirname(gif)
|
82
|
+
ext = File.extname(gif)
|
83
|
+
img = File.basename(gif, ext)
|
84
|
+
png = File.join(dir, "#{img}.png")
|
85
|
+
system "#{convert} #{gif} #{png}"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# Returns the executable to ImageMagick's `convert` program.
|
90
|
+
def convert
|
91
|
+
@convert ||= executable(dependency_filename(:convert))
|
92
|
+
end
|
93
|
+
|
94
|
+
# Returns the command to build the PDF (once).
|
95
|
+
def build_pdf(book_filename, options={})
|
96
|
+
tmp_filename = Softcover::Utils.tmpify(manifest, book_filename)
|
97
|
+
if options[:silent] || options[:quite]
|
98
|
+
"#{xelatex} --interaction=nonstopmode #{tmp_filename} #{options[:filters]}"
|
99
|
+
elsif options[:nonstop]
|
100
|
+
"#{xelatex} --interaction=nonstopmode #{tmp_filename} #{options[:filters]}"
|
101
|
+
else
|
102
|
+
"#{xelatex} #{tmp_filename} #{options[:filters]}"
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# Returns the full command to build the PDF.
|
107
|
+
def pdf_cmd(book_filename, options={})
|
108
|
+
if options[:once]
|
109
|
+
build_pdf(book_filename, options)
|
110
|
+
elsif options[:'find-overfull']
|
111
|
+
# The way we do things, code listings show up as "Overfull", but
|
112
|
+
# they're actually fine, so filter them out.
|
113
|
+
filter_out_listings = "grep -v 3.22281pt"
|
114
|
+
# Because each chapter typically lives in a separate file, it's
|
115
|
+
# hard to correlate Overfull line numbers with lines in the source,
|
116
|
+
# so we use grep's -A flag to provide some context instead. Authors
|
117
|
+
# can then use their text editors' search function to find the
|
118
|
+
# corresponding place in the text.
|
119
|
+
show_context = 'grep -A 3 "Overfull \\\\\\\\hbox"'
|
120
|
+
build_pdf(book_filename,
|
121
|
+
filters: "| #{filter_out_listings} | #{show_context}" )
|
122
|
+
else
|
123
|
+
# Run the command twice (to guarantee up-to-date cross-references).
|
124
|
+
cmd = build_pdf(book_filename, options)
|
125
|
+
"#{cmd} ; #{cmd}"
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
# Returns the command to rename the temp PDF.
|
130
|
+
# The purpose is to match the original filename.
|
131
|
+
# For example, foo_bar.tex should produce foo_bar.pdf.
|
132
|
+
# While we're at it, we move it to the standard ebooks/ directory.
|
133
|
+
def rename_pdf(basename, options={})
|
134
|
+
tmp_pdf = basename + '.tmp.pdf'
|
135
|
+
name = options[:preview] ? basename + '-preview' : basename
|
136
|
+
pdf = name + '.pdf'
|
137
|
+
mkdir('ebooks')
|
138
|
+
# Remove the intermediate tmp files unless only running once.
|
139
|
+
rm_tmp = keep_tmp_files?(options) ? "" : "&& rm -f *.tmp.*"
|
140
|
+
"mv -f #{tmp_pdf} #{File.join('ebooks', pdf)} #{rm_tmp}"
|
141
|
+
end
|
142
|
+
|
143
|
+
# Keeps tmp files when running once, including when finding overfull.
|
144
|
+
# The main purpose is to keep the *.aux files around for the ToC, xrefs,
|
145
|
+
# etc.
|
146
|
+
def keep_tmp_files?(options)
|
147
|
+
options[:once] || options[:'find-overfull'] || Softcover.test?
|
148
|
+
end
|
149
|
+
|
150
|
+
# Copies the style file to ensure it's always fresh.
|
151
|
+
def copy_polytexnic_sty
|
152
|
+
softcover_sty = File.join(Softcover::Directories::STYLES,
|
153
|
+
'softcover.sty')
|
154
|
+
source_sty = File.join(File.dirname(__FILE__),
|
155
|
+
'..', 'template', softcover_sty)
|
156
|
+
FileUtils.cp source_sty, softcover_sty
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module Softcover
|
2
|
+
module Builders
|
3
|
+
class Preview < Builder
|
4
|
+
|
5
|
+
def build!
|
6
|
+
# Recall that MOBI generation makes an EPUB as a side-effect.
|
7
|
+
Softcover::Builders::Mobi.new.build!(preview: true)
|
8
|
+
Softcover::Builders::Pdf.new.build!(preview: true)
|
9
|
+
extract_pdf_pages
|
10
|
+
end
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
# Extracts pages from the PDF using GhostScript.
|
15
|
+
# The page range is set by the `pdf_preview_page_range` parameter
|
16
|
+
# in book.yml so that authors can override the default range.
|
17
|
+
def extract_pdf_pages
|
18
|
+
input = File.join('ebooks', manifest.filename + '.pdf')
|
19
|
+
output = input.sub('.pdf', '-preview.pdf')
|
20
|
+
unless manifest.respond_to?(:pdf_preview_page_range)
|
21
|
+
$stderr.puts("Error: Preview not built")
|
22
|
+
$stderr.puts("Define pdf_preview_page_range in config/book.yml")
|
23
|
+
$stderr.puts("See http://manual.softcover.io/book/getting_started#sec-build_preview")
|
24
|
+
exit(1)
|
25
|
+
end
|
26
|
+
range = manifest.pdf_preview_page_range.split('..').map(&:to_i)
|
27
|
+
cmd = %(yes | #{ghostscript} -dBATCH -sOutputFile="#{output}")
|
28
|
+
cmd += %( -dFirstPage=#{range.first} -dLastPage=#{range.last})
|
29
|
+
cmd += %( -sDEVICE=pdfwrite "#{input}" > /dev/null 2> /dev/null)
|
30
|
+
execute cmd
|
31
|
+
end
|
32
|
+
|
33
|
+
def ghostscript
|
34
|
+
@ghostscript ||= executable(dependency_filename(:ghostscript))
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
// Processes an HTML page, including any MathJax math typesetting.
|
2
|
+
// Output is written to the file `phantomjs_source.html`.
|
3
|
+
|
4
|
+
var system = require('system');
|
5
|
+
var fs = require('fs');
|
6
|
+
var page = require('webpage').create();
|
7
|
+
|
8
|
+
page.open(system.args[1], function (status) {
|
9
|
+
if (status !== "success") {
|
10
|
+
console.log("Unable to access network");
|
11
|
+
} else {
|
12
|
+
//
|
13
|
+
// This gets called when MathJax is done
|
14
|
+
//
|
15
|
+
page.onAlert = function (msg) {
|
16
|
+
if (msg === "MathJax Done") {
|
17
|
+
var html = page.evaluate(function(){
|
18
|
+
var hiddenDiv = document.getElementById('MathJax_SVG_Hidden');
|
19
|
+
var svgs = document.getElementsByTagName('svg');
|
20
|
+
var origDefs = hiddenDiv.nextSibling.firstChild;
|
21
|
+
for (var i = 1; i < svgs.length; ++i) {
|
22
|
+
var defs = origDefs.cloneNode(false);
|
23
|
+
var svg = svgs[i];
|
24
|
+
// append shallow defs and change xmlns.
|
25
|
+
svg.insertBefore(defs, svg.firstChild);
|
26
|
+
svg.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
27
|
+
// clone and copy all used paths into local defs.
|
28
|
+
var uses = svg.getElementsByTagName("use");
|
29
|
+
for (var k = 0; k < uses.length; ++k) {
|
30
|
+
var id = uses[k].getAttribute("href");
|
31
|
+
defs.appendChild(
|
32
|
+
document.getElementById(id.substr(1)).cloneNode(true)
|
33
|
+
);
|
34
|
+
uses[k].setAttribute("xlink:href", id);
|
35
|
+
}
|
36
|
+
svg.style.position = "static";
|
37
|
+
}
|
38
|
+
svg_defs = document.getElementsByTagName('div')[0];
|
39
|
+
svg_defs.parentNode.removeChild(svg_defs);
|
40
|
+
return document.body.innerHTML;
|
41
|
+
});
|
42
|
+
|
43
|
+
utf8 = '<meta http-equiv="Content-type" content="text/html; charset=utf-8">'
|
44
|
+
fs.write('phantomjs_source.html', utf8 + html, 'w');
|
45
|
+
phantom.exit();
|
46
|
+
} else if (msg === "MathJax Timeout") {
|
47
|
+
console.log("Timed out waiting for MathJax");
|
48
|
+
phantom.exit();
|
49
|
+
} else { console.log(msg) }
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
page.evaluate(function () {
|
54
|
+
var script = document.createElement("script");
|
55
|
+
script.type = "text/x-mathjax-config";
|
56
|
+
script.text = "MathJax.Hub.Queue([alert,'MathJax Done'])";
|
57
|
+
document.head.appendChild(script);
|
58
|
+
// Time out after 60 seconds, which should be long enough for
|
59
|
+
// almost all documents.
|
60
|
+
setTimeout(function () { alert("MathJax Timeout") }, 60000);
|
61
|
+
});
|
62
|
+
});
|