Re: [libreoffice-users] Annoying reformatting issue.
On 15/04/2024 02:30, Philip Jackson wrote: Hi Chris, On 13/04/2024 18:10, Chris J. wrote: Ubuntu linux 23.10 LibreOffice 7.6.5.2 So, question; is there a way to automate the application of the styles and remove the tabs at the beginning of paragraphs. Normal find and replaces doesn't cut it. Otherwise I'm forced to go through several books by hand. You can find tabs using the standard Find and Replace (Ctrl+H). In the Find box, enter \t and leave the Replace box empty. You will need to check the *Regular Expressions* box in the Find and Replace dialog. Like all Find and Replace ops, be wary of hitting the 'Replace All' button in case you have used tabs anywhere else in the document other than at the start of a paragraph. \t will locate all the tabs used within the the doc. If you *only* want to find a tab at the beginning of a paragraph, you can use ^\t in the Find box. I checked this in LO 7.3.7.2 in Ubuntu 2204 and it works fine. You can also use Find and Replace to locate one paragraph style and replace it with another. In this case you will have to select the Paragraph Styles box. This operation works fine to change styles but it will not remove any 'ad hoc' manual formatting such as Bold, Italic, tabs which you may have applied in the unwanted paragraph style's text. Chris, does chapter and heading text have leading tabs. When you talk about tabs a the beginning of paragraphs, I assume just the first lines of a paragraphs are indented with tabs and the rest of the paragraph text just flows without line breaks. Do you have multiple leading tabs or is it always a single tab with may be varying tab position. I have had occasion to clean a plain text document by removing line breaks from single lines to form a paragraph and remove indenting tabs. i.e. replace a linebreak followed by 1 or more tabs with a single space when the line break is not at the beginning of a line. Hopefully this is not your situation. -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Annoying reformatting issue.
Hi Chris, On 13/04/2024 18:10, Chris J. wrote: Ubuntu linux 23.10 LibreOffice 7.6.5.2 So, question; is there a way to automate the application of the styles and remove the tabs at the beginning of paragraphs. Normal find and replaces doesn't cut it. Otherwise I'm forced to go through several books by hand. You can find tabs using the standard Find and Replace (Ctrl+H). In the Find box, enter \t and leave the Replace box empty. You will need to check the *Regular Expressions* box in the Find and Replace dialog. Like all Find and Replace ops, be wary of hitting the 'Replace All' button in case you have used tabs anywhere else in the document other than at the start of a paragraph. \t will locate all the tabs used within the the doc. If you *only* want to find a tab at the beginning of a paragraph, you can use ^\t in the Find box. I checked this in LO 7.3.7.2 in Ubuntu 2204 and it works fine. You can also use Find and Replace to locate one paragraph style and replace it with another. In this case you will have to select the Paragraph Styles box. This operation works fine to change styles but it will not remove any 'ad hoc' manual formatting such as Bold, Italic, tabs which you may have applied in the unwanted paragraph style's text. hth Philip -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Annoying reformatting issue.
Chris - I would try the Alternative Find and Replace extension. It's very old and unmaintained, and apparently it's buggy (e.g., https://bugs.documentfoundation.org/show_bug.cgi?id=38261#c28), but it has always done what I needed. I can't find it now at https://extensions.libreoffice.org/ but it is still at https://extensions.openoffice.org/en/project/AltSearch. - Robert From: Chris J. Sent: April 13, 2024 12:10 To: lo user help Cc: Chris Johnson Subject: [libreoffice-users] Annoying reformatting issue. Hi, Ubuntu linux 23.10 LibreOffice 7.6.5.2 Before I had figured out what styles could do in Writer, I made the newbie mistake of hand formatting everything. You can see where this is going. I only needed a massively huge three styles to do everything I needed. Most story submissions are pretty much the same format requirements. If I even need another I just make new style. Very handy. In both cases I have the same problem, although the first is a tad more complicated as there are tabs to be removed. I have three styles. For stories that's all you need; chapter heading, paragraph, and scene change. At least that's all I've ever needed. So, question; is there a way to automate the application of the styles and remove the tabs at the beginning of paragraphs. Normal find and replaces doesn't cut it. Otherwise I'm forced to go through several books by hand. Thank you. -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
[libreoffice-users] Annoying reformatting issue.
Hi, Ubuntu linux 23.10 LibreOffice 7.6.5.2 Before I had figured out what styles could do in Writer, I made the newbie mistake of hand formatting everything. You can see where this is going. I only needed a massively huge three styles to do everything I needed. Most story submissions are pretty much the same format requirements. If I even need another I just make new style. Very handy. In both cases I have the same problem, although the first is a tad more complicated as there are tabs to be removed. I have three styles. For stories that's all you need; chapter heading, paragraph, and scene change. At least that's all I've ever needed. So, question; is there a way to automate the application of the styles and remove the tabs at the beginning of paragraphs. Normal find and replaces doesn't cut it. Otherwise I'm forced to go through several books by hand. Thank you. -- Chris Johnson rchristopherjohn...@gmail.com Ex SysAdmin, now, writer /There are three sides to every story: your side, my side, and the truth. And no one is lying./ (Robert Evans) -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy