Closed ppasedach closed 8 years ago
This is a problem of hyphenation failing due to the lack of spaces around the comma. Should be fixed in xml first.
I doubt that the comma is the reason for hyphenation failing here, see the following:
\documentclass{article}
\usepackage{polyglossia}
\usepackage{fontspec}
\setdefaultlanguage{english}
\setotherlanguage{sanskrit}
\newfontfamily\devanagarifont[Script=Devanagari,Mapping=devanagarinumerals]{Chandas}
\begin{document}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \textsanskrit{सूक्ताभ्यासविबर्द्धितव्यसनमित्यत्रानुबद्धस्पृहम् }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\textsanskrit{,सूक्ताभ्यासविबर्द्धितव्यसनमित्यत्रानुबद्धस्पृहम् }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \textsanskrit{,सूक्ताभ्यासविबर्द्धितव्यसनमित्यत्रानुबद्धस्पृहम् }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\textsanskrit{सूक्ताभ्यासविबर्द्धितव्यसनमित्यत्रानुबद्धस्पृहम् }
\end{document}
Which makes me believe that again we're dealing with the 63 letter limit. Something I hope will be overcome relatively soon.
Well, well. Compiling the original example with the new xetex it still doesn't hyphenate, but inserting a space after the comma it does. And my sample file looks no different either, I still have to look a bit more into when hyphenation does and doesn't work.
Fixed in https://github.com/paddymcall/SARIT-corpus/commit/2517c81473342c945f2c0145970a49fa28fdfb30
see also issue #30
pramanavarttikavrtti.pdf, p.2: The last line of the verse extends into the margin.