I am using XeLaTeX and the fontspec package to work with text that uses UTF-8 interpuncts (·) instead of spaces.
However, interpuncts are not understood by 'TeX to be spacing characters, and so long lines of text using interpuncts overflow the page boundary.
Example:
\documentclass[openany]{book}
\usepackage{fontspec}
\begin{document}
Lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem·ipsum·lorem...
\end{document}
I know that the seqsplit package exists, but that seems to be more for splitting long strings at wrapping boundaries (DNA/RNA transcription) rather than splitting in cases like this.
Two inter-related questions:
- Is there a package or command that could be used to define the interpunct character generally as a spacing character?
- Would it be possible to eliminate the interpunct character when wrapping occurs? That is, the line wrap replaces the need for the interpunct character.
(Note: I am using interpunct characters only as spaces, not for any of the other common usages of interpuncts, so this solution can break other usages of interpuncts.)
