| 
			
			 | 
		#721 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#722 | 
| 
			
			
			
			 GuteBook/Mobi2IMP Creator 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958 
				Karma: 2530691 
				Join Date: Dec 2007 
				Location: Toronto, Canada 
				
				
				Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That's fine, but it will eliminate the initial letter "treatment" via class="calibre10" and apply it to the whole paragraph instead. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	What you should really do is replace it instead with: Code: 
	#
  <p><span class="calibre10">
    M</span>
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#723 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
   Every current paragraph starts with that treatment.    Katdragon wants it goneNormally, that type of treatment is used only at Chapter starts or possibly, scene breaks. I made an assumption about the calibre10 that I should not have. (the problem with working with code fragments. No complete picture   )What size or face different from default?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#724 | 
| 
			
			
			
			 The LARdT of E-Books 
			
			![]() Posts: 106 
				Karma: 46 
				Join Date: Dec 2009 
				
				
				
				Device: HANLIN V3ext (Papyre 6.1) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			IF you have  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	<div class="calibre10"> M </div> <p>y jailers merely tightened their hold and frog-marched me when I wobbled. Suckers are very strong; they may not have noticed that they were now bearing nearly all my weight as my knees gave and my feet lost their purchase on the ragged ground.</p> Code: 
	<div class="calibre10"> <p>My jailers merely tightened their hold and frog-marched me when I wobbled. Suckers are very strong; they may not have noticed that they were now bearing nearly all my weight as my knees gave and my feet lost their purchase on the ragged ground.</p> <div> Code: 
	<div class="calibre10">(\n\s*)([([\(\ÑñÓ/ÃÁÉÍÚáéíóúÜü¡!?¿*:«»"'-%…=–º©—“”#{(¼)\).,;a-zA-Z0-9\-_\s\c]*)(\n\s*)</div>(\n\s*)<p>([\(\ÑñÓ/ÃÁÉÍÚáéíóúÜü¡!?¿*:«»"'-%…=–º©—“”#{(¼)\).,;a-zA-Z0-9\-_\s\c\<\>\[\]\n]*)</p>
Code: 
	<div class="calibre10"> </p>\5</p> <div> http://mipapyreebookreader.blogspot....ch/label/RegEx  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#725 | ||
| 
			
			
			
			 GuteBook/Mobi2IMP Creator 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958 
				Karma: 2530691 
				Join Date: Dec 2007 
				Location: Toronto, Canada 
				
				
				Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#726 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 98 
				Karma: 40 
				Join Date: May 2010 
				
				
				
				Device: Kobo (currently out of commission), Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hey guys, 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I tried searching for: Code: 
	 <div class="calibre10">(\n\s*)([([\(\ÑñÓ/ÃÁÉÍÚáéíóúÜü¡!?¿*:«»"'-%…=–º©—“”#{(¼)\).,;a-zA-Z0-9\-_\s\c]*)(\n\s*)</div>(\n\s*)<p>([\(\ÑñÓ/ÃÁÉÍÚáéíóúÜü¡!?¿*:«»"'-%…=–º©—“”#{(¼)\).,;a-zA-Z0-9\-_\s\c\<\>\[\]\n]*)</p>
![]() edit: I am an idiot. Didn't make sure the regular expression box was ticked. Will try again tomorrow. Last edited by Katdragon; 07-19-2010 at 09:18 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#727 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 98 
				Karma: 40 
				Join Date: May 2010 
				
				
				
				Device: Kobo (currently out of commission), Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi everyone, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I tried the method in my previous post and whilst it got rid all of the line breaks the first letter of every paragraph has vanished. Here is the code now: Code: 
	 <div>
              <p class="calibre1"></p>
              <div class="calibre10">
                harlie is one of the big good guys in my universe. He gave me enough of a raise when I finished school (high school diploma by the skin of my teeth and the intercession of my subversive English teacher) and began working for him full time that I could afford my own place, and, even more important, he talked Mom into letting me have it.
                <div>
                  <p class="calibre1"></p>
                  <div class="calibre10">
                    ut getting up at four A.M. six days a week does put a cramp on your social life (although as Mom pointed out every time she was in a
Should I keep trying with this method or go through the other ones listed here?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#728 | 
| 
			
			
			
			 US Navy, Retired 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897 
				Karma: 13806776 
				Join Date: Feb 2009 
				Location: North Carolina 
				
				
				Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If you lost the first letter then it is time to start fresh because whatever you did didn't work.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#729 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 98 
				Karma: 40 
				Join Date: May 2010 
				
				
				
				Device: Kobo (currently out of commission), Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Okies, a friend of mine solved the problem for me. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I used e-texteditor and replaced Code: 
	<div
     class="calibre10">\W+(.)\W+</div>\W+<p>
Code: 
	<p>$1 Edit: Fixed the above problem - I replaced <p>I with <p>I  and then <p>I t with <p>It Thanks so much for your help guys  
		Last edited by Katdragon; 07-20-2010 at 09:40 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#730 | ||
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jul 2010 
				
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I used installed unicode fonts on my PRS-505 by extra css 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
 Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#731 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Assuming tt0011m_.ttf and tt0003m_.ttf are the unicode fonts you want, does this work as your extra CSS? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	@font-face {font-family: serif; src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)}
@font-face {font-family: sans-serif; src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf)}
html {font-family: serif;}
h1 {font-family: sans-serif;}
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#732 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jul 2010 
				
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			yes, it work. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Thank you!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#733 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 33 
				Karma: 10 
				Join Date: Dec 2009 
				
				
				
				Device: iphone 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Problem with literallayout
			 
			
			
			I have a book that I converted to epub format from which the book looks fine however anytime in the book there is "computer text" it runs off the page so that I can't read it on my iphone using ibook or stanza.  I tried deleting literallayout but that just made all the computer text run together.  Anyone know a fix for this?  thanks.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#734 | |
| 
			
			
			
			 US Navy, Retired 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897 
				Karma: 13806776 
				Join Date: Feb 2009 
				Location: North Carolina 
				
				
				Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#735 | |
| 
			
			
			
			 GuteBook/Mobi2IMP Creator 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958 
				Karma: 2530691 
				Join Date: Dec 2007 
				Location: Toronto, Canada 
				
				
				Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 1) at the end of each line within the <pre> tags append a <br /> tag (or two <br /><br /> based on your preference for blank line separation), and 2) replace the surrounding <pre> ... </pre> tags with <p> ... </p> instead. That should make sure the lines don't run into each other, but still allow each long line to wrap around so that you can see the ending... ![]() BTW, in 2) above, you can play with indents using <p style="text-intent: 2em"> ... </p> or hanging indents using <p style="text-intent: -2em; margin-left: 2em"> ... </p>. Experimentation is your friend! Last edited by nrapallo; 07-23-2010 at 12:08 AM. Reason: hanging indents code: should be <p style="text-intent: -2em; margin-left: 2em">  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 10:27 AM | 
| EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 05:14 PM | 
| Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 04:21 PM | 
| epub output metadata | troymc | Calibre | 5 | 05-22-2010 01:23 AM | 
| Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 03:23 AM |