This commit is contained in:
Lilian Besson
2017-01-18 16:42:33 +01:00
parent f399d9c06c
commit 1ad9944ae8
15 changed files with 83 additions and 83 deletions

View File

@@ -4,9 +4,9 @@
---
[StrapDown.js]: http://lbesson.bitbucket.org/md/ "Homepage of StrapDown.js !"
[index.html]: http://lbesson.bitbucket.org/md/index.html "Explanations on StrapDown.js !"
[StrapDown2PDF]: http://lbesson.bitbucket.org/md/strapdown2pdf "A super cool Bash script !"
[StrapDown.js]: http://lbesson.bitbucket.io/md/ "Homepage of StrapDown.js !"
[index.html]: http://lbesson.bitbucket.io/md/index.html "Explanations on StrapDown.js !"
[StrapDown2PDF]: http://lbesson.bitbucket.io/md/strapdown2pdf "A super cool Bash script !"
# StrapDown2PDF
[StrapDown2PDF][] is a **super cool** Bash script designed to print a *StrapDown*-powered web-page to a PDF document.
@@ -75,7 +75,7 @@ For instance, the following command will print to PDF every [StrapDown.js][]-fla
**strapdown2pdf** now comes with these options:
+ `-interactive` (shortcut is `-i`) to run [PDFLaTeX](http://perso.crans.org/besson/bin/pdflatex) with the interactive (errorstopmode) mode (default is batchmode),
+ `-quiet` (shortcut is `-q`) to run [strapdown2pdf](http://lbesson.bitbucket.org/md/strapdown2pdf.html) in quiet mode (no output at all, everything is redirected to `/tmp/strapdown2pdf.log`),
+ `-quiet` (shortcut is `-q`) to run [strapdown2pdf](//lbesson.bitbucket.io/md/strapdown2pdf.html) in quiet mode (no output at all, everything is redirected to `/tmp/strapdown2pdf.log`),
+ `-htm` (shortcut is `-m`) to produce a simple HTML file (which do not use StrapDown.js, see [this example strapdown2pdf.htm](./strapdown2pdf.htm)), written to a .htm file. For important document, producing a .htm autonomous file is a good idea,
+ `-discrete` (shortcut is `-d`) to run strapdown2pdf is discrete mode, without adding any creditentials in the produced document,
+ `-s[0-9][0-9]*%` (e.g. `-79%`) to change the default scale used by autotex (default is 85%, '-70%', '-75%' or '-80%' are good also),
@@ -124,7 +124,7 @@ to autoproduce a PDF version of the page in the background, asking to download i
[An example is there](http://manuels.github.io/texlive.js). It is so cool I want to use it :)
### Add a "Compile to PDF with TeXLive" button in StrapDown theme
I added a [Squirt](http://lbesson.bitbucket.org/squirt/) button
I added a [Squirt](//lbesson.bitbucket.io/squirt/) button
to the two [StrapDown.js][] theme, and therefore I guess
it could be possible to do the same for a "Compile to PDF with TeXLive" button !