texlive[66861] Master/texmf-dist: lyluatex (16apr23)
commits+karl at tug.org
commits+karl at tug.org
Sun Apr 16 22:22:47 CEST 2023
Revision: 66861
http://tug.org/svn/texlive?view=revision&revision=66861
Author: karl
Date: 2023-04-16 22:22:47 +0200 (Sun, 16 Apr 2023)
Log Message:
-----------
lyluatex (16apr23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
trunk/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls
trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls
trunk/Master/texmf-dist/scripts/lyluatex/lyluatex.lua
trunk/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
Modified: trunk/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex 2023-04-16 20:22:34 UTC (rev 66860)
+++ trunk/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex 2023-04-16 20:22:47 UTC (rev 66861)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls
===================================================================
--- trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls 2023-04-16 20:22:34 UTC (rev 66860)
+++ trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexbase.cls 2023-04-16 20:22:47 UTC (rev 66861)
@@ -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}
Modified: trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls
===================================================================
--- trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls 2023-04-16 20:22:34 UTC (rev 66860)
+++ trunk/Master/texmf-dist/doc/support/lyluatex/lyluatexmanual.cls 2023-04-16 20:22:47 UTC (rev 66861)
@@ -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}
Modified: trunk/Master/texmf-dist/scripts/lyluatex/lyluatex.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/lyluatex/lyluatex.lua 2023-04-16 20:22:34 UTC (rev 66860)
+++ trunk/Master/texmf-dist/scripts/lyluatex/lyluatex.lua 2023-04-16 20:22:47 UTC (rev 66861)
@@ -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 @@
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
Modified: trunk/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty 2023-04-16 20:22:34 UTC (rev 66860)
+++ trunk/Master/texmf-dist/tex/luatex/lyluatex/lyluatex.sty 2023-04-16 20:22:47 UTC (rev 66861)
@@ -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}
More information about the tex-live-commits
mailing list.