Click here for Done Deal Pro home page

Done Deal Pro Home Page

Loading

Go Back   Done Deal Pro Forums > General > Sites, Services, Software, & Supplies
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 04-13-2019, 10:44 PM   #1
Centos
Member
 
Join Date: Apr 2009
Location: Idaho
Posts: 1,871
Default Wrap for Fountain files ... but what's with "Estella?"

I've found another utility for converting Fountain files to PDF (or HTML) in the command line (CLI). It's a utility called "Wrap" and it works basically like the command line versions of Screenplain and 'Afterwriting.

With Linux it requires installing Snap and then using that to install the app. It appears to be more straightforward with Windows and Mac. It's one dependency is Courier Prime.

https://github.com/Wraparound/wrap

Downloads here.

https://github.com/Wraparound/wrap/releases/tag/v0.2.2

It has the simplest command line of the lot. If you're going to name the PDF the same as the Fountain file, just type ...

wrap pdf file.fountain

If you want to name the output file something else you'll need to add the -o (for output) option.

wrap pdf file.fountain -o newfile.pdf

HTML would be ...

wrap html file.fountain

or

wrap html file.fountain -o newfile.html

You don't seem to have as much control over output as you do with screenplain or 'afterwriting (but it could be my ignorance at work).

Okay, that said, it works really well, EXCEPT I ran into an odd glitch. If I try to use the name of my character "Estella" (in a screenplay I wrote a long time ago) wrap freaks out. With "Ella" (for example) it works as advertised.

I wrote a small screenplay snippet to make sure it wasn't glunk in my file. Here's what it looked like.

Wrap produced the following from this Fountain file ...

Code:
INT. LIVING ROOM — DAY ESTELLA ROBERTS, 40, is sitting at the couch, reading. The TV blares from another room. ESTELLA Can you turn that down? VOICE (O.S.) Huh? ESTELLA Turn down the TV! The TV volume lowers a notch. VOICE (O.S.) You're just not cool, Estella.
Results in PDF ...

Code:
INT. LIVING ROOM — DAY ESTELLA ROBERTS, 40, IS SITTING AT THE COUCH, READING. The TV blares from another room. ESTELLA Can you turn that down? VOICE (O.S.) Huh? ESTELLA Turn down the TV! The TV volume lowers a notch. VOICE (O.S.) You're just not cool, Estella.
When I change the name to Ella instead, the PDF results ...

Code:
INT. LIVING ROOM — DAY ELLA ROBERTS, 40, is sitting at the couch, reading. The TV blares from another room. ELLA Can you turn that down? VOICE (O.S.) Huh? ELLA Turn down the TV! The TV volume lowers a notch. VOICE (O.S.) You're just not cool, Ella.
This is exactly what it was doing with my full 104 page script. I thought I had some gunk in there. I wanted to recover the script I wrote a few years back, but the copy I had, had been written in a defunct Windows program (fortunately it was based on XML, so it was possible to extract the text and turn it into a Fountain file, but it took a while).

Estella works fine in the same file when I use Screenplain ... (or 'Afterwriting) ...

Code:
INT. LIVING ROOM — DAY ESTELLA ROBERTS, 40, is sitting at the couch, reading. The TV blares from another room. ESTELLA Can you turn that down? VOICE (O.S.) Huh? ESTELLA Turn down the TV! The TV volume lowers a notch. VOICE (O.S.) You're just not cool, Estella.
So ... I don't know if I picked the one name in creation that wouldn't work, or whether this would be a constant issue. I'll try to write to the developer. He should be able to figure out what's triggering this. It drove me nuts because I thought there was something wrong with my file and I couldn't see what it was. It's a bit of a "bummer" because Wrap seems to be easier to install and use. (Although ComicBent is leery of Courier Prime, I can't remember exactly why now.)
__________________
STANDARD DISCLAIMER: I'm a wannabe, take whatever I write with a huge grain of salt.
Centos is offline   Reply With Quote
Old 04-14-2019, 12:51 AM   #2
ComicBent
Member
 
ComicBent's Avatar
 
Join Date: Jul 2005
Posts: 4,153
Default Re: Wrap for Fountain files ... but what's with "Estella?"

I downloaded the program and ran a couple of experiments. I also downloaded the code, but have not looked at it except to see what the programming language is.

The program is coded in something called Go, which I had to look up.

Here is what I think is happening. I tried using the names ESTHER and INTIMA in the troublesome line.

In both cases, Wrap converted the whole line to caps. It is doing this because the code for categorizing the Fountain paragraphs is defective. Wrap sees a capitalized word with E*T or I*T at the beginning of a paragraph and thinks that these are Scene Headings (EXT or INT) instead of properly recognizing them as Action.

Or that is my strong suspicion anyway. I may look at this some more, but it is the middle of the night right now.

EDIT (1) TO ADD: If you use the Fountain action symbol ! right before ESTELLA, as in:

!ESTELLA

things work properly.

You need to report this bug on GitHub.

EDIT (2) TO ADD: I do not really dislike Courier Prime. I just have a couple of complaints about it, mainly that the tail on the italic 'y' is weaker than I would prefer. Some of the font hinting is suboptimal (hinting relates to how the font appears on screen in smaller sizes; it has nothing to do with how nice the font looks when printed).

On my screens the small 'e' always looks a bit ragged. For those who are old enough to remember how typewriters worked on cloth ribbons, you will remember that the 'e' and certain other keys would eventually get a buildup of crusty ink and would need cleaning with a solvent. That is what the 'e' looks like in Courier Prime on my computers. It is only a slight imperfection, but I do notice it right away.

Ah, yes, the typewriter days. If you ever worked in an office as a Dilbert character, whether at a desk or in a cubicle, you probably had the experience of the typewriter repairman, who appeared periodically with pungent-smelling chemicals to clean your keys and lubricate your moving parts (on the typewriter, that is).
__________________

"The fact that you have seen professionals write poorly is no reason for you to imitate them." ComicBent.

Last edited by ComicBent : 04-14-2019 at 06:20 AM.
ComicBent is offline   Reply With Quote
Old 04-14-2019, 10:20 AM   #3
Centos
Member
 
Join Date: Apr 2009
Location: Idaho
Posts: 1,871
Default Re: Wrap for Fountain files ... but what's with "Estella?"

Quote:
Originally Posted by ComicBent View Post
Here is what I think is happening. I tried using the names ESTHER and INTIMA in the troublesome line.

In both cases, Wrap converted the whole line to caps. It is doing this because the code for categorizing the Fountain paragraphs is defective. Wrap sees a capitalized word with E*T or I*T at the beginning of a paragraph and thinks that these are Scene Headings (EXT or INT) instead of properly recognizing them as Action.

Or that is my strong suspicion anyway. I may look at this some more, but it is the middle of the night right now.

EDIT (1) TO ADD: If you use the Fountain action symbol ! right before ESTELLA, as in:

!ESTELLA

things work properly.

You need to report this bug on GitHub.
It's a little more troublesome than that. Even if you don't capitalize "Estella" it still converts the action line to a scene header. As in ...

estella roberts, 40, is sitting ...

will still result in ...


ESTELLA ROBERTS, 40, IS SITTING ... (with an extra space above it).

You also have the dialogue lines moving flush left when you use "ESTELLA" (and ESTHER and INTIMA) as the name. In this case it's not changing the lines to a slugline, it's just removing (actually, not adding) the spaces in front of the character name and the dialogue.

Code:
ESTHER Can you turn that down? VOICE (O.S.) Huh? INTIMA Turn down the TV!
Following your advice on adding the exclamation point in front of the action line, I added the "@" symbol in front of the character's name. That fixed it, but there's definitely serious issues in Wrap's coding.

I'll try writing to the developer (not exactly sure how the GitHub process works, but I should be able to figure it out).
__________________
STANDARD DISCLAIMER: I'm a wannabe, take whatever I write with a huge grain of salt.

Last edited by Centos : 04-14-2019 at 10:33 AM.
Centos is offline   Reply With Quote
Old 04-14-2019, 10:27 AM   #4
Centos
Member
 
Join Date: Apr 2009
Location: Idaho
Posts: 1,871
Default Re: Wrap for Fountain files ... but what's with "Estella?"

Quote:
Originally Posted by ComicBent View Post
EDIT (2) TO ADD: I do not really dislike Courier Prime. I just have a couple of complaints about it, mainly that the tail on the italic 'y' is weaker than I would prefer. Some of the font hinting is suboptimal (hinting relates to how the font appears on screen in smaller sizes; it has nothing to do with how nice the font looks when printed).

On my screens the small 'e' always looks a bit ragged. For those who are old enough to remember how typewriters worked on cloth ribbons, you will remember that the 'e' and certain other keys would eventually get a buildup of crusty ink and would need cleaning with a solvent. That is what the 'e' looks like in Courier Prime on my computers. It is only a slight imperfection, but I do notice it right away.
I'll have to take a closer look at Courier Prime. I just like the fact that it's darker. And I do remember cleaning my typewriter keys when the filled with "gunk." I kind of miss the sound and feel of a real typewriter, but I would imagine I would get "over it" after the first couple lines I screwed up a line and couldn't easily correct it.

EDIT: I see what you mean on the "e" — it is kind of ragged. Still (for me) the overall appearance of the darker courier might be the deciding factor on which I use.
__________________
STANDARD DISCLAIMER: I'm a wannabe, take whatever I write with a huge grain of salt.
Centos is offline   Reply With Quote
Old 04-14-2019, 02:37 PM   #5
ComicBent
Member
 
ComicBent's Avatar
 
Join Date: Jul 2005
Posts: 4,153
Default Re: Wrap for Fountain files ... but what's with "Estella?"

Try Courier Screenplay instead of Courier Prime. It is just as dark.

You can get it from the Fade In website.

Courier Screenplay does not have the "true italics" feature of Courier Prime, but the italic face is a genuine font face within Courier Screenplay.

Yes, you are right about 'estella'. It does get treated in the same way as the capitalized version. I am puzzled as to why the Character name gets converted to all caps but does not seem to be regarded as a Scene Heading (only has one blank line above it).

Wrap is a long way from playing in prime time.
__________________

"The fact that you have seen professionals write poorly is no reason for you to imitate them." ComicBent.
ComicBent is offline   Reply With Quote
Old 04-14-2019, 11:15 PM   #6
Centos
Member
 
Join Date: Apr 2009
Location: Idaho
Posts: 1,871
Default Re: Wrap for Fountain files ... but what's with "Estella?"

Quote:
Originally Posted by ComicBent View Post
Try Courier Screenplay instead of Courier Prime. It is just as dark.

You can get it from the Fade In website.

Courier Screenplay does not have the "true italics" feature of Courier Prime, but the italic face is a genuine font face within Courier Screenplay.
It's a very nice font. Thanks. I've incorporated it into Trelby (both for display fonts and PDF printing fonts). I'll probably install it in KIT Scenarist, but I would really like to get it working in Screenplain. (I'll have to learn something about ReportLab to get that done, I think.) You're also supposed to be able to use an alternate font in 'Afterwriting's CLI by setting up a MyFonts.json file but, so far, I haven't figured that out either. I'm mostly interested in getting Courier Screenplay to work in Screenplain — which is what I use most of the time. It's nice that it works in Trelby, but Trelby doesn't support Unicode so this "—" (en or em dash) looks like this "--" (two hyphens) in Trelby.

Quote:
Originally Posted by ComicBent View Post
Yes, you are right about 'estella'. It does get treated in the same way as the capitalized version. I am puzzled as to why the Character name gets converted to all caps but does not seem to be regarded as a Scene Heading (only has one blank line above it).

Wrap is a long way from playing in prime time.
Agreed on Wrap. Not much of this makes any sense to me. If it worked right it would be a nice (and simple to use) utility. I'll write to the developer (probably tomorrow) but his application has serious issues.
__________________
STANDARD DISCLAIMER: I'm a wannabe, take whatever I write with a huge grain of salt.
Centos is offline   Reply With Quote
Old 04-15-2019, 05:46 AM   #7
Mitchell McLean
User
 
Mitchell McLean's Avatar
 
Join Date: Feb 2013
Posts: 59
Default Re: Wrap for Fountain files ... but what's with "Estella?"

May be nothing, but I think the Italian for EXT would be EST (for esterno/esteriore).
Mitchell McLean is offline   Reply With Quote
Old 04-15-2019, 04:47 PM   #8
Centos
Member
 
Join Date: Apr 2009
Location: Idaho
Posts: 1,871
Default Re: Wrap for Fountain files ... but what's with "Estella?"

Quote:
Originally Posted by Mitchell McLean View Post
May be nothing, but I think the Italian for EXT would be EST (for esterno/esteriore).
That would make sense for mistaking ESTELLA for a header, but not sure how that would work for what it does to ESTELLA when using it for a Character name. In that case it just leaves it (and the dialogue line that follows) flush left (instead of properly indenting), but doesn't change it into a header.
__________________
STANDARD DISCLAIMER: I'm a wannabe, take whatever I write with a huge grain of salt.
Centos is offline   Reply With Quote
Old 04-16-2019, 12:42 AM   #9
Centos
Member
 
Join Date: Apr 2009
Location: Idaho
Posts: 1,871
Default Re: Wrap for Fountain files ... but what's with "Estella?"

I did post an issue "report" (or whatever it's called) for this problem on the Wrap GitHub site. I'll let you know if I get any response or solution.
__________________
STANDARD DISCLAIMER: I'm a wannabe, take whatever I write with a huge grain of salt.
Centos is offline   Reply With Quote
Old 04-16-2019, 02:56 AM   #10
Centos
Member
 
Join Date: Apr 2009
Location: Idaho
Posts: 1,871
Default Re: Wrap for Fountain files ... but what's with "Estella?"

I'm happy to report that Wrap has already been fixed (as of version 0.2.3). Why ESTELLA triggered the issue (as well as EXTELLA and INTIMA) was because they were all shots, "EST" was the beginning of ESTABLISHING. The author's first (temporary) "fix" was using the ! and @ as mentioned above.

Results now correct. The following was created with Wrap.

Code:
INT. LIVING ROOM — DAY ESTELLA ROBERTS, late 20s, yells up the stairs. ESTELLA Bus is almost here. EXTELLA, 10, her daughter, runs down the stairs. EXTELLA Sorry, mom. INTIMA, 50s, rushes through the door without knocking. INTIMA Bus is already gone. I'll drive her.
__________________
STANDARD DISCLAIMER: I'm a wannabe, take whatever I write with a huge grain of salt.

Last edited by Centos : 04-16-2019 at 04:48 AM. Reason: Corrected an error introduced by pdftotext. Why the error? I don't know.
Centos is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:37 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Done Deal Pro

eXTReMe Tracker