Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 07-15-2025, 08:37 AM   #1
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Broken Paragraphs in MS Word

Sorry, it seems VB stuff is unwanted.

Last edited by LordP; 07-15-2025 at 01:16 PM.
LordP is offline   Reply With Quote
Old 07-15-2025, 12:31 PM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,048
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Define "Broken paragraph"?

For over 20 years I and others have disabled VB in MS Office for security.

Can't this be done with search or search and replace?
Quoth is offline   Reply With Quote
Advert
Old 07-15-2025, 01:04 PM   #3
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by Quoth View Post
Define "Broken paragraph"?

For over 20 years I and others have disabled VB in MS Office for security.

Can't this be done with search or search and replace?
I've done a lot of work in MS Word and I've never disabled VB. I even wrote a 600-page technical manual with it.


A text file that looks like this:

This ebook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it

under the terms of the Project Gutenberg License included with this ebook or online at www.gutenberg.org. If you are not located in the United States, you will have to check the laws of the country where you are located before using this eBook.
LordP is offline   Reply With Quote
Old 07-15-2025, 01:15 PM   #4
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 191
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by Quoth View Post
Define "Broken paragraph"?

For over 20 years I and others have disabled VB in MS Office for security.

Can't this be done with search or search and replace?
Clearly, you seem to think there might be possible harm in this, so I'm removing everything.
LordP is offline   Reply With Quote
Old 07-15-2025, 02:08 PM   #5
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,048
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
That text file can be fixed with a regex search and replace. Doesn't need VBA. I've been fixing that for years in Word and now in LO Writer.

I've used word-processing for manuals, project proposals, training materials and novels. MS Word for Windows since about Office 4.3. I've never enabled or needed to use VBA in Word and about twice in Excel in maybe over 25 years (stuff that should have been a program). I used to teach word-processing and DTP as well as programming (real VB6, C++, Modula-2, Forth, SQL etc).

Edit:
If it's a downloaded epub it's also easily fixed in Calibre without export as a docx and re-conversion back to epub.

Last edited by Quoth; 07-15-2025 at 02:19 PM.
Quoth is offline   Reply With Quote
Advert
Old Today, 04:36 AM   #6
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by Quoth View Post
I've been fixing that for years in Word and now in LO Writer.
Could you please publish your fix for LO Writer?

Thanks in advance.
roger64 is offline   Reply With Quote
Old Today, 08:28 AM   #7
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,048
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
If it's an ebook it's easiest to fix in Calibre.

I'm no expert on regex, so I decline to look like an idiot and post the idiotic regexes I use in LO Writer.

I replace all tabs with a space.
I replace multiple spaces with a space.
I replace a space at the start of of a paragraph with nothing.
I replace a space at the end of of a paragraph with nothing.
I replace empty paragraphs with nothing.
I have regexes to find illegal (in English, French is different) space with punctuation.

I have a spreadsheet with list of docs on first column and headings on other columns are regexes to copy/paste. Then I put a checkmark in the column. Other sheets have revision level, status, etc.

Only paragraphs that are headings or certain lists (e.g. contents) should end with no punctuation. Those can be found with a regex.

However if it's a downloaded ebook rather than a source docx/odt, then regex and daip's toolbag (global change HTML tags etc) in Calibre is best.
Quoth is offline   Reply With Quote
Old Today, 09:46 AM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Quoth View Post
If it's an ebook it's easiest to fix in Calibre.

I'm no expert on regex, so I decline to look like an idiot and post the idiotic regexes I use in LO Writer.

I replace all tabs with a space.
I replace multiple spaces with a space.
I replace a space at the start of of a paragraph with nothing.
I replace a space at the end of of a paragraph with nothing.
I replace empty paragraphs with nothing.
I have regexes to find illegal (in English, French is different) space with punctuation.

I have a spreadsheet with list of docs on first column and headings on other columns are regexes to copy/paste. Then I put a checkmark in the column. Other sheets have revision level, status, etc.

Only paragraphs that are headings or certain lists (e.g. contents) should end with no punctuation. Those can be found with a regex.

However if it's a downloaded ebook rather than a source docx/odt, then regex and daip's toolbag (global change HTML tags etc) in Calibre is best.



Nothing beats a workflow that you already have setup!


However, if you haven't set it up in Calibre yet, you can use Sigil's "Mend and Prettify" function to do the first 4 (not positive about the tab??) of those steps with a click of the mouse. Then you can add as many more regexes as you wish to a Saved Searches group to do them all with another click.


The only extra step is having to save your document as an html file before importing to Sigil...but you have to do that anyway to make an ePub.
Turtle91 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dealing with bad formatting: "broken" lines inside paragraphs? MelBr Calibre 5 08-26-2013 12:10 AM
Word Wrap and Creating Line breaks for paragraphs? mjt57 Calibre 3 01-03-2011 10:14 PM
How to join broken paragraphs? purcelljf Workshop 8 08-19-2010 03:21 PM
Handling Broken Paragraphs crutledge Sigil 14 06-21-2010 07:41 PM
Word broken in PDF rfog HanLin eBook 2 09-30-2008 01:16 PM


All times are GMT -4. The time now is 12:56 PM.


MobileRead.com is a privately owned, operated and funded community.