Skip to content

MathJax not displayed on Print Preview and Download as HTML when used with XPlot.Plotly #195

Closed
@cannorin

Description

@cannorin

Description

LaTeX equations $..$ inside Markdown blocks are rendered in the notebook with MathJax, but not in the print preview and the downloaded HTML.

When used with XPlot.Plotly.fsx, LaTeX equations $..$ inside Markdown blocks are rendered in the notebook with MathJax, but not in the print preview and the downloaded HTML.

Repro steps

  1. Change the cell to Markdown

  2. Enter any LaTeX equation such as $1+2$

3. Execute File>Print Preview

  1. Use #load "XPlot.Plotly.fsx

  2. Execute File>Print Preview

Expected behavior

The equation will get rendered.

Actual behavior

$1+2$ is shown as-is.

Known workarounds

Not known.

Print the notebook directly to a PDF with the browser.

Related information

  • Operating system: Debian GNU/Linux buster/sid
  • Branch: Release 3.0.0
  • .NET Runtime, CoreCLR or Mono Version:
$ mono --version
Mono JIT compiler version 5.18.0.225 (tarball Wed Jan  2 21:21:16 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        Interpreter:   yes
        LLVM:          yes(600)
        Suspend:       preemptive
        GC:            sgen (concurrent by default)
$ dotnet --version
2.2.102

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