diff options
author | Norbert Preining <norbert@preining.info> | 2023-09-06 03:01:07 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-09-06 03:01:07 +0000 |
commit | 30e902c79d7838a9ec84133dec2415eb48968762 (patch) | |
tree | 98f80627e917fc91308cdd784a43e58ce7e187f4 /macros/luatex/generic/blopentype | |
parent | 42959ab19eab5531850a6067d53d13f777ec160b (diff) |
CTAN sync 202309060301
Diffstat (limited to 'macros/luatex/generic/blopentype')
-rw-r--r-- | macros/luatex/generic/blopentype/LICENSE | 2 | ||||
-rw-r--r-- | macros/luatex/generic/blopentype/README.md | 4 | ||||
-rw-r--r-- | macros/luatex/generic/blopentype/luatex/blot-fonts.lua | 10 | ||||
-rw-r--r-- | macros/luatex/generic/blopentype/luatex/blot.tex | 10 |
4 files changed, 19 insertions, 7 deletions
diff --git a/macros/luatex/generic/blopentype/LICENSE b/macros/luatex/generic/blopentype/LICENSE index bfed4c5d96..7fddaeaef8 100644 --- a/macros/luatex/generic/blopentype/LICENSE +++ b/macros/luatex/generic/blopentype/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Luis Rivera +Copyright (c) 2022-2023 Paul Isambert, Luis Rivera Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/macros/luatex/generic/blopentype/README.md b/macros/luatex/generic/blopentype/README.md index c93988bad1..c1d7382d08 100644 --- a/macros/luatex/generic/blopentype/README.md +++ b/macros/luatex/generic/blopentype/README.md @@ -31,8 +31,8 @@ Good luck, and happy LuaTeXing # Authors -Version 0.0.2 (C) 2023 Paul Isambert (author) and Luis Rivera (maintainer). +Version 0.0.3 (C) 2022-2023 Paul Isambert (author) and Luis Rivera (maintainer). LaTeX Project Public License, LPPL Version 1.3c 2008-05-04 or MIT License -June 29, 2023 +September 3, 2023. diff --git a/macros/luatex/generic/blopentype/luatex/blot-fonts.lua b/macros/luatex/generic/blopentype/luatex/blot-fonts.lua index 940fc5de2d..982c595580 100644 --- a/macros/luatex/generic/blopentype/luatex/blot-fonts.lua +++ b/macros/luatex/generic/blopentype/luatex/blot-fonts.lua @@ -128,7 +128,7 @@ local lfs = get_locals {lfs = "dir isdir isfile mkdir", kpse = "expand_var show_ -- Returns anything after the last dot, i.e. an extension. function lfs.extension (s) - return str.lower(str.match(s, "%.([^%.]*)$")) + return str.lower(str.match(s, "%.([^%.]*)$") or "") -- return str.match(s, "%.([^%.]*)$") end @@ -1224,3 +1224,11 @@ local function load_font (name, size, id, done) end callback.register("define_font", load_font) + +--[[ +History +0.0.0 First release +0.0.1 Bugfix +0.0.2 Bugfix on font path search +0.0.3 2023-09-02 Bugfix on font path search: empty file extension among font files +--]]
\ No newline at end of file diff --git a/macros/luatex/generic/blopentype/luatex/blot.tex b/macros/luatex/generic/blopentype/luatex/blot.tex index bad87626b1..09dc58dff1 100644 --- a/macros/luatex/generic/blopentype/luatex/blot.tex +++ b/macros/luatex/generic/blopentype/luatex/blot.tex @@ -1,3 +1,4 @@ +% % blopentype: a basic luatex open type loader % % some (most) pitex macros still in place.- 30.12.2022 @@ -5,7 +6,7 @@ % % User interface % -\message{This is blopentype, v0.0.2 June 2023} +\message{This is blopentype, v0.0.3 September 2023} \input luatex85.sty % deprecated 30.12.2022 \input yax % which itself \input's texapi @@ -212,7 +213,7 @@ \endinput % % These are leftovers from Isambert's code: they'll be removed as -% documentation improved.- 30.12.2022 +% documentation improves.- 30.12.2022 % % This is piTeX, a set of macros I (Paul Isambert) use to % typeset documentations for my packages (that's why it is @@ -257,4 +258,7 @@ % --- blopentype history % % 28-06-2023 fixed bug in blot-fonts.lua which affected nix systems. -% thanks to david.carlisle for useful patch.
\ No newline at end of file +% thanks to david.carlisle for useful patch. +% 02-08-2023 fixed bug in blot-fonts.lua: failure on empty file extension among font files. +% thanks to david.carlisle for useful patch. +% |