summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/xcite/xcite.sty66
1 files changed, 66 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/xcite/xcite.sty b/Master/texmf-dist/tex/latex/xcite/xcite.sty
new file mode 100644
index 00000000000..ce30889ce6c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/xcite/xcite.sty
@@ -0,0 +1,66 @@
+%%
+%% This is file `xcite.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xcite.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2011 by Enrico Gregorio
+%% <Enrico dot Gregorio at univr dot it>
+%% -------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any
+%% later version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions
+%% of LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Enrico Gregorio.
+%%
+%% This work consists of the files
+%% xcite.dtx
+%% xcite.ins
+%% and the derived file xcite.sty.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xcite}
+ [2011/09/02 v1.0 eXternal Citations (EG)]
+\newcommand\externalcitedocument[2][]{{%
+ \makeatletter
+ \def\XC@prefix{#1}%
+ \XC@next#2.aux\relax\\}}
+\def\XC@next#1\relax#2\\{%
+ \edef\XC@list{#2}%
+ \XC@loop{#1}}
+\def\XC@aux{%
+ \ifx\XC@list\@empty\else\expandafter\XC@explist\fi}
+\def\XC@explist{\expandafter\XC@next\XC@list\\}
+\def\XC@loop#1{\openin\@inputcheck#1\relax
+ \ifeof\@inputcheck
+ \PackageWarning{xc}{^^JNo file #1^^JLABELS NOT IMPORTED.^^J}%
+ \expandafter\XC@aux
+ \else
+ \PackageInfo{xc}{IMPORTING LABELS FROM #1}%
+ \expandafter\XC@read\fi}
+\def\XC@read{%
+ \read\@inputcheck to\XC@line
+ \expandafter\XC@test\XC@line...\XC@}
+\long\def\XC@test#1#2#3#4\XC@{%
+ \ifx#1\bibcite
+ \bibcite{\XC@prefix#2}{#3}%
+ \else\ifx#1\@input
+ \edef\XC@list{\XC@list#2\relax}%
+ \fi\fi
+ \ifeof\@inputcheck\expandafter\XC@aux
+ \else\expandafter\XC@read\fi}
+
+\endinput
+%%
+%% End of file `xcite.sty'.