Um e-book é basicamente um conjunto de páginas da web embalado em um arquivo zip, onde o layout é controlado pelo leitor de e-books e a página pode ser reformatada, etc.
O PTXprint é uma interface em Python para fazer algum pré-processamento no USFM e, de outra forma, gerar os arquivos de configuração para o XeTeX, que então gera arquivos PDF, controlando a posição de cada letra na página, notas de rodapé, etc.
Embora existam algumas maneiras de gerar HTML a partir de um subconjunto pequeno de certos tipos de arquivos de entrada TeX (por exemplo, LaTeX), ficaria muito, muito surpreso se eles produzissem resultados utilizáveis de forma confiável a partir das macros ptx2pdf; seria melhor ir diretamente do USFM para HTML.
Não sei, mas me pergunto se o scripture app builder tem essa capacidade. Seria um salto muito, muito menor para o epub no SAB (assumindo que ele não o faça atualmente) do que para o PTXprint.
An ebook is basically a set of webpages wrapped up in a zip file, where the layout is controlled by the ebook reader and the page can be reflowed, etc.
PTXprint is a python front-end to do some pre-processing on the USFM and otherwise to generate the configuration files for XeTeX, which then generates PDF files, controlling the positioning of each letter on the page, footnotes, etc.
While there are some ways of generating HTML from a small subset of certain flavours of TeX input files (e.g. LaTeX) I’d be very very surprised if they reliably produced usable results from the ptx2pdf macros, it would be better to go directly from the USFM to HTML.
I don’t know, but I wonder if scripture app builder has the capability. It would be a much much smaller leap to epub for SAB (assuming it doesn’t currently do it) than for PTXprint.