Closed RichardDooling closed 6 years ago
The following works for me...
textplay < test.txt | prince - -o test.pdf
test.txt?
I thought it converted fountain files?
And do you mean to have the solitary dash in there too?
I would think you mean:
textplay < test.fountain | print -o test.pdf
But that doesn't work for me either.
On Sat, Sep 8, 2018 at 1:52 AM Oliver Taylor notifications@github.com wrote:
The following works for me...
textplay < test.txt | prince - -o test.pdf
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/olivertaylor/Textplay/issues/33#issuecomment-419618449, or mute the thread https://github.com/notifications/unsubscribe-auth/ABaFwuD4y9EARGv5MEq1oOkk-1uQctQRks5uY2lKgaJpZM4V5rpH .
--
rd
Sorry, I mean
textplay < test.fountain | prince -o test.pdf
On Sun, Sep 9, 2018 at 11:10 PM Richard Dooling rpdooling@gmail.com wrote:
test.txt?
I thought it converted fountain files?
And do you mean to have the solitary dash in there too?
I would think you mean:
textplay < test.fountain | print -o test.pdf
But that doesn't work for me either.
On Sat, Sep 8, 2018 at 1:52 AM Oliver Taylor notifications@github.com wrote:
The following works for me...
textplay < test.txt | prince - -o test.pdf
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/olivertaylor/Textplay/issues/33#issuecomment-419618449, or mute the thread https://github.com/notifications/unsubscribe-auth/ABaFwuD4y9EARGv5MEq1oOkk-1uQctQRks5uY2lKgaJpZM4V5rpH .
--
rd
--
rd
The solitary dash tells prince to read STDIN (which is what textplay outputs to). Check the docs here. Let me know if that solitary dash makes a difference.
Textplay does not require a ".fountain" extension. It works on any file. I use ".txt".
A couple troubleshooting things to try:
textplay -f < test.fountain
or textplay -x < test.fountain
Solved. I had the newest Textplay, but had Prince 12 instead of 12.1.
With 12, I get "prince: warning: disabled parallel downloads: failed to initialise locking for OpenSSL"
But Prince 12.1 fixes it. Thanks for keeping this going. I think it's the best fountain converter out there, and the only one, to my knowledge, that works from the command line.
Rick
On Mon, Sep 10, 2018 at 12:06 AM Oliver Taylor notifications@github.com wrote:
The solitary dash tells prince to read STDIN (which is what textplay outputs to). Check the docs here https://www.princexml.com/doc-refs/#cmd-input-output. Let me know if that solitary dash makes a difference.
Textplay does not require a ".fountain" extension. It works on any file. I use ".txt".
A couple troubleshooting things to try:
- Do you have the latest commit checked out? Latest is 88f7871 https://github.com/olivertaylor/Textplay/commit/88f78718e4eedd91a48a019691d964dff76af232
- Does it work if you do this? textplay -f < test.fountain or textplay -x < test.fountain
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/olivertaylor/Textplay/issues/33#issuecomment-419788495, or mute the thread https://github.com/notifications/unsubscribe-auth/ABaFws-grFxyGTgN3No80oygWnCeOMGPks5uZfNkgaJpZM4V5rpH .
--
rd
Glad it worked. I'm glad someone else finds it useful! I'll maintain it as long as I use it. I think you're right, there's nothing quite like it out there. Thanks!
On Mac High Sierra and using Prince 12, if I do:
textplay < screenplay.fountain | prince - screenplay.pdf
I get
Textplay/textplay:1125:in'
write': Broken pipe @ io_write - <STDOUT> (Errno::EPIPE) from Textplay/textplay:1125:in
puts' from Textplay/textplay:1125:inputs' from Textplay/textplay:1125:in