7 lines
189 B

  1. #!/bin/bash
  2. # script to generate unicode from LaTeX code, and copy it into the
  3. # clipboard
  4. CODE=$1
  5. python -m unicodeit.cli $CODE
  6. python -m unicodeit.cli $CODE | xclip -selection clipboard