bugtex4ht - Bugs: bug #477, Support for new LaTeX hook...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #477: Support for new LaTeX hook management

Submitted by:  Michal Hoftich <michal_h21>
Submitted on:  Thu 23 Jul 2020 04:24:20 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

(Jump to the original submission Jump to the original submission)

Tue 06 Oct 2020 11:23:10 PM EEST, comment #7:

The big update of LaTeX kernel is now in TeX Live. It seems that it didn't broke TeX4ht, which is nice :)

Here are the news: https://www.latex-project.org/news/latex2e-news/ltnews32.pdf

Michal Hoftich <michal_h21>
Project Member
Tue 22 Sep 2020 04:28:57 PM EEST, comment #6:

It seems that patching depended on exact definition of \@textsuperscript and \@textsubscript in LaTeX core. I don't know why, probably for some historical reasons. I've removed the conditions and it seems to work in LaTeX-dev and normal LaTeX without issues.

Michal Hoftich <michal_h21>
Project Member
Tue 22 Sep 2020 03:47:08 PM EEST, comment #5:

It seems that also \textsuperscript and \textsubscript is missing in LaTeX-dev. Respectivelly that we need to patch different macros.

Michal Hoftich <michal_h21>
Project Member
Thu 03 Sep 2020 12:29:05 AM EEST, comment #4:

It might be worth asking the latexers for advice. Maybe they have some idea of how to profile. Since tex4ht didn't change (I presume), the slowdown in latex is surely not desirable from their point of view either.

Also, maybe try running just one of the latex invocations, instead of the whole make4ht or htlatex sequence. That seems like what would be needed to debug, anyway.

Karl Berry <karl>
Project Administrator
Wed 02 Sep 2020 10:38:44 PM EEST, comment #3:

I've installed the new LaTeX-dev update and found that the use of Fontspec in a document caused fatal error. It was just necessary to remove \RequirePackage{expl3} from usepackage-fontspec.4ht and it works again.

One thing I noticed is that the compilation is much slower with LaTeX-dev. My simple test document went from 4 seconds to almost 8 :/

Michal Hoftich <michal_h21>
Project Member
Wed 29 Jul 2020 10:58:20 AM EEST, comment #2:

We will also need to support new hooks in environment handling and probably others. It should be handled before hooks are added to the main LaTeX kernel.

Michal Hoftich <michal_h21>
Project Member
Tue 28 Jul 2020 04:16:38 PM EEST, comment #1:

I've updated TeX4ht sources for the upcoming changes. I want to thank Frank Mittelbach for help and suggestions, it would take me much longer to find the solution.

In the future, we will need to adapt more TeX4ht functionality for the new hook system, especially the LaTeX environment handling.

Michal Hoftich <michal_h21>
Project Member
Thu 23 Jul 2020 04:24:20 PM EEST, original submission:

The development version of LaTeX changes some internal code related to the hook management. It will be more adjustable, but it can break older code. As you may suspect, it breaks TeX4ht.

See this thread for details: https://listserv.uni-heidelberg.de/cgi-bin/wa?A2=LATEX-L;88a2d211.2007&S=

I think we identified the issues, thanks to Joseph Wright and Frank Mittelbach. I've already found fixes, but we will make more tests and try to identify the potential issues with the new implementation.

Michal Hoftich <michal_h21>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Jul 2020 10:58:20 AM EESTmichal_h21Open/ClosedClosed=>Open
    Tue 28 Jul 2020 04:16:38 PM EESTmichal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray