Skip to content

Fix parenthetical citations #189

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

Merged
merged 3 commits into from
Jul 27, 2016
Merged

Fix parenthetical citations #189

merged 3 commits into from
Jul 27, 2016

Conversation

bwhelm
Copy link
Contributor

@bwhelm bwhelm commented Jul 23, 2016

Currently parenthetical citations inside footnotes capture the whole footnote. This avoids that by specifying pandocPCite (and pandocICite and pandocCiteKey) more carefully.

I've also changed the highlighting of citations to make the syntax more visible. This is partly a matter of taste, so I'd be happy to change and/or remove it.

bwhelm added 3 commits July 23, 2016 09:19
Without this, a parenthetical citation inside a footnote captures the
whole footnote.
Change highlighting of citations.
Since we're giving an exhaustive list of all possible characters for
citation keys, we should be greedy in matching them.
@fmoralesc fmoralesc merged commit 34339e2 into vim-pandoc:master Jul 27, 2016
@fmoralesc
Copy link
Member

Thanks! (I squashed the commits and tweaked the message a bit).

@bwhelm bwhelm deleted the PCite branch July 27, 2016 12:03
davenquinn added a commit to davenquinn/vim-pandoc-syntax that referenced this pull request Aug 10, 2018
* master: (70 commits)
  Three improvements to LaTeX highlighting (vim-pandoc#216)
  Add `pandocAmpersandEscape` syntax for &...; special chars (vim-pandoc#205)
  Fix unicode with sub- or superscripts. (vim-pandoc#202)
  Optionally disable definition lists (vim-pandoc#212)
  Add support for tab-indented code blocks (vim-pandoc#207)
  Never conceal \ in \newcommand... (vim-pandoc#197)
  BufFilePRE => BufFilePre (vim-pandoc#199)
  Fixes for parenthetical citations (vim-pandoc#189)
  Fix footnotes. (vim-pandoc#188)
  Fix reference links
  Fix automatic links by restricting characters in mail links.
  Check 'termguicolors' instead of 'nvim'
  fix typo in doc
  fix for upstream issue vim-pandoc#177
  fix typo
  Conceal char for end of code block
  Add cchar for block end
  added endash and emdash support to syntaxt
  fix for neovim
  Use custom syntax group for operators
  ...
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

Successfully merging this pull request may close these issues.

2 participants