Skip to content

Commit 7917239

Browse files
author
Ken Arroyo Ohori
committed
Overdot and extra debug message
1 parent cf3ee98 commit 7917239

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

_plugins/imbiber.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class NameParser < Parslet::Parser
100100
rule(:speciallyencodedletter) { str('---') | str('--') | str('``') | str('`') | str('\'\'') | str('\'') }
101101
rule(:escapedletter) { str('\\') >> str('&') }
102102
rule(:letterwithmodifier) { str('\\') >> modifier >> (bracketedletter | letter) }
103-
rule(:modifier) { str("\'") | str("\"") | str("\^") | str("\`") | str("c") | str("v") | str("~") | str("=") }
103+
rule(:modifier) { str("\'") | str("\"") | str("\^") | str("\`") | str("c") | str("v") | str("~") | str("=") | str(".") }
104104

105105
end
106106

@@ -190,7 +190,7 @@ class TextParser < Parslet::Parser
190190
rule(:speciallyencodedletter) { str('---') | str('--') | str('``') | str('`') | str('\'\'') | str('\'') }
191191
rule(:escapedletter) { str('\\') >> str('&') }
192192
rule(:letterwithmodifier) { str('\\') >> modifier >> (bracketedletter | letter) }
193-
rule(:modifier) { str("\'") | str("\"") | str("\^") | str("\`") | str("c") | str("v") | str("~") | str("=") }
193+
rule(:modifier) { str("\'") | str("\"") | str("\^") | str("\`") | str("c") | str("v") | str("~") | str("=") | str(".") }
194194

195195
end
196196

@@ -421,6 +421,9 @@ def read(path)
421421
end
422422

423423
def html_of(key)
424+
425+
puts "html of " + key.to_s
426+
424427
if !@entries.has_key?(key) then
425428
return ""
426429
end

_plugins/specialletters.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ class SpecialLetters
113113
"\\=O" => "Ō",
114114
"\\=U" => "Ū",
115115
"\\=Y" => "Ȳ",
116+
117+
"\\.e" => "ė",
118+
"\\.E" => "Ė",
116119
}
117120

118121
def convert(letter)

0 commit comments

Comments
 (0)