ई-बुक मूल रूप से वेबपेजों का एक समूह है जिसे एक zip फ़ाइल में पैक किया गया है, जहाँ लेआउट ई-बुक रीडर द्वारा नियंत्रित किया जाता है और पेज को पुनः प्रवाहित (reflowed) किया जा सकता है, आदि।
PTXprint एक python front-end है जो USFM पर कुछ प्री-प्रोसेसिंग करने के लिए और अन्यथा XeTeX के लिए कॉन्फ़िगरेशन फ़ाइलें जनरेट करने के लिए उपयोग किया जाता है, जो फिर PDF फ़ाइलें जनरेट करता है, पेज पर प्रत्येक अक्षर की स्थिति, फुटनोट्स, आदि को नियंत्रित करता है।
हालाँकि TeX इनपुट फ़ाइलों के कुछ निश्चित प्रकारों (जैसे LaTeX) के एक छोटे उपसमूह से HTML जनरेट करने के कुछ तरीके हैं, मुझे बहुत ही आश्चर्य होगा यदि वे ptx2pdf मैक्रो से भरोसेमंद रूप से उपयोगी परिणाम उत्पन्न करते हैं; USFM से सीधे HTML जाने का बेहतर विकल्प होगा।
मुझे नहीं पता, लेकिन मैं यह जानना चाहता हूँ कि scripture app builder में यह क्षमता है या नहीं। SAB के लिए epub तक जाना (मानते हुए कि वह वर्तमान में ऐसा नहीं करता है) 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.
English से मशीन-अनुवादित