texlive[61959] trunk: luafindfont (9feb22)
commits+karl at tug.org
commits+karl at tug.org
Wed Feb 9 21:59:19 CET 2022
Revision: 61959
http://tug.org/svn/texlive?view=revision&revision=61959
Author: karl
Date: 2022-02-09 21:59:18 +0100 (Wed, 09 Feb 2022)
Log Message:
-----------
luafindfont (9feb22)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua
trunk/Master/texmf-dist/doc/man/man1/luafindfont.1
trunk/Master/texmf-dist/doc/man/man1/luafindfont.man1.pdf
trunk/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
trunk/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
trunk/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
trunk/Master/texmf-dist/scripts/luafindfont/luafindfont.lua
Modified: trunk/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua 2022-02-09 20:59:01 UTC (rev 61958)
+++ trunk/Build/source/texk/texlive/linked_scripts/luafindfont/luafindfont.lua 2022-02-09 20:59:18 UTC (rev 61959)
@@ -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 @@
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 @@
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]..'\"')
Modified: trunk/Master/texmf-dist/doc/man/man1/luafindfont.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/luafindfont.1 2022-02-09 20:59:01 UTC (rev 61958)
+++ trunk/Master/texmf-dist/doc/man/man1/luafindfont.1 2022-02-09 20:59:18 UTC (rev 61959)
@@ -1,6 +1,6 @@
.\" Manpage for luafindfont.
.\" Contact hvoss at 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.
Modified: trunk/Master/texmf-dist/doc/man/man1/luafindfont.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
===================================================================
--- trunk/Master/texmf-dist/doc/support/luafindfont/CHANGELOG 2022-02-09 20:59:01 UTC (rev 61958)
+++ trunk/Master/texmf-dist/doc/support/luafindfont/CHANGELOG 2022-02-09 20:59:18 UTC (rev 61959)
@@ -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
Modified: trunk/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex 2022-02-09 20:59:01 UTC (rev 61958)
+++ trunk/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex 2022-02-09 20:59:18 UTC (rev 61959)
@@ -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}
Modified: trunk/Master/texmf-dist/scripts/luafindfont/luafindfont.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/luafindfont/luafindfont.lua 2022-02-09 20:59:01 UTC (rev 61958)
+++ trunk/Master/texmf-dist/scripts/luafindfont/luafindfont.lua 2022-02-09 20:59:18 UTC (rev 61959)
@@ -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 @@
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 @@
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]..'\"')
More information about the tex-live-commits
mailing list.