Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580532 - dev-tex/tex4ht-20090611_p1038-r4 missing indentation and bad alignment of line numbers in algorithmic environment
Summary: dev-tex/tex4ht-20090611_p1038-r4 missing indentation and bad alignment of lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2016-04-19 14:48 UTC by Ulrich Müller
Modified: 2017-02-08 20:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Minimal example (bug.tex,391 bytes, text/plain)
2016-04-19 14:50 UTC, Ulrich Müller
Details
PDF output, for reference how it should look like (bug.pdf,33.72 KB, application/pdf)
2016-04-19 14:51 UTC, Ulrich Müller
Details
Generated HTML output (bug.html,3.77 KB, text/html)
2016-04-19 14:52 UTC, Ulrich Müller
Details
Generated CSS output (bug.css,5.54 KB, text/plain)
2016-04-19 14:54 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2016-04-19 14:48:02 UTC
See following examples for an illustration of the problem.
Comment 1 Ulrich Müller gentoo-dev 2016-04-19 14:50:24 UTC
Created attachment 431238 [details]
Minimal example

Save as bug.tex and generate PDF and HTML output:>
$ pdflatex bug
$ mk4ht xhlatex bug
Comment 2 Ulrich Müller gentoo-dev 2016-04-19 14:51:17 UTC
Created attachment 431240 [details]
PDF output, for reference how it should look like
Comment 3 Ulrich Müller gentoo-dev 2016-04-19 14:52:48 UTC
Created attachment 431242 [details]
Generated HTML output
Comment 4 Ulrich Müller gentoo-dev 2016-04-19 14:54:34 UTC
Created attachment 431244 [details]
Generated CSS output
Comment 5 Ulrich Müller gentoo-dev 2016-04-19 15:02:24 UTC
So, two problems:
1. Line numbers should be right aligned but aren't.
2. Lines of code are not indented at all.
Comment 6 Ulrich Müller gentoo-dev 2016-06-11 16:32:05 UTC
Reported upstream: https://puszcza.gnu.org.ua/bugs/index.php?314
Comment 7 Ulrich Müller gentoo-dev 2016-06-15 19:02:33 UTC
Fixed in upstream repository:
http://svn.gnu.org.ua/viewvc/tex4ht?view=rev&revision=174
Comment 8 Alexis Ballier gentoo-dev 2017-02-08 16:32:34 UTC
commit 589cdd28509158e177835429bb644fcabc321c48
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Wed Feb 8 17:31:59 2017 +0100

    dev-tex/tex4ht: Another revbump to update texmf files from texlive 2016, fixing bug #580532
Comment 9 Ulrich Müller gentoo-dev 2017-02-08 20:16:57 UTC
I can confirm that this fixes the problem.