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

Conceal working in tex does not work in pandoc-markdown (neovim) #346

Open
JanSurft opened this issue Nov 3, 2020 · 0 comments
Open

Conceal working in tex does not work in pandoc-markdown (neovim) #346

JanSurft opened this issue Nov 3, 2020 · 0 comments

Comments

@JanSurft
Copy link

JanSurft commented Nov 3, 2020

When I write specific subscripts in pandoc-markdown some characters do not get concealed the way I expect them to do. It is specifically notable that the concealing works fine in *.tex files but not in a markdown file with pandoc-syntax activated.

Below I included an exmaplatory behaviour that shows the unexpected result.

Setup

# nvim --version

NVIM v0.5.0-799-g186ba3b68
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-5 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/travis/build/neovim/bot-ci/build/neovim/build/config -I/home/travis/build/neovim/bot-ci/build/neovim/src -I/home/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/home/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/home/travis/build/neovim/bot-ci/build/neovim/build/include

Features: +acl +iconv +tui

Example (unconcealed appearance)

As an example this is just a simple math environment where I want to subscript a theta-symbol with an i.

\[ \theta_i \]

Actual concealed appearance

When concealing is run by the pandoc plugin (filetype is pandoc), the \theta does not get concealed with the unicode-symbol.

\theta

Expected concealed appearance (respectively the way it is concealed in a *.tex file)

I would expect the theta of course to render as the unicode-theta symbol. Which it does when I define the above example within a *.tex where the filetype is tex.

θᵢ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant