@mathjax/src
    Preparing search index...

    Parser configuration combines the configurations of the currently selected packages.

    Index

    Constructors

    • Parameters

      • packages: (string | [string, number])[]

        A list of packages with optional priorities.

      • parsers: string[] = ...

        The names of the parsers this package targets

      Returns ParserConfiguration

    Properties

    configMethod: FunctionList = ...

    Priority list of init methods to call once jax is ready.

    configurations: PrioritizedList<Configuration> = ...

    An ordered list of cofigurations.

    handlers: SubHandlers = ...

    The subhandlers for this configuration.

    initMethod: FunctionList = ...

    Priority list of init methods.

    items: StackItemConfig = {}

    The collated stack items.

    nodes: { [key: string]: any } = {}

    The collated node creators.

    options: OptionList = {}

    The collated options.

    parsers: string[] = []

    The list of parsers this configuration targets

    tags: TagsConfig = {}

    The collated tag configurations.

    Methods

    • Adds a configuration after the input jax is created. (Used by \require.) Sets items, nodes and runs configuration method explicitly.

      Parameters

      • name: string

        The name of the package to add

      • jax: TeX<any, any, any>

        The TeX jax where it is being registered

      • options: OptionList = {}

        The options for the configuration.

      Returns void

    • Retrieves and adds configuration for a package with priority.

      Parameters

      • pkg: string | [string, number]

        Package with priority.

      Returns void

    • Appends a configuration to the overall configuration object.

      Parameters

      • config: Configuration

        A configuration.

      • Optionalpriority: number

        The configurations optional priority.

      Returns void

    • Init method for when the jax is ready

      Parameters

      • jax: TeX<any, any, any>

        The TeX jax for this configuration

      Returns void

    • Find a package and check that it is for the targeted parser

      Parameters

      • name: string

        The name of the package to check

      Returns Configuration

      The configuration for the package