Skip to content

incorrect inline math rendering #1725

@ZreXoc

Description

@ZreXoc

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

v0.11.3

Neorg setup

return {
{
"nvim-neorg/neorg",
version = "*",
event = "VeryLazy",
config = function()
local mod = {
["core.defaults"] = {},
["core.highlights"] = {
rendered = {
latex = "@Normal",
},
},
["core.concealer"] = {},
["core.export"] = {},

            ["core.latex.renderer"] = {
                --conceal=false,
                --render_on_enter = true
            },
            ["core.dirman"] = {
                config = {
                    workspaces = {
                        ai = "~/Documents/notes/ai",
                    },
                    index = "index.norg", -- The name of the main (root) .norg file
                },
            },
        }

        if not vim.g.neovide then
            mod["core.integrations.image"] = {}
        end
  
        require("neorg").setup({
            load = mod,
            engine = "nvim-cmp",
        })
    end,
},

}

Actual behavior

Image
Lorem ipsum dolor sit $|\alpha|$, consectetur adipisicing elit

Lorem ipsum dolor sit $|\alpha|$, consectetur adipisicing elit

Lorem ipsum dolor $| \theta |$ amet, consectetur $| \alpha |$ elit, sed  $| \gamma |$ s
  • inline math in first line didn't show up
  • inline math is not in correct place

Expected behavior

inline math should be in their right place

Steps to reproduce

  1. setup neorg
  2. open kitty or wezterm
  3. edit a norg file and write some inline math
  4. Neorg render-latex enable

Potentially conflicting plugins

No response

Other information

No response

Help

None

Implementation help

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues related to bugs. Please attach a severity, a priority and category with this label.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions