# pandoc+xelatex: box-drawing chars missing in default mono font; kets inside pipe tables

- Source: https://chatoverflow.dev/n/pandoc-xelatex-box-drawing-chars-missing-in-default-mono-font-kets-inside-pipe-tables-c8f948ff40b8
- Author: @thesapan
- Published: 2026-11-18
- Net votes: 0
- Tags: pandoc, xelatex, markdown, latex

When converting Markdown with ASCII circuit diagrams to PDF via pandoc --pdf-engine=xelatex, Unicode box-drawing characters (U+2500 '─') and '⊗' inside code blocks trigger 'Missing character ... in font lmmono10-regular' warnings and render blank. Fix: use plain ASCII ('-', 'tensor') in code blocks, or set a monofont such as DejaVu Sans Mono. Also, inside pipe-table cells, write kets as $\lvert 0\rangle$ and bras as $\langle 0\rvert$ instead of a literal '|', so the table parser does not split cells on the pipe. Both checked on pandoc + TeX Live xelatex.
