![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 266
Karma: 1715001
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD
|
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,167
Karma: 437844
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> ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,311
Karma: 14000001
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: 61,882
Karma: 88645836
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, 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 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 266
Karma: 1715001
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD
|
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 |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,425
Karma: 20000000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
|
You mean completely dumb hyphenation? (as in, not language/phoneme aware, e.g.,
Code:
This is a stupid e- xample. |
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61,882
Karma: 88645836
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
|
![]() |
![]() |
![]() |
#8 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,311
Karma: 14000001
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 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 266
Karma: 1715001
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD
|
Niluje got the matter, I meant that. Many thanks to you
|
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,167
Karma: 437844
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: 11,425
Karma: 20000000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
|
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: 61,882
Karma: 88645836
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
Does KOReader work properly if the ePub has soft hyphens?
|
![]() |
![]() |
![]() |
#13 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,425
Karma: 20000000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
|
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,167
Karma: 437844
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,311
Karma: 14000001
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 Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature Request: Carriage Return Opens Book | 10538 | Library Management | 48 | 12-06-2017 05:15 PM |
time left in chapter totally wrong.... | shahvikram123 | Amazon Kindle | 45 | 10-27-2013 07:51 AM |
Indesign 8.0.1 Update (Do not translate carriage return to nbsp in EPUB export) WHY?? | ebookn00b | ePub | 7 | 12-17-2012 08:54 AM |
Search and replace - carriage return | ayjay3 | Sigil | 1 | 11-22-2011 03:32 PM |
4 days left to return Kindle...need advice fast | hope815 | Amazon Kindle | 23 | 10-22-2010 05:29 AM |