![]() |
#1 |
Enthusiastic reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
totally unbound carriage return with text alignement to the left
Hi. Without justification, can I set the carriage return at whatsoever character of the text ends the line?
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
I don't think I quite understand the context of your question. In HTML there's a PRE element, which stands for preformatted, which will display text as it comes.
Code:
<pre> These linebreaks will all be displayed. </pre> ![]() |
![]() |
![]() |
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You can right-align to the container, but you cannot right-align to the previous line length, if that's what you want. In a single paragraph, you cannot left-align some lines and right-align other lines.
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The end of the line is the end of the paragraph most of the time. As to setting where the paragraph/line ends by some setting, no you cannot. That is dictated by the code for the eBook.
|
![]() |
![]() |
![]() |
#5 |
Enthusiastic reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
Sorry, I rephrase my issue:
Can I set or modify the koreader's hyphenation so to split whatsoever character falls at the end of the displayed line? Alternative solutions to fill the whole line are welcome |
![]() |
![]() |
![]() |
#6 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You mean completely dumb hyphenation? (as in, not language/phoneme aware, e.g.,
Code:
This is a stupid e- xample. |
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#8 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Maybe he just means there's no reason
![]() I've never bothered learning about hyphenation patterns, but surely it would be possible to create one that says "every point is allowed"? |
![]() |
![]() |
![]() |
#9 |
Enthusiastic reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
Niluje got the matter, I meant that. Many thanks to you
|
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
Edit: that doesn't include hyphenation, but it'd look like: Code:
This is the en d of the line. |
|
![]() |
![]() |
![]() |
#11 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Might be able to coerce hyphens into that by basically telling libunibreak that everything is LINEBREAK_ALLOWBREAK (or well, actually, bypassing libunibreak and assuming that ^^), although I'm not exactly familiar with how that's actually implemented in CRe and/or how it interacts with the actual hyphenation patterns ;p.
|
![]() |
![]() |
![]() |
#12 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Does KOReader work properly if the ePub has soft hyphens?
|
![]() |
![]() |
![]() |
#13 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yes, that would essentially also mimic the "assume libunibreak says everything is allowbreak" behavior... provided you actually do the work of putting soft-hyphens between every grapheme in the book's code ^^.
Doesn't necessarily entirely work as expected, though, because the same "what about the actual hyphenation engine" question as above may apply ![]() |
![]() |
![]() |
![]() |
#14 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
There shouldn't be a hyphen when a break happens at a space (or word boundaries).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature Request: Carriage Return Opens Book | 10538 | Library Management | 48 | 12-06-2017 04:15 PM |
time left in chapter totally wrong.... | shahvikram123 | Amazon Kindle | 45 | 10-27-2013 06:51 AM |
Indesign 8.0.1 Update (Do not translate carriage return to nbsp in EPUB export) WHY?? | ebookn00b | ePub | 7 | 12-17-2012 07:54 AM |
Search and replace - carriage return | ayjay3 | Sigil | 1 | 11-22-2011 02:32 PM |
4 days left to return Kindle...need advice fast | hope815 | Amazon Kindle | 23 | 10-22-2010 04:29 AM |