summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-09 20:59:18 +0000
committerKarl Berry <karl@freefriends.org>2022-02-09 20:59:18 +0000
commit12711ed06b70a69b2cc517154c0c4b04c93ba15b (patch)
treef5aa4b612cdcb7ab044b502b774934350264f97e
parent9c9ae10322d799b792c7a69cb4c19a4efa2a81a5 (diff)
luafindfont (9feb22)
git-svn-id: svn://tug.org/texlive/trunk@61959 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua7
-rw-r--r--Master/texmf-dist/doc/man/man1/luafindfont.12
-rw-r--r--Master/texmf-dist/doc/man/man1/luafindfont.man1.pdfbin25666 -> 25730 bytes
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/CHANGELOG1
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdfbin81195 -> 81252 bytes
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex2
-rwxr-xr-xMaster/texmf-dist/scripts/luafindfont/luafindfont.lua7
7 files changed, 9 insertions, 10 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua b/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua
index fc7a6b6577e..2008194bb7f 100755
--- a/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua
+++ b/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env texlua
--- % $Id: luafindfont.lua 330 2021-11-28 13:47:56Z herbert $
-----------------------------------------------------------------------
-- FILE: luafindfont.lua
@@ -8,7 +7,7 @@
-- AUTHOR: Herbert Voß (C) 2021-11-27
-----------------------------------------------------------------------
luafindfont = luafindfont or { }
- local version = 0.05
+ local version = 0.06
luafindfont.version = version
--[[
@@ -55,7 +54,7 @@ local i = 1
while i <= #arg do
if arg[i] == "-h" or arg[i] == "--help" then
print("Version "..version..", Copyright 2021 by Herbert Voß")
- print([[Syntax: luafintfont [options] <font>
+ print([[Syntax: luafindfont [options] <font>
By default the Lua program 'luafindfont' creates a list of the
fonts which have in its names the given string.
@@ -123,7 +122,7 @@ if #font_str == 1 then font_str[2] = "" end
local luaVersion = _VERSION
print("We are using "..luaVersion)
-if #font_str > 1 then
+if font_str[2] ~= "" then
print('Looking for font \"'..font_str[1]..' & '..font_str[2]..'\"')
else
print('Looking for font \"'..font_str[1]..'\"')
diff --git a/Master/texmf-dist/doc/man/man1/luafindfont.1 b/Master/texmf-dist/doc/man/man1/luafindfont.1
index 61bd90fd279..50186a9f523 100644
--- a/Master/texmf-dist/doc/man/man1/luafindfont.1
+++ b/Master/texmf-dist/doc/man/man1/luafindfont.1
@@ -1,6 +1,6 @@
.\" Manpage for luafindfont.
.\" Contact hvoss@tug.org to correct errors or typos.
-.TH luafindfont 1 "04 dec 2021" "0.05" "luafindfont man page"
+.TH luafindfont 1 "08 feb 2022" "0.06" "luafindfont man page"
.SH NAME
luafindfont
\- retrieve font informations of all installed system and TeX fonts.
diff --git a/Master/texmf-dist/doc/man/man1/luafindfont.man1.pdf b/Master/texmf-dist/doc/man/man1/luafindfont.man1.pdf
index 842957b750a..5bc9eec523c 100644
--- a/Master/texmf-dist/doc/man/man1/luafindfont.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/luafindfont.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/luafindfont/CHANGELOG b/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
index 8adced619b7..c71c5f90c5c 100644
--- a/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
+++ b/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
@@ -1,3 +1,4 @@
+0.06 2022-02-08 - small fix for output log
0.05 2021-12-04 - use always lowercase for internal search
- allow combined search like "times & bold"
- allow additional argument for otfinfo
diff --git a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
index db4780bcb1a..11fa8bff88c 100644
--- a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
+++ b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
index 0e1b4360f17..b896d5953a5 100644
--- a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
+++ b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
@@ -77,7 +77,7 @@
\def\setVersion#1{\setVVersion#1!!}
\def\setVVersion#1=#2!!{\def\luafindfontVersion{#2}}
-\setVersion{version = 0.05}% can be automatically changed by perl
+\setVersion{version = 0.06}% can be automatically changed by perl
\setkeys{dtk}{cleanup=true,force}
diff --git a/Master/texmf-dist/scripts/luafindfont/luafindfont.lua b/Master/texmf-dist/scripts/luafindfont/luafindfont.lua
index fc7a6b6577e..2008194bb7f 100755
--- a/Master/texmf-dist/scripts/luafindfont/luafindfont.lua
+++ b/Master/texmf-dist/scripts/luafindfont/luafindfont.lua
@@ -1,5 +1,4 @@
#!/usr/bin/env texlua
--- % $Id: luafindfont.lua 330 2021-11-28 13:47:56Z herbert $
-----------------------------------------------------------------------
-- FILE: luafindfont.lua
@@ -8,7 +7,7 @@
-- AUTHOR: Herbert Voß (C) 2021-11-27
-----------------------------------------------------------------------
luafindfont = luafindfont or { }
- local version = 0.05
+ local version = 0.06
luafindfont.version = version
--[[
@@ -55,7 +54,7 @@ local i = 1
while i <= #arg do
if arg[i] == "-h" or arg[i] == "--help" then
print("Version "..version..", Copyright 2021 by Herbert Voß")
- print([[Syntax: luafintfont [options] <font>
+ print([[Syntax: luafindfont [options] <font>
By default the Lua program 'luafindfont' creates a list of the
fonts which have in its names the given string.
@@ -123,7 +122,7 @@ if #font_str == 1 then font_str[2] = "" end
local luaVersion = _VERSION
print("We are using "..luaVersion)
-if #font_str > 1 then
+if font_str[2] ~= "" then
print('Looking for font \"'..font_str[1]..' & '..font_str[2]..'\"')
else
print('Looking for font \"'..font_str[1]..'\"')