Dekel Tsur wrote:
> 
> On Fri, May 12, 2000 at 05:57:12PM +0200, Jean-Marc Lasgouttes wrote:
> 
> > There are some rambling about this in the fancyhdr documentation. In
> > the meantime, I asked on compt.text.tex.
> 
> I saw the following response in comp.text.tex.
> The suggested tex macros indeed work (note that it defines speaker as a
> command, whereas hollywood.cls defines it as an environment, but the former
> does makes more sense).
> The only problem is that it doesn't prohibits breaking of sentences in a
> dialogue, though it discourage that.
> 
> --------------------------------------------------------------
> Subject: Re: Continuation marks (cont'd)
> Date:    05/12/2000
> Author:  Donald Arseneau <[EMAIL PROTECTED]>
> 
> [EMAIL PROTECTED] (Jean-Marc Lasgouttes) writes:
> 
> > There is a LaTeX class (hollywood.cls) bundled with LyX which is
> > designed to write hollywood scripts. While it is good, it comes with the
> > following disclaimer:
> >
> >  Always preview the script to find where to insert page breaks. Speakers'
> >  lines should NEVER break in mid-sentence. If a speaker's lines continue
> >  over a page break, repeat the Speaker title followed by (Cont'd).
> 
> You call this "good"?  I can't imagine writing a document
> class that did not perform such a fundamental action.

When I wrote hollywood I could not imagine writing a document class at
all:)
 
> > LaTeX/LyX. While not breaking at mid-sentence may be difficult (is it
> > possible?),
> 
> With great difficulty, but I have never seen such a rule.
> Just that each speech by a speaker should stay together,
> but if it *must* be broken, then it should have a
> continuation title.

Imagine first reading of a script and having to turn pages in
mid-sentence.

 
> The whole document should be in typewriter.

It is.

> Fancyhdr.sty provides continuation titles.

Yes, but not in the preferred format.
 
> Without fancyhdr, here is something I made a long time
> ago.  Don't know if it really works now.
[snip latex] 
> Donald Arseneau                      [EMAIL PROTECTED]

OK, what works for 99% of the cases, is to bracket the SPEAKER part in
\begin{minipage}[t]{6.15in}
speaker
parentheticals (if any}
dialogue
\end{minipage}

The only time when this does not work is if the a single instance spans
more than a page. The minipage will apparently run over a page lenght
and off the paper. Such lengthy monologue is discourage, but does occurr
(e.g., the pig in Waiting for Godot.)

But, we currently have no way of inserting \begin{minipage}....

With the ERT version, I had some other problems. I tried making an
example to see what would happen by just holding down the x key. The
lines wrapped on the LyX screen at the expected place, but on
ViewPostscript the lines did not break, so I had to go back and do
returns at one character before each line ending.

Derfor, I suggest moving the minipage setup out of Layout Paragraph
ExtraOpt and provide a separate Layouts for Begin and End Minipage. This
layout could be extended to do parboxes and the like.

Garst


Garst

Reply via email to