![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 6698
Join Date: Oct 2008
Device: none
|
convert to lrf : paragraph indents, line breaks
I've been using Calibre for almost 2 months now in order to convert different formats to lrf.
I noticed that when converting txt to lrf, Calibre add indents to paragraph even if there's none in the original txt files, which I find great. But this is not the case for .lit files when the original file has no indent. Would it be possible to add this feature when converting .lit files to lrf ? (or is there an option I didn't see...) Also, I have issues with line breaks when converting txt to lrf : no matter how many blank lines I add in the txt file, none appears in the lrf file, I only get a new paragraph. I don't want a blank line between each paragraph (like the option proposed in the GUI), but sometimes there are 2 or 3 blank lines between "blocks of paragraph", and I like to keep them... How can I do that ? Thanks in advance for your answers. |
![]() |
![]() |
![]() |
#2 |
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
For converting plain text files, Calibre actually processes the source as a form of simple markup named "Markdown." If you check out the Markdown documentation, it says that you can insert a hard line-break by ending the line with two spaces, so you might give that a try.
For the LIT->LRF paragraph indentation, I know the LRF converter(s) accept the command-line option '--minimum-indent' which allows you to specify a minimum paragraph indentation (in points), although I'm not sure where the option is in the GUI. If you convert to EPUB instead (which I heavily recommend), the option '--remove-paragraph-spacing' will do exactly what it sounds like you want. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 6698
Join Date: Oct 2008
Device: none
|
Thanks for your answers and the markdown link, I'll try that.
I don't convert to EPUB because I CAN'T read non-justified text, and if I understood correctly EPUB is only left-aligned (but maybe I misunderstood that too and you can give me a solution ?...) |
![]() |
![]() |
![]() |
#4 | |
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
![]() So seriously do consider giving EPUB on the Reader a try. Even if the left justification takes some getting used to, at least you have real italics which IMHO is much much much more important. |
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 6698
Join Date: Oct 2008
Device: none
|
Quote:
![]() But yeah, I'm gonna try and try again, and like you say I'm sure I will get used to it. (BTW I agree with you : LaTeX is the best for proper layout). |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extra paragraph line when converting from LRF | jhempel24 | Calibre | 3 | 08-18-2010 07:00 AM |
Converting from LRF: Paragraph & Line Breaks | wudaben | LRF | 0 | 07-14-2010 11:32 PM |
LRF to EPUB: Each line is a paragraph tag | wudaben | Calibre | 5 | 07-14-2010 07:04 PM |
Odd line/paragraph breaks in epub and FB2? | PKFFW | Calibre | 4 | 10-01-2009 07:49 AM |
Paragraph indents from command line | JSWolf | Calibre | 4 | 11-06-2008 08:41 PM |