summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-16 20:22:47 +0000
committerKarl Berry <karl@freefriends.org>2023-04-16 20:22:47 +0000
commit3f101a664145b610ba4f60a4f308670b4cf78279 (patch)
tree0edc2bbec4833089adecac55e97105bfde15c60a
parent7d24ab35bf8515f17ce5647b1bd9815085920aac (diff)
lyluatex (16apr23)
git-svn-id: svn://tug.org/texlive/trunk@66861 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/support/lyluatex/lyluatex.pdfbin2028732 -> 2028731 bytes
-rw-r--r--Master/texmf-dist/doc/support/lyluatex/lyluatex.tex2
-rw-r--r--Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls2
-rw-r--r--Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls2
-rwxr-xr-xMaster/texmf-dist/scripts/lyluatex/lyluatex.lua20
-rw-r--r--Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty2
6 files changed, 21 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf b/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
index 6831174df1d..77449a34862 100644
--- a/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
+++ b/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex b/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
index 80e891e21c2..3932556f694 100644
--- a/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
+++ b/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
@@ -93,7 +93,7 @@
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
\makeatother
-\subtitle{1.1.3}
+\subtitle{1.1.4}
\author{Fr.~Jacques Peron \and Urs Liska \and Br. Samuel Springuel}
\date{\lyluatexmanualdate}
diff --git a/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls b/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls
index d60f554e3cb..1fd12d1bf77 100644
--- a/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls
+++ b/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls
@@ -5,7 +5,7 @@
% This file is part of lyluatex.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{lyluatexbase}[2023/03/01 v1.1.3] %%LYLUATEX_DATE LYLUATEX_VERSION
+\ProvidesClass{lyluatexbase}[2023/04/15 v1.1.4] %%LYLUATEX_DATE LYLUATEX_VERSION
\LoadClass[DIV=11]{scrartcl}
\RequirePackage{lyluatex}
diff --git a/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls b/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls
index de49a2c11de..9e016454bd9 100644
--- a/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls
+++ b/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls
@@ -5,7 +5,7 @@
% This file is part of lyluatex.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{lyluatexmanual}[2023/03/01 v1.1.3] %%LYLUATEX_DATE LYLUATEX_VERSION
+\ProvidesClass{lyluatexmanual}[2023/04/15 v1.1.4] %%LYLUATEX_DATE LYLUATEX_VERSION
\LoadClass{lyluatexbase}
diff --git a/Master/texmf-dist/scripts/lyluatex/lyluatex.lua b/Master/texmf-dist/scripts/lyluatex/lyluatex.lua
index c67613b3b54..0b8e74b2a77 100755
--- a/Master/texmf-dist/scripts/lyluatex/lyluatex.lua
+++ b/Master/texmf-dist/scripts/lyluatex/lyluatex.lua
@@ -1,8 +1,8 @@
-- luacheck: ignore ly log self luatexbase internalversion font fonts tex token kpse status ly_opts
local err, warn, info, log = luatexbase.provides_module({
name = "lyluatex",
- version = '1.1.3', --LYLUATEX_VERSION
- date = "2023/03/01", --LYLUATEX_DATE
+ version = '1.1.4', --LYLUATEX_VERSION
+ date = "2023/04/15", --LYLUATEX_DATE
description = "Module lyluatex.",
author = "The Gregorio Project − (see Contributors.md)",
copyright = "2015-2023 - jperon and others",
@@ -1357,7 +1357,21 @@ end
function ly.get_font_family(font_id)
- return lib.fontinfo(font_id).fullname:match("[^-]*")
+ local ft = lib.fontinfo(font_id)
+ if ft.shared.rawdata then return ft.shared.rawdata.metadata.familyname
+ else
+ warn([[
+Some useful informations aren’t available:
+you probably loaded polyglossia
+before defining the main font, and we have
+to "guess" the font’s familyname.
+If the text of your scores looks weird,
+you should consider using babel instead,
+or at least loading polyglossia
+after defining the main font.
+]])
+ return ft.fullname:match("[^-]*")
+ end
end
diff --git a/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty b/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
index 58aaeb6b5d8..86fb8ca56ca 100644
--- a/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
+++ b/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
@@ -5,7 +5,7 @@
% This file is part of lyluatex.
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{lyluatex}[2023/03/01 v1.1.3] %%LYLUATEX_DATE LYLUATEX_VERSION
+\ProvidesPackage{lyluatex}[2023/04/15 v1.1.4] %%LYLUATEX_DATE LYLUATEX_VERSION
% Dependencies
\RequirePackage{graphicx}