Skip to content

Autoloading of color extension not working #31

@pkra

Description

@pkra

E.g.,

$ node bin/tex2svg --inline '\definecolor{red}{RGB}{255,0,0}\color{red}e^{i \pi} + 1 = 0'

returns with

TeX parse error: Undefined control sequence \definecolor

But

$ node bin/tex2svg --inline '\require{color}\definecolor{red}{RGB}{255,0,0}\color{red}e^{i \pi} + 1 = 0'

works fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions