Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 01:41 AM   #1
Ausic
Junior Member
Ausic began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2015
Device: none
Dealing with large wrapped text

Hi MR,

I am using Sigil to create an ePub. The source file is a PDF document. I converted the PDF to word so it makes copying the text to paste into my ePub file easier but the text are wrapped. The text are also wrapped when pasted into Sigil.

I then converted the PDF to text, the text wrap is still present. It will take me a long time to have to unwrap paragraph after paragraph of text. Is there a way to unwrap the text in bulk, for multiple paragraph at the same time?


Click image for larger version

Name:	Screenshot 2026-10-23 063627.jpg
Views:	4
Size:	239.9 KB
ID:	226863
Ausic is offline   Reply With Quote
Old Today, 07:31 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,861
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
This has been a problem with pdf conversions forever. It is a terrible source format. It is always better to use whatever the source for creating the PDF was. There are people who will share their regular expressions for unwrapping bad pdf conversions, but nothing is going to be 100% effective. Manual editing and fixing will always be required.

Sigil has nothing inherent to help in this regard.
DiapDealer is offline   Reply With Quote
Advert
Old Today, 07:48 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,392
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Ausic View Post
Hi MR,

I am using Sigil to create an ePub. The source file is a PDF document. I converted the PDF to word so it makes copying the text to paste into my ePub file easier but the text are wrapped. The text are also wrapped when pasted into Sigil.

I then converted the PDF to text, the text wrap is still present. It will take me a long time to have to unwrap paragraph after paragraph of text. Is there a way to unwrap the text in bulk, for multiple paragraph at the same time?


Attachment 226863
I've used AI to convert from PDF to ePub and it works pretty good. Better then most conversion programs.
JSWolf is offline   Reply With Quote
Old Today, 07:57 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,861
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
This is not a Sigil topic. This is an age-old PDF conversion issue.
DiapDealer is offline   Reply With Quote
Old Today, 08:25 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 32,023
Karma: 65700000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I have 10 saved searches.
These are ALL really templates and get touched up to match the actual class="..."
Only the simple Join to lower do I ever use 'replace all' (and that is after checking what it does). For the rest, I use Find (this is what you also use to Skip without a replace)

Tip 1 is always 'Reformat: Multiple lines' before using the CSS cleans it adds the optional last ; before the }. And Prettify for the ALL HTML before using.

Tip 2 is to complete the basic cleans like join to lower before STEPPING thru the joins for honorific Be careful on the order you use things with Capitals and Periods
Code:
Mr.</p>
<p class="foo">Smith...
is a case that should be joined with a space and is NOT 2 paragraphs.

Here is a screenshot of my normal saved 'Joins' It is not even 75% of what you will see. Those will still need hand crafting.
Some of mine include support for both curly and straight quotes.

For de-hyphen, I start with Calibre's Editor:Spell check (with the filter set to -) as it offers a joined version as a choice (note: not all words with - are wrong. Never just remove blindly)

Sigil and Calibre are TOOLS. I use both as the ARE different on what and how. Neither is wrong or bad. They fit with the way I do stuff

HTH
Attached Thumbnails
Click image for larger version

Name:	SigilCleanSnR.png
Views:	0
Size:	79.2 KB
ID:	226874  
theducks is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dealing with white text on colored background when prepping PDFs for grayscale or B&W JawadLeLogeur PDF 3 10-29-2025 09:29 AM
Dealing with very large library Torpido Library Management 3 03-11-2016 01:49 PM
Large files to text hackettt Calibre 2 01-06-2011 06:52 AM
Right Aligning Wrapped Text Only ghostyjack ePub 7 11-04-2010 08:54 AM
wrapped text around an image Ambar ePub 2 07-05-2010 08:55 AM


All times are GMT -4. The time now is 08:26 AM.


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