[tex4ht] [bug #275] titlesec package slows down tex4ht

2016-03-31 Thread Michal Hoftich
Follow-up Comment #3, bug #275 (project tex4ht):

I've spent yesterday by hunting the slowdown, I've rewrote lot of titlesec in
custom .4ht file, but still haven't found the cause. There was lot of cases
where token registers or \edef commands which were feeded with some new
content in each section, but it is still slowing down. So it might be really
easier to just contact Javier :) 

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #275] titlesec package slows down tex4ht

2016-03-29 Thread Karl Berry
Follow-up Comment #2, bug #275 (project tex4ht):

the maintainer of titlesec is javier bezos.  he is still around. if we asked
him to just make titlesec a no-op for tex4ht, he might be willing. would one
of you be willing to ask him about it?
thanks, k.

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #275] titlesec package slows down tex4ht

2016-03-29 Thread Michal Hoftich
Follow-up Comment #1, bug #275 (project tex4ht):

I am not sure what to do with this. titlesec really can't work with tex4ht, as
sectioning commands are heavily redefined by tex4ht and they should be
configured using CSS, titlesec's configurations can't be used due to totally
different display models between DVI/PDF and CSS. 

It would be best if titlesec wasn't loaded at all with tex4ht, only dummy
definitions of macros which may be used in the document. The problem is that
tex4ht redefines macros after the end of preamble, so we can't fix the macros
which were called in the preamble. So you must either modify your document to
include problematic package only when tex4ht isn't called, or the package
itself must be modified to cooperate with tex4ht.

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #275] titlesec package slows down tex4ht

2016-03-28 Thread Nasser M. Abbasi
URL:
  

 Summary: titlesec package slows down tex4ht
 Project: tex4ht
Submitted by: nma123
Submitted on: Mon 28 Mar 2016 11:44:08 AM EEST
Category: None
Priority: 5 - Normal
Severity: 3 - Minor
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Adding titlesec package slows down tex4ht considerably.

I can't make a MWE now, but there is a file that shows this problem. The
following zip file contains all the needed input to reproduce this problem

http://12000.org/tmp/032616/

There is file called compile.sh in the zip file which has this line:

make4ht --lua -u -c ./nma.cfg -e ./main.mk4 report.tex
"htm,3,pic-align,notoc*"

The fix is to remove the package titlesec which is loaded in the file
my_core.tex in the same folder. Now the compilation will speed up and become
many times faster.

Thanks for finding the fix goes to Jagath AR​

This was reported at tex4ht mailing list. For more info:
http://tug.org/pipermail/tex4ht/2016q1/001397.html

I am reporting this as a performance bug so that it is tracked and known even
though there is a workaround.







___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/