Skip to content

nbconvert inline \mathbf ($\mathbf {x}$) fails to export to PDF #2217

@frohro

Description

@frohro

Hi,
I have a notebook with just this:
$\mathbf {x}$
When I try to export to pdf using jupyter nbconvert, I get this error:

! LaTeX Error: \mathbf allowed only in math mode.

See the LaTeX manual or LaTeX Companion for explanation.

If I put
$$\mathbf{x}$$
with two dollar signs (on its own line), it works fine.

I'm enclosing a .zip with the not-working line.

Thanks for fixing bugs!

Rob

Untitled1.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions