summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex-dev/tools/xr.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-27 21:43:57 +0000
committerKarl Berry <karl@freefriends.org>2020-05-27 21:43:57 +0000
commit2823ef13b9166bb2c78fe4822b9e6809c3924240 (patch)
treef25f9139e7661767ce1717fba72b91c2b69b5dd0 /Master/texmf-dist/tex/latex-dev/tools/xr.sty
parent9e5ce7919f1c53214d619ba6c4dc040a5bdd19ba (diff)
latex-dev (27may20)
git-svn-id: svn://tug.org/texlive/trunk@55299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex-dev/tools/xr.sty')
-rw-r--r--Master/texmf-dist/tex/latex-dev/tools/xr.sty7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex-dev/tools/xr.sty b/Master/texmf-dist/tex/latex-dev/tools/xr.sty
index 0344f194e3d..41aba6c624b 100644
--- a/Master/texmf-dist/tex/latex-dev/tools/xr.sty
+++ b/Master/texmf-dist/tex/latex-dev/tools/xr.sty
@@ -38,13 +38,14 @@
%% File: xr.dtx Copyright (C) 1993-2019 David Carlisle
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xr}
- [2019/07/22 v5.05 eXternal References (DPC)]
+ [2020-05-10 v5.06 eXternal References (DPC)]
\def\externaldocument{\@ifnextchar[\XR@{\XR@[]}}
\let\externalcitedocument\externaldocument
\def\XR@[#1]#2{{%
\makeatletter
\def\XR@prefix{#1}%
- \XR@next#2.aux\relax\\}}
+ \set@curr@file@trim@spaces{#2}%
+ \expandafter\XR@next\@curr@file.aux\relax\\}}
\def\XR@next#1\relax#2\\{%
\edef\XR@list{#2}%
\XR@loop{#1}}
@@ -52,7 +53,7 @@
\ifx\XR@list\@empty\else\expandafter\XR@explist\fi}
\def\XR@explist{\expandafter\XR@next\XR@list\\}
-\def\XR@loop#1{\openin\@inputcheck#1\relax
+\def\XR@loop#1{\openin\@inputcheck{#1}\relax
\ifeof\@inputcheck
\PackageWarning{xr}{^^JNo file #1^^JLABELS NOT IMPORTED.^^J}%
\expandafter\XR@aux