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

Fix typos in comments #89

Merged
merged 1 commit into from
Aug 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/asciidoctor-bibtex/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
module AsciidoctorBibtex
module Asciidoctor
# Placeholder paragraph for the bibliography paragraph. Choose a uuid so
# that it is a special word unlikeky to conflict with normal texts.
# that it is a special word unlikely to conflict with normal texts.
BibliographyBlockMacroPlaceholder = %(a5d42deb-3cfc-4293-b96a-fcb47316ce56)

# BibliographyBlockMacro
Expand All @@ -32,7 +32,7 @@ class BibliographyBlockMacro < ::Asciidoctor::Extensions::BlockMacroProcessor

def process(parent, target, attrs)
# NOTE: bibtex-file and bibtex-style set by this macro shall be
# overridable by document attributes and commandline arguments. So we
# overridable by document attributes and command line arguments. So we
# respect the convention here.
if target && (!parent.document.attr? 'bibtex-file')
parent.document.set_attribute 'bibtex-file', target
Expand All @@ -53,7 +53,7 @@ def process(parent, target, attrs)
#
# This processor scans the document, generates a list of citations, replaces
# each citation with citation text and the reference block macro placeholder
# with the final bibliography list. It relys on the block macro processor to
# with the final bibliography list. It relies on the block macro processor to
# generate the place holder.
#
# NOTE: According to the asiidoctor extension policy, the tree processor can
Expand Down