* first pass - need additional tests + doc * additional tests * changelog + doc * changelog + doc * fix: typo in _destroy.md --------- Co-authored-by: Emmanuel Coste <emmanuel.coste@cosmian.com>
4 lines
242 B
Bash
Executable file
4 lines
242 B
Bash
Executable file
#!/bin/sh
|
|
|
|
awk -F":" 'NF == 2 {print "katex.\_\_defineMacro\(\"" $1 "\", \"" $2 "\"\)"}' macros.txt | sed 's/\\/\\\\/g' > docs/javascripts/macros.js
|
|
awk -F":" 'NF == 2 {print "\\newcommand{" $1 "\}\{" $2 "\}"}' macros.txt > pandoc/macros.tex
|