Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
caesr-pub
jekyll-scholar
Commits
ee1f6a1d
Commit
ee1f6a1d
authored
Apr 05, 2013
by
Artem Shinkarov
Browse files
Fixing broken '(missing reference)'
parent
10701e28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lib/jekyll/scholar/utilities.rb
lib/jekyll/scholar/utilities.rb
+1
-2
No files found.
lib/jekyll/scholar/utilities.rb
View file @
ee1f6a1d
...
...
@@ -114,12 +114,11 @@ module Jekyll
end
def
cite
(
key
)
entry
=
bibliography
[
key
].
convert
(
:latex
)
context
[
'cited'
]
||=
[]
context
[
'cited'
]
<<
key
if
bibliography
.
key?
(
key
)
entry
=
bibliography
[
key
].
convert
(
:latex
)
citation
=
CiteProc
.
process
entry
.
to_citeproc
,
:style
=>
config
[
'style'
],
:locale
=>
config
[
'locale'
],
:format
=>
'html'
,
:mode
=>
:citation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment