Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 580532

Summary: dev-tex/tex4ht-20090611_p1038-r4 missing indentation and bad alignment of line numbers in algorithmic environment
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: [OLD] DevelopmentAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://puszcza.gnu.org.ua/bugs/index.php?314
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Minimal example
PDF output, for reference how it should look like
Generated HTML output
Generated CSS output

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.