[latex3-commits] [latex2e-public] r1359 - test for tex ligatures working in TU encoding

noreply at latex-project.org noreply at latex-project.org
Tue Jan 24 21:48:23 CET 2017


Author: carlisle
Date: 2017-01-24 21:48:23 +0100 (Tue, 24 Jan 2017)
New Revision: 1359

Added:
   trunk/base/testfiles-TU/tu-texligs01.lvt
   trunk/base/testfiles-TU/tu-texligs01.tlg
Log:
test for tex ligatures working in TU encoding

Added: trunk/base/testfiles-TU/tu-texligs01.lvt
===================================================================
--- trunk/base/testfiles-TU/tu-texligs01.lvt	                        (rev 0)
+++ trunk/base/testfiles-TU/tu-texligs01.lvt	2017-01-24 20:48:23 UTC (rev 1359)
@@ -0,0 +1,22 @@
+\documentclass{article}
+\input{test2e}
+
+
+\begin{document}
+
+% Check tex ligatures work (fixed in 2017/01/01 patch level 1)
+
+\def\test#1#2{%
+\setbox0=\hbox{#1#2}%
+\setbox2=\hbox{#1\hbox{}#2}%
+\typeout{#1#2: \ifdim\wd0=\wd2 no ligature\else ligature\fi}}
+
+\START
+
+\test``
+
+\test''
+
+\test--
+
+\END
\ No newline at end of file

Added: trunk/base/testfiles-TU/tu-texligs01.tlg
===================================================================
--- trunk/base/testfiles-TU/tu-texligs01.tlg	                        (rev 0)
+++ trunk/base/testfiles-TU/tu-texligs01.tlg	2017-01-24 20:48:23 UTC (rev 1359)
@@ -0,0 +1,5 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+``: ligature
+'': ligature
+--: ligature



More information about the latex3-commits mailing list