Skip to content

SVG outputs are rendered as strings in LaTeX #370

@JensHeinrich

Description

@JensHeinrich

Describe the problem

If the output of an command is of type image/svg+xml it is included as string output in LaTeX file

Link to your repository or website

No response

Steps to reproduce

  1. Create notebook with code cell like this
import chess
import chess.svg

board = chess.Board()
board.push(chess.Move.from_uci("d2d4"))
chess.svg.board(board, size=350)
  1. Generate Output
  2. Try to create pdf

The version of Python you're using

No response

Your operating system

No response

Versions of your packages

No response

Additional context

This will probably be fixed by fixing #178

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions