summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-05 21:23:55 +0000
committerKarl Berry <karl@freefriends.org>2022-02-05 21:23:55 +0000
commit0db7db3e5510d71010cbf3ddd83a016c60743f08 (patch)
tree86695d0516e7a16536e059faa1b1e84e54eedad0 /Master/texmf-dist
parent37f962e45f3978d88f1ecd0c6ff492d5e9f3f448 (diff)
graphics-def (5feb22)
git-svn-id: svn://tug.org/texlive/trunk@61899 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/graphics-def/README.md2
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def11
2 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/graphics-def/README.md b/Master/texmf-dist/doc/latex/graphics-def/README.md
index 6128dee565f..7f21def1135 100644
--- a/Master/texmf-dist/doc/latex/graphics-def/README.md
+++ b/Master/texmf-dist/doc/latex/graphics-def/README.md
@@ -1,7 +1,7 @@
LaTeX support for color and graphics
====================================
-Release 2021-11-21
+Release 2022-02-05
This bundle contains the 'engine-dependent' part of support for
color and graphics in LaTeX2e (the code here will also function
diff --git a/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def b/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
index 4c13e2ae1aa..1f2e0577d4b 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/dvisvgm.def
@@ -1,6 +1,6 @@
%% dvisvgm.def
%% Copyright 2015 by Till Tantau
-%% Copyright 2016-2021 by Till Tantau and LaTeX3 Project
+%% Copyright 2016-2022 by Till Tantau and LaTeX3 Project
%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -16,7 +16,7 @@
%%
%% https://github.com/latex3/graphics-def/issues
%
-\ProvidesFile{dvisvgm.def}[2021/11/21 v1.3 dvisvgm graphics driver for latex]
+\ProvidesFile{dvisvgm.def}[2022/02/05 v1.4 dvisvgm graphics driver for latex]
% The following is copied from dvips.def:
\def\GPT@space{ }
\def\c@lor@arg#1{%
@@ -68,6 +68,13 @@
{\PackageError{color}{Undefined color `#1'}\@ehd}%
{\edef#4{ #1}}%
}
+% Mapping to literal Postscript, matching dvips.def, used by PSTricks
+\def\c@lor@to@ps#1 #2\@@{\csname c@lor@ps@#1\endcsname#2 \@@}
+\def\c@lor@ps@#1 #2\@@{TeXDict begin #1 end}
+\def\c@lor@ps@rgb#1\@@{#1 setrgbcolor}
+\def\c@lor@ps@hsb#1\@@{#1 sethsbcolor}
+\def\c@lor@ps@cmyk#1\@@{#1 setcmykcolor}
+\def\c@lor@ps@gray#1\@@{#1 setgray}
\def\current@color{ Black}
\def\set@color{\special{color push \current@color}\aftergroup\reset@color}
\def\reset@color{\special{color pop}}