texlive[50912] Master: addliga (30apr19)

commits+karl at tug.org commits+karl at tug.org
Wed May 1 00:36:21 CEST 2019


Revision: 50912
          http://tug.org/svn/texlive?view=revision&revision=50912
Author:   karl
Date:     2019-05-01 00:36:21 +0200 (Wed, 01 May 2019)
Log Message:
-----------
addliga (30apr19)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/lualatex/addliga/
    trunk/Master/texmf-dist/doc/lualatex/addliga/README
    trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.pdf
    trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.tex
    trunk/Master/texmf-dist/tex/lualatex/addliga/
    trunk/Master/texmf-dist/tex/lualatex/addliga/addliga.sty
    trunk/Master/tlpkg/tlpsrc/addliga.tlpsrc

Added: trunk/Master/texmf-dist/doc/lualatex/addliga/README
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/addliga/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/addliga/README	2019-04-30 22:36:21 UTC (rev 50912)
@@ -0,0 +1,6 @@
+The addliga package allows LuaLaTeX users to access basic ligatures (ff, fi, ffi, fl, ffl) in legacy TrueType fonts accessed via fontspec.
+
+This package was written by Daniel Benjamin Miller, 2019, and is contributed to the public domain.
+
+Version History:
+April 30, 2019: 1.0


Property changes on: trunk/Master/texmf-dist/doc/lualatex/addliga/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.pdf	2019-04-30 22:35:35 UTC (rev 50911)
+++ trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.pdf	2019-04-30 22:36:21 UTC (rev 50912)

Property changes on: trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.tex	2019-04-30 22:36:21 UTC (rev 50912)
@@ -0,0 +1,33 @@
+% !TEX TS-program = lualatex
+\documentclass{scrartcl}
+\setkomafont{disposition}{\bfseries}
+\KOMAoptions{fontsize=12pt}
+\usepackage[letterpaper]{geometry}
+\usepackage{addliga}
+\usepackage{fontspec}
+\setmainfont[Numbers={OldStyle}]{Domitian}
+\setmonofont[Scale=1.05]{CMU Typewriter Text Variable Width}
+\usepackage[protrusion=true,expansion=true]{microtype}
+\usepackage{realscripts}
+\usepackage[main=english,,latin.classical,nil]{babel}
+\newcommand{\laterm}[1]{\foreignlanguage{latin}{\textit{#1}}}
+\deffootnote[1.5em]{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark.}}
+\usepackage[pdfusetitle,pdfa,hidelinks]{hyperref}\hypersetup{pdfencoding=unicode}
+\usepackage{hologo}
+\title{\normalfont\texttt{addliga}\\\large (version 1.0)}
+%\date{}
+\author{Daniel~Benjamin Miller\\\large(\texttt{dbmiller at dbmiller.org})}
+\begin{document}
+\maketitle
+The \texttt{fontspec}\footnote{\url{https://ctan.org/pkg/fontspec}} package enables use of OpenType and TrueType fonts in \hologo{LuaLaTeX} and \hologo{XeLaTeX}.  Though legacy TrueType fonts often include at least a partial set of ligatures, these, unlike those of OpenType fonts, are not accessible through \texttt{fontspec}'s usual mechanisms. The \texttt{addliga} package is designed to allow easy use of basic TrueType font ligatures in \hologo{LuaLaTeX} by adding an OpenType \texttt{liga} lookup table to the loaded font. (\laterm{Nota bene}: not all fonts will contain ligature support; \texttt{addliga} only adds support for existing ligatures.) The ligatures supported are ff, fi, ffi, fl and ffl. This package has been contributed to the public domain.
+\section*{Basic Usage}
+\begin{verbatim}
+\documentclass{…}
+\usepackage{addliga}
+\usepackage{fontspec}
+\setmainfont{…}
+\begin{document}
+…
+\end{document}
+\end{verbatim}
+\end{document}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/lualatex/addliga/addliga.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/lualatex/addliga/addliga.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/addliga/addliga.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/lualatex/addliga/addliga.sty	2019-04-30 22:36:21 UTC (rev 50912)
@@ -0,0 +1,22 @@
+% !TEX TS-program = lualatex
+% addliga.sty
+% Version 1.0
+% Adds ligatures to TrueType fonts in LuaLaTeX
+% Written 2019 by Daniel Benjamin Miller <dbmiller at dbmiller.org>
+% Contributed to the Public Domain
+% No Rights Reserved
+\ProvidesPackage{addliga}[2019/04/30 addliga 1.0]
+\directlua{
+  fonts.handlers.otf.addfeature{
+    name = "liga",
+    type = "ligature",
+    data = {
+      ['ff']={"f","f"},
+      ['fi']={"f","i"},
+      ['ffi']={"f","f","i"},
+      ['fl']={"f","l"},
+      ['ffl']={"f","f","l"},
+    },
+  }
+}
+\endinput
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/lualatex/addliga/addliga.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-04-30 22:35:35 UTC (rev 50911)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-04-30 22:36:21 UTC (rev 50912)
@@ -27,7 +27,7 @@
     academicons accanthis accfonts achemso
     acmart acmconf acro acronym acroterm
     active-conf actuarialangle actuarialsymbol
-    addfont addlines adfathesis adforn adhocfilelist adigraph
+    addfont addliga addlines adfathesis adforn adhocfilelist adigraph
     adjmulticol adfsymbols adjustbox adobemapping
     adrconv adtrees advdate
     ae aecc aeguill afparticle afthesis

Added: trunk/Master/tlpkg/tlpsrc/addliga.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc	2019-04-30 22:35:35 UTC (rev 50911)
+++ trunk/Master/tlpkg/tlpsrc/collection-luatex.tlpsrc	2019-04-30 22:36:21 UTC (rev 50912)
@@ -5,6 +5,7 @@
 #
 depend collection-basic
 #
+depend addliga
 depend auto-pst-pdf-lua
 depend bezierplot
 depend checkcites



More information about the tex-live-commits mailing list