texlive[45863] Master/texmf-dist: plex (20nov17)

commits+karl at tug.org commits+karl at tug.org
Mon Nov 20 23:00:06 CET 2017


Revision: 45863
          http://tug.org/svn/texlive?view=revision&revision=45863
Author:   karl
Date:     2017-11-20 23:00:05 +0100 (Mon, 20 Nov 2017)
Log Message:
-----------
plex (20nov17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/plex/README
    trunk/Master/texmf-dist/tex/latex/plex/plex-mono.sty
    trunk/Master/texmf-dist/tex/latex/plex/plex-sans.sty
    trunk/Master/texmf-dist/tex/latex/plex/plex-serif.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-Italic.otf
    trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-Italic.otf

Removed Paths:
-------------
    trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-RegularItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-RegularItalic.otf
    trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-RegularItalic.otf

Modified: trunk/Master/texmf-dist/doc/fonts/plex/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/plex/README	2017-11-20 01:23:07 UTC (rev 45862)
+++ trunk/Master/texmf-dist/doc/fonts/plex/README	2017-11-20 22:00:05 UTC (rev 45863)
@@ -1,4 +1,4 @@
-This is the README for the plex package, version 2017-11-14.
+This is the README for the plex package, version 2017-11-20.
 
 This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX
 support for the IBMPlex families of fonts. Serif, Sans and
@@ -36,16 +36,24 @@
 
 The following options select lighter bold fonts:
 
-sb semibold
-mb medium
-tx text
+  sb semibold
+  mb medium
+  tx text
 
 and the following options select lighter regular fonts
 
-l  light
-el extralight
-t  thin
+  l  light
+  el extralight
+  t  thin
 
+For slightly heavier regular fonts use the options
+
+  txmd textmd
+
+The nomap option to plex-mono will suppress the tex-text
+mapping of TeX "smart quotes" and other ligatures into
+unicode glyphs for xeLaTeX and luaLaTeX.
+
 The OpenType fonts were obtained from
 
 https://github.com/IBM/type/archive/master.zip

Added: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-Italic.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-Italic.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-Italic.otf	2017-11-20 01:23:07 UTC (rev 45862)
+++ trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-Italic.otf	2017-11-20 22:00:05 UTC (rev 45863)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-Italic.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexMono-RegularItalic.otf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-Italic.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-Italic.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-Italic.otf	2017-11-20 01:23:07 UTC (rev 45862)
+++ trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-Italic.otf	2017-11-20 22:00:05 UTC (rev 45863)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-Italic.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSans-RegularItalic.otf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-Italic.otf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-Italic.otf
===================================================================
--- trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-Italic.otf	2017-11-20 01:23:07 UTC (rev 45862)
+++ trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-Italic.otf	2017-11-20 22:00:05 UTC (rev 45863)

Property changes on: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-Italic.otf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/fonts/opentype/ibm/plex/IBMPlexSerif-RegularItalic.otf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/plex/plex-mono.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plex/plex-mono.sty	2017-11-20 01:23:07 UTC (rev 45862)
+++ trunk/Master/texmf-dist/tex/latex/plex/plex-mono.sty	2017-11-20 22:00:05 UTC (rev 45863)
@@ -34,7 +34,9 @@
 \newcommand*{\IBMPlexMono at scale}{1}
 \DeclareOptionX{scale}{\renewcommand*{\IBMPlexMono at scale}{#1}}
 
+\newif\ifplexmono at ligatures \plexmono at ligaturestrue
 
+
 \DeclareOptionX{type1}{\plexmono at otffalse}
 
 \DeclareOptionX{thin}{\edef\mdseries at tt{t}\def\plexmono at medstyle{Thin}}
@@ -43,6 +45,8 @@
 \DeclareOptionX{el}{\edef\mdseries at tt{el}\def\plexmono at medstyle{ExtraLight}}
 \DeclareOptionX{light}{\edef\mdseries at tt{l}\def\plexmono at medstyle{Light}}
 \DeclareOptionX{l}{\edef\mdseries at tt{l}\def\plexmono at medstyle{Light}}
+\DeclareOptionX{textmd}{\edef\mdseries at tt{tx}\def\plexserif at medstyle{Text}}
+\DeclareOptionX{txmd}{\edef\mdseries at tt{tx}\def\plexserif at medstyle{Text}}
 \DeclareOptionX{text}{\edef\bfseries at tt{tx}\def\plexmono at boldstyle{Text}}
 \DeclareOptionX{tx}{\edef\bfseries at tt{tx}\def\plexmono at boldstyle{Text}}
 \DeclareOptionX{medium}{\edef\bfseries at tt{mb}\def\plexmono at boldstyle{Medium}}
@@ -49,25 +53,37 @@
 \DeclareOptionX{m}{\edef\bfseries at tt{mb}\def\plexmono at boldstyle{Medium}}
 \DeclareOptionX{semibold}{\edef\bfseries at tt{sb}\def\plexmono at boldstyle{SemiBold}}
 \DeclareOptionX{sb}{\edef\bfseries at tt{sb}\def\plexmono at boldstyle{SemiBold}}
+\DeclareOptionX{nomap}{\plexmono at ligaturesfalse}
 
 \ProcessOptionsX\relax
 
 
 \ifplexmono at otf
+  \def\plexmono at regular{Regular}
   \ifxetex\XeTeXtracingfonts=1\fi
-  \defaultfontfeatures{
-        Ligatures = TeX ,
-        Scale     = \IBMPlexMono at scale ,
-        Extension = .otf }
-   \setmonofont 
+  \ifplexmono at ligatures
+    \defaultfontfeatures{
+          Ligatures = TeX ,
+          Scale     = \IBMPlexMono at scale ,
+          Extension = .otf }
+  \else
+    \defaultfontfeatures{
+          Scale     = \IBMPlexMono at scale ,
+          Extension = .otf }
+  \fi
+  \setmonofont 
       [ UprightFont    = *-\plexmono at medstyle ,
-        ItalicFont     = *-\plexmono at medstyle Italic ,
+        ItalicFont     = *-\ifx\plexmono at medstyle\plexmono at regular 
+                              Italic
+                           \else\plexmono at medstyle Italic\fi ,
         BoldFont       = *-\plexmono at boldstyle , 
         BoldItalicFont = *-\plexmono at boldstyle Italic ]
       {IBMPlexMono}
   \newfontfamily\plexmono
         [ UprightFont    = *-\plexmono at medstyle ,
-          ItalicFont     = *-\plexmono at medstyle Italic ,
+          ItalicFont     = *-\ifx\plexmono at medstyle\plexmono at regular 
+                              Italic
+                           \else\plexmono at medstyle Italic\fi ,
           BoldFont       = *-\plexmono at boldstyle , 
           BoldItalicFont = *-\plexmono at boldstyle Italic ]
         {IBMPlexMono}

Modified: trunk/Master/texmf-dist/tex/latex/plex/plex-sans.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plex/plex-sans.sty	2017-11-20 01:23:07 UTC (rev 45862)
+++ trunk/Master/texmf-dist/tex/latex/plex/plex-sans.sty	2017-11-20 22:00:05 UTC (rev 45863)
@@ -40,18 +40,20 @@
 \DeclareOptionX{type1}{\plexsans at otffalse}
 \DeclareOptionX{sfdefault}{\plexsans at sfdefaulttrue}
 
-\DeclareOptionX{thin}{\edef\mdseries at rm{t}\def\plexsans at medstyle{Thin}}
-\DeclareOptionX{t}{\edef\mdseries at rm{t}\def\plexsans at medstyle{Thin}}
-\DeclareOptionX{extralight}{\edef\mdseries at rm{el}\def\plexsans at medstyle{ExtraLight}}
-\DeclareOptionX{el}{\edef\mdseries at rm{el}\def\plexsans at medstyle{ExtraLight}}
-\DeclareOptionX{light}{\edef\mdseries at rm{l}\def\plexsans at medstyle{Light}}
-\DeclareOptionX{l}{\edef\mdseries at rm{l}\def\plexsans at medstyle{Light}}
-\DeclareOptionX{text}{\edef\bfseries at rm{tx}\def\plexsans at boldstyle{Text}}
-\DeclareOptionX{tx}{\edef\bfseries at rm{tx}\def\plexsans at boldstyle{Text}}
-\DeclareOptionX{medium}{\edef\bfseries at rm{mb}\def\plexsans at boldstyle{Medium}}
-\DeclareOptionX{m}{\edef\bfseries at rm{mb}\def\plexsans at boldstyle{Medium}}
-\DeclareOptionX{semibold}{\edef\bfseries at rm{sb}\def\plexsans at boldstyle{SemiBold}}
-\DeclareOptionX{sb}{\edef\bfseries at rm{sb}\def\plexsans at boldstyle{SemiBold}}
+\DeclareOptionX{thin}{\edef\mdseries at sf{t}\def\plexsans at medstyle{Thin}}
+\DeclareOptionX{t}{\edef\mdseries at sf{t}\def\plexsans at medstyle{Thin}}
+\DeclareOptionX{extralight}{\edef\mdseries at sf{el}\def\plexsans at medstyle{ExtraLight}}
+\DeclareOptionX{el}{\edef\mdseries at sf{el}\def\plexsans at medstyle{ExtraLight}}
+\DeclareOptionX{light}{\edef\mdseries at sf{l}\def\plexsans at medstyle{Light}}
+\DeclareOptionX{l}{\edef\mdseries at sf{l}\def\plexsans at medstyle{Light}}
+\DeclareOptionX{textmd}{\edef\mdseries at sf{tx}\def\plexsans at medstyle{Text}}
+\DeclareOptionX{txmd}{\edef\mdseries at sf{tx}\def\plexsans at medstyle{Text}}
+\DeclareOptionX{text}{\edef\bfseries at sf{tx}\def\plexsans at boldstyle{Text}}
+\DeclareOptionX{tx}{\edef\bfseries at sf{tx}\def\plexsans at boldstyle{Text}}
+\DeclareOptionX{medium}{\edef\bfseries at sf{mb}\def\plexsans at boldstyle{Medium}}
+\DeclareOptionX{m}{\edef\bfseries at sf{mb}\def\plexsans at boldstyle{Medium}}
+\DeclareOptionX{semibold}{\edef\bfseries at sf{sb}\def\plexsans at boldstyle{SemiBold}}
+\DeclareOptionX{sb}{\edef\bfseries at sf{sb}\def\plexsans at boldstyle{SemiBold}}
 
 
 \ProcessOptionsX\relax
@@ -58,6 +60,7 @@
 
 
 \ifplexsans at otf
+  \def\plexsans at regular{Regular}
   \ifxetex\XeTeXtracingfonts=1\fi
   \defaultfontfeatures{
       Ligatures = TeX ,
@@ -65,7 +68,9 @@
       Extension = .otf }
    \setsansfont 
       [ UprightFont    = *-\plexsans at medstyle ,
-        ItalicFont     = *-\plexsans at medstyle Italic ,
+        ItalicFont     = *-\ifx\plexsans at medstyle\plexsans at regular 
+                              Italic
+                           \else\plexsans at medstyle Italic\fi ,
         BoldFont       = *-\plexsans at boldstyle , 
         BoldItalicFont = *-\plexsans at boldstyle Italic ]
       {IBMPlexSans}
@@ -72,7 +77,9 @@
   \let\plexsansfamily\sfdefault
   \newfontfamily\plexsans
       [ UprightFont    = *-\plexsans at medstyle ,
-        ItalicFont     = *-\plexsans at medstyle Italic ,
+        ItalicFont     = *-\ifx\plexsans at medstyle\plexsans at regular 
+                              Italic
+                           \else\plexsans at medstyle Italic\fi ,
         BoldFont       = *-\plexsans at boldstyle , 
         BoldItalicFont = *-\plexsans at boldstyle Italic ]
         {IBMPlexSans}

Modified: trunk/Master/texmf-dist/tex/latex/plex/plex-serif.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plex/plex-serif.sty	2017-11-20 01:23:07 UTC (rev 45862)
+++ trunk/Master/texmf-dist/tex/latex/plex/plex-serif.sty	2017-11-20 22:00:05 UTC (rev 45863)
@@ -45,6 +45,8 @@
 \DeclareOptionX{l}{\edef\mdseries at rm{l}\def\plexserif at medstyle{Light}}
 \DeclareOptionX{text}{\edef\bfseries at rm{tx}\def\plexserif at boldstyle{Text}}
 \DeclareOptionX{tx}{\edef\bfseries at rm{tx}\def\plexserif at boldstyle{Text}}
+\DeclareOptionX{textmd}{\edef\mdseries at rm{tx}\def\plexserif at medstyle{Text}}
+\DeclareOptionX{txmd}{\edef\mdseries at rm{tx}\def\plexserif at medstyle{Text}}
 \DeclareOptionX{medium}{\edef\bfseries at rm{mb}\def\plexserif at boldstyle{Medium}}
 \DeclareOptionX{m}{\edef\bfseries at rm{mb}\def\plexserif at boldstyle{Medium}}
 \DeclareOptionX{semibold}{\edef\bfseries at rm{sb}\def\plexserif at boldstyle{SemiBold}}
@@ -54,6 +56,7 @@
 
 
 \ifplexserif at otf
+  \def\plexserif at regular{Regular}
   \ifxetex\XeTeXtracingfonts=1\fi
   \defaultfontfeatures{
         Ligatures = TeX ,
@@ -61,13 +64,17 @@
         Extension = .otf }
    \setmainfont 
       [ UprightFont    = *-\plexserif at medstyle ,
-        ItalicFont     = *-\plexserif at medstyle Italic ,
+        ItalicFont     = *-\ifx\plexserif at medstyle\plexserif at regular 
+                              Italic
+                           \else\plexserif at medstyle Italic\fi ,
         BoldFont       = *-\plexserif at boldstyle , 
         BoldItalicFont = *-\plexserif at boldstyle Italic ]
       {IBMPlexSerif}
   \newfontfamily\plexserif
         [ UprightFont    = *-\plexserif at medstyle ,
-          ItalicFont     = *-\plexserif at medstyle Italic ,
+          ItalicFont     = *-\ifx\plexserif at medstyle\plexserif at regular 
+                              Italic
+                           \else\plexserif at medstyle Italic\fi ,
           BoldFont       = *-\plexserif at boldstyle , 
           BoldItalicFont = *-\plexserif at boldstyle Italic ]
         {IBMPlexSerif}



More information about the tex-live-commits mailing list