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 <[email protected]>wrote: > 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: [email protected] > 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: [email protected] 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
