efbb329f1a
- `--ascii` is now turned on automatically for man output, for portability. All man output will be escaped to ASCII. - In T.P.Writers.Groff, `escapeChar`, `escapeString`, and `escapeCode` now take a boolean parameter that selects ascii-only output. This is used by the Ms writer for `--ascii`, instead of doing an extra pass after writing the document. - In ms output without `--ascii`, unicode is used whenever possible (e.g. for double quotes). - A few escapes are changed: e.g. `\[rs]` instead of `\\` for backslash, and `\ga]` instead of `` \` `` for backtick.
45 lines
439 B
Markdown
45 lines
439 B
Markdown
```
|
|
pandoc -t html --ascii
|
|
äéıå
|
|
^D
|
|
<p>äéıå</p>
|
|
```
|
|
|
|
```
|
|
pandoc -t latex --ascii
|
|
äéıå
|
|
^D
|
|
\"{a}\'{e}\i \r{a}
|
|
```
|
|
|
|
```
|
|
pandoc -t man --ascii
|
|
äéıå
|
|
^D
|
|
.PP
|
|
\[:a]\['e]\[.i]\[oa]
|
|
```
|
|
|
|
```
|
|
pandoc -t ms --ascii
|
|
äéıå
|
|
^D
|
|
.LP
|
|
\[:a]\['e]\[.i]\[oa]
|
|
```
|
|
|
|
```
|
|
pandoc -t docbook --ascii
|
|
äéıå
|
|
^D
|
|
<para>
|
|
äéıå
|
|
</para>
|
|
```
|
|
|
|
```
|
|
pandoc -t jats --ascii
|
|
äéıå
|
|
^D
|
|
<p>äéıå</p>
|
|
```
|