Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-25-2020, 06:17 AM   #1
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Add Copy

Question - is it possible to define the default name when using Add Copy (Ctrl+Shift+Y)?

I am editing some books that have multiple chapters in each html file so that each chapter is in its own file (I read that is the preferred layout).

I have created a blank file named chapter.xhtml which I can add to the book as a template, but when I right click on that to create a copy the copy created is named 'section...' which I then have to rename to my preferred 'chapter...' style.

I have looked in Sigil's preferences but I can't see anything that relates to the default name of a copy, but I was wondering if it is buried somewhere I have not found.
Ashjuk is offline   Reply With Quote
Old 11-25-2020, 10:13 AM   #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: 7,878
Karma: 5449552
Join Date: Nov 2009
Device: many
Why not use Sigil's Add Existing... to add all of the xhtml files you have at once and then use Sigil's Find and Replace to make them look like your template.

Alternatively, use your approach and create all of the copies using the Default name and then afterwards use the RERenamer to rename them en masse to what you want them to be, instead of trying to edit each file name one by one.
KevinH is offline   Reply With Quote
Advert
Old 11-25-2020, 10:56 AM   #3
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Quote:
Originally Posted by KevinH View Post
Why not use Sigil's Add Existing... to add all of the xhtml files you have at once and then use Sigil's Find and Replace to make them look like your template.

Alternatively, use your approach and create all of the copies using the Default name and then afterwards use the RERenamer to rename them en masse to what you want them to be, instead of trying to edit each file name one by one.
Thanks - I had not spotted the fact you could rename them en masse. I see how it works now.
Ashjuk is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3 suggestions: merge on add, cleanup on add, sorting changeling Calibre 5 08-24-2013 06:35 AM
Add Copy exaltedwombat Sigil 10 01-26-2013 05:13 PM
"Copy to Libary (delete after copy)" - Placement Suggestion plib Library Management 8 07-17-2012 09:53 PM
soft copy vs. hard copy no more. smokey News 4 12-02-2007 02:57 PM
gmail copy (gmcp) - Perl script to copy files to/from Gmail Colin Dunstan Lounge 0 09-04-2004 01:24 PM


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


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