[latex3-commits] [git/LaTeX3-latex3-latex3] master: Allow dvisvgm driver with XeTeX (fixes #677) (d45286a2d)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 19 23:06:45 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/d45286a2dabcdea81e1e458145717b88e6017e02

>---------------------------------------------------------------

commit d45286a2dabcdea81e1e458145717b88e6017e02
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Feb 19 22:06:45 2020 +0000

    Allow dvisvgm driver with XeTeX (fixes #677)


>---------------------------------------------------------------

d45286a2dabcdea81e1e458145717b88e6017e02
 l3kernel/CHANGELOG.md | 3 +++
 l3kernel/l3sys.dtx    | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index c19c7f74e..5c0b06ae7 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changed
+- Allow `dvisvgm` driver with XeTeX (issue #677)
+
 ### Fixed
 - `undo-recent-deprecations` would not reload the deprecation code
 
diff --git a/l3kernel/l3sys.dtx b/l3kernel/l3sys.dtx
index 7c8820426..c7d64757a 100644
--- a/l3kernel/l3sys.dtx
+++ b/l3kernel/l3sys.dtx
@@ -412,7 +412,11 @@
   {
     \sys_if_engine_xetex:TF
       {
-        \str_if_eq:VnF #1 { xdvipdfmx }
+        \str_case:VnF #1
+          {
+            { dvisvgm }   { }
+            { xdvipdfmx } { }
+          }
           {
             \__kernel_msg_error:nnxx { sys } { wrong-backend }
               #1 { xdvipdfmx }





More information about the latex3-commits mailing list.