| 
			
			 | 
		#1 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 74 
				Karma: 10 
				Join Date: Nov 2012 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				A Suggested Feature for ebook-edit.exe
			 
			
			
			Is it possible to add the Structure Detection dialogue to EBOOK-EDIT.EXE?  I use the editor as a standalone product most of the time, much as I do Sigil. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			It would be handy if I could insert page-breaks before an Xpath expression within the editor proper. I might add a new box to the Create ToC from Xpath dialogue, if another button is inconvenient. Thanks... Last edited by pete6055; 09-13-2014 at 04:57 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			To some extent it's there already. If you open an epub and one of its content html files, you can right-click in its code view area and choose 'Split at multiple locations'. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Unless something has changed recently, I don't know of a way to split every html file in the whole epub in one pass. Or, I suppose, if you don't want to actually split the files but only want to force the reading device to do a page break, then using Regex to insert a set of dummy paragraphs <p class="breakhere"></p> plus something like p.breakhere {page-break-before:always} in the css file, should work across the whole epub. Last edited by jackie_w; 09-13-2014 at 10:43 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@jackie_w - that's two things I learnt from you today, the other was ATM - Automatic Teller Machine  
		
	
		
		
		
		
		
		
		
		
		
		
	
	  Asynchronous Transfer Mode    At The Money   - aah  - At The Moment ![]() I only knew about spitting in the Preview pain, momentarily I thought you'd mistyped, luckily I checked before embarrassing myself - yet again ![]() BR  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089 
				Karma: 1445295 
				Join Date: Apr 2008 
				Location: Central Oregon Coast 
				
				
				Device: PRS-300 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			There is a way to split at all locations at once using x-path. Right click in editing window, split at multiple locations.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			We Poms aim to please  
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() ![]()   No, please, this is a civilised forum!Quote: 
	
   But it won't help for splitting the whole epub in one pass, will it?
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089 
				Karma: 1445295 
				Join Date: Apr 2008 
				Location: Central Oregon Coast 
				
				
				Device: PRS-300 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If you tell it to split at every chapter heading, won't that do or am I missing something?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I suppose you could try using Merge files to join everything back into a single file before trying 'Split at multiple locations'. I'll try that next time I have a badly split epub.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089 
				Karma: 1445295 
				Join Date: Apr 2008 
				Location: Central Oregon Coast 
				
				
				Device: PRS-300 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The merge works pretty well and doesn't take over long if you don't have over 30 files or so. Then you can split them where they ought to be. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	My problem with the merge is to make sure I do it consistently so things merge in the right order and so that there isn't unintentional overwriting. After the 20th merge I am inclined to get a little rummy. That is a reason for a backup before which I always advocate but don't always remember to do if I have been at it for HOURS.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| (Suggestion) Move ebook-viewer.exe to the main directory next to calibre-portable.exe | avid01 | Library Management | 6 | 07-03-2014 04:55 AM | 
| Update tags only using ebook-convert.exe | boredsilly | Library Management | 2 | 03-16-2012 06:10 PM | 
| Suggested feature | Saliadarunavuelt | Calibre | 4 | 01-08-2011 02:24 PM | 
| Feature Request - Edit File Option | fcoulter | Calibre | 10 | 07-22-2010 01:56 AM | 
| Suggested future feature | ekaser | Astak EZReader | 18 | 09-06-2009 07:59 PM |