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 BibTex references #96

Open
ModProg opened this issue May 1, 2021 · 2 comments
Open

Conceal BibTex references #96

ModProg opened this issue May 1, 2021 · 2 comments

Comments

@ModProg
Copy link

ModProg commented May 1, 2021

When using AsciiDoctor-BibTex, citations are not concealed.

Maybe it could be possible to go to the referenced file.

btw is it possible to follow crossreferences?

<<a,text>> [[a]]
@habamax
Copy link
Owner

habamax commented May 1, 2021

When using AsciiDoctor-BibTex, citations are not concealed.

Nobody did this, so yes they are not concealed.

Maybe it could be possible to go to the referenced file.

Probably, not sure if it would be possible to enhance gf.

btw is it possible to follow crossreferences?

Not out of the box. There are couple of options: 1. your own ctags enhancements to get into account crossreferences, or 2. come up with your own "search in a buffer for a crossreference under cursor".

@ModProg
Copy link
Author

ModProg commented May 1, 2021

Nobody did this, so yes they are not concealed.

I looked into it a bit, so far i tjink the only thing possible would be to format as [identifier],

Maybe it could be possible to go to the referenced file.

Probably, not sure if it would be possible to enhance gf.

btw is it possible to follow crossreferences?

Not out of the box. There are couple of options: 1. your own ctags enhancements to get into account crossreferences, or 2. come up with your own "search in a buffer for a crossreference under cursor".

I think instead of gf, maybe gd (goto definition) is better, and gr than to get back from the cross referenced value.

Maybe I'll look into this a little.

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

2 participants