Hello community,

here is the log from the commit of package texlive-specs-j for openSUSE:Factory 
checked in at 2017-06-08 14:54:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texlive-specs-j (Old)
 and      /work/SRC/openSUSE:Factory/.texlive-specs-j.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "texlive-specs-j"

Thu Jun  8 14:54:51 2017 rev:25 rq:500708 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/texlive-specs-j/texlive-specs-j.changes  
2016-12-16 12:00:03.335090219 +0100
+++ /work/SRC/openSUSE:Factory/.texlive-specs-j.new/texlive-specs-j.changes     
2017-06-08 14:54:52.227890352 +0200
@@ -1,0 +2,42 @@
+Fri May 26 14:37:37 UTC 2017 - [email protected]
+
+- Back to old fontspec 2.5a
+  * Yes it is buggy but it fits the LaTeX kernel engine 
+- Readd patch fontspec_emph.dif for bug boo#1039951
+
+-------------------------------------------------------------------
+Fri May 26 11:07:07 UTC 2017 - [email protected]
+
+- The file texmfcnf.lua is a main configuration file 
+- Use lua compatible configuration for TEXMFCNF in texmf.cnf
+
+-------------------------------------------------------------------
+Wed May 24 08:08:01 UTC 2017 - [email protected]
+
+- Remove patch fontspec_emph.dif and update fontspec to version 2.6a
+  which does hopefully fix those nasty bugs boo#1039951, boo#1040434
+- Readd the old font config and fd files from old fontspec package
+  as the next TeXLive version will have them in the latex package
+
+-------------------------------------------------------------------
+Tue May 23 09:57:24 UTC 2017 - [email protected]
+
+- Add patch fontspec_emph.dif for bug boo#1039951
+  nasty \emph-related bugs in texlive-fontspec package
+
+-------------------------------------------------------------------
+Mon Apr 10 08:51:06 UTC 2017 - [email protected]
+
+- Allow updmap to run as batch job if stdin if not connected on
+  a termionl (boo#1033068)
+
+-------------------------------------------------------------------
+Wed Mar  8 12:02:02 UTC 2017 - [email protected]
+
+- Modify patch kpathsea_cnf.dif to remove mpost from the allowed
+  shell escaping commands (bsc#1028271, CVE-2016-10243)
+- Add some lines to %post scriplet for kpathsea to remove mpost
+  also from an already existing but not becoming replaced
+  configuration file texmf.cnf
+
+-------------------------------------------------------------------

New:
----
  fontspec_emph.dif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ texlive-specs-j.spec ++++++
++++ 1815 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/texlive-specs-j/texlive-specs-j.spec
++++ and /work/SRC/openSUSE:Factory/.texlive-specs-j.new/texlive-specs-j.spec

++++++ fontspec_emph.dif ++++++
Bug boo#1039951 -- nasty \emph-related bugs in texlive-fontspec

---
 texmf-dist/tex/latex/fontspec/fontspec-luatex.sty |   35 
++++++++++++++++++++++++++-------
 texmf-dist/tex/latex/fontspec/fontspec-xetex.sty  |   35 
++++++++++++++++++++++++++-------
 2 files changed, 56 insertions(+), 14 deletions(-)

--- texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
+++ texmf-dist/tex/latex/fontspec/fontspec-luatex.sty   2017-05-23 
09:50:03.040083385 +0000
@@ -2648,25 +2648,46 @@
  }
 \int_new:N \l__fontspec_em_int
 \int_new:N \l__fontspec_emdef_int
+\prop_new:N \g_@@_em_prop
+\cs_generate_variant:Nn \prop_gput:Nnn  {NxV}
+\cs_generate_variant:Nn \prop_gput_if_new:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn  {Nxn}
+\cs_generate_variant:Nn \prop_get:NnNT  {NxN}
+\cs_generate_variant:Nn \prop_get:NnNTF {NxN}
 \cs_new_protected:Npn \emfontdeclare #1
   {
-    \int_zero:N \l__fontspec_emdef_int
-    \clist_map_inline:nn {#1}
-      {
-        \int_incr:N \l__fontspec_emdef_int
-        \cs_set:cpn {__fontspec_em_font_ \int_use:N \l__fontspec_emdef_int 
_switch:} {##1}
-      }
+    \prop_clear:N \g_@@_em_prop
+    \int_zero:N   \l__fontspec_emdef_int
+    \group_begin:
+      \normalfont
+      \clist_map_inline:nn {\emreset,#1}
+        {
+          ##1
+          \prop_gput_if_new:NxV \g_@@_em_prop { \f@series/\f@shape } { 
\l__fontspec_emdef_int }
+          \prop_gput:NxV \g_@@_em_prop { switch-\int_use:N 
\l__fontspec_emdef_int } { ##1 }
+          \int_incr:N \l__fontspec_emdef_int
+        }
+    \group_end:
   }
 \DeclareRobustCommand \em
   {
     \@nomath\em
+    \prop_get:NxNT \g_@@_em_prop { \f@series/\f@shape } \l_@@_em_tmp_tl
+      { \int_set:Nn \l__fontspec_em_int { \l_@@_em_tmp_tl } }
     \int_incr:N \l__fontspec_em_int
-    \use:c {__fontspec_em_font_ \int_use:N \l__fontspec_em_int _switch:}
+    \prop_get:NxNTF \g_@@_em_prop { switch-\int_use:N \l__fontspec_em_int } 
\l_@@_em_switch_tl
+      { \l_@@_em_switch_tl }
+      {
+        \int_zero:N \l__fontspec_em_int
+        \emreset
+      }
   }
 \DeclareTextFontCommand{\emph}{\em}
+\cs_set:Npn \emreset { \upshape }
 \cs_set:Npn \emshape { \itshape }
 \cs_set:Npn \eminnershape { \upshape }
 \emfontdeclare{ \emshape, \eminnershape }
+\cs_new:Nn \fontspec_set_em_level:n { \int_set:Nn \l__fontspec_em_int {#1} }
 \DeclareRobustCommand{\-}
  {
   \discretionary
--- texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
+++ texmf-dist/tex/latex/fontspec/fontspec-xetex.sty    2017-05-23 
09:53:08.044601421 +0000
@@ -2724,25 +2724,46 @@
  }
 \int_new:N \l__fontspec_em_int
 \int_new:N \l__fontspec_emdef_int
+\prop_new:N \g_@@_em_prop
+\cs_generate_variant:Nn \prop_gput:Nnn  {NxV}
+\cs_generate_variant:Nn \prop_gput_if_new:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn  {Nxn}
+\cs_generate_variant:Nn \prop_get:NnNT  {NxN}
+\cs_generate_variant:Nn \prop_get:NnNTF {NxN}
 \cs_new_protected:Npn \emfontdeclare #1
   {
-    \int_zero:N \l__fontspec_emdef_int
-    \clist_map_inline:nn {#1}
-      {
-        \int_incr:N \l__fontspec_emdef_int
-        \cs_set:cpn {__fontspec_em_font_ \int_use:N \l__fontspec_emdef_int 
_switch:} {##1}
-      }
+    \prop_clear:N \g_@@_em_prop
+    \int_zero:N   \l__fontspec_emdef_int
+    \group_begin:
+      \normalfont
+      \clist_map_inline:nn {\emreset,#1}
+        {
+          ##1
+          \prop_gput_if_new:NxV \g_@@_em_prop { \f@series/\f@shape } { 
\l__fontspec_emdef_int }
+          \prop_gput:NxV \g_@@_em_prop { switch-\int_use:N 
\l__fontspec_emdef_int } { ##1 }
+          \int_incr:N \l__fontspec_emdef_int
+        }
+    \group_end:
   }
 \DeclareRobustCommand \em
   {
     \@nomath\em
+    \prop_get:NxNT \g_@@_em_prop { \f@series/\f@shape } \l_@@_em_tmp_tl
+      { \int_set:Nn \l__fontspec_em_int { \l_@@_em_tmp_tl } }
     \int_incr:N \l__fontspec_em_int
-    \use:c {__fontspec_em_font_ \int_use:N \l__fontspec_em_int _switch:}
+    \prop_get:NxNTF \g_@@_em_prop { switch-\int_use:N \l__fontspec_em_int } 
\l_@@_em_switch_tl
+      { \l_@@_em_switch_tl }
+      {
+        \int_zero:N \l__fontspec_em_int
+        \emreset
+      }
   }
 \DeclareTextFontCommand{\emph}{\em}
+\cs_set:Npn \emreset { \upshape }
 \cs_set:Npn \emshape { \itshape }
 \cs_set:Npn \eminnershape { \upshape }
 \emfontdeclare{ \emshape, \eminnershape }
+\cs_new:Nn \fontspec_set_em_level:n { \int_set:Nn \l__fontspec_em_int {#1} }
 \DeclareRobustCommand{\-}
  {
   \discretionary

Reply via email to