Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Ihor Radchenko
Fionn Stephens  writes:

> Thanks a million. I didn't know you could do that.

Good that src blocks are good enough for your usage.
Closed.

> And apologies all for the bad email formatting, I'll try to change it to 
> plain text.

I think your emails do have plain text parts as well, so they should be fine.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Ihor Radchenko
Fionn Stephens  writes:

> And this is a LaTeX package that can create screenplays: 
> https://ctan.org/pkg/screenplay?lang=en. 
>
> The Fountain Mode in emacs can use different backends, but I use 
> Afterwriting: https://afterwriting.com/. 

These two appear to produce full document, not fragments.
Typesetting fragments might be more tricky.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Ihor Radchenko
Christian Moe  writes:

> To my mind, Org should not support every kind of markup/markdown format
> there is, but to the extent Fountain is the best format for screenplays,
> and Org is good for organizing bits of screenplays, I think maybe using
> Org-babel src blocks is the way to go?

I mostly agree, but wouldn't it be nice to support something other than
just LaTeX fragments? That's why I was asking about more details.

> Even without a dedicated ob-fountain package to support it, it can be
> used today for tangling screenplays from blocks of Fountain format with
> noweb syntax, editing blocks in fountain-mode, some limited syntax
> highlighting etc.

Sure. It is not exactly same with what Fionn asked for though.

Also, syntax highlighting in fountain src blocks should work with
engrave-faces.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Fionn Stephens
Thanks a million. I didn't know you could do that.

And apologies all for the bad email formatting, I'll try to change it to plain 
text.

Fionn






--- Original Message ---
On Monday, July 3rd, 2023 at 2:53 PM, Bruno Cardoso  
wrote:


> On 2023-07-03, 13:00 +, Fionn Stephens fionnsteph...@protonmail.com wrote:
> 
> > Hi,
> > 
> > I think support for screenplay formatting would be a useful feature to add. 
> > Like to how comments or quotes are done, it could be in between the tags: 
> > #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by 
> > Fountain would make the most sense.
> > 
> > For example, a section could look like:
> > 
> > #+BEGIN_SCREENPLAY
> > INT./EXT. BLOOM HOUSE - (PRESENT) DAY
> > 
> > The front door opens to reveal Will and Josephine on the porch with their 
> > bags. REVERSE to Will's mother Sandra (53), surprised and a little annoyed.
> > 
> > SANDRA
> > How did you get here?
> > 
> > WILL
> > We swam. The Atlantic, it's not that big really.
> > #+END_SCREENPLAY
> > 
> > Thanks,Fionn Stephens
> 
> 
> Hi. You can use org-blocks like this with fountain-mode:
> 
> - https://github.com/rnkn/fountain-mode
> 
> #+begin_src fountain
> INT./EXT. BLOOM HOUSE - (PRESENT) DAY
> 
> The front door opens to reveal Will and Josephine on the porch with their 
> bags. REVERSE to
> Will's mother Sandra (53), surprised and a little annoyed.
> 
> SANDRA
> How did you get here?
> 
> WILL
> We swam. The Atlantic, it's not that big really.
> #+end_src
> 
> 
> Best,
> 
> Bruno.



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Fionn Stephens
I just found a python package that can convert fountain markdown to LaTeX: 
https://pypi.org/project/fountain/. 

And this is a LaTeX package that can create screenplays: 
https://ctan.org/pkg/screenplay?lang=en. 

The Fountain Mode in emacs can use different backends, but I use Afterwriting: 
https://afterwriting.com/. 






--- Original Message ---
On Monday, July 3rd, 2023 at 2:51 PM, Ihor Radchenko  
wrote:


> [ Adding Org ML back to CC. Please use Reply All or wide reply to keep
> other mailing list members in the loop. ]
> 
> > The industry standard is to use Final Draft 
> > (https://en.wikipedia.org/wiki/Final_Draft_(software)), but I personally 
> > use Emacs Fountain Mode (https://www.emacswiki.org/emacs/FountainMode). 
> > Fountain is a plain text markup language (https://fountain.io/).
> > 
> > I'm interested in exporting to PDF and to odt format.
> 
> 
> How do you usually export to fountain PDF?
> Org mode relies on LaTeX to produce PDF output. Is it possible to have
> Fountain blocks in LaTeX?
> 
> Fionn Stephens fionnsteph...@protonmail.com writes:
> 
> > Hi,
> > 
> > Yes, of course. A screenplay is the document written to help produce a film 
> > or TV series. This is the Wikipedia page: 
> > https://en.wikipedia.org/wiki/Screenplay and here are some examples: 
> > https://www.scriptreaderpro.com/screenplay-example/.
> > 
> > The industry standard is to use Final Draft 
> > (https://en.wikipedia.org/wiki/Final_Draft_(software)), but I personally 
> > use Emacs Fountain Mode (https://www.emacswiki.org/emacs/FountainMode). 
> > Fountain is a plain text markup language (https://fountain.io/).
> > 
> > I'm interested in exporting to PDF and to odt format.
> > 
> > My own use case is a little experimental with some sections written like a 
> > screenplay and other sections written like a novel / short story.
> > 
> > I hope that helps.
> > Fionn
> > 
> > Sent with Proton Mail secure email.
> > 
> > --- Original Message ---
> > On Monday, July 3rd, 2023 at 2:07 PM, Ihor Radchenko yanta...@posteo.net 
> > wrote:
> > 
> > > Fionn Stephens fionnsteph...@protonmail.com writes:
> > > 
> > > > I think support for screenplay formatting would be a useful feature to 
> > > > add. Like to how comments or quotes are done, it could be in between 
> > > > the tags: #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the 
> > > > markdown used by Fountain would make the most sense.
> > > > 
> > > > For example, a section could look like:
> > > > 
> > > > #+BEGIN_SCREENPLAY
> > > > INT./EXT. BLOOM HOUSE - (PRESENT) DAY
> > > > ...
> > > 
> > > May you please elaborate? What is screenplay? Is it a markup format?
> > > What do you mean by support? Export? Font-lock? Something else?
> > > 
> > > --
> > > Ihor Radchenko // yantar92,
> > > Org mode contributor,
> > > Learn more about Org mode at https://orgmode.org/.
> > > 
> > > Support Org development at https://liberapay.com/org-mode,
> > > 
> > > or support my work at https://liberapay.com/yantar92
> 
> 
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at https://orgmode.org/.
> 
> Support Org development at https://liberapay.com/org-mode,
> 
> or support my work at https://liberapay.com/yantar92



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Christian Moe




Ihor Radchenko writes:

> Fionn Stephens  writes:
>
>> I think support for screenplay formatting would be a useful feature to add. 
>> Like to how comments or quotes are done, it could be in between the tags: 
>> #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by 
>> Fountain would make the most sense.
>>
>> For example, a section could look like:
>>
>> #+BEGIN_SCREENPLAY
>> INT./EXT. BLOOM HOUSE - (PRESENT) DAY
>> ...
>
> May you please elaborate? What is screenplay? Is it a markup format?
> What do you mean by support? Export? Font-lock? Something else?

Fountain is a Markdown-inspired plain text format for screenplays
(https://fountain.io/).

There exists a fountain-mode major mode for Emacs.

To my mind, Org should not support every kind of markup/markdown format
there is, but to the extent Fountain is the best format for screenplays,
and Org is good for organizing bits of screenplays, I think maybe using
Org-babel src blocks is the way to go?

Even without a dedicated ob-fountain package to support it, it can be
used today for tangling screenplays from blocks of Fountain format with
noweb syntax, editing blocks in fountain-mode, some limited syntax
highlighting etc.

Yours,
Christian



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Bruno Cardoso


On 2023-07-03, 13:00 +, Fionn Stephens  wrote:

> Hi,
>
> I think support for screenplay formatting would be a useful feature to add. 
> Like to how comments or quotes are done, it could be in between the tags: 
> #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by 
> Fountain would make the most sense.
>
> For example, a section could look like:
>
> #+BEGIN_SCREENPLAY
> INT./EXT. BLOOM HOUSE - (PRESENT) DAY
>
> The front door opens to reveal Will and Josephine on the porch with their 
> bags. REVERSE to Will's mother Sandra (53), surprised and a little annoyed.
>
> SANDRA
> How did you get here?
>
> WILL
> We swam. The Atlantic, it's not that big really.
> #+END_SCREENPLAY
>
> Thanks,Fionn Stephens

Hi. You can use org-blocks like this with fountain-mode:

- https://github.com/rnkn/fountain-mode

#+begin_src fountain
INT./EXT. BLOOM HOUSE - (PRESENT) DAY

The front door opens to reveal Will and Josephine on the porch with their bags. 
REVERSE to
Will's mother Sandra (53), surprised and a little annoyed.

SANDRA
How did you get here?

WILL
We swam. The Atlantic, it's not that big really.
#+end_src


Best,

Bruno.



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Ihor Radchenko
[ Adding Org ML back to CC. Please use Reply All or wide reply to keep
  other mailing list members in the loop. ]

> The industry standard is to use Final Draft 
> (https://en.wikipedia.org/wiki/Final_Draft_(software)), but I personally use 
> Emacs Fountain Mode (https://www.emacswiki.org/emacs/FountainMode). Fountain 
> is a plain text markup language (https://fountain.io/).
>
> I'm interested in exporting to PDF and to odt format. 

How do you usually export to fountain PDF?
Org mode relies on LaTeX to produce PDF output. Is it possible to have
Fountain blocks in LaTeX?

Fionn Stephens  writes:

> Hi,
>
> Yes, of course. A screenplay is the document written to help produce a film 
> or TV series. This is the Wikipedia page: 
> https://en.wikipedia.org/wiki/Screenplay and here are some examples: 
> https://www.scriptreaderpro.com/screenplay-example/.
>
> The industry standard is to use Final Draft 
> (https://en.wikipedia.org/wiki/Final_Draft_(software)), but I personally use 
> Emacs Fountain Mode (https://www.emacswiki.org/emacs/FountainMode). Fountain 
> is a plain text markup language (https://fountain.io/).
>
> I'm interested in exporting to PDF and to odt format. 
>
> My own use case is a little experimental with some sections written like a 
> screenplay and other sections written like a novel / short story.
>
> I hope that helps.
> Fionn
>
>
>
>
> Sent with Proton Mail secure email.
>
> --- Original Message ---
> On Monday, July 3rd, 2023 at 2:07 PM, Ihor Radchenko  
> wrote:
>
>
>> Fionn Stephens fionnsteph...@protonmail.com writes:
>> 
>> > I think support for screenplay formatting would be a useful feature to 
>> > add. Like to how comments or quotes are done, it could be in between the 
>> > tags: #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown 
>> > used by Fountain would make the most sense.
>> > 
>> > For example, a section could look like:
>> > 
>> > #+BEGIN_SCREENPLAY
>> > INT./EXT. BLOOM HOUSE - (PRESENT) DAY
>> > ...
>> 
>> 
>> May you please elaborate? What is screenplay? Is it a markup format?
>> What do you mean by support? Export? Font-lock? Something else?
>> 
>> --
>> Ihor Radchenko // yantar92,
>> Org mode contributor,
>> Learn more about Org mode at https://orgmode.org/.
>> 
>> Support Org development at https://liberapay.com/org-mode,
>> 
>> or support my work at https://liberapay.com/yantar92

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [FR] Please add support for screenplay formatting

2023-07-03 Thread Ihor Radchenko
Fionn Stephens  writes:

> I think support for screenplay formatting would be a useful feature to add. 
> Like to how comments or quotes are done, it could be in between the tags: 
> #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by 
> Fountain would make the most sense.
>
> For example, a section could look like:
>
> #+BEGIN_SCREENPLAY
> INT./EXT. BLOOM HOUSE - (PRESENT) DAY
> ...

May you please elaborate? What is screenplay? Is it a markup format?
What do you mean by support? Export? Font-lock? Something else?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



[FR] Please add support for screenplay formatting

2023-07-03 Thread Fionn Stephens
Hi,

I think support for screenplay formatting would be a useful feature to add. 
Like to how comments or quotes are done, it could be in between the tags: 
#+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by 
Fountain would make the most sense.

For example, a section could look like:

#+BEGIN_SCREENPLAY
INT./EXT. BLOOM HOUSE - (PRESENT) DAY

The front door opens to reveal Will and Josephine on the porch with their bags. 
REVERSE to Will's mother Sandra (53), surprised and a little annoyed.

SANDRA
How did you get here?

WILL
We swam. The Atlantic, it's not that big really.
#+END_SCREENPLAY

Thanks,Fionn Stephens