[libreoffice-users] Re: how to reformat this?
If you toggle the Formatting Marks on, with +F10, you will see that each line is actually a paragraph. You need to collapse the multiple lines into single lines with the Find & Replace dialog. But before that you'll want to mark the actual paragraph endings with a unique text sequence. You'll need that to split things back up after they're joined. Select all of the Text you need to reformat. Open the Find & Replace dialog, with +H, enable its Regular Expressions check box. Enter "$" in the Find field Enter " " in the Replace field Your choice then to Find Next / Replace, or Find All / Replace All Then do the same against the text marks you set. But here your replacement is "\n". -- Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html -- 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] how to reformat this?
At 18:44 12/04/2019 -0700, Dave Stevens wrote: here's a snippet of text where the lines are too short - [...] I'd like to reformat this to look more like this - [...] Can anyone suggest how to use LO Writer to automate amalgamating short lines into longer lines? o Go to Tools | AutoCorrect | AutoCorrect Options | Options. o Select "Combine single line paragraphs if length greater than xx%". o Click Edit ... and change the percentage to a suitably small value: zero might do. o Select the text. o Go to Tools | AutoCorrect | Apply. Voilà! I trust this helps. Brian Barker -- 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] how to reformat this?
here's a snippet of text where the lines are too short - She also showed herself to be adept at office politics-at flattering her superiors without appearing to do so; at wrong- footing those who stood in her path to advancement, again, without ever betraying her intent. I'd like to reformat this to look more like this - She also showed herself to be adept at office politics-at flattering her superiors without appearing to do so; at wrong-footing those who stood in her path to advancement, again, without ever betraying her intent. This is because the source text is about 150K words and the short lines are very tedious to read. But not as tedious as reformatting the whole thing by hand. Can anyone suggest how to use LO Writer to automate amalgamating short lines into longer lines? Even two successive ones into one would be very helpful. Dave -- 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] Tabs in selection of text
Hi. If you are copying and pasting the text into your document, then "paste without formatting" will paste the text in and adopt the style/formatting at the cursor. I have assigned ctl-k on my machines to paste unformatted. I can quickly ctl-ins , ctl-k to copy-paste 1 handed and not muck up my formatting. You may not have realised that normal copy-paste adds the style of the copied text into your document, and with a lot of copy-paste actions you can end up with a plethora of unwanted styles throughout your document. steve On 13/04/2019 00:08, Carl Paulsen wrote: > Steve, I think you may have hit the nail on the head. I'll look into > upgrading and see if that changes anything. I think the issue may > well have been that I was selecting "paragraphs" with different > formatting (my quotes aren't to draw attention but rather to indicate > I don't mean only book-like paragraphs) and trying to apply tabs to > those. If I repeatedly use a specific format, I'd definitely consider > Styles. But there seem to be a lot of complicated considerations for > using Styles (the nesting/heirarchy topics I mentioned in my other > reply). > > Anyway, thank you. > > Carl > > > On 4/8/19 3:53 PM, Steve Edmonds wrote: >> Hi. >> I am on 6.07 but your issue is dredging up some memories where I think I >> noticed the same situation. >> With a paragraph as a block of text terminating in a line break (rather >> than the older paragraph in a book interpretation), I think I noticed >> that when I selected multiple paragraphs with different tab settings >> that I couldn't edit tab settings in the ruler and there was no TAB tab >> in the paragraph format dialogue. >> This was before 6.07 which is not showing the issue, may have been 6.05 >> or 5 series. >> In some cases I set the tabs one paragraph at a time, in others I just >> set the default style for the block of text and then re-formatted >> characteristics, including tabs. >> >> If there are a lot of paragraphs to format the same way, I would suggest >> creating a style and then you can easily apply the same formatting >> repeatedly. >> Steve >> >> On 09/04/2019 00:34, Carl Paulsen wrote: >>> LO 6.0.5.2 on Mac Sierra (10.12.6) >>> >>> In some cases I can click into a line and set tabs normally. In the >>> document where I had the problem I believe it was a bulleted list or >>> indented text (hanging indent I think) where I was having the >>> problem. I opened the document today and quickly tried it again and >>> can't find the section I was having problems in. But I'm pretty sure >>> I removed all formatting and started over in that section, at which >>> point it worked. Wish I could reproduce it, as it was quite >>> frustrating. My guess is it was something to do with whatever >>> formatting was applied in that section. I don't yet use Styles so any >>> formatting would have been set manually, and that would have been >>> minimal. >>> >>> If I encounter it again I'll be sure to post again, and try to post a >>> sample document. >>> >>> >>> On 4/8/19 7:19 AM, Dave Howorth wrote: On Mon, 8 Apr 2019 14:32:05 +1200 Steve Edmonds wrote: > Hi. > What version of LO do you have. > Just as a test, can you click into just 1 line and then add a tab > stop > to the ruler. > Steve Also what OS? In addition, can you post an example of the text/document that you cannot format tabs for somewhere? Perhaps it is a data-dependent problem, since tab stops work as you expect for other people including me. >> >> > -- 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] FODT Write Error. The file could not be written.
Dear LibreOffice Community, I programmatically generate a FODT that opens without any problem and can be edited. When saving such FODT document I get "Write Error. The file could not be written.". BTW the document is valid XML, is there a method to debug such issue? I tried -DXSLTransformer.statsfile=/tmp/xslt_debug.txt as a Java startup parameter but the file is not created and I'm not sure that Java's XSLT is called when saving a document. Thanks a lot, ascii https://ask.libreoffice.org/en/question/190226/fodt-write-error-the-file-could-not-be-written/ -- 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] Tabs in selection of text
Steve, I think you may have hit the nail on the head. I'll look into upgrading and see if that changes anything. I think the issue may well have been that I was selecting "paragraphs" with different formatting (my quotes aren't to draw attention but rather to indicate I don't mean only book-like paragraphs) and trying to apply tabs to those. If I repeatedly use a specific format, I'd definitely consider Styles. But there seem to be a lot of complicated considerations for using Styles (the nesting/heirarchy topics I mentioned in my other reply). Anyway, thank you. Carl On 4/8/19 3:53 PM, Steve Edmonds wrote: Hi. I am on 6.07 but your issue is dredging up some memories where I think I noticed the same situation. With a paragraph as a block of text terminating in a line break (rather than the older paragraph in a book interpretation), I think I noticed that when I selected multiple paragraphs with different tab settings that I couldn't edit tab settings in the ruler and there was no TAB tab in the paragraph format dialogue. This was before 6.07 which is not showing the issue, may have been 6.05 or 5 series. In some cases I set the tabs one paragraph at a time, in others I just set the default style for the block of text and then re-formatted characteristics, including tabs. If there are a lot of paragraphs to format the same way, I would suggest creating a style and then you can easily apply the same formatting repeatedly. Steve On 09/04/2019 00:34, Carl Paulsen wrote: LO 6.0.5.2 on Mac Sierra (10.12.6) In some cases I can click into a line and set tabs normally. In the document where I had the problem I believe it was a bulleted list or indented text (hanging indent I think) where I was having the problem. I opened the document today and quickly tried it again and can't find the section I was having problems in. But I'm pretty sure I removed all formatting and started over in that section, at which point it worked. Wish I could reproduce it, as it was quite frustrating. My guess is it was something to do with whatever formatting was applied in that section. I don't yet use Styles so any formatting would have been set manually, and that would have been minimal. If I encounter it again I'll be sure to post again, and try to post a sample document. On 4/8/19 7:19 AM, Dave Howorth wrote: On Mon, 8 Apr 2019 14:32:05 +1200 Steve Edmonds wrote: Hi. What version of LO do you have. Just as a test, can you click into just 1 line and then add a tab stop to the ruler. Steve Also what OS? In addition, can you post an example of the text/document that you cannot format tabs for somewhere? Perhaps it is a data-dependent problem, since tab stops work as you expect for other people including me. -- 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] Tabs in selection of text
Thanks Dan, I guess what is unintuitive is the CSS-like approach to Styles. I find CSS to be very difficult when, as you say, you have a complex page and need to nest various styles and keep track of hierarchies. When using LO for text docs, I'm simply wanting to produce a text document with other elements scattered around. I want a simple interface that gives me decent control over presentation but doesn't require in-depth studying to learn how to use it. I want to format a document or section, then occasionally apply a set of tabs (or other formats) within a subset that applies only to that section. And I'd rather not have to build a style just for tabs to a bulleted list when I may only use that specific style once ever. I do a lot of document specific formatting and I don't want a massive list of styles to wade through every time I want tabs at specific locations. What would be even worse would be to have to repeat all the other styles components for that section in my new tabs style. (Sounds like that may not be necessary if that's what you mean by nesting.) I will eventually learn about Styles and no-doubt start using them for big-picture formatting. For often-repeated styling I can see the value of Styles. But I don't see using them for every one-off stylistic change I make in a document, and if that means I have to remove styles for a sub-section in order to add or change something for just that section, I suspect I'll end up highly frustrated with LO. I get that I may be an unusual case and no one develops for that oddball. But I can't believe I'm alone. Back in the early 2000s I'd hoped OO (and now it's offspring) would be a viable alternative to the big bully in the room, but for a number of reasons (not just Styles) I just don't see that happening. And at least in my circles, it's use has dropped off significantly. Carl On 4/8/19 4:44 PM, Dan Lewis wrote: On 4/3/19 8:37 PM, Carl Paulsen wrote: I have a number of "paragraphs" of text (job listing section of a resume) for which I'd like to add tab stops. I select the lines and click the tab stop I want, then click in the ruler, but nothing happens. I see no menu item to format tabs, though I did stumble into one dialog box with Tabs that required manual setting and it was unclear just where those tabs would be applied. In any case, I can't find that any more. In the help document (https://help.libreoffice.org/Common/Inserting_and_Editing_Tab_Stops) it says for changing one or more paragraphs: "Select the paragraphs, then click inside the ruler." That is most definitely not working. Finally, if I clear all formatting, I get the default tab stops and could re-format the entire section that way. But that's a bit of work given all the formatting I'd lose. What do I do to quickly and simply edit tab stops, and why is it so difficult in LO? FYI I find the Styles aspect of LibreOffice to be entirely unintuitive and I've never been able to work with them. I realize that should be a goal but it's not possible in my current timeline. Thank you! I missed this when this thread was started. Your 'FYI' statement is probably the real reason for all of your problems. LibreOffice is designed to use styles for text creation and/or editing. Manual formatting can create so many more problems than using styles. Besides they are harder to solve. The 'Getting Started Guide' has at least one chapter on styles as does the 'Writer Guide'. When I first began working on the documentation for OpenOffice.org (early 2000's) and later LibreOffice, I used this chapters to learn how to use styles. I have never regretted. I would like to know what is 'unintuitive' with styles. I am thinking it might be that you think in terms of lines of type verses groups of paragraphs. You also may have some problems with the concept of nesting. Each paragraph has specific set of characteristics that applies to every character of the paragraph; it ends with a paragraph break. Character styles are used to give specific characteristics to a continuous set of characters within the paragraph. Perhaps it might be unintuitive for you to think that each member of a list can also be a separate paragraph. Yet this might be the best way to give you document the formatting you want it to have. Dan -- 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