[libreoffice-users] Re: styles for plays?

2013-06-28 Thread Ken Springer

On 6/26/13 7:46 AM, Helen wrote:

I've volunteered to edit a one-time publication of a collection of plays.
The plays came to me
in different styles -- three of the plays came to me with all the
characters's speaking lines
  centered -- the characters's names centered a line above.

Some of the writers seem to have centered the names with a centering code
-- I can
highlight the name and use the left margin code to move the name to left
margin.  Others
seem to have centered by spacing over! (yes)  and I have to backspace until
I get the name
to the left margin.

None used a colon after the speaker, and the publisher wants it.  I've made
some progress with
Search  Replace --  Search for all incidents of TOM and replace with TOM
colon space. But the
most tedious part is moving TOM from center to left and bring his speaking
lines up to begin
on the same line.  Is there any way I can put these plays into a style
sheet and save this work, or
would creating  the style sheet take as long as what I'm doing?  I've never
used styles.  And this is a one-time
job so if I have to do it all by hand, at least it's only once.

Thanks for any advice,


Hi, Helen,

I thought for some time about posting this, but I'm getting into the 
mindset of looking for the best tool for a job, and offering the best 
suggestion I have for solutions.  Just not going to worry about 
irritating anyone anymore.


Since this is a one time thing, there's a program out there for 
scriptwriters and such, called Scrivener.  It has a 30 day trial period. 
 It is certainly different, you may find it somewhat confusing to pick up.


It's not meant to replace a traditional word processor, it's more of a 
specialized document processor, but it may do the job.


I'm doing some research to correct errors in an interpretive 
presentation I do daily at work, and I couldn't be happier with the 
ability to store all your research notes in one place.


This is a specialty tool, and I still have the current LO installed. 
If your project is fairly large, it may be worth your time to take a 
quick look.  If you want to know more offline, since this isn't a 
Scrivener help list, feel free to contact me.  The email address is valid.


--
Ken

Mac OS X 10.8.4
Firefox 20.0
Thunderbird 17.0.5
LibreOffice 4.0.3.3


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



[libreoffice-users] Re: styles for plays?

2013-06-26 Thread V Stuart Foote
Helen,

Interesting issue. The manual centering is simply multiple tabs ,\t, or
multiple space characters.   Replace the multiple occurrences with nothing
to remove it and bring all text to left margin.  Get all the formatting
removed so you are left with just the text.

The key to your effort is to remove the direct styling from the text, and
apply document wide styling to paragraphs.   Choose from existing styles, or
create new style sto apply against paragraphs, fonts, pages of each play as
you'd like.

If you are comfortable extracting the XML text component--content.xml-- from
the .odt container you can flush it through the stream editor--sed.  Or
gawk, or perl, or python, etc. to make editing corrections (removing white
space and joining actor to their lines with a colon). Then return the edited
content.xml back to the .odt container, and then apply consistent styles
from LibreOffice.

However, working within Writer--you can accomplish much of the text clean up
using the find-replace GUI widget. Open the + other options panel, and
select  the regular expression checkbox. 

LibreOffice regular expressions are described here: 
https://help.libreoffice.org/Common/List_of_Regular_Expressions

with a bit more detailed instruction here (panels are a bit different
between LibreOffice and OpenOffice):
http://wiki.openoffice.org/wiki/Documentation/How_Tos/Regular_Expressions_in_Writer

The other approach, would be to open the document and copy all contents out
to a text file, then edit that with sed, gawk, perl or python--and insert
the now consistent text into a new LibreOffice document and then apply
styles to the text.

Stuart



 



--
View this message in context: 
http://nabble.documentfoundation.org/styles-for-plays-tp4063106p4063138.html
Sent from the Users mailing list archive at Nabble.com.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Re: styles for plays?

2013-06-26 Thread Helen
Stuart, Fred, Brian, Steve -- thank you for great ideas.  I've learned a lot
of useful things that I'll make notes on here.


Thanks!

On Wed, Jun 26, 2013 at 12:05 PM, V Stuart Foote vstuart.fo...@utsa.eduwrote:

 Helen,

 Interesting issue. The manual centering is simply multiple tabs ,\t, or
 multiple space characters.   Replace the multiple occurrences with
 nothing
 to remove it and bring all text to left margin.  Get all the formatting
 removed so you are left with just the text.

 The key to your effort is to remove the direct styling from the text, and
 apply document wide styling to paragraphs.   Choose from existing styles,
 or
 create new style sto apply against paragraphs, fonts, pages of each play as
 you'd like.

 If you are comfortable extracting the XML text component--content.xml--
 from
 the .odt container you can flush it through the stream editor--sed.  Or
 gawk, or perl, or python, etc. to make editing corrections (removing white
 space and joining actor to their lines with a colon). Then return the
 edited
 content.xml back to the .odt container, and then apply consistent styles
 from LibreOffice.

 However, working within Writer--you can accomplish much of the text clean
 up
 using the find-replace GUI widget. Open the + other options panel, and
 select  the regular expression checkbox.

 LibreOffice regular expressions are described here:
 https://help.libreoffice.org/Common/List_of_Regular_Expressions

 with a bit more detailed instruction here (panels are a bit different
 between LibreOffice and OpenOffice):

 http://wiki.openoffice.org/wiki/Documentation/How_Tos/Regular_Expressions_in_Writer

 The other approach, would be to open the document and copy all contents out
 to a text file, then edit that with sed, gawk, perl or python--and insert
 the now consistent text into a new LibreOffice document and then apply
 styles to the text.

 Stuart







 --
 View this message in context:
 http://nabble.documentfoundation.org/styles-for-plays-tp4063106p4063138.html
 Sent from the Users mailing list archive at Nabble.com.

 --
 To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
 Problems?
 http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
 Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
 List archive: http://listarchives.libreoffice.org/global/users/
 All messages sent to this list will be publicly archived and cannot be
 deleted




-- 
Helen Etters
using Linux, suse12.3

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted