Skip to content
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

Unicode character '❯' (U+276F) in autocompleted tags causes LaTeX errors with Pandoc #720

Open
yuukibarns opened this issue Sep 21, 2024 · 0 comments · May be fixed by #723
Open

Unicode character '❯' (U+276F) in autocompleted tags causes LaTeX errors with Pandoc #720

yuukibarns opened this issue Sep 21, 2024 · 0 comments · May be fixed by #723
Labels
bug Something isn't working

Comments

@yuukibarns
Copy link

🐛 Describe the bug

When using the obsidian.nvim plugin to autocomplete tags in Obsidian notes, the Unicode character "❯" (U+276F) is inserted into the tags. This causes LaTeX errors when attempting to convert the notes to PDF using Pandoc.

Steps to Reproduce:

  1. Open Neovim with the obsidian.nvim plugin installed.
  2. Attempt to autocomplete tags in an Obsidian note.
  3. Use Pandoc to convert the note to PDF.
  4. Observe the LaTeX error:

Error producing PDF.
! LaTeX Error: Unicode character ❯ (U+276F)
not set up for use with LaTeX.

Expected Behavior:

The tags should not contain the Unicode character "❯".

Actual Behavior:

The tags contain the Unicode character "❯", causing LaTeX errors.

Config

{
	"epwalsh/obsidian.nvim",
	version = "*",
	ft = "markdown",
	dependencies = {
		"nvim-lua/plenary.nvim",
	},
	opts = {
		workspaces = {
			{
				name = "personal",
				path = "~/vaults/personal",
			},
			{
				name = "work",
				path = "~/vaults/work",
			},
		},
		mappings = {
			["gf"] = {
				action = function()
					return require("obsidian").util.gf_passthrough()
				end,
				opts = { noremap = false, expr = true, buffer = true },
			},
		},
		ui = {
			enable = false,
		},
	},
},

Environment

NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info

@yuukibarns yuukibarns added the bug Something isn't working label Sep 21, 2024
@yuukibarns yuukibarns linked a pull request Sep 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant