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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2026, 02:07 PM   #1
oston
Connoisseur
oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 2155740
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
Searching for "& # 9 ; "

In an epub (exported from InDesign) that I was sent to work on, there are many encoded TAB (& # 9 ; ) characters where there were tabs in the InDesign file.

But Sigil does not seem to be able to find such characters in a search and replace. Using regex with \t also does not find them.

Is there a work around without using a text editor?

If I had the InDesign file, I could remove the tab chars there, and I expect I will need to get that. But maybe someone here has an easier work around?

Thanks
Jim
oston is offline   Reply With Quote
Old 03-11-2026, 02:44 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,440
Karma: 6733960
Join Date: Nov 2009
Device: many
Try going to Sigil's Preferences to Preserve Entities. Then add to that list. Then run Sigil's Mend on all your xhtml files.

Now search for the that specific entity in the text to see if any remain and replace them as you want.
KevinH is offline   Reply With Quote
Advert
Old 03-11-2026, 02:54 PM   #3
oston
Connoisseur
oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 2155740
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
Great-
Many thanks, Kevin
Jim
oston is offline   Reply With Quote
Old 03-11-2026, 03:05 PM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,440
Karma: 6733960
Join Date: Nov 2009
Device: many
You can also use the following to find tab chars directly in Find without having to play with the PreserveEntities settings at all using Regex mode:

\x{09}

That will look for a specific utf-8 hex char

or the more traditional

\t

But search mode most be Regex for those to work. Normal mode removes the significance of the leading "\"

If you copy a tab from some text editor, you can actually use Normal mode and just paste the copied tab into the Find field and that would work too.

Typing a tab using the keyboard directly into the Find field will not work as tab is used to switch input fields in Qt for people who prefer/need keyboard accessibility instead of the mouse to select a field.

Last edited by KevinH; 03-11-2026 at 03:21 PM.
KevinH is offline   Reply With Quote
Old 03-11-2026, 03:06 PM   #5
oston
Connoisseur
oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 2155740
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
Many thanks, Kevin
Jim
oston is offline   Reply With Quote
Advert
Old 03-11-2026, 03:30 PM   #6
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,197
Karma: 211539966
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It is my understanding that tab entities (or characters) are still going to be collapsed into a single space by just about any renderer out there. Without some sort of PRE tag, there's very little point in using them.

Even our Sigil Mend code won't preserve tab entities/characters not inside pre tags. They get converted to a single space. Inside of pre tags, a tab entity will be preserved if it's in the preserve entities list, or converted to the U0009 character if it is not.

Last edited by DiapDealer; 03-11-2026 at 05:06 PM.
DiapDealer is offline   Reply With Quote
Reply

Tags
tab

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressing "Restore Defaults" under "Book Details" wipes all "Look & Feel" settings. MarjaE Library Management 1 03-30-2021 11:46 AM
I want Calibre to auto convert "&" in multiauthored books into "," (comma) droopy Devices 1 09-06-2019 06:10 PM
Bug: Automater substitution of "and" with "&" in author field mikebw Library Management 2 04-15-2019 03:39 AM
Feature Request: configurable space setting for "Insert blank line" in "Look & Feel" therealjoeblow Calibre 15 07-25-2011 03:14 PM
Question - Does iLiab have the "search" & "annotation, highlighting" features? HiSoC8Y iRex 5 07-01-2009 04:37 PM


All times are GMT -4. The time now is 02:51 PM.


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