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 04-03-2023, 11:17 PM   #46
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
Quote:
Originally Posted by KevinH View Post
You can of course use the rerenamer to covert all "-01" to "a" , "-02" to "b", etc. Not sure if that would help.
That indeed helps. Thanks.

As for others finding such useful or possible other cases, I'll think about it.
democrite is offline   Reply With Quote
Old 04-04-2023, 12:31 PM   #47
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
I recall the reason I thought of posting. Renaming for reference works like dictionary or encyclopedia, e.g. chapter_A, _B, _C, etc. If there cases of needing more than 26 renames –*other languages? –, I'm not sure. Maybe transliteration of Sanskrit or other scripts someday, eventually?

Such is useful as one as one may do much editing post-naming of files, and referring and finding each becomes much easier.

If someday you'd consider it, I think on Windows, and macOS – perhaps too Linux –, there is some control that expands a dialog, such as a right pointing arrow that then shows another part? Such maybe something like:

renaming scheme or something:
- numerical: 01, 02, 03, ...
- upper-case alphabetical: A, B, C, ...
- lower-case alphabetical: a, b, c, ...
...

If one does nothing, default behavior so maybe it remains as simple as it is now.

Maybe someday.
democrite is offline   Reply With Quote
Old 04-04-2023, 03:12 PM   #48
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: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
You understand that e-readers never show filenames. So this would only be useful for people who build epubs, and do not like the default naming after a split, don't want to bother to set each name manually, and then need or want to post process the files *outside* of Sigil using a limited set of 26 suffix chars.

This is not something a typical user of Sigil would find useful.

Last edited by KevinH; 04-04-2023 at 05:47 PM.
KevinH is offline   Reply With Quote
Old 04-05-2023, 01:55 PM   #49
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
Of course. I do so much heavy editing of long works such that file names immensely help me find which chapter to go to, e.g. partx-chapter_x or whatever is appropriate, sometimes in 50-100+ file works, helps me to quickly identify a file when often switching between them.
democrite is offline   Reply With Quote
Old 04-10-2023, 07:29 AM   #50
Angrox
Junior Member
Angrox began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2023
Device: 650
Hi,

i'm using macos ventura 13.3. When i cliick into an html page and choose "Reformat HTML -> Mend and prettify Code - All Files" the menu shrinks to "Sigil File" (same as if Sigil is loosing focus). Clicking into the Sigil Windows brings back the full menu.

/\ngrox
Angrox is offline   Reply With Quote
Old 04-10-2023, 07:51 AM   #51
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: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
Yes, when you asked it to process all files, Sigil uses multiple threads to handle this work in parallel causing the current ui thread to yield its focus.

The Sigil application itself takes focus not a specific main window. You will need to choose which main window if you have multiple open you want to continue with.

Last edited by KevinH; 04-10-2023 at 07:55 AM.
KevinH is offline   Reply With Quote
Old 04-10-2023, 08:36 AM   #52
Angrox
Junior Member
Angrox began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2023
Device: 650
I have only one instance open and i cant remember that Sigil behaved like this in the past.
Angrox is offline   Reply With Quote
Old 04-10-2023, 08:43 AM   #53
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: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
Absolutely no code changes in this area in a very long time. So maybe a macOS change?
KevinH is offline   Reply With Quote
Old 04-10-2023, 03:56 PM   #54
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
I don't understand "the menu shrinks to 'Sigil File'".

For what it's worth, I am on macOS 13.3.1 and when I click into an html page (Code View) and select Reformat HTML > Mend and Prettify Code - All Files" the windows don't change. Mend and Prettify runs and the windows remain as they were before I clicked Mend and Prettify. I tried this from both the menubar and right-click menus.


Quote:
Originally Posted by Angrox View Post
Hi,

i'm using macos ventura 13.3. When i cliick into an html page and choose "Reformat HTML -> Mend and prettify Code - All Files" the menu shrinks to "Sigil File" (same as if Sigil is loosing focus). Clicking into the Sigil Windows brings back the full menu.

/\ngrox
odamizu is offline   Reply With Quote
Old 04-11-2023, 03:00 AM   #55
Angrox
Junior Member
Angrox began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2023
Device: 650
The normal menu is

Sigil|File|Edit|Insert|Format|Search|Tools|View

When the epub2 book is already mended then nohings happens, i guess there is a flag that since the last mend operation no code change has been done.

When there is something to do, "Reformat HTML => Mend and prettify - All HTML file" the code is mended/prettified, but the menu is now

Sigil|File

I've updated to 13.3.1 as well but the behavior persists und i'm pretty sure this wasnt the case in all previous version. If i click in the code again ann entries in the menu are present again.

But as this isnt the case on odamizus mac it seems that this is ging to happen due to a special setup on mine but i've no idea whats causing this.
Angrox is offline   Reply With Quote
Old 04-11-2023, 04:24 PM   #56
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
Ah. I understand now, and interestingly, I can reproduce it on macOS 13.3.1. But it doesn't happen every time.

I haven't done exhaustive testing, but so far I've only gotten it to happen using right-click context menu, not menubar > Tools. It also happens with both epub2 and epub3. It also happens when book is already mended — i.e., if I run Mend and Prettify repeatedly on the same book, I can trigger this event.

But again, this doesn't happen every time and I haven't figured out the pattern to trigger it on demand.

That said, clicking on anything in the Sigil window will cause the menubar to return to normal, so it's possible this isn't new and I just never noticed it.


Quote:
Originally Posted by Angrox View Post
The normal menu is

Sigil|File|Edit|Insert|Format|Search|Tools|View

When the epub2 book is already mended then nohings happens, i guess there is a flag that since the last mend operation no code change has been done.

When there is something to do, "Reformat HTML => Mend and prettify - All HTML file" the code is mended/prettified, but the menu is now

Sigil|File

I've updated to 13.3.1 as well but the behavior persists und i'm pretty sure this wasnt the case in all previous version. If i click in the code again ann entries in the menu are present again.

But as this isnt the case on odamizus mac it seems that this is ging to happen due to a special setup on mine but i've no idea whats causing this.
odamizu is offline   Reply With Quote
Old 04-11-2023, 07:09 PM   #57
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: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
What you are seeing is determined by when the last concurrent thread finishes that is running Mend completes. Effectively random. I will look into if there is a way to restore focus more consistently.

Last edited by KevinH; 04-11-2023 at 07:52 PM.
KevinH is offline   Reply With Quote
Old 04-11-2023, 11:16 PM   #58
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by KevinH View Post
What you are seeing is determined by when the last concurrent thread finishes that is running Mend completes. Effectively random. I will look into if there is a way to restore focus more consistently.
This is such a tiny thing, and since clicking anywhere in the main window restores focus, I wouldn't have noticed if Angrox hadn't pointed it out. Not sure it's worth spending time on
odamizu 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
Sigil-0.9.12 Released DiapDealer Sigil 194 03-15-2019 03:51 PM
Sigil-0.9.8 Released DiapDealer Sigil 58 05-07-2017 04:56 PM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil 0.8.1 Released user_none Sigil 33 10-16-2014 05:04 PM
Sigil 0.7.4 Released user_none Sigil 47 01-05-2014 02:31 PM


All times are GMT -4. The time now is 07:17 AM.


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