Merge pull request #56 from LedgerHQ/fix-user-doc

Fix user documentation
pull/62/head nanox_1.4.1_2020-11-21_09-42-24
grydz 4 years ago committed by GitHub
commit f3bdb7908e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
.gitattributes vendored

@ -1 +1,2 @@
* text eol=lf
*.pdf binary

@ -1,12 +1,9 @@
#!/bin/bash
rm -f blue-app-monero.pdf blue-app-monero.latex
OUTPUT_FORMAT=rst+raw_tex+line_blocks+citations
if [ "$( uname -s )" = "Darwin" ]; then
## `pandoc` on OSX does not support those `rst` extensions but seems to generate the same PDF.
## I don't know if it's related to `pandoc` installed with `brew` or recent updates of `pandoc`
## For now, only use this on OSX and adapt if necessary.
OUTPUT_FORMAT=rst
fi
pandoc -s --template=blue-app-openpgp-card.template -f ${OUTPUT_FORMAT} -V geometry:a4paper -V geometry:margin=1in -V fontsize=10pt -t latex --toc -N -o blue-app-openpgp-card.pdf blue-app-openpgp-card.rst
NAME=blue-app-openpgp-card
rm -f ${NAME}.pdf
OUTPUT_FORMAT=rst+smart
pandoc -s --template=${NAME}.template -f ${OUTPUT_FORMAT} -V geometry:a4paper -V geometry:margin=1in -V fontsize=10pt -t latex --toc -N -o ${NAME}.pdf ${NAME}.rst

Loading…
Cancel
Save