Skip to content

latexmlc segmentation fault.  #764

Description

@kohlhase

I want to use LaTeXML to generate publication pages. You can see the current state of my efforts at http://github.com/KWARC/bibs I have a couple of problems here, of which the segmentation fault is just the most worrying.

In the repository I have four large bibliography files and the plan for generating publication files is

  1. generate XML versions of all of these files via LaTeXML
  2. generate a LaTeX file with \nocites for all the relevant publications by an XSLT stylesheet
  3. run LaTeXML on this file, done.
    So far so simple (in theory). But I get errors I would like to have help with. To reproduce them just clone the repository http://github.com/KWARC/bibs (sorry could not really whittle down the problems).

When I do make kwarcpubs.bib.xml (corresponding to step 1. in the plan above), I get 14 errors of the form

Error:unexpected:_ Script _ can only appear in math mode
    Literal String \begin{bib#textrange(from=392;0,to=392;34)
    In Core::Definition::Primitive[Subscript] from TeX.pool.ltxml line 3412
     <= Core::Stomach[@0x7fcd366e4690] <= Core::Definition::Primitive[Begin] <= Core::Stomach[@0x7fcd366e4690] <= ...

only that the line in the textranges do not have underscores in the bibTeX source. I am not sure what happens there. But the result looks OK visually. But that does not really help me, since
when I do make extpubs.bib.xml I get a fatal due to too many errors.

When I do make mkohlhase-article.html, I get

make mkohlhase-article.html 
latexmlc --bibliography=kwarcpubs.bib.xml --bibliography=kwarccrossrefs.bib.xml --bibliography=extcrossrefs.bib.xml --format=html5 --destination=mkohlhase-article.html --log=mkohlhase-article.tex.ltxlog --css=bib.css mkohlhase-article.tex
No obvious problems
Wrote mkohlhase-article.html
make: *** [mkohlhase-article.html] Segmentation fault: 11
make: *** Deleting file `mkohlhase-article.html'

So there seems to be a problem in the postprocessing, but I cannot really track it down.
I would be grateful for any kind of fix.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions