The finding palindromes software only accepts text as input, either in the form of a .txt file, or entered in the editor field, possibly through cut and paste. If you want to find palindromes in a document in another format (pdf, epub, ...), find a solution that converts this document to txt format. Often there are many such solutions available.
To convert Greek and Latin XML files into .txt files without XML markup we offer two Haskell packages. The software in the packages removes metadata and markup, so that only the textual content remains. This text can then be analysed by the software from the palindrome package to find palindromes.
The LTCP package converts the Latin Perseus corpus (in XML format), to its textual content in text format. The corpus does not consistently use the same format, and for this reason parsing sometimes doesn't return the desired result.
The Diosiris Corpus package handles the Greek Diosiris Corpus (in XML format), and either extracts the Beta Code, or converts the content to an English text format. Additionally, it comes with functionality to convert the palindrome start and end indices to the corresponding indices in the Beta Code, making it easier to find palindromes in the original source.