Note: To convert from XeLaTeX source to .odt
/.docx
, I am using the solution provided by Michal Hoftich. (See there for MWE and the solution by @michal.h21.) The present question is follows upon an earlier bug report.
As far as I can tell, tex4ht has a bit of trouble with the verse
environment.
bug 1: disappearing text
Most seriously, it seems to ignore text that immediately follows the verse
(until it reaches a paragraph or section break). For example:
\begin{verse}
\gk{ἐνταῦθα τ(ὸν) Γεώργ(ιον) Χιονιάδην νόει\\
ἀποπληροῦντα τὸν μακρὸν πόθον αὐτοῦ τοῦ φίλου\\
διασχημάτων εὐφυῶν τῶν τῆς ἀστρονομίας.}
Be aware that here George Chioniades\\
satisfies his friend's great desire\\
for well-formed astronomical diagrams.
\end{verse}
This makes clear...
NEW PARAGRAPH
The words "This makes clear..." are omitted from the output.
bug 2: spacing of verses
A less serious issue is that the outputted verses are oddly spaced: rather than single spaced, with an extra space where I have indicated a "new paragraph" by leaving a gap between the Greek original and the Arabic translation (as it is in the pdflatex
/xetex
output), it makes it all double-spaced (or at least evenly-spaced with a wider separation than single-spacing).
question
Is there a simple way to fix these bugs?