[tex4ht] [bug #451] r666 breaks pgfmanual

Henri Menke puszcza at henrimenke.de
Sun Mar 1 03:25:03 CET 2020


URL:
  <http://puszcza.gnu.org.ua/bugs/?451>

                 Summary: r666 breaks pgfmanual
                 Project: tex4ht
            Submitted by: hmenke
            Submitted on: Sun 01 Mar 2020 04:24:20 AM EET
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Generating the pgfmanual for tex4ht started failing recently with the error:

! TeX capacity exceeded, sorry [input stack size=5000].
\use:tikzlibrary #1->\use:tikzlibrary {#1
                                         }\find:externalize #1external\@nil 
l.32 \usetikzlibrary{positioning}

I traced this error back to r666 of tex4ht.  Manually reverting the change,
i.e. adding this code to the preamble removes the error.

\def\@onefilewithoptions#1[#2]{%
   \let\:temp\@reset at ptions
   \def\@reset at ptions{%
      \let\@reset at ptions\:temp
      \edef\TivhTcats{%
   \catcode`:=\the\catcode`:%
   \catcode`@=\the\catcode`@}%
\catcode`\:=11 \catcode`\@=11
\a:usepackage
      \TivhTcats
}%
      \def\:currentoptions{#2}
  \:onefilewithoptions#1[#2]}




    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?451>

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


More information about the tex4ht mailing list.