Memory error with tabular and latest Tex4ebook running on Texlive 2018












1















This is a followup of my question here and uses the same MWE and the config file provided by michal.h21.



MWE



documentclass[ebook,12pt,oneside,openany]{memoir}

usepackage{lipsum}

setsecheadstyle{normalsizeitshaperaggedright}%

title{Book}
author{Author}
date{}

begin{document}

maketitle

frontmatter

tableofcontents newpage

mainmatter

chapter{C1}

section{S1}

begin{tabular}{p{0.3hsize}p{0.7hsize}}%
a & b\
end{tabular}

end{document}


Config file:



Preamble{xhtml}
Css{h3.sectionHead{font-style:italic;font-weight:normal;}}
begin{document}

EndPreamble


This gives an error message running Tex4book:



! TeX capacity exceeded, sorry [input stack size=5000].
n:@startpbox: ...expandafter o:@startpbox: fi
{#1}expandafter everypar...
l.26 a
& b\
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.


It worked previously without any problems.



Is there a way to fix this? Thanks.










share|improve this question



























    1















    This is a followup of my question here and uses the same MWE and the config file provided by michal.h21.



    MWE



    documentclass[ebook,12pt,oneside,openany]{memoir}

    usepackage{lipsum}

    setsecheadstyle{normalsizeitshaperaggedright}%

    title{Book}
    author{Author}
    date{}

    begin{document}

    maketitle

    frontmatter

    tableofcontents newpage

    mainmatter

    chapter{C1}

    section{S1}

    begin{tabular}{p{0.3hsize}p{0.7hsize}}%
    a & b\
    end{tabular}

    end{document}


    Config file:



    Preamble{xhtml}
    Css{h3.sectionHead{font-style:italic;font-weight:normal;}}
    begin{document}

    EndPreamble


    This gives an error message running Tex4book:



    ! TeX capacity exceeded, sorry [input stack size=5000].
    n:@startpbox: ...expandafter o:@startpbox: fi
    {#1}expandafter everypar...
    l.26 a
    & b\
    If you really absolutely need more capacity,
    you can ask a wizard to enlarge me.


    It worked previously without any problems.



    Is there a way to fix this? Thanks.










    share|improve this question

























      1












      1








      1








      This is a followup of my question here and uses the same MWE and the config file provided by michal.h21.



      MWE



      documentclass[ebook,12pt,oneside,openany]{memoir}

      usepackage{lipsum}

      setsecheadstyle{normalsizeitshaperaggedright}%

      title{Book}
      author{Author}
      date{}

      begin{document}

      maketitle

      frontmatter

      tableofcontents newpage

      mainmatter

      chapter{C1}

      section{S1}

      begin{tabular}{p{0.3hsize}p{0.7hsize}}%
      a & b\
      end{tabular}

      end{document}


      Config file:



      Preamble{xhtml}
      Css{h3.sectionHead{font-style:italic;font-weight:normal;}}
      begin{document}

      EndPreamble


      This gives an error message running Tex4book:



      ! TeX capacity exceeded, sorry [input stack size=5000].
      n:@startpbox: ...expandafter o:@startpbox: fi
      {#1}expandafter everypar...
      l.26 a
      & b\
      If you really absolutely need more capacity,
      you can ask a wizard to enlarge me.


      It worked previously without any problems.



      Is there a way to fix this? Thanks.










      share|improve this question














      This is a followup of my question here and uses the same MWE and the config file provided by michal.h21.



      MWE



      documentclass[ebook,12pt,oneside,openany]{memoir}

      usepackage{lipsum}

      setsecheadstyle{normalsizeitshaperaggedright}%

      title{Book}
      author{Author}
      date{}

      begin{document}

      maketitle

      frontmatter

      tableofcontents newpage

      mainmatter

      chapter{C1}

      section{S1}

      begin{tabular}{p{0.3hsize}p{0.7hsize}}%
      a & b\
      end{tabular}

      end{document}


      Config file:



      Preamble{xhtml}
      Css{h3.sectionHead{font-style:italic;font-weight:normal;}}
      begin{document}

      EndPreamble


      This gives an error message running Tex4book:



      ! TeX capacity exceeded, sorry [input stack size=5000].
      n:@startpbox: ...expandafter o:@startpbox: fi
      {#1}expandafter everypar...
      l.26 a
      & b\
      If you really absolutely need more capacity,
      you can ask a wizard to enlarge me.


      It worked previously without any problems.



      Is there a way to fix this? Thanks.







      tables memoir tex4ebook texlive-2018






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 21 at 22:30









      user41974user41974

      390211




      390211






















          1 Answer
          1






          active

          oldest

          votes


















          2














          It seems that some packages have been recently removed from Memoir:




          Changed (2018/12/12)



          o memoir v3.7h



          -- The following packages are no longer embedded into the class sources: array, delarray, dcolumn and tabularx.




          tex4ht config file for Memoir includes configurations for these packages and it seems there is a clash somewhere. Fortunately, disabling loading of these files from memoir.4ht seems to fix the error:



          % memoir.4ht (2019-01-16-14:31), generated from tex4ht-4ht.tex
          % Copyright 2003-2009 Eitan M. Gurari
          % Copyright 2009-2019 TeX Users Group
          %
          % This work may be distributed and/or modified under the
          % conditions of the LaTeX Project Public License, either
          % version 1.3c of this license or (at your option) any
          % later version. The latest version of this license is in
          % http://www.latex-project.org/lppl.txt
          % and version 1.3c or later is part of all distributions
          % of LaTeX version 2005/12/01 or later.
          %
          % This work has the LPPL maintenance status "maintained".
          %
          % The Current Maintainer of this work
          % is the TeX4ht Project <http://tug.org/tex4ht>.
          %
          % If you modify this program, changing the
          % version identification would be appreciated.
          immediatewrite-1{version 2019-01-16-14:31}

          input book.4ht
          input verse.4ht
          % Table handling:
          % input array.4ht
          % input dcolumn.4ht
          % input tabularx.4ht
          input booktabs.4ht
          letcolumnlinesempty

          letrmempty
          letsfempty
          letttempty
          letbfempty
          letitempty

          def@chapter[#1]#2{%
          gHAdvance:mpNum by 1
          HAssignminipageNum=:mpNum relax
          %
          {SkipRefstepAnchor letaddcontentsline:gobbleIIIno@chapter[#1]{}%
          globalletf@rtocf@rtoc
          ifxf@rtocemptygdeff@rtoc{#2}fi
          globalletf@rhdrf@rhdr }%
          HtmlEnv Toc:Title{f@rtoc}:chapter{#2}}
          def:tempc{@ifstaro:tableofcontents:o:tableofcontents:}
          HLettableofcontents:tempc
          NewConfigure{poemline}{2}
          NewConfigure{legend}{2}
          renewcommandlegend[1]{a:legend #1b:legend}

          ifx memgobble:UnDef
          pend:defIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIgetthelinenumber{letthepoemlinesv:thepoemline}

          else
          pend:defIIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIIgetthelinenumber{letthepoemlinesv:thepoemline}

          letno@MsectM@sect
          NewConfigure{@sec @ssect}[1]{%
          defrdef:sec##1{#1csname no@##1endcsname}}
          :CheckOption{sections-} if:Option
          Configure{@sec @ssect}{}
          else
          Configure{@sec @ssect}{%
          letsv:Sc:Sc letsv:sect@sect letsv:ssect@ssect
          letsv:MsectM@sect
          let:Sc:gobble
          defM@sect##1##2##3##4##5##6[##7][##8]##9{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          letM@sectno@Msect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@Msect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}][{##8}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##8}csname no:#1endcsname{##9}}%
          %
          def@sect##1##2##3##4##5##6[##7]##8{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          let@sectno@sect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@sect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##7}csname no:#1endcsname{##8}}%
          %
          def@ssect##1##2##3##4##5{%
          gdefssect:ttl{##5}%
          %
          let@ssectno@ssect
          {defaddcontentsline####1####2####3{}%
          no@ssect{##1}{##2}{##3}{##4}{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          HtmlEnv csname :like#1endcsname{##5}}%
          IgnorePar}
          fi

          fi
          Hinput{memoir}
          endinput


          enter image description here






          share|improve this answer
























          • Many thanks for the fix.

            – user41974
            Jan 22 at 0:19











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471215%2fmemory-error-with-tabular-and-latest-tex4ebook-running-on-texlive-2018%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          It seems that some packages have been recently removed from Memoir:




          Changed (2018/12/12)



          o memoir v3.7h



          -- The following packages are no longer embedded into the class sources: array, delarray, dcolumn and tabularx.




          tex4ht config file for Memoir includes configurations for these packages and it seems there is a clash somewhere. Fortunately, disabling loading of these files from memoir.4ht seems to fix the error:



          % memoir.4ht (2019-01-16-14:31), generated from tex4ht-4ht.tex
          % Copyright 2003-2009 Eitan M. Gurari
          % Copyright 2009-2019 TeX Users Group
          %
          % This work may be distributed and/or modified under the
          % conditions of the LaTeX Project Public License, either
          % version 1.3c of this license or (at your option) any
          % later version. The latest version of this license is in
          % http://www.latex-project.org/lppl.txt
          % and version 1.3c or later is part of all distributions
          % of LaTeX version 2005/12/01 or later.
          %
          % This work has the LPPL maintenance status "maintained".
          %
          % The Current Maintainer of this work
          % is the TeX4ht Project <http://tug.org/tex4ht>.
          %
          % If you modify this program, changing the
          % version identification would be appreciated.
          immediatewrite-1{version 2019-01-16-14:31}

          input book.4ht
          input verse.4ht
          % Table handling:
          % input array.4ht
          % input dcolumn.4ht
          % input tabularx.4ht
          input booktabs.4ht
          letcolumnlinesempty

          letrmempty
          letsfempty
          letttempty
          letbfempty
          letitempty

          def@chapter[#1]#2{%
          gHAdvance:mpNum by 1
          HAssignminipageNum=:mpNum relax
          %
          {SkipRefstepAnchor letaddcontentsline:gobbleIIIno@chapter[#1]{}%
          globalletf@rtocf@rtoc
          ifxf@rtocemptygdeff@rtoc{#2}fi
          globalletf@rhdrf@rhdr }%
          HtmlEnv Toc:Title{f@rtoc}:chapter{#2}}
          def:tempc{@ifstaro:tableofcontents:o:tableofcontents:}
          HLettableofcontents:tempc
          NewConfigure{poemline}{2}
          NewConfigure{legend}{2}
          renewcommandlegend[1]{a:legend #1b:legend}

          ifx memgobble:UnDef
          pend:defIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIgetthelinenumber{letthepoemlinesv:thepoemline}

          else
          pend:defIIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIIgetthelinenumber{letthepoemlinesv:thepoemline}

          letno@MsectM@sect
          NewConfigure{@sec @ssect}[1]{%
          defrdef:sec##1{#1csname no@##1endcsname}}
          :CheckOption{sections-} if:Option
          Configure{@sec @ssect}{}
          else
          Configure{@sec @ssect}{%
          letsv:Sc:Sc letsv:sect@sect letsv:ssect@ssect
          letsv:MsectM@sect
          let:Sc:gobble
          defM@sect##1##2##3##4##5##6[##7][##8]##9{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          letM@sectno@Msect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@Msect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}][{##8}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##8}csname no:#1endcsname{##9}}%
          %
          def@sect##1##2##3##4##5##6[##7]##8{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          let@sectno@sect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@sect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##7}csname no:#1endcsname{##8}}%
          %
          def@ssect##1##2##3##4##5{%
          gdefssect:ttl{##5}%
          %
          let@ssectno@ssect
          {defaddcontentsline####1####2####3{}%
          no@ssect{##1}{##2}{##3}{##4}{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          HtmlEnv csname :like#1endcsname{##5}}%
          IgnorePar}
          fi

          fi
          Hinput{memoir}
          endinput


          enter image description here






          share|improve this answer
























          • Many thanks for the fix.

            – user41974
            Jan 22 at 0:19
















          2














          It seems that some packages have been recently removed from Memoir:




          Changed (2018/12/12)



          o memoir v3.7h



          -- The following packages are no longer embedded into the class sources: array, delarray, dcolumn and tabularx.




          tex4ht config file for Memoir includes configurations for these packages and it seems there is a clash somewhere. Fortunately, disabling loading of these files from memoir.4ht seems to fix the error:



          % memoir.4ht (2019-01-16-14:31), generated from tex4ht-4ht.tex
          % Copyright 2003-2009 Eitan M. Gurari
          % Copyright 2009-2019 TeX Users Group
          %
          % This work may be distributed and/or modified under the
          % conditions of the LaTeX Project Public License, either
          % version 1.3c of this license or (at your option) any
          % later version. The latest version of this license is in
          % http://www.latex-project.org/lppl.txt
          % and version 1.3c or later is part of all distributions
          % of LaTeX version 2005/12/01 or later.
          %
          % This work has the LPPL maintenance status "maintained".
          %
          % The Current Maintainer of this work
          % is the TeX4ht Project <http://tug.org/tex4ht>.
          %
          % If you modify this program, changing the
          % version identification would be appreciated.
          immediatewrite-1{version 2019-01-16-14:31}

          input book.4ht
          input verse.4ht
          % Table handling:
          % input array.4ht
          % input dcolumn.4ht
          % input tabularx.4ht
          input booktabs.4ht
          letcolumnlinesempty

          letrmempty
          letsfempty
          letttempty
          letbfempty
          letitempty

          def@chapter[#1]#2{%
          gHAdvance:mpNum by 1
          HAssignminipageNum=:mpNum relax
          %
          {SkipRefstepAnchor letaddcontentsline:gobbleIIIno@chapter[#1]{}%
          globalletf@rtocf@rtoc
          ifxf@rtocemptygdeff@rtoc{#2}fi
          globalletf@rhdrf@rhdr }%
          HtmlEnv Toc:Title{f@rtoc}:chapter{#2}}
          def:tempc{@ifstaro:tableofcontents:o:tableofcontents:}
          HLettableofcontents:tempc
          NewConfigure{poemline}{2}
          NewConfigure{legend}{2}
          renewcommandlegend[1]{a:legend #1b:legend}

          ifx memgobble:UnDef
          pend:defIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIgetthelinenumber{letthepoemlinesv:thepoemline}

          else
          pend:defIIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIIgetthelinenumber{letthepoemlinesv:thepoemline}

          letno@MsectM@sect
          NewConfigure{@sec @ssect}[1]{%
          defrdef:sec##1{#1csname no@##1endcsname}}
          :CheckOption{sections-} if:Option
          Configure{@sec @ssect}{}
          else
          Configure{@sec @ssect}{%
          letsv:Sc:Sc letsv:sect@sect letsv:ssect@ssect
          letsv:MsectM@sect
          let:Sc:gobble
          defM@sect##1##2##3##4##5##6[##7][##8]##9{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          letM@sectno@Msect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@Msect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}][{##8}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##8}csname no:#1endcsname{##9}}%
          %
          def@sect##1##2##3##4##5##6[##7]##8{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          let@sectno@sect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@sect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##7}csname no:#1endcsname{##8}}%
          %
          def@ssect##1##2##3##4##5{%
          gdefssect:ttl{##5}%
          %
          let@ssectno@ssect
          {defaddcontentsline####1####2####3{}%
          no@ssect{##1}{##2}{##3}{##4}{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          HtmlEnv csname :like#1endcsname{##5}}%
          IgnorePar}
          fi

          fi
          Hinput{memoir}
          endinput


          enter image description here






          share|improve this answer
























          • Many thanks for the fix.

            – user41974
            Jan 22 at 0:19














          2












          2








          2







          It seems that some packages have been recently removed from Memoir:




          Changed (2018/12/12)



          o memoir v3.7h



          -- The following packages are no longer embedded into the class sources: array, delarray, dcolumn and tabularx.




          tex4ht config file for Memoir includes configurations for these packages and it seems there is a clash somewhere. Fortunately, disabling loading of these files from memoir.4ht seems to fix the error:



          % memoir.4ht (2019-01-16-14:31), generated from tex4ht-4ht.tex
          % Copyright 2003-2009 Eitan M. Gurari
          % Copyright 2009-2019 TeX Users Group
          %
          % This work may be distributed and/or modified under the
          % conditions of the LaTeX Project Public License, either
          % version 1.3c of this license or (at your option) any
          % later version. The latest version of this license is in
          % http://www.latex-project.org/lppl.txt
          % and version 1.3c or later is part of all distributions
          % of LaTeX version 2005/12/01 or later.
          %
          % This work has the LPPL maintenance status "maintained".
          %
          % The Current Maintainer of this work
          % is the TeX4ht Project <http://tug.org/tex4ht>.
          %
          % If you modify this program, changing the
          % version identification would be appreciated.
          immediatewrite-1{version 2019-01-16-14:31}

          input book.4ht
          input verse.4ht
          % Table handling:
          % input array.4ht
          % input dcolumn.4ht
          % input tabularx.4ht
          input booktabs.4ht
          letcolumnlinesempty

          letrmempty
          letsfempty
          letttempty
          letbfempty
          letitempty

          def@chapter[#1]#2{%
          gHAdvance:mpNum by 1
          HAssignminipageNum=:mpNum relax
          %
          {SkipRefstepAnchor letaddcontentsline:gobbleIIIno@chapter[#1]{}%
          globalletf@rtocf@rtoc
          ifxf@rtocemptygdeff@rtoc{#2}fi
          globalletf@rhdrf@rhdr }%
          HtmlEnv Toc:Title{f@rtoc}:chapter{#2}}
          def:tempc{@ifstaro:tableofcontents:o:tableofcontents:}
          HLettableofcontents:tempc
          NewConfigure{poemline}{2}
          NewConfigure{legend}{2}
          renewcommandlegend[1]{a:legend #1b:legend}

          ifx memgobble:UnDef
          pend:defIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIgetthelinenumber{letthepoemlinesv:thepoemline}

          else
          pend:defIIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIIgetthelinenumber{letthepoemlinesv:thepoemline}

          letno@MsectM@sect
          NewConfigure{@sec @ssect}[1]{%
          defrdef:sec##1{#1csname no@##1endcsname}}
          :CheckOption{sections-} if:Option
          Configure{@sec @ssect}{}
          else
          Configure{@sec @ssect}{%
          letsv:Sc:Sc letsv:sect@sect letsv:ssect@ssect
          letsv:MsectM@sect
          let:Sc:gobble
          defM@sect##1##2##3##4##5##6[##7][##8]##9{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          letM@sectno@Msect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@Msect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}][{##8}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##8}csname no:#1endcsname{##9}}%
          %
          def@sect##1##2##3##4##5##6[##7]##8{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          let@sectno@sect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@sect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##7}csname no:#1endcsname{##8}}%
          %
          def@ssect##1##2##3##4##5{%
          gdefssect:ttl{##5}%
          %
          let@ssectno@ssect
          {defaddcontentsline####1####2####3{}%
          no@ssect{##1}{##2}{##3}{##4}{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          HtmlEnv csname :like#1endcsname{##5}}%
          IgnorePar}
          fi

          fi
          Hinput{memoir}
          endinput


          enter image description here






          share|improve this answer













          It seems that some packages have been recently removed from Memoir:




          Changed (2018/12/12)



          o memoir v3.7h



          -- The following packages are no longer embedded into the class sources: array, delarray, dcolumn and tabularx.




          tex4ht config file for Memoir includes configurations for these packages and it seems there is a clash somewhere. Fortunately, disabling loading of these files from memoir.4ht seems to fix the error:



          % memoir.4ht (2019-01-16-14:31), generated from tex4ht-4ht.tex
          % Copyright 2003-2009 Eitan M. Gurari
          % Copyright 2009-2019 TeX Users Group
          %
          % This work may be distributed and/or modified under the
          % conditions of the LaTeX Project Public License, either
          % version 1.3c of this license or (at your option) any
          % later version. The latest version of this license is in
          % http://www.latex-project.org/lppl.txt
          % and version 1.3c or later is part of all distributions
          % of LaTeX version 2005/12/01 or later.
          %
          % This work has the LPPL maintenance status "maintained".
          %
          % The Current Maintainer of this work
          % is the TeX4ht Project <http://tug.org/tex4ht>.
          %
          % If you modify this program, changing the
          % version identification would be appreciated.
          immediatewrite-1{version 2019-01-16-14:31}

          input book.4ht
          input verse.4ht
          % Table handling:
          % input array.4ht
          % input dcolumn.4ht
          % input tabularx.4ht
          input booktabs.4ht
          letcolumnlinesempty

          letrmempty
          letsfempty
          letttempty
          letbfempty
          letitempty

          def@chapter[#1]#2{%
          gHAdvance:mpNum by 1
          HAssignminipageNum=:mpNum relax
          %
          {SkipRefstepAnchor letaddcontentsline:gobbleIIIno@chapter[#1]{}%
          globalletf@rtocf@rtoc
          ifxf@rtocemptygdeff@rtoc{#2}fi
          globalletf@rhdrf@rhdr }%
          HtmlEnv Toc:Title{f@rtoc}:chapter{#2}}
          def:tempc{@ifstaro:tableofcontents:o:tableofcontents:}
          HLettableofcontents:tempc
          NewConfigure{poemline}{2}
          NewConfigure{legend}{2}
          renewcommandlegend[1]{a:legend #1b:legend}

          ifx memgobble:UnDef
          pend:defIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIgetthelinenumber{letthepoemlinesv:thepoemline}

          else
          pend:defIIgetthelinenumber{%
          letsv:thepoemlinethepoemline
          pend:defthepoemline{a:poemline}%
          append:defthepoemline{b:poemline}}
          append:defIIgetthelinenumber{letthepoemlinesv:thepoemline}

          letno@MsectM@sect
          NewConfigure{@sec @ssect}[1]{%
          defrdef:sec##1{#1csname no@##1endcsname}}
          :CheckOption{sections-} if:Option
          Configure{@sec @ssect}{}
          else
          Configure{@sec @ssect}{%
          letsv:Sc:Sc letsv:sect@sect letsv:ssect@ssect
          letsv:MsectM@sect
          let:Sc:gobble
          defM@sect##1##2##3##4##5##6[##7][##8]##9{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          letM@sectno@Msect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@Msect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}][{##8}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##8}csname no:#1endcsname{##9}}%
          %
          def@sect##1##2##3##4##5##6[##7]##8{%
          ifx o:@seccntformat::UnDef
          leto:@seccntformat:@seccntformat
          fi
          let@seccntformat:gobble
          %
          let@sectno@sect xdefc:secnumdepth{##2}%
          {SkipRefstepAnchor letaddcontentsline:gobbleIII letmark:gobble
          no@sect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          let@seccntformat=o:@seccntformat:
          %
          HtmlEnv Toc:Title{##7}csname no:#1endcsname{##8}}%
          %
          def@ssect##1##2##3##4##5{%
          gdefssect:ttl{##5}%
          %
          let@ssectno@ssect
          {defaddcontentsline####1####2####3{}%
          no@ssect{##1}{##2}{##3}{##4}{}}%
          let:Scsv:Sc let@sectsv:sect let@ssectsv:ssect
          letM@sectsv:Msect
          %
          HtmlEnv csname :like#1endcsname{##5}}%
          IgnorePar}
          fi

          fi
          Hinput{memoir}
          endinput


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 21 at 22:46









          michal.h21michal.h21

          30.9k447104




          30.9k447104













          • Many thanks for the fix.

            – user41974
            Jan 22 at 0:19



















          • Many thanks for the fix.

            – user41974
            Jan 22 at 0:19

















          Many thanks for the fix.

          – user41974
          Jan 22 at 0:19





          Many thanks for the fix.

          – user41974
          Jan 22 at 0:19


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471215%2fmemory-error-with-tabular-and-latest-tex4ebook-running-on-texlive-2018%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?