![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2015
Device: ipad
|
Why links are not auto-hyphenating when resize
I have this issue, when i put plain text on page, it is hyphenating when i resize the page.
When i make every number (or text) a link, it is not hyphenating when i resize the page, it is showing in one continuous row please look at the pictures |
![]() |
![]() |
![]() |
#2 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
Thats a "feature" of the renderer. As the rendered on your e-book reader is different it might look different on your reader. As sigil is using Qt i'm in doubt that tis can be changed. And even if it can be changed theres no guarantee that your reader is displaying it the same.
|
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,682
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
You'll have to wrap the links in an element that supports line wrapping. For example, <p>...</p>.
Code:
<p><a href="../Text/Section0001.xhtml">1</a> <a href="../Text/Section0001.xhtml">2</a> <a href="../Text/Section0001.xhtml">3</a> <a href="../Text/Section0001.xhtml">4</a></p> |
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2015
Device: ipad
|
Quote:
<p> <a href="../Text/1moj1.xhtml">1</a> <a href="../Text/1moj2.xhtml">2</a> <a href="../Text/1moj3.xhtml">3</a> <a href="../Text/1moj4.xhtml">4</a> <a href="../Text/1moj5.xhtml">5</a> <a href="../Text/1moj06.xhtml">6</a> <a href="../Text/1moj07.xhtml">7</a> <a href="../Text/1moj08.xhtml">8</a> <a href="../Text/1moj09.xhtml">9</a> <a href="../Text/1moj10.xhtml">10</a> <a href="../Text/1moj11.xhtml">11</a> <a href="../Text/1moj12.xhtml">12</a> <a href="../Text/1moj13.xhtml">13</a> <a href="../Text/1moj14.xhtml">14</a> <a href="../Text/1moj15.xhtml">15</a> <a href="../Text/1moj16.xhtml">16</a> <a href="../Text/1moj17.xhtml">17</a> <a href="../Text/1moj18.xhtml">18</a> <a href="../Text/1moj19.xhtml">19</a> <a href="../Text/1moj20.xhtml">20</a> <a href="../Text/1moj21.xhtml">21</a> <a href="../Text/1moj22.xhtml">22</a> <a href="../Text/1moj23.xhtml">23</a> <a href="../Text/1moj24.xhtml">24</a> <a href="../Text/1moj25.xhtml">25</a> <a href="../Text/1moj26.xhtml">26</a> <a href="../Text/1moj27.xhtml">27</a> <a href="../Text/1moj28.xhtml">28</a> <a href="../Text/1moj29.xhtml">29</a> <a href="../Text/1moj30.xhtml">30</a> <a href="../Text/1moj31.xhtml">31</a> <a href="../Text/1moj32.xhtml">32</a> <a href="../Text/1moj33.xhtml">33</a> <a href="../Text/1moj34.xhtml">34</a> <a href="../Text/1moj35.xhtml">35</a> <a href="../Text/1moj36.xhtml">36</a> <a href="../Text/1moj37.xhtml">37</a> <a href="../Text/1moj38.xhtml">38</a> <a href="../Text/1moj39.xhtml">39</a> <a href="../Text/1moj40.xhtml">40</a> <a href="../Text/1moj41.xhtml">41</a> <a href="../Text/1moj42.xhtml">42</a> <a href="../Text/1moj43.xhtml">43</a> <a href="../Text/1moj44.xhtml">44</a> <a href="../Text/1moj45.xhtml">45</a> <a href="../Text/1moj46.xhtml">46</a> <a href="../Text/1moj47.xhtml">47</a> <a href="../Text/1moj48.xhtml">48</a> <a href="../Text/1moj49.xhtml">49</a> <a href="../Text/1moj50.xhtml">50</a></p> </body> </html> |
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2015
Device: ipad
|
Quote:
Rubeus, i tried the ebook on my ipad, and it is not wrapping the links automatically. it shows them in an continuous row |
|
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2015
Device: ipad
|
Doitsu, i did it like this and it works just fine
<p><a href="../Text/2moj01.xhtml">1</a> <a href="../Text/2moj02.xhtml">2</a> <a href="../Text/2moj03.xhtml">3</a> <a href="../Text/2moj04.xhtml">4</a> <a href="../Text/2moj05.xhtml">5</a> <a href="../Text/2moj06.xhtml">6</a> <a href="../Text/2moj07.xhtml">7</a> <a href="../Text/2moj08.xhtml">8</a> <a href="../Text/2moj09.xhtml">9</a> <a href="../Text/2moj10.xhtml">10</a> <a href="../Text/2moj11.xhtml">11</a> <a href="../Text/2moj12.xhtml">12</a> <a href="../Text/2moj13.xhtml">13</a> <a href="../Text/2moj14.xhtml">14</a> <a href="../Text/2moj15.xhtml">15</a> <a href="../Text/2moj16.xhtml">16</a> <a href="../Text/2moj17.xhtml">17</a> <a href="../Text/2moj18.xhtml">18</a> <a href="../Text/2moj19.xhtml">19</a> <a href="../Text/2moj20.xhtml">20</a> <a href="../Text/2moj21.xhtml">21</a> <a href="../Text/2moj22.xhtml">22</a> <a href="../Text/2moj23.xhtml">23</a> <a href="../Text/2moj24.xhtml">24</a> <a href="../Text/2moj25.xhtml">25</a> <a href="../Text/2moj26.xhtml">26</a> <a href="../Text/2moj27.xhtml">27</a> <a href="../Text/2moj28.xhtml">28</a> <a href="../Text/2moj29.xhtml">29</a> <a href="../Text/2moj30.xhtml">30</a> <a href="../Text/2moj31.xhtml">31</a> <a href="../Text/2moj32.xhtml">32</a> <a href="../Text/2moj33.xhtml">33</a> <a href="../Text/2moj34.xhtml">34</a> <a href="../Text/2moj35.xhtml">35</a> <a href="../Text/2moj36.xhtml">36</a> <a href="../Text/2moj37.xhtml">37</a> <a href="../Text/2moj38.xhtml">38</a> <a href="../Text/2moj39.xhtml">39</a> <a href="../Text/2moj40.xhtml">40</a></p> <p> </p> </body> </html> |
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,169
Karma: 144286760
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You mean word wrap, not hyphenation. I suggest you get a moderator to fix the thread title as this has nothing to do with hyphenation.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2015
Device: ipad
|
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,682
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
@Dragan Tanevski: Don't use the Book View mode in Sigl for edits; it'll automatically insert non-breaking spaces ( ), which will prevent line/word wrapping.
|
![]() |
![]() |
![]() |
#10 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
You are using nbsp; that means non breaking space, so why are you wondering why there is no word wrapping?
Not a Sigil problem. Its an ePub / HTML knowledge question. |
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2015
Device: ipad
|
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2015
Device: ipad
|
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,682
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
It'd certainly help in this special case if you replaced all non-breaking spaces with regular spaces.
Non-breaking spaces are usually used to keep words or words and numbers together. You could, for example, use a non-beaking space to make sure that a chapter number won't be separated from the word "chapter." For example: Code:
For more information see chapter 13.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch Normal links becomes footnotes links in epub made with Calibre | il_mix | Kobo Reader | 15 | 08-10-2014 01:19 PM |
Is this possible: Auto-add book/magazine then auto e-mail to device? | runningwithbulls | Library Management | 5 | 09-10-2012 12:27 PM |
Links to URLs work, internal links don't? | NewDay | ePub | 36 | 10-27-2010 04:09 AM |
JPGS. auto-resize? | Satrac | Sony Reader | 3 | 07-07-2007 07:27 AM |