Commits

Philipp Gesang committed 9d85f03

extend combined feature example

  • Participants
  • Parent commits 88c84fe

Comments (0)

Files changed (1)

pln-features-8-combined-num.tex

   \ifdefined \luatexsuppresslongerror
     \input luaotfload.sty
   \fi
-  \font \main  = "file:EBGaramond12-Regular.otf:mode=base;             at 10pt
-  \font \onum  = "file:EBGaramond12-Regular.otf:mode=base;+onum;       at 10pt
-  \font \pnum  = "file:EBGaramond12-Regular.otf:mode=base;+pnum;       at 10pt
-  \font \opnum = "file:EBGaramond12-Regular.otf:mode=base;+onum;+pnum; at 10pt
-  \font \lnum  = "file:EBGaramond12-Regular.otf:mode=base;+lnum        at 10pt
-  \font \tnum  = "file:EBGaramond12-Regular.otf:mode=base;+tnum        at 10pt
-  \font \tlnum = "file:EBGaramond12-Regular.otf:mode=base;+lnum;+tnum  at 10pt
-  \font \otnum = "file:EBGaramond12-Regular.otf:mode=base;+onum;+tnum  at 10pt
-  \font \olnum = "file:EBGaramond12-Regular.otf:mode=base;+onum;+lnum  at 10pt
+  \font \main  = "file:EBGaramond12-Regular.otf:mode=node;"             at 10pt
+  \font \onum  = "file:EBGaramond12-Regular.otf:mode=node;+onum;"       at 10pt
+  \font \pnum  = "file:EBGaramond12-Regular.otf:mode=node;+pnum;"       at 10pt
+  \font \opnum = "file:EBGaramond12-Regular.otf:mode=node;+onum;+pnum;" at 10pt
+  \font \lnum  = "file:EBGaramond12-Regular.otf:mode=node;+lnum"        at 10pt
+  \font \tnum  = "file:EBGaramond12-Regular.otf:mode=node;+tnum"        at 10pt
+  \font \tlnum = "file:EBGaramond12-Regular.otf:mode=node;+lnum;+tnum"  at 10pt
+  \font \otnum = "file:EBGaramond12-Regular.otf:mode=node;+onum;+tnum"  at 10pt
+  \font \olnum = "file:EBGaramond12-Regular.otf:mode=node;+onum;+lnum"  at 10pt
 \else
+  \font \main  = "[EBGaramond12-Regular.otf]"              at 10pt
+  \font \onum  = "[EBGaramond12-Regular.otf]:+onum;"       at 10pt
+  \font \pnum  = "[EBGaramond12-Regular.otf]:+pnum;"       at 10pt
+  \font \opnum = "[EBGaramond12-Regular.otf]:+onum;+pnum;" at 10pt
+  \font \lnum  = "[EBGaramond12-Regular.otf]:+lnum;"       at 10pt
+  \font \tnum  = "[EBGaramond12-Regular.otf]:+tnum;"       at 10pt
+  \font \tlnum = "[EBGaramond12-Regular.otf]:+lnum;+tnum"  at 10pt
+  \font \otnum = "[EBGaramond12-Regular.otf]:+onum;+tnum"  at 10pt
+  \font \olnum = "[EBGaramond12-Regular.otf]:+onum;+lnum"  at 10pt
 \fi
 
-{\main  foo 1234567890, \fontname \font} \par
-{\onum  foo 1234567890, \fontname \font} \par
-{\pnum  bar 1234567890, \fontname \font} \par
-{\opnum baz 1234567890, \fontname \font} \par
-{\lnum  bar 1234567890, \fontname \font} \par
-{\tnum  bar 1234567890, \fontname \font} \par
-{\tlnum bar 1234567890, \fontname \font} \par
-{\otnum bar 1234567890, \fontname \font} \par
-{\olnum bar 1234567890, \fontname \font} \par
 
+\def \test #1{%
+  \detokenize {#1} --
+  \bgroup #1foo 1234567890, \fontname \font \egroup \par
+}
+
+\test {\main}
+\test {\onum}
+\test {\pnum}
+\test {\opnum}
+\test {\lnum}
+\test {\tnum}
+\test {\tlnum}
+\test {\otnum}
+\test {\olnum}
 \bye