killercup / trpl-ebook

UNMAINTAINED
http://killercup.github.io/trpl-ebook/
478 stars 56 forks source link

At least some superscript text is rendered as normal #10

Closed cers closed 9 years ago

cers commented 9 years ago

On page 60 (A4) for example it reads: "That number comes from 230, the number of bytes in a gigabyte." where is should read "That number comes from 2^30, the number of bytes in a gigabyte."

killercup commented 9 years ago

Oh! Is it correct in the html version? It could be that pandoc doesn't understand sup tags.

I'll have a look at it (and maybe trivially replace it with actual math syntax).

On Thu, May 21, 2015 at 12:32 AM, Christian Sonne notifications@github.com wrote:

On page 60 (A4) for example it reads: "That number comes from 230, the number of bytes in a gigabyte." where is should read "That number comes from 2^30, the number of bytes in a gigabyte."

Reply to this email directly or view it on GitHub: https://github.com/killercup/trpl-ebook/issues/10

cers commented 9 years ago

Also appears on page 63, 64 (and probably many other places) - and yes, it appears to work fine in the HTML version. It can be seen just before the table shortly into this section http://killercup.github.io/trpl-ebook/trpl-2015-05-15.html#the-stack

killercup commented 9 years ago

Very good find, @cers!

I fixed this by using Pandoc's special markup for superscript (docs) and then restricting the table output to piped_tables because they don't care about columns with different lengths.

I'll publish a new revision of the book later (depends on how much content changed upstream). This will also be the first version build using the Rust version of the converter :)

killercup commented 9 years ago

Fixed in the 2015-05-24 version!