SATySFi icon indicating copy to clipboard operation
SATySFi copied to clipboard

tab characters (U+0009) in \d-code block

Open nyuichi opened this issue 5 years ago • 0 comments

Tab characters in \d-code block are not displayed correctly.

For the following code,

@require: stdjareport
@require: code

document (|
  title = {\SATySFi;};
  author = {Nanashi Taro};
|) '<
  % delimited by tabs
  \d-code(`
  key	value
  1	apple
  2	orange
  3	pear
  `);
}
>

satysfi generates スクリーンショット 2019-03-10 16 45 12

with warnings:

$ satysfi test.saty
[...]
 ---- ---- ---- ----
  evaluating texts ...
  [Warning] No glyph is provided for U+0009 by font `lmmono`.
  [Warning] No glyph is provided for U+0009 by font `lmmono`.
  [Warning] No glyph is provided for U+0009 by font `lmmono`.
  [Warning] No glyph is provided for U+0009 by font `lmmono`.
  evaluation done.
 ---- ---- ---- ----
[...]

nyuichi avatar Mar 10 '19 07:03 nyuichi