Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
J
jekyll-scholar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caesr-pub
jekyll-scholar
Commits
120e6255
Commit
120e6255
authored
Sep 09, 2014
by
Sylvester Keil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add embedded bibtex tag
fix #57
parent
4c66f4f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
features/bibtex.feature
features/bibtex.feature
+26
-0
lib/jekyll/scholar.rb
lib/jekyll/scholar.rb
+1
-0
No files found.
features/bibtex.feature
View file @
120e6255
...
...
@@ -63,6 +63,32 @@ Feature: BibTeX
And
the
"_site/references.html"
file should exist
And I should see "Look, an umlaut
:
ü!"
in
"_site/references.html"
@tags
@bibtex
@wip
Scenario
:
Embedded BibTeX
Given I have a scholar configuration with
:
|
key
|
value
|
|
style
|
apa
|
And I have a page "references.md"
:
"""
---
---
References
==========
{% bibtex %}
@book{ruby,
title = {The Ruby Programming Language},
author = {Flanagan, David and Matsumoto, Yukihiro},
year = {2008},
publisher = {O'Reilly Media}
}
{% endbibtex %}
"""
When
I run jekyll
Then
the _site directory should exist
And
the
"_site/references.html"
file should exist
And
I should see
"<i>The Ruby Programming Language</i>"
in
"_site/references.html"
@tags
Scenario
:
Simple Bibliography Loaded From Default Directory
Given I have a scholar configuration with
:
...
...
lib/jekyll/scholar.rb
View file @
120e6255
...
...
@@ -13,6 +13,7 @@ require 'jekyll/scholar/utilities'
require
'jekyll/scholar/converters/bibtex'
require
'jekyll/scholar/tags/bibliography'
require
'jekyll/scholar/tags/bibtex'
require
'jekyll/scholar/tags/cite'
require
'jekyll/scholar/tags/cite_details'
require
'jekyll/scholar/tags/quote'
...
...
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