![]() |
#256 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 131
Karma: 24870
Join Date: Oct 2006
Device: Sony PRS/505
|
No, I don't believe there are any links that refer to the specific paragraphs. Just removing the <p> would be a perfectly reasonable compromise too
![]() |
![]() |
![]() |
![]() |
#257 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
OK added it to SVN.
|
![]() |
![]() |
Advert | |
|
![]() |
#258 |
Member
![]() Posts: 21
Karma: 61
Join Date: Apr 2007
Location: Seattle, WA
Device: PRS-500
|
After a very positive experience with libprs500 and Kovid's patient support, I am seriously considering moving totally over to version .4 in lieu of Connect.
Questions: 1. Any guess when .4 will be available? 2. Will "Genre" be one of your metadata elements? Great job Jim |
![]() |
![]() |
![]() |
#259 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
if you don't use Connect, you cannot purchase books at the Connect store. If that is not an issue, go for it. Of course, if you have multiple computers, you can install Libprs500 on one and Connect on the other as long as both computers run 32-bit Windows.
|
![]() |
![]() |
![]() |
#260 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
1 month < 0.4.0 < 3 months
You should use the Tags facility in libprs500 to specify genre metadata. The search bar searches over tags as well. |
![]() |
![]() |
Advert | |
|
![]() |
#261 |
Member
![]() Posts: 21
Karma: 61
Join Date: Apr 2007
Location: Seattle, WA
Device: PRS-500
|
I've got four systems going on five; thanks for the advice.
Jim |
![]() |
![]() |
![]() |
#262 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2007
Device: Sony PRS500
|
![]()
Hello,
First off, Thanks for the great program! I seem to have run into a bug... not sure if it is by design, though.. I am converting an ebook (Thinking in Java, from http://mindvew.net), and have run into an issue with html blockquotes. This book uses the block quotes for code samples, and while html2lrf does "block" the text, it doesn't seem to convert any of the html.... what should be this: Code:
monitor.expect(new String[] { "1: n1.i: 9, n2.i: 47", "2: n1.i: 47, n2.i: 47", "3: n1.i: 27, n2.i: 27" }); Code:
monitor.expect(<font color="#0000ff">new</font> String[] { <font color="#004488">"1: n1.i: 9, n2.i: 47"</font>, <font color="#004488">"2: n1.i: 47, n2.i: 47"</font>, <font color="#004488">"3: n1.i: 27, n2.i: 27"</font> }); I suppose i could come up with some regex to remove the "font" tags... Dave |
![]() |
![]() |
![]() |
#263 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Post a simple html file that reproduces the problem. Just copy paste one of the blockquote sections along with any css sections/files.
|
![]() |
![]() |
![]() |
#264 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2007
Device: Sony PRS500
|
Quote:
Here you go... I included a section with several blockquotes, and the css, and the .lrf output. Thanks, Dave |
|
![]() |
![]() |
![]() |
#265 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm see what you mean...two line fix will be in next release.
|
![]() |
![]() |
![]() |
#266 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2007
Device: Sony PRS500
|
|
![]() |
![]() |
![]() |
#267 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2007
Device: Sony Reader PRS-500
|
Using --chapter-regex
Hi,
I'm using the command line version of html2lrf, and I'm trying to use the --chapter-regex to build the toc, but it doesn't behave as I expect it to. Other than that I'm loving what I've seen so far. Perhaps I am doing something wrong. Here is the command I am using: C:\html2lrf>html2lrf -a "Author" -t "Title" --chapter-regex="<I>(Chapter [1-9]+[,].*)</I>" --font-delta=-2 "c:\ebooks\MyBook.htm" The regex I'm using here works in other situations, but I'm not familiar with the implementation here, so perhaps the syntax should be different. The Chapter headings in the html doc look like this: <I>Chapter 1, Title of Chapter 1</I> Any help would be appreciated. |
![]() |
![]() |
![]() |
#268 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Released v0.3.72:
1) Support for nested lists 2) Bug fixes |
![]() |
![]() |
![]() |
#269 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You shouldn't have the <I> tags in the regex, it matches on the contents of the tag. Infact the default regex should work for you.
|
![]() |
![]() |
![]() |
#270 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2007
Device: Sony Reader PRS-500
|
Problem solved
![]() OK, I reread the quick little blurb about the chapter regex from the help, and came to a realization of what the problem was. The chapter regex only looks for matches inside a <H1> or other H tag, so since these were not inside H tags, they weren't found. What I had to do was use another program (just whipped up a quick c# app) to wrap the matches in H1 tags, and save a copy of the file with the new tags, than re-ran the cmd line utility, and all was well. Do you think it would be possible to optionally remove the requirement for the chapter regex match to look for the H tags, and just use the supplied regular expression to find the chapter headings? Thanks |
![]() |
![]() |
![]() |
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 |