Skip to content

Commit c15861a

Browse files
authored
Merge pull request #41 from Kolaru/hotfix_only
Hotfix for 1.3
2 parents 8ee2ae6 + b3bb866 commit c15861a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
version:
1818
- '1.6'
19-
- '1.5'
19+
- '1.3'
2020
os:
2121
- ubuntu-latest
2222
arch:

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MathTeXEngine"
22
uuid = "0a4f8689-d25c-4efe-a92b-7142dfc1aa53"
33
authors = ["Benoît Richard <kolaru@hotmail.com>"]
4-
version = "0.3.0"
4+
version = "0.3.1"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

src/engine/computer_modern_data.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ _symbol_to_computer_modern = Dict{Char, Tuple{String, Char}}()
231231

232232
for (symbol, (fontname, id)) in _latex_to_computer_modern
233233
if haskey(latex_symbols, symbol)
234-
symbol = only(latex_symbols[symbol])
234+
symbol = latex_symbols[symbol][1]
235235
else
236-
symbol = only(symbol)
236+
symbol = symbol[1]
237237
end
238238

239239
fontpath = joinpath("ComputerModern", "$fontname.ttf")

0 commit comments

Comments
 (0)