From 5aa6c20376d22aba95ab947b93ee77c5d0cdb5ef Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 1 Oct 2001 10:14:08 +0000 Subject: [PATCH] hollywood update git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@2823 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 8 + lib/examples/script_form.lyx | 443 ++++++++++++++++++++--------------- lib/examples/scriptone.lyx | 197 ---------------- lib/layouts/hollywood.layout | 191 ++++++++++++--- lib/templates/hollywood.lyx | 26 +- lib/tex/hollywood.cls | 165 ++++++++++--- 6 files changed, 566 insertions(+), 464 deletions(-) delete mode 100644 lib/examples/scriptone.lyx diff --git a/ChangeLog b/ChangeLog index eed4d576b9..857c62aecc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2001-10-01 Garst R. Reese + + * lib/tex/hollywood.cls: + * lib/layouts/hollywood.layout: + * lib/examples/script_form.lyx: + * lib/templates/hollywood.lyx: updated hollywood class and support + files. + 2001-10-01 Dekel Tsur * src/paragraph.C (asString): Do not ignore newline/hfill chars when diff --git a/lib/examples/script_form.lyx b/lib/examples/script_form.lyx index 98dcb71f5f..80f75226f3 100644 --- a/lib/examples/script_form.lyx +++ b/lib/examples/script_form.lyx @@ -16,21 +16,112 @@ \paperorientation portrait \leftmargin 1.5in \topmargin 48bp -\rightmargin 1in -\bottommargin 0.5in +\rightmargin 0.75in +\bottommargin 30bp \headheight 12bp \headsep 24bp -\footskip 0bp +\footskip 6bp \secnumdepth 2 \tocdepth 2 \paragraph_separation indent -\defskip smallskip +\defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 -\paperpagestyle default +\paperpagestyle fancy +\layout General + +[NICHOLL FELLOWSHIPS in SCREENWRITING] +\layout General + +http://www.oscars.org/academy/nichollindex.html +\layout General + + +\begin_inset ERT +status Open + +\layout Dialogue + +\backslash +thispagestyle{empty} +\end_inset + + +\layout General + +Formatted text courtesy of Ann Garretson +\layout General + +http://www.halcyon.com/aga +\layout General + +Copyright 1998 by the Academy of Motion Picture Arts and Sciences +\layout General + +---------- +\layout General + +FILE NOTES +\layout General + +---------- +\layout General + +Source: Academy of Motion Picture Arts and Sciences (A.M.P.A.S.) +\layout General + +- The NICHOLL FELLOWSHIPS in SCREENWRITING +\layout General + +- http://www.oscars.org/nicholl/index.html +\layout General + +- E-mail: Greg Beal, gbeal@oscars.org +\layout General + +File Info: April, 1998 (online) +\layout General + +- http://www.oscars.org/nicholl/format_a.txt +\layout General + +- View in a monospaced font -- preferably 12-point Courier. +\layout General + +Copyright 1998 by the Academy of Motion Picture Arts and Sciences +\layout General + +---------- +\layout General + +Permission to use this script as a LyX example file was kindly granted by + Greg Beal, gbeal@oscars.org. +\layout General + +I added a few lines at the end of script about binding. + The original script ended with the words +\begin_inset Quotes eld +\end_inset + +I'd never let you miss a meal. +\begin_inset Quotes erd +\end_inset + + There were also references to tabs, which don't exist in LyX, so I made + minor changes in the text. + Apologies and kudos to Ann Garretson. + Be sure to thank her when you get your Oscar. + +\layout General + +Garst R. + Reese +\layout General +\pagebreak_bottom +reese@isn.net \layout Title FOR A FEW DAYS MORE @@ -62,83 +153,137 @@ Kaplan, ND 77777 \end_inset -\layout Standard +\layout General \begin_inset Note collapsed true -\layout Dialogue +\layout General Use Layout->Document -\layout Dialogue +\layout General Spacing Other to set the spacing between lines. A value of .85 is probably the minimum. \end_inset -\layout Standard +\layout General \begin_inset Note collapsed true -\layout Dialogue +\layout General -To change -\backslash -dialogindent{1in}, -\backslash -parenindent{1.75in}, -\backslash -dialogLength{3in}, -\backslash -parenLength{1.5in}, -\layout Dialogue +To change: +\layout General \backslash -speakerindent{2.25in} -\layout Dialogue +setlength{ +\backslash +dialogindent}{1in}, +\layout General + + +\backslash +setlength{ +\backslash +parenoffset}{.5in}, +\layout General + + +\backslash +setlength{ +\backslash +dialogLength}{4in}, +\layout General + + +\backslash +setlength{ +\backslash +parenLength}{2in}, +\layout General + + +\backslash +setlength{ +\backslash +speakeroffset}{1.2in} +\layout General click TeX and enter new values as above. +\layout General + +Parenoffset is the offset to the left of parentheticals from speaker names. +\layout General + +Speakeroffset is the offset to the right of the dialog margin, so changing + dialogindent will automatically change the position of parentheticals and + speaker names. \end_inset \begin_inset Note collapsed true -\layout Dialogue +\layout General You can put your Speaker names in labels, the insert cross references to the labels. The printed version will automatically be capitalized in Speaker even if the label is not capped. This way you can use them in dialogue also, and change all references to - your character's names just by changing the label. + your Speaker's names just by changing the label. \end_inset +\layout General + + +\begin_inset ERT +status Collapsed + +\layout Dialogue + +\backslash +setlength{ +\backslash +parenLength}{1.7in} +\layout Dialogue + +\backslash +setlength{ +\backslash +dialogLength}{3.2in} +\end_inset + + \layout INT. -DRISKILL HOTEL SEMINAR ROOM DAY +DRISKILL HOTEL SEMINAR ROOM - DAY \layout Description -JOE and APRIL burst through the doors into a clean, well-lit seminar room. -\layout Dialogue +JOE and APRIL burst through the doors into a clean, well-lit seminar room +\layout General \begin_inset Note collapsed true -\layout Dialogue +\layout General Use the description after INT. or EXT. to keep it on the same page. Narrative is the same, except that it allows a pagebreak before it. + Notice that I did not use the labels for Joe and April here because they + are upper-cased in discriptions only the first time they are used. + You could make extra labels, but I think it would be error-prone. \end_inset @@ -238,17 +383,8 @@ Okay, okay, don't panic. She takes three deep breaths. Then she looks at her watch and smiles. -\layout Speaker +\layout Continuing - -\begin_inset LatexCommand \ref{April} - -\end_inset - - -\layout Parenthetical - -continuing \layout Dialogue We're an hour early. @@ -276,8 +412,8 @@ Okay, you start. \layout Dialogue Left, 1.5 inches. - Right, 1.0 inches. - Top, 1.0 inches to the body, 0.5 inches to the number. + Right, 0.75 inches. + Top, 1.0 inch to the body, 0.5 inches to the number. Bottom, 0.5 to 1.5 inches, depending on where the page break comes. \layout Speaker @@ -301,10 +437,11 @@ Page break? \layout Dialogue Right above me. - There are rules for breaking a page. - Scene headers remain attached to description. - A single line of dialogue is pushed to the following page. - A long dialogue passage would be split -- but I'll get to that later. + Rules for breaking a page. + Scene headers, like INT., remain attached to Description. + If a page breaks between a Speaker and a one sentence Dialogue, move it + above the Speaker. + A long Dialogue passage would be split -- but I'll get to that later. \layout Speaker @@ -328,7 +465,9 @@ What about fonts? Courier, 12 point, 10 pitch. Make sure it's a non-proportional version of Courier. - +\layout Narrative + + \begin_inset LatexCommand \ref{Joe} \end_inset @@ -344,7 +483,8 @@ Courier, 12 point, 10 pitch. \layout Dialogue -What about bold-face or italics? Or a Gothic font? I love to jazzup my scripts. +What about bold-face or italics? Or a Gothic font? I love to jazz up my + scripts. \layout Speaker @@ -379,7 +519,7 @@ Suddenly, bolts from behind the podium and runs out into: \layout INT. -DRISKILL HOTEL HALLWAY DAY +DRISKILL HOTEL HALLWAY - DAY \layout Description @@ -427,7 +567,7 @@ Ah, a scene heading. \layout EXT. -TEXAS CAPITOL BUILDING DAY +TEXAS CAPITOL BUILDING - DAY \layout Description @@ -488,6 +628,21 @@ Dialogue margins. Left, 3.0 inches. Right, 2.5 inches. Of course, you can cheat those a tad. +\layout Dialogue + + +\begin_inset Note +collapsed true + +\layout General + +These are from the paper edge, but you specify them from +\layout General + +the left margin using dialoglength and dialogIndent. +\end_inset + + \layout Speaker @@ -534,7 +689,7 @@ You've got it. looking up \layout Dialogue -And the position of the character's name? +And the position of the speaker's name? \layout Speaker @@ -545,12 +700,15 @@ And the position of the character's name? \layout Dialogue -All CAPS, and tabbed to about 4.2 inches. - Some writers center all the characters' names. +All CAPS, and about 2.7 inches from the left margin. + Some writers center all the speakers' names. +\layout General + + \begin_inset Note collapsed true -\layout Dialogue +\layout General Use More to break up a dialogue across a page boundary. It will put (MORE) at the bottom of the page, and insert the current speaker @@ -587,9 +745,9 @@ Hey, what happened? \layout Dialogue A page break appeared in the middle of my dialogue. - You use MORE at the bottom of the page to show that the character's dialogue + You use (MORE) at the bottom of the page to show that the speaker's dialogue continues onto the next page. - Then CONT'D next to the character to show that it has roots in the previous + Then (CONT'D) next to the speaker to show that it has roots in the previous page. \layout Speaker @@ -604,7 +762,7 @@ A page break appeared in the middle of my dialogue. But not everybody uses MOREs and CONT'Ds, do they? \layout INT. -CAPITOL BUILDING DAY +CAPITOL BUILDING - DAY \layout Description @@ -654,8 +812,8 @@ What about parentheticals? \layout Dialogue -Start them about 0.5 inches to the left of the character name tab mark. - In our case that would be at 3.7 inches. +Start them about a half-inch to the left of the speaker name. + In our case that would be at 2.2 inches from the left margin. \layout Speaker @@ -678,7 +836,7 @@ And what are they for? \layout Dialogue For years, parentheticals were used to express emotion, the manner in which - a character spoke her lines. + a speaker spoke her lines. Loudly, passionately, sadly, and so on. In recent years writers have often used them for brief bits of action. \layout Speaker @@ -742,7 +900,7 @@ If you place a parenthetical in the middle of a dialogue passage, it should remain distinct from the dialogue. \layout EXT. -MISSISSIPPI RIVERBOAT NIGHT +MISSISSIPPI RIVERBOAT - NIGHT \layout Description A gambling boat rolls slowly along the mighty river. @@ -837,13 +995,13 @@ If you'd like \SpecialChar \ldots{} \layout EXT. -AIRPLANE SUNSET +AIRPLANE - SUNSET \layout Description A jet liner cruises East across Texas. \layout INT. -AIRPLANE SUNSET +AIRPLANE - SUNSET \layout Description A customized interior, replete with lounge chairs and sofas. @@ -884,17 +1042,29 @@ Or it could be tomorrow. \layout TITLE OVER: October 19, 1997 -\layout Speaker +\layout Continuing + +\layout General -\begin_inset LatexCommand \ref{April} +\begin_inset Note +collapsed true +\layout General + +Selecting +\begin_inset Quotes eld +\end_inset + +Continuing +\begin_inset Quotes erd +\end_inset + + will insert the current Speaker followed by (continuing) as a parenthetical. + Don't worry, it will look right on the printed version. \end_inset -\layout Parenthetical - -continuing \layout Dialogue You see, a few weeks have passed. @@ -996,7 +1166,7 @@ You really think so? That's my recommendation. \layout INT. -BLUE CAMARO DAY +BLUE CAMARO - DAY \layout Description @@ -1116,7 +1286,7 @@ But other writers just use normal description and standard scene headers Many do. \layout INT. -DRISKILL HOTEL ENTRANCE HALL -- PHONE BOOTH DAY +DRISKILL HOTEL ENTRANCE HALL -- PHONE BOOTH - DAY \layout Description A slightly less dazed @@ -1165,7 +1335,7 @@ You're filtered? \layout EXT. -STATE CAPITOL PHONE BOOTH DAY +STATE CAPITOL PHONE BOOTH - DAY \layout Description With the dome looming large behind her, @@ -1212,11 +1382,11 @@ Let's try something easy. Number each and every page, though you can start with page two. The numbers should appear in the upper right hand corner, about 0.5 inches down and 0.75 inches from the right page edge. - Those dimensions are not set in stone, but the numbers should always be + Those dimensions are not set in stone, but page numbers should always be placed in the upper right hand corner. \layout INT. -DRISKILL HOTEL HALLWAY DAY +DRISKILL HOTEL HALLWAY - DAY \layout Description @@ -1285,7 +1455,7 @@ Oftentimes for narration, for a narrator's voice. Documentary films are filled with voice over. \layout INT. -DRISKILL HOTEL SEMINAR ROOM DAY +DRISKILL HOTEL SEMINAR ROOM - DAY \layout Description @@ -1438,23 +1608,14 @@ That's the story. jumps down from the podium and runs out the door just as conference ATTENDEES begin to enter. -\layout Speaker +\layout Continuing - -\begin_inset LatexCommand \ref{April} - -\end_inset - - -\layout Parenthetical - -continuing \layout Dialogue -By the way, the first time you introduce a character in description, you - CAP his name. +By the way, the first time you introduce a speaker in description, you CAP + his name. And when you break dialogue with description, the standard is to place - "continuing" within parentheses when a character chatters on and on. + "continuing" within parentheses when a speaker chatters on and on. \layout Narrative @@ -1463,20 +1624,11 @@ By the way, the first time you introduce a character in description, you \end_inset watches as a number of people sit down before her. -\layout Speaker +\layout Continuing - -\begin_inset LatexCommand \ref{April} - -\end_inset - - -\layout Parenthetical - -continuing \layout Dialogue -Of course, many writers have dropped "continuing" from their repetoire. +Of course, many writers have dropped "continuing" from their repertoire. I mean, it's obvious that I'm still speaking, isn't it? And that I never stopped speaking. \layout Speaker @@ -1570,109 +1722,14 @@ A script sandwich? \layout Dialogue You need your script, two sheets of plain manila binding stock, a three - hole punch, and three one inch brass brads. + hole punch, and three 1.5 inch brass brads. No title or name on the binding stock. When you get it all assembled, you can hammer the brass brads down to make it good and tight. Now lets go eat. \layout FADE OUT - -\begin_inset Note -collapsed true - -\layout Dialogue - -FADE OUT used to be FADE OUT: -\layout Dialogue - -This will cause minor breakage in old scripts. -\end_inset - - \layout Speaker -\pagebreak_bottom + THE END -\layout Standard - -<-------------------- FORMAT GUIDE STOPS HERE -------------------> -\layout Standard - -[NICHOLL FELLOWSHIPS in SCREENWRITING] -\layout Standard - -http://www.oscars.org/academy/nichollindex.html -\layout Standard - -Formatted text courtesy of Ann Garretson -\layout Standard - -http://www.halcyon.com/aga -\layout Standard - -Copyright 1998 by the Academy of Motion Picture Arts and Sciences -\layout Standard - -### -\layout Standard - ----------- -\layout Standard - -FILE NOTES -\layout Standard - ----------- -\layout Standard - -Source: Academy of Motion Picture Arts and Sciences (A.M.P.A.S.) -\layout Standard - -- The NICHOLL FELLOWSHIPS in SCREENWRITING -\layout Standard - -- http://www.oscars.org/nicholl/index.html -\layout Standard - -- E-mail: Greg Beal, gbeal@oscars.org -\layout Standard - -File Info: April, 1998 (online) -\layout Standard - -- http://www.oscars.org/nicholl/format_a.txt -\layout Standard - -- View in a monospaced font -- preferably 12-point Courier. -\layout Standard - -Copyright 1998 by the Academy of Motion Picture Arts and Sciences -\layout Standard - ----------- -\layout Standard - -Permission to use this script as a LyX example file was kindly granted by - Greg Beal, gbeal@oscars.org. -\layout Standard - -I added a few lines at the end of script about binding. - The original script ended with the words -\begin_inset Quotes eld -\end_inset - -I'd never let you miss a meal. -\begin_inset Quotes erd -\end_inset - - Apologies and kudos to Ann Garretson. - Be sure to thank her when you get your Oscar. - -\layout Dialogue - -Garst R. - Reese -\layout Dialogue - -reese@isn.net \the_end diff --git a/lib/examples/scriptone.lyx b/lib/examples/scriptone.lyx deleted file mode 100644 index a5a4cbb208..0000000000 --- a/lib/examples/scriptone.lyx +++ /dev/null @@ -1,197 +0,0 @@ -#This file was created by Thu Jan 7 22:44:37 1999 -#LyX 1.0 (C) 1995-1998 Matthias Ettrich and the LyX Team -\lyxformat 2.15 -\textclass hollywood -\begin_preamble -\renewcommand{\headrulewidth}{0pt} -\renewcommand{\ref}[1]{#1} -\end_preamble -\language english -\inputencoding default -\fontscheme default -\graphics default -\paperfontsize default -\spacing single -\papersize letterpaper -\paperpackage a4 -\use_geometry 1 -\use_amsmath 0 -\paperorientation portrait -\leftmargin 1.6in -\topmargin 0.5in -\rightmargin 0.75in -\bottommargin 0.75in -\headheight 0.5in -\headsep 12bp -\footskip 0.5in -\secnumdepth 2 -\tocdepth 2 -\paragraph_separation indent -\defskip medskip -\quotes_language english -\quotes_times 2 -\papercolumns 1 -\papersides 1 -\paperpagestyle default - -\layout Title - -Silent Heavens -\layout Author -\added_space_bottom vfill -by Garst R. - Reese -\layout Right Address -\pagebreak_bottom - -\size large -Garst R. - Reese -\newline -284 Sydney Street -\newline -Charlottetown, PE -\newline -CANADA C1A 1H2 -\newline -(902) 566-3565 -\newline -reese@isn.net -\newline -WGA/c -\layout EXT. - -RURAL NEW ZEALAND ROADSIDE DURING METEOR STORM - NIGHT -\layout Narrative - -Earth is colliding with the first meteor storm of the space age. - The sky is filled with meteor trails. - As credits role we here (0.S.) OOH's AHH's, the occaisional -\begin_inset Quotes eld -\end_inset - -LOOK AT THAT ONE! -\begin_inset Quotes erd -\end_inset - -, -\begin_inset Quotes eld -\end_inset - -WOW -\begin_inset Quotes erd -\end_inset - -. -\layout Transition - -CUT TO: -\layout INT. - -NATIONAL SECURITY AGENCY - DAY -\layout Narrative - -War-room like setting. - Gathering of Generals, scientists and politicos. - Big wall computer display showing satellite orbits. -\layout Speaker - - -\begin_inset LatexCommand \label{GENERAL BULLMOOSE} - -\end_inset - - -\begin_inset LatexCommand \ref{GENERAL BULLMOOSE} - -\end_inset - - -\layout Parenthetical - -frustrated -\layout Dialogue - -How many we gonna loose? -\newline -Can anybody here make a wild guess? -\layout Speaker - - -\begin_inset LatexCommand \label{DR. NOAD} - -\end_inset - - -\begin_inset LatexCommand \ref{DR. NOAD} - -\end_inset - - -\layout Dialogue - -Pick a number between none and all. -\layout Speaker - - -\begin_inset LatexCommand \ref{GENERAL BULLMOOSE} - -\end_inset - - -\layout Dialogue - -Fuck you smartass. - I don't need your humor, I need information. - I got men depending on those goddamned satellites. - And you better believe that Saddam knows that. - He knows that's the only reason our tanks were able to sneek around his - defenses. - They go, he comes, we die. -\layout Speaker - - -\begin_inset LatexCommand \ref{DR. NOAD} - -\end_inset - - -\layout Parenthetical - -taking a deep breath -\layout Dialogue - -My apologies general. - It was not my intention to make light of your situation. - My own frustrations pale in the light of your responsibilites. - The estimates I have received all fall into the category of wild guesses. - I'll do my best to tell you what we know we can expect. -\layout Speaker - - -\begin_inset LatexCommand \ref{GENERAL BULLMOOSE} - -\end_inset - - -\layout Dialogue - -From the look on your face, I can tell you are not going to be bearer of - good news. - Don't worry, we no longer shoot bearers of bad news. - Go ahead. -\layout Speaker - - -\begin_inset LatexCommand \ref{DR. NOAD} - -\end_inset - - -\layout Dialogue - -Even if the satellites are not hit directly, the atomospheric ionization - is likely to disrupt communications for several hours, and possibly several - days. - During that period we will not know how many survived. -\the_end diff --git a/lib/layouts/hollywood.layout b/lib/layouts/hollywood.layout index f1f8df82c2..753d981322 100644 --- a/lib/layouts/hollywood.layout +++ b/lib/layouts/hollywood.layout @@ -40,8 +40,8 @@ Style Dialogue Margin Static LatexType Command LatexName dialogue - LeftMargin MMMMMMMMMMMM - RightMargin MMMMMMMMMMMM + LeftMargin MMMMMMMMMM + RightMargin MMMMMMMMMMMMMMMMMMMMMMM ParSkip 0.0 TopSep 0.0 BottomSep 0.0 @@ -50,29 +50,42 @@ Style Dialogue LabelType No_Label End - -# Narrative description of Scene -Style Narrative +# More: Use to break a long Dialogue +Style More Margin Static LatexType Command - LatexName narrative - ParIndent "" - ParSkip 0.8 - TopSep 1.0 + LatexName more + LeftMargin MMMMMMMMMMMMMMMMMMMMMMMMMMM + ParSkip 0.0 + TopSep 0.0 + BottomSep 0.0 + KeepEmpty 1 Align Left AlignPossible Left - LabelType No_Label + LabelType Static + LabelString "(MORE)" + +Font + Family Typewriter + Series Medium + Shape Up + Size Normal + Color Green +EndFont + End + + # FADE_IN: and FADE_OUT: usually stand alone. If you want a more complicated # FADE_IN e.g. FADE_IN on STELLA:, use the Narrative Style. Style FADE_IN: - Margin Static - LatexType Environment - LatexName flushleft + Margin Dynamic + LatexType Command + LatexName fadein ParIndent "" - ParSkip 0.8 - TopSep 1.0 + ParSkip 0.25 + TopSep 0.25 Align Left AlignPossible Left KeepEmpty 1 @@ -90,8 +103,8 @@ Style INT. LatexType Command LatexName interiorshot ParIndent "" - ParSkip 0.8 - TopSep 1.0 + ParSkip 0.25 + TopSep 0.25 Align Left AlignPossible Left LabelType Static @@ -103,22 +116,39 @@ Style EXT. LatexType Command LatexName exteriorshot ParIndent "" - ParSkip 0.8 - TopSep 1.0 + ParSkip 0.25 + TopSep 0.25 Align Left AlignPossible Left LabelType Static LabelString "EXT. " End + +# Narrative description of Scene +# same as narrative, but glued to INT., EXT., or Scene +Style Description + Margin Static + LatexType Command + LatexName description + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + RightMargin MMMMM + Align Left + AlignPossible Left + LabelType No_Label +End + # Speaker style definition, identifies speaker ALL CAPS +# Use this also for THE END Style Speaker Margin Static LatexType Command LatexName speaker - LeftMargin MMMMMMMMMMMMMMMMMMMMMM + LeftMargin MMMMMMMMMMMMMMMMMMMMMMM ParSkip 0.0 - TopSep 1.0 + TopSep 0.25 BottomSep 0.0 Align Left AlignPossible Left @@ -131,7 +161,8 @@ Style Parenthetical Margin Static LatexType Command LatexName parenthetical - LeftMargin MMMMMMMMMMMMMMMMM + LeftMargin MMMMMMMMMMMMMMMMMMM + RightMargin MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM TopSep 0.0 BottomSep 0.0 ParSkip 0.0 @@ -152,6 +183,48 @@ EndFont End +# Used when the same speaker continues after a narrative. Don't type +# anything. +Style Continuing + Margin Static + LatexType Command + LatexName continuing + LeftMargin MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM + TopSep 0.5 + BottomSep 0.5 + ParSkip 0.0 + KeepEmpty 1 + Align Left + AlignPossible Left + LabelType Static + LabelString "(continuing)" + +Font + Family Typewriter + Series Medium + Shape Up + Size Normal + Color Green +EndFont + +End + +# Narrative description of action +Style Narrative + Margin Static + LatexType Command + LatexName narrative + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + RightMargin MMMMM + Align Left + AlignPossible Left + LabelType No_Label +End + + + # Transition style definition ALL CAPS Style Transition @@ -159,14 +232,42 @@ Style Transition LatexType Environment LatexName flushright ParIndent "" - TopSep 1.0 + TopSep 0.5 ParSkip 0.4 Align Right AlignPossible Right LabelType No_Label End -Style FADE_OUT: +Style TITLE_OVER: + Margin Dynamic + LatexType Command + LatexName titleover + ParIndent "" + ParSkip 0.5 + TopSep 0.5 + Align Left + AlignPossible Left + KeepEmpty 1 + LabelType Static + LabelString "TITLE OVER: " +End + +Style INTERCUT + Margin Dynamic + LatexType Command + LatexName intercut + ParIndent "" + ParSkip 0.25 + TopSep 0.5 + Align Left + AlignPossible Left + KeepEmpty 1 + LabelType Static + LabelString "INTERCUT WITH: " +End + +Style FADE_OUT Margin Dynamic LatexType Command LatexName fadeout @@ -177,11 +278,11 @@ Style FADE_OUT: AlignPossible Left KeepEmpty 1 LabelType Static - LabelString "FADE OUT" + LabelString "FADE OUT " End -# Standard style definition (I kept this one to provide a general case) -Style Standard +# Same as Standard, Standard deprecated +Style General Margin Static LatexType Paragraph LatexName dummy @@ -192,7 +293,18 @@ Style Standard Labeltype No_Label End - +# General Left aligned CAPS +Style Scene + Margin Dynamic + LatexType Command + LatexName scene + ParIndent "" + ParSkip 0.25 + TopSep 0.25 + Align Left + AlignPossible Left + LabelType No_Label +End # Right Address style Style Right_Address @@ -232,6 +344,29 @@ Style Title AlignPossible Left, Right, Center End + +# Standard style definition (I kept this one to provide a general case) +Style Standard +ObsoletedBy General +End +Style FADE_OUT: +ObsoletedBy FADE_OUT +End + +# For shooting scripts only, puts CONTINUED in rfoot, CONTINUED: in +# nextpage lhead and clears that rfoot. It is used when a scene continues +# onto the next page. This command is provided in case a production unit +# wants to convert the spec script into a shooting script. + +#Style CONTINUED +# LatexType Command +# LatexName continued +#End +# Clears rfoot, does a pagebreak, and clears lhead. +#Style NOT_CONTD +# LatexType Command +# LatexName endcontinued +#End Input stdtitle.inc Input stdstruct.inc diff --git a/lib/templates/hollywood.lyx b/lib/templates/hollywood.lyx index 7955ef0b6e..5663c66053 100644 --- a/lib/templates/hollywood.lyx +++ b/lib/templates/hollywood.lyx @@ -1,6 +1,5 @@ -#This file was created by Fri Jan 8 16:22:26 1999 -#LyX 1.0 (C) 1995-1998 Matthias Ettrich and the LyX Team -\lyxformat 2.15 +#LyX 1.2 created this file. For more info see http://www.lyx.org/ +\lyxformat 220 \textclass hollywood \language english \inputencoding default @@ -12,14 +11,16 @@ \paperpackage a4 \use_geometry 1 \use_amsmath 0 +\use_natbib 0 +\use_numerical_citations 0 \paperorientation portrait -\leftmargin 1.6in -\topmargin 0.5in +\leftmargin 1.5in +\topmargin 48bp \rightmargin 0.75in -\bottommargin 0.75in -\headheight 0.5in -\headsep 12bp -\footskip 0.5in +\bottommargin 30bp +\headheight 12bp +\headsep 24bp +\footskip 6bp \secnumdepth 2 \tocdepth 2 \paragraph_separation indent @@ -28,7 +29,7 @@ \quotes_times 2 \papercolumns 1 \papersides 1 -\paperpagestyle default +\paperpagestyle fancy \layout Title @@ -41,6 +42,8 @@ \newline +\newline + \layout Narrative \pagebreak_top Delete this text. @@ -61,4 +64,7 @@ Use two 1.5in brass brads and hammer them down. Remember---nothing goes in a script that you cannot see or hear!! 1 page per minute. 120 pages max. +\layout Narrative + +See examples/script_form.lyx for details. \the_end diff --git a/lib/tex/hollywood.cls b/lib/tex/hollywood.cls index 37fe8d111f..4e482c7971 100644 --- a/lib/tex/hollywood.cls +++ b/lib/tex/hollywood.cls @@ -5,12 +5,14 @@ %% Derived from report.cls. There is probably still a lot of stuff %% that could be deleted. \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{hollywood} [1998/10/27 v1.0 uses hollywood.layout] +\ProvidesClass{hollywood} [2001/9/10 v1.2 uses hollywood.layout] \usepackage{fancyhdr} \usepackage{extramarks} \usepackage{ifthen} \usepackage{lastpage} -\pagestyle{fancy} +%%\usepackage{geometry} +\usepackage{calc} +%%\usepackage{setspace} \renewcommand{\ref}[1]{#1} \newcommand\@ptsize{} \newif\if@restonecol @@ -19,7 +21,8 @@ \newif\if@openright \DeclareOption{letterpaper} {\setlength\paperheight {11in}% - \setlength\paperwidth {8.5in}} + \setlength\paperwidth {8.5in}% +} \DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1} \DeclareFontShape{OT1}{pcr}{m}{n}{<12> pcrr7t}{} \DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1} @@ -59,13 +62,13 @@ \renewcommand\dblfloatpagefraction{.5} \def\ps@headings{% \let\@oddfoot\@empty - \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% + \def\@oddhead{{\slshape\rightmark}\hfil\thepage.}% \let\@mkboth\markboth } \def\ps@myheadings{% \let\@oddfoot\@empty\let\@evenfoot\@empty - \def\@evenhead{\thepage\hfil\slshape\leftmark}% - \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% + \def\@evenhead{\thepage.\hfil\slshape\leftmark}% + \def\@oddhead{{\slshape\rightmark}\hfil\thepage.}% \let\@mkboth\@gobbletwo } \if@titlepage @@ -132,10 +135,12 @@ \fi \thispagestyle{empty}% \setcounter{page}\@ne + \addtocounter{page}{1} }% {\if@restonecol\twocolumn \else \newpage \fi \if@twoside\else \setcounter{page}\@ne + \addtocounter{page}{1} \fi } \setlength\tabbingsep{\labelsep} @@ -150,24 +155,29 @@ \setlength\columnseprule{0\p@} \pagestyle{plain} \pagenumbering{arabic} -\if@twoside -\else \raggedbottom -\fi -\if@twocolumn - \twocolumn - \sloppy - \flushbottom -\else \onecolumn -\fi -% This stuff is for a shooting script -% \lhead{\ifthenelse{ \not \value{page} = 1}{CONTINUED:}{}} -% \rfoot{\ifthenelse{ \not \value{page}=\pageref{LastPage}}{(CONT'D)} -% {\ifthenelse{\value{page}=\pageref{LastPage}}{(END)}{}}} - +\rfoot{\pageref{LastPage}[]{}} % This is what we want for a spec script +%% set l & rt margin + \setlength{\rightmargin}{.75in} + \setlength{\leftmargin}{1.5in}% + \setlength{\textwidth}% + {\paperwidth -\leftmargin -\rightmargin}% +%% Set vertical spacing + \setlength\topmargin {48bp}% + \setlength\headheight {12bp}% + \setlength\headsep {24bp}% + \setlength\footskip {0bp}% there are no footnotes +%% set page length +\newlength{\bmargin}% +\setlength{\bmargin}{.75in}% +\setlength{\textheight}% +{\paperheight -\bmargin -\topmargin -\headheight -\headsep }% + + +\pagestyle{fancy} \rhead{\thepage.} \cfoot{} % This one is needed to get real adobe courier, but you can use @@ -180,39 +190,122 @@ % hyphenation, but I do not remember how. % That's good because we -do not- want any hyphenation. \sloppy -\newcommand{\fadein}[1]{\filbreak\raggedright\par FADE IN: \uppercase{#1}}% +\newlength{\lnspace} +\setlength{\lnspace}{6bp plus 3bp minus 3bp} + +\newcommand{\fadein}[1]{\filbreak\raggedright\par FADE IN: +\uppercase{#1}\par\vspace{2bp}}% \newcommand{\fadeout}{\filbreak\raggedright\par FADE OUT }% -\newcommand{\interiorshot}[1]{\filbreak\raggedright\par INT. \uppercase{#1}}% -\newcommand{\exteriorshot}[1]{\filbreak\raggedright\par EXT. \uppercase{#1}}% +\newcommand{\intercut}{\filbreak\par INTERCUT WITH: }% +\newcommand{\interiorshot}[1]% +{\filbreak +\vspace{\lnspace} +\raggedright +\par INT. +\uppercase{#1} +}% + +\newcommand{\exteriorshot}[1]% +{\filbreak +\vspace{\lnspace} +\raggedright +\par EXT. +\uppercase{#1} +\vspace{\lnspace} +}% +%% Generalized Scene command in case INT. EXT. etc is not sufficient. +\newcommand{\scene}[1]% +{\filbreak +\vspace{4bp} +\raggedright +\par +\uppercase{#1} +}% +\newlength{\dialogLength} +\setlength{\dialogLength}{4in minus 1in} +\newlength{\parenLength} +\setlength{\parenLength}{2.2in plus .5in minus .7in} +\newlength{\dialogindent} +\setlength{\dialogindent}{1in plus .5in} \newcommand{\dialogue}[1]% {\raggedright -\hspace{1in} -\parbox{4in}{#1} -\vspace{6pt} +\hspace{\dialogindent} +\parbox{\dialogLength}{#1} +\vspace{4bp} } \newcommand{\narrative}[1]% {\filbreak -\vspace{6pt} +\vspace{4bp} \raggedright{#1} -\vspace{6pt} +\vspace{4bp} +} +\newcommand{\description}[1]% +{ +\rfoot[]{} +\lhead[]{} +\vspace{\lnspace} +\raggedright{#1} +\vspace{\lnspace} } +\newsavebox{\currentspeaker} +\newlength{\speakeroffset} +\setlength{\speakeroffset}{1in plus .25in} +\newlength{\speakerindent} +\setlength{\speakerindent}{\dialogindent +\speakeroffset} \newcommand{\speaker}[1]% {\filbreak -\vspace{12pt} -\hspace{2.25in}{#1} -\vspace{6pt} +\vspace{4bp} +\hspace{\speakerindent} +\sbox{\currentspeaker}{\uppercase{#1}} +\usebox{\currentspeaker} +\vspace{4bp} } +\newcommand{\contd}% +{\filbreak +\vspace{4bp} +\hspace{\speakerindent}\usebox{\currentspeaker} (CONT'D) +\vspace{4bp} +} + +\newcommand{\more}% +{ +\vspace{0bp} +\hspace{\speakerindent}\uppercase{(MORE)} +\pagebreak\contd% +} + +\newlength{\parenindent} +\newlength{\parenoffset} +\setlength{\parenoffset}{.5in} +\setlength{\parenindent}{\speakerindent -\parenoffset} + \newcommand{\parenthetical}[1]% -{\raggedright -\hspace{1.75in} -\parbox{1.5in}{(#1)} -\vspace{6pt}} +{ +\hspace{\parenindent} +\vspace{-2bp} +\parbox{\parenLength}{(#1)} +\vspace{4bp}} + +\newcommand{\titleover}[1]% +{\filbreak +\par TITLE OVER: +\par\hspace{\parenindent}{#1}\par\raggedright} + +\newcommand{\continuing}[0]% +{\filbreak +\vspace{4bp} +\hspace{\speakerindent} +\usebox{\currentspeaker}{ (continuing})\par +\vspace{2bp} +} + \endinput %% -%% End of file `hollywood.cls'. +%% End of file `hollywood.cls' +~ \ No newline at end of file