Answers.Body: <p>I found the answer: the original <code>.html</code> file had table inside with fixed width, and that's why the text was running out of the screen. The solution: just use the option <code>--linearize-tables</code> !</p>
  
  <pre><code>ebook-convert 08-microprocesseur-son-environnement.html 08-microprocesseur-son-environnement.epub  --linearize-tables
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-26T15:24:12.390Z
Answers.LastActivityDate: 2020-04-26T15:24:12.390Z
Answers.UserDisplayName: tobiasBora
Body: <p>I just used Calibre to convert <a href="https://www.supinfo.com/cours/1CPA/chapitres/08-microprocesseur-son-environnement" rel="nofollow noreferrer">this html document</a> into an epub. To do that, I first downloaded the chapter using:</p>
  
  <pre><code>wget -r --no-parent -k https://www.supinfo.com/cours/1CPA/
  </code></pre>
  
  <p>and then I rename the file to add <code>.html</code> extension:</p>
  
  <pre><code>cd www.supinfo.com/cours/1CPA/chapitres
  cp 08-microprocesseur-son-environnement 08-microprocesseur-son-environnement.html
  </code></pre>
  
  <p>and convert:</p>
  
  <pre><code>ebook-convert 08-microprocesseur-son-environnement.html 08-microprocesseur-son-environnement.epub
  </code></pre>
  
  <p>However, the produced <code>.epub</code> displays horribly in my Nolim ereader: the lines goes out of the screen:</p>
  
  <p><a href="https://i.sstatic.net/EIAK4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EIAK4.png" alt="enter image description here"></a></p>
  
  <p>Any idea how to fix that? </p>
  
Tags: <epub><calibre><conversion>
Title: Calibre convertion: text goes out of the screen
UserDisplayName: tobiasBora
ThreadText: # Calibre convertion: text goes out of the screen
  
  (Asked by: username_0 on 2020-04-26)
  
  I just used Calibre to convert this html document into an epub. To do that, I first downloaded the chapter using:
  wget -r --no-parent -k https://www.supinfo.com/cours/1CPA/
  
  and then I rename the file to add .html extension:
  cd www.supinfo.com/cours/1CPA/chapitres
  cp 08-microprocesseur-son-environnement 08-microprocesseur-son-environnement.html
  
  and convert:
  ebook-convert 08-microprocesseur-son-environnement.html 08-microprocesseur-son-environnement.epub
  
  However, the produced .epub displays horribly in my Nolim ereader: the lines goes out of the screen:
  
  Any idea how to fix that?
  
  **Tags:** epub, calibre, conversion
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-04-26. Score: 1
  
  I found the answer: the original .html file had table inside with fixed width, and that's why the text was running out of the screen. The solution: just use the option --linearize-tables !
  ebook-convert 08-microprocesseur-son-environnement.html 08-microprocesseur-son-environnement.epub  --linearize-tables
  
  
  ---
  
  