|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
Functions | |
| _to_ascii (match) | |
Variables | |
| path = sys.argv[1] | |
| int | title = sys.argv[2] if len(sys.argv) > 2 else None |
| url | |
| write_to | |
| encoding | |
| s = _f.read() | |
| sty = os.path.join(os.path.dirname(path), "doxygen.sty") | |
| d = _f.read() | |
| idx = os.path.join(os.path.dirname(path), "index.tex") | |
| i = _f.read() | |
| keep | |
| tex | |
| body = _f.read() | |
| str | marker = "\\begin{document}" |
| split = body.find(marker) | |
| int | head = -1 else "" |
| int | tail = -1 else body |
| int | fixed = head + re.sub(r"[^\x00-\x7F]", _to_ascii, tail) |
Post-process Doxygen's refman.tex before pdflatex, to match the Cryptnox PDF style. Usage: python3 docs/patch_latex.py docs/latex/refman.tex ["Friendly Title"]
|
protected |
Definition at line 176 of file patch_latex.py.
| patch_latex.body = _f.read() |
Definition at line 195 of file patch_latex.py.
| patch_latex.d = _f.read() |
Definition at line 138 of file patch_latex.py.
| patch_latex.encoding |
Definition at line 26 of file patch_latex.py.
Definition at line 204 of file patch_latex.py.
| int patch_latex.head = -1 else "" |
Definition at line 202 of file patch_latex.py.
| patch_latex.i = _f.read() |
Definition at line 149 of file patch_latex.py.
| patch_latex.idx = os.path.join(os.path.dirname(path), "index.tex") |
Definition at line 146 of file patch_latex.py.
| patch_latex.keep |
Definition at line 167 of file patch_latex.py.
| str patch_latex.marker = "\\begin{document}" |
Definition at line 200 of file patch_latex.py.
| patch_latex.path = sys.argv[1] |
Definition at line 9 of file patch_latex.py.
| patch_latex.s = _f.read() |
Definition at line 27 of file patch_latex.py.
| patch_latex.split = body.find(marker) |
Definition at line 201 of file patch_latex.py.
| patch_latex.sty = os.path.join(os.path.dirname(path), "doxygen.sty") |
Definition at line 135 of file patch_latex.py.
| int patch_latex.tail = -1 else body |
Definition at line 203 of file patch_latex.py.
| patch_latex.tex |
Definition at line 194 of file patch_latex.py.
| int patch_latex.title = sys.argv[2] if len(sys.argv) > 2 else None |
Definition at line 10 of file patch_latex.py.
| patch_latex.url |
Definition at line 22 of file patch_latex.py.
| patch_latex.write_to |
Definition at line 23 of file patch_latex.py.