Halo Loren,
Ya, PTXprint berjalan di Linux dan memiliki opsi baris perintah yang seharusnya membuat ide Anda relatif mudah untuk dilakukan. Cukup jalankan PTXprint di terminal dengan -h untuk menampilkan semua opsi. Jika Anda melihat file C:\Program Files\PTXprint\ptxprint\AboutPTXprint.txt, Anda akan melihat banyak contoh tentang cara menjalankan PTXprint langsung dari baris perintah (yaitu headless).
Misalnya,
"C:\Program Files\PTXprint\PTXprint.exe" -b ROM -P XYZ
akan langsung membuat PDF dari ROMANS dari proyek XYZ menggunakan konfigurasi Default (dan tidak akan muncul GUI, karena -P digunakan untuk langsung menekan "Print" untuk Anda).
Perlu dicatat bahwa Anda mungkin perlu terlebih dahulu membuka PTXprint untuk proyek tersebut dan mengatur font, tata letak, dll. Meskipun untuk teks Latin/Romawi mungkin saja langsung berfungsi, saya tidak tahu.
Jika Anda mencoba menjalankannya tanpa struktur file Paratext normal, yang perlu Anda lakukan hanyalah memberikan -p (huruf kecil) untuk menunjuk ke folder yang setara dengan "C:\My Paratext N Projects". Ia mencari file USFM di setiap subfolder dan menambahkan folder tersebut ke daftar "Projects". Jadi, saya memiliki ikon di desktop saya yang menjalankan perintah ini:
"C:\Program Files\PTXprint\PTXprint.exe" -p C:\Users\mark\Downloads yang menjalankan PTXprint hanya mencari proyek di folder Downloads saya.
Kami sudah pernah mempertimbangkan ide untuk menyediakan versi online PTXprint yang sedikit terbatas (lebih sedikit opsi untuk dipilih) dan MH mungkin akan memberikan rincian tentang cara melakukannya.
Ada orang lain yang sudah melakukan sesuatu yang serupa, tetapi dengan jumlah teks yang terbatas.
Cek: paper.bible yang memiliki antarmuka web yang mudah digunakan. Saya menyukai video promosinya, dan kesederhanaan UI-nya.
Hi Loren,
Yes, PTXprint runs on Linux and has command-line options that should make your idea relatively easy to pull off. Just run PTXprint in a terminal with the -h to show all the options. If you look in the C:\Program Files\PTXprint\ptxprint\AboutPTXprint.txt file you will see that there are a whole bunch of examples of how to run PTXprint directly from the command-line (i.e. headless).
So for example,
"C:\Program Files\PTXprint\PTXprint.exe" -b ROM -P XYZ
will directly create a PDF of ROMANS from the XYZ project using the Default configuration (and no GUI will appear, as -P was used to directly hit "Print" for you).
Note that you probably need to first open PTXprint for that project and set up a font and layout etc. Although for Latin/Roman texts it might just work, I don't know.
If you're trying to run it without the normal Paratext file structure, all you need to do is give it the -p (lowercase) to point to a folder which is equivalent to "C:\My Paratext N Projects". It looks in each subfolder for USFM files and adds that folder to the list of "Projects". So I have an icon on my desktop which runs this command:
"C:\Program Files\PTXprint\PTXprint.exe" -p C:\Users\mark\Downloads which fires up PTXprint looking only for projects in my Downloads folder.
We have already toyed with the idea of providing a slightly limited online version of PTXprint (fewer options to choose from) and MH might chip in with specifics about how to go about that.
There are others who have already done something similar, but with a limited number of texts available.
Check out: paper.bible which has an easy-to-use web interface. I love their promo video, and the UI simplicity.
Diterjemahkan secara otomatis dari English