-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latex not rendering #1596
Comments
You need to enable the latex renderer with |
Still doesn't work: {
|
You also need |
when you send code on github you need to use code blocks. local x = "this is a lua code block" It looks like: ```lua
local x = "this is a lua code block"
``` Now. Let's format the code that you sent, specifically this part: ["core.dirman"] = {
config = {
workspaces = {
notes = "~/notes",
},
["core.latex.renderer"] = {},
default_workspace = "notes",
},
} Now, that doesn't look right... You're passing All that said. The latex module is very buggy, and also requires a lot to get working. You need to read the documentation for it. And also the documentation for neorg. The wiki is your friend. |
What's the raw text, you should be doing |
No error, no nothing ;-; {
|
I've got the same issue. No error, just nothing happens. |
back, fixed it just needed to enable some more things: return{
|
Prerequisites
Neovim Version
NVIM v0.10.2
Neorg setup
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
-- Set up both the traditional leader (for keymaps) as well as the local leader (for norg files)
vim.g.mapleader = " "
vim.g.maplocalleader = ","
-- Setup lazy.nvim
require("lazy").setup({
spec = {
{
"rebelot/kanagawa.nvim", -- neorg needs a colorscheme with treesitter support
config = function()
vim.cmd.colorscheme("kanagawa")
end,
},
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
opts = {
ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
highlight = { enable = true },
},
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)
end,
},
{
"nvim-neorg/neorg",
lazy = false,
version = "*",
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/notes",
},
default_workspace = "notes",
},
},
},
}
},
})
Actual behavior
Putting the equation in $ makes it change colour to orange but does nothing.
Expected behavior
It should show the 2 after c to be a power. This doesn't only happen to this equation, latex doesn't work in general
Steps to reproduce
Potentially conflicting plugins
This is the default kickstart config, no plugins.
Other information
On fedora and using kitty(other terminals also dont work btw).
Help
None
Implementation help
I am new to neorg and nvim in general, I am probably doing something wrong but I don't know what, I need someone to tell me what's happening.
The text was updated successfully, but these errors were encountered: