![]() |
#856 |
Connoisseur
![]() Posts: 65
Karma: 92
Join Date: Feb 2008
Location: California
Device: Sony PRS-505
|
RTF to LRF large margins top and bottom, text size
When I upgraded from version 5.x to 6.20, the GUI options for conversion increased. What also increased was the large margin in the top and bottom. When converting from RTF to LRF, I like to fill the whole reading area and put in the title&author header. But with 6.20, even with a 0.0 pt margin all around, the top and bottom have large open spaces.
The text size has also increased. With an RTF that has 10.0 size type, the LRF output looks to be about 14pt. How do I fix that? |
![]() |
![]() |
![]() |
#857 |
Head Goat
![]() Posts: 74
Karma: 50
Join Date: Mar 2009
Location: Grand Cayman, Cayman Islands.
Device: Kindle Paperwhite Gen 11.
|
ZenEngineer: I added the following to the Extra CSS section in Conversion/Look & Feel in Preferences. It reduced the margins to what I was used to with the earlier versions.. I also use fontsize 9.
p {margin-top: 0pt; margin-bottom: 0pt; padding: 0pt;} Hope this helps.. |
![]() |
![]() |
![]() |
#858 | |
Connoisseur
![]() Posts: 65
Karma: 92
Join Date: Feb 2008
Location: California
Device: Sony PRS-505
|
Quote:
|
|
![]() |
![]() |
![]() |
#859 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Has anyone else had trouble with extra spaces right after < /EM > tags? This is very noticeable when a comma or period follows the < / EM > tag. So far it looks like it's only affecting the LRF conversions I'm making.
|
![]() |
![]() |
![]() |
#860 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Yes, I noticed it. For now I solve it by including punctuation in the tags. (< em >something, < /em >)
|
![]() |
![]() |
![]() |
#861 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,120
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The problem is that LRF is simulating the italics. So what happens is the spacing after the simulated italics is off. After reading ePub with proper italics, I won't go back to LRF with the awful simulated italics.
|
![]() |
![]() |
![]() |
#862 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
![]() I keep hoping they'd make a firmware update to fix the epub problems on the Sony and it hasn't happened. |
|
![]() |
![]() |
![]() |
#863 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#864 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
![]() |
#865 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
![]() |
![]() |
![]() |
#866 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,120
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've just gotten used to th page number in the right side. Even have margins set for 0 on the right and I don't mind when the words and the number overlap. Given that it's not full justified, it doesn't always overlap. Plus, using the font of my choice makes things that much nicer to read.
|
![]() |
![]() |
![]() |
#867 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
I kind of got that I need to download the font .tff file? and I think it goes in the epub container (but I'm not exactly sure where) and I'm not sure if I need to do anything more than that? or add the font code to the top of the HTML file.... Currently LRF looks nicer on my device however...it's not the format that's readable on all the new devices coming out so in spite of myself I've learned how to make epubs with Calibre. (I just don't know how to do the more advanced stuff) Now, the weird thing is using the same HTML source code for LRF and Epub produces two different results and the epub just doesn't look as good in Times New Roman. I'm going to have to play around with it until I figure out what settings I'd need to get it to look like my LRF conversions. |
|
![]() |
![]() |
![]() |
#868 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Quote:
1) For moving the punctuation inside the emphasis: search = (</em>)([.,!?;:]+) replace = $2$1 2) For moving the punctuation outside the emphasis: search = ([.,!?;:]+)(</em>) replace = $2$1 |
|
![]() |
![]() |
![]() |
#869 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
|
|
![]() |
![]() |
![]() |
#870 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
It seems that Notepad++ can't handle regular expression replace properly (as per specified syntax). But it does wortk if you use \2\1 for replacement (use backslash instead of string).
I am not sure if Notepad++ can handle multiple files, though. I use FAR Manager with RESearch plugin and that works like a charm. |
![]() |
![]() |
![]() |
Tags |
html2lrf, libprs500 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change font of header for LRF Output on PRS 505 | duckbill | Calibre | 3 | 05-15-2010 11:07 AM |
Pissed off with LRF formatting: LRF/LRS clean tool? | grimborg | LRF | 8 | 02-15-2010 01:14 PM |
Fonts for LRF output | krischik | Calibre | 1 | 10-03-2009 05:01 AM |
CBZ > LRF (LRF>HTML/MOBI????) | sideburnt | Calibre | 4 | 09-15-2009 06:44 AM |
libprs500 Issues Converting .LIT to .LRF - .LRF crashes everything | vasbinde | Calibre | 6 | 02-14-2008 12:16 PM |