#!/usr/bin/env python3
import os
+import re
import subprocess
from pandocfilters import (toJSONFilter, RawInline, Space, Str, walk, Image,
Link)
if k == 'Link':
out.write(" link type %s\n" %
(type(v[1][0])))
+ if k == 'RawInline' and v[0] == 'html' \
+ and re.fullmatch(r"< *br */? *>", v[1]):
+ return [RawInline('latex', r'\\')]
if __name__ == "__main__":
<!-- <template> is used to make html ignore what's inside it,
needed since pandoc conversion to latex ignores <br> tags-->
-| XO LSB half →<br> XO MSB half ↓ | 01100 | 01101 | 01110 | 01111 |
-|-----------------------------------------------|---------------------------------------------------------------------|--------------------------------------------------------------------|----------------------------------------------------------------------|---------------------------------------------------------------------|
-| 10000 | `10000 01100`<template>\linebreak[4]</template><br>(ffadds) (draft) | `10000 01101`<template>\linebreak[4]</template><br>fsinpis (draft) | `10000 01110`<template>\linebreak[4]</template><br>fatan2pis (draft) | `10000 01111`<template>\linebreak[4]</template><br>fasinpis (draft) |
-| 10001 | `10001 01100`<template>\linebreak[4]</template><br>fcospis (draft) | `10001 01101`<template>\linebreak[4]</template><br>ftanpis (draft) | `10001 01110`<template>\linebreak[4]</template><br>facospis (draft) | `10001 01111`<template>\linebreak[4]</template><br>fatanpis (draft) |
-| 10010 | `10010 01100`<template>\linebreak[4]</template><br>**TBD** (draft) | `10010 01101`<template>\linebreak[4]</template><br>fsins (draft) | `10010 01110`<template>\linebreak[4]</template><br>fatan2s (draft) | `10010 01111`<template>\linebreak[4]</template><br>fasins (draft) |
-| 10011 | `10011 01100`<template>\linebreak[4]</template><br>fcoss (draft) | `10011 01101`<template>\linebreak[4]</template><br>ftans (draft) | `10011 01110`<template>\linebreak[4]</template><br>facoss (draft) | `10011 01111`<template>\linebreak[4]</template><br>fatans (draft) |
-| 10100 | `10100 01100`<template>\linebreak[4]</template><br>**TBD** (draft) | `10100 01101`<template>\linebreak[4]</template><br>fsinhs (draft) | `10100 01110`<template>\linebreak[4]</template><br>fhypots (draft) | `10100 01111`<template>\linebreak[4]</template><br>fasinhs (draft) |
-| 10101 | `10101 01100`<template>\linebreak[4]</template><br>fcoshs (draft) | `10101 01101`<template>\linebreak[4]</template><br>ftanhs (draft) | `10101 01110`<template>\linebreak[4]</template><br>facoshs (draft) | `10101 01111`<template>\linebreak[4]</template><br>fatanhs (draft) |
-| 10110 | `10110 01100`<template>\linebreak[4]</template><br>**TBD** (draft) | `10110 01101`<template>\linebreak[4]</template><br>**TBD** (draft) | `10110 01110`<template>\linebreak[4]</template><br>**TBD** (draft) | `10110 01111`<template>\linebreak[4]</template><br>**TBD** (draft) |
-| 10111 | `10111 01100`<template>\linebreak[4]</template><br>**TBD** (draft) | `10111 01101`<template>\linebreak[4]</template><br>**TBD** (draft) | `10111 01110`<template>\linebreak[4]</template><br>**TBD** (draft) | `10111 01111`<template>\linebreak[4]</template><br>**TBD** (draft) |
+| XO LSB half →<br> XO MSB half ↓ | 01100 | 01101 | 01110 | 01111 |
+|-----------------------------------------------|-----------------------------------|----------------------------------|------------------------------------|-----------------------------------|
+| 10000 | `10000 01100`<br>(ffadds) (draft) | `10000 01101`<br>fsinpis (draft) | `10000 01110`<br>fatan2pis (draft) | `10000 01111`<br>fasinpis (draft) |
+| 10001 | `10001 01100`<br>fcospis (draft) | `10001 01101`<br>ftanpis (draft) | `10001 01110`<br>facospis (draft) | `10001 01111`<br>fatanpis (draft) |
+| 10010 | `10010 01100`<br>**TBD** (draft) | `10010 01101`<br>fsins (draft) | `10010 01110`<br>fatan2s (draft) | `10010 01111`<br>fasins (draft) |
+| 10011 | `10011 01100`<br>fcoss (draft) | `10011 01101`<br>ftans (draft) | `10011 01110`<br>facoss (draft) | `10011 01111`<br>fatans (draft) |
+| 10100 | `10100 01100`<br>**TBD** (draft) | `10100 01101`<br>fsinhs (draft) | `10100 01110`<br>fhypots (draft) | `10100 01111`<br>fasinhs (draft) |
+| 10101 | `10101 01100`<br>fcoshs (draft) | `10101 01101`<br>ftanhs (draft) | `10101 01110`<br>facoshs (draft) | `10101 01111`<br>fatanhs (draft) |
+| 10110 | `10110 01100`<br>**TBD** (draft) | `10110 01101`<br>**TBD** (draft) | `10110 01110`<br>**TBD** (draft) | `10110 01111`<br>**TBD** (draft) |
+| 10111 | `10111 01100`<br>**TBD** (draft) | `10111 01101`<br>**TBD** (draft) | `10111 01110`<br>**TBD** (draft) | `10111 01111`<br>**TBD** (draft) |
## PO=63 XO=10--011--