summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/refstyle
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-25 23:05:38 +0000
committerKarl Berry <karl@freefriends.org>2010-10-25 23:05:38 +0000
commit8e702cd6feaf0a000bfa3a3cdb0bcd66c114a0fe (patch)
tree8de2cbcd930fe9c51afdbe25fa2965c7fc0e77c4 /Master/texmf-dist/tex/latex/refstyle
parent64f1cfef2e1a181d09514e23bc89d2501a3b4363 (diff)
refstyle 0.4 (25oct10)
git-svn-id: svn://tug.org/texlive/trunk@20203 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/refstyle')
-rw-r--r--Master/texmf-dist/tex/latex/refstyle/refstyle.cfg721
-rw-r--r--Master/texmf-dist/tex/latex/refstyle/refstyle.sty86
2 files changed, 514 insertions, 293 deletions
diff --git a/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg b/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
index 2be30920636..805d72e82e9 100644
--- a/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
+++ b/Master/texmf-dist/tex/latex/refstyle/refstyle.cfg
@@ -7,257 +7,456 @@
%% refconfig.dtx (with options: `cfg')
%%
%% -------------------------------------------------------------------
-%% Refstyle package to format references
+%% The refstyle package
+%% for the formatting of references
%% -------------------------------------------------------------------
-%%
-%% This file may be customized to suit specific
-%% user requirements.
+%% This file may be customized to suit specific user requirements.
%%
%% Original by Danie Els <dnjels@sun.ac.za>
%% -------------------------------------------------------------------
%%
-\ProvidesFile{refstyle.cfg}[2006/09/07 v0.3
+\ProvidesFile{refstyle.cfg}[2010/10/21\space
+ 0.4\space
Configuration file for refstyle (DNJ Els)]
-%%-- AFRIKAANS ----------------------------------
-\newcommand\RSafrikaans{%
- \def\RSrngtxt{\space tot~}%
- \def\RSlsttxt{\space en~}%
- \def\RSparttxt{Deel~}%
- \def\RSpartstxt{Dele~}%
- \def\RSParttxt{Deel~}%
- \def\RSPartstxt{Dele~}%
- \def\RSappendixname{bylae~}%
- \def\RSAppendixname{Bylae~}%
- \def\RSappendicesname{bylaes~}%
- \def\RSAppendicesname{Bylaes~}%
- \def\RSchaptername{hoofstuk~}%
- \def\RSChaptername{Hoofstuk~}%
- \def\RSchaptersname{hoofstukke~}%
- \def\RSChaptersname{Hoofstukke~}%
- \def\RSsectxt{afdeling~}%
- \def\RSsecstxt{afdelings~}%
- \def\RSSectxt{Afdeling~}%
- \def\RSSecstxt{Afdelings~}%
- \def\RSeqtxt{vergelyking~}%
- \def\RSeqstxt{vergelykings~}%
- \def\RSEqtxt{Vergelyking~}%
- \def\RSEqstxt{Vergelyking~}%
- \def\RSfigtxt{figuur~}%
- \def\RSfigstxt{figure~}%
- \def\RSFigtxt{Figuur~}%
- \def\RSFigstxt{Figure~}%
- \def\RStabtxt{tabel~}%
- \def\RStabstxt{tabelle~}%
- \def\RSTabtxt{Tabel~}%
- \def\RSTabstxt{Tabelle~}%
- \def\RSfootntxt{footnota~}%
- \def\RSfootnstxt{footnotas~}%
- \def\RSFootntxt{Footnota~}%
- \def\RSFootnstxt{Footnotas~}%
- }
-%%-- DANISH -------------------------------------
-\newcommand\RSdanish{%
- \def\RSrngtxt{\space til~}%
- \def\RSlsttxt{\space og~}%
- \def\RSparttxt{del~}%
- \def\RSpartstxt{del~}%
- \def\RSParttxt{Del~}%
- \def\RSPartstxt{Del~}%
- \def\RSappendixname{bilag~}% % 'appendiks' is also possible,
- \def\RSAppendixname{Bilag~}% % but 'bilag' is used in Babel
- \def\RSappendicesname{bilag~}%
- \def\RSAppendicesname{Bilag~}%
- \def\RSchaptername{kapitel~}%
- \def\RSChaptername{Kapitel~}%
- \def\RSchaptersname{kapitel~}%
- \def\RSChaptersname{Kapitel~}%
- \def\RSsectxt{afsnit~}%
- \def\RSsecstxt{afsnit~}%
- \def\RSSectxt{Afsnit~}%
- \def\RSSecstxt{Afsnit~}%
- \def\RSeqtxt{ligning~}%
- \def\RSeqstxt{ligning~}%
- \def\RSEqtxt{Ligning~}%
- \def\RSEqstxt{Ligning~}%
- \def\RSfigtxt{figur~}%
- \def\RSfigstxt{figur~}%
- \def\RSFigtxt{Figur~}%
- \def\RSFigstxt{Figur~}%
- \def\RStabtxt{tabel~}%
- \def\RStabstxt{tablel~}%
- \def\RSTabtxt{Tabel~}%
- \def\RSTabstxt{Tabel~}%
- \def\RSfootntxt{fodnote~}%
- \def\RSfootnstxt{fodnote~}%
- \def\RSFootntxt{Fodnote~}%
- \def\RSFootnstxt{Fodnote~}%
- }
%%-- ENGLISH ------------------------------------
+\newcommand\RSukenglish{%
+ \def\RSrngtxt{\space to~}%........... Range: figures 5 to 6
+ \def\RSlsttwotxt{\space and~}%....... List two: figures 5 and 6
+ \def\RSlsttxt{, and~}%............... List more: figures 5, 6, and 7
+ \def\RSparttxt{Part~}%............... Part lowercase singular
+ \def\RSpartstxt{Parts~}%............. lowercase plural
+ \def\RSParttxt{Part~}%............... uppercase singular
+ \def\RSPartstxt{Parts~}%............. uppercase plural
+ \def\RSappendixname{appendix~}%...... Appendix lowercase singular
+ \def\RSAppendixname{Appendix~}%...... lowercase plural
+ \def\RSappendicesname{appendices~}%.. uppercase singular
+ \def\RSAppendicesname{Appendices~}%.. uppercase plural
+ \def\RSchaptername{chapter~}%........ Chapter lowercase singular
+ \def\RSChaptername{Chapter~}%........ lowercase plural
+ \def\RSchaptersname{chapters~}%...... uppercase singular
+ \def\RSChaptersname{Chapters~}%...... uppercase plural
+ \def\RSsectxt{section~}%............. Section lowercase singular
+ \def\RSsecstxt{sections~}%........... lowercase plural
+ \def\RSSectxt{Section~}%............. uppercase singular
+ \def\RSSecstxt{Sections~}%........... uppercase plural
+ \def\RSeqtxt{equation~}%............. Equation lowercase singular
+ \def\RSeqstxt{equations~}%........... lowercase plural
+ \def\RSEqtxt{Equation~}%............. uppercase singular
+ \def\RSEqstxt{Equations~}%........... uppercase plural
+ \def\RSfigtxt{figure~}%.............. Figure lowercase singular
+ \def\RSfigstxt{figures~}%............ lowercase plural
+ \def\RSFigtxt{Figure~}%.............. uppercase singular
+ \def\RSFigstxt{Figures~}%............ uppercase plural
+ \def\RStabtxt{table~}%............... Table lowercase singular
+ \def\RStabstxt{tables~}%............. lowercase plural
+ \def\RSTabtxt{Table~}%............... uppercase singular
+ \def\RSTabstxt{Tables~}%............. uppercase plural
+ \def\RSfootntxt{footnote~}%.......... Footnote lowercase singular
+ \def\RSfootnstxt{footnotes~}%........ lowercase plural
+ \def\RSFootntxt{Footnote~}%.......... uppercase singular
+ \def\RSFootnstxt{Footnotes~}%........ uppercase plural
+}
\newcommand\RSenglish{%
- \def\RSrngtxt{\space to~}%
- \def\RSlsttxt{\space and~}%
- \def\RSparttxt{Part~}%
- \def\RSpartstxt{Parts~}%
- \def\RSParttxt{Part~}%
- \def\RSPartstxt{Parts~}%
- \def\RSappendixname{appendix~}%
- \def\RSAppendixname{Appendix~}%
- \def\RSappendicesname{appendices~}%
- \def\RSAppendicesname{Appendices~}%
- \def\RSchaptername{chapter~}%
- \def\RSChaptername{Chapter~}%
- \def\RSchaptersname{chapters~}%
- \def\RSChaptersname{Chapters~}%
- \def\RSsectxt{section~}%
- \def\RSsecstxt{sections~}%
- \def\RSSectxt{Section~}%
- \def\RSSecstxt{Sections~}%
- \def\RSeqtxt{equation~}%
- \def\RSeqstxt{equations~}%
- \def\RSEqtxt{Equation~}%
- \def\RSEqstxt{Equations~}%
- \def\RSfigtxt{figure~}%
- \def\RSfigstxt{figures~}%
- \def\RSFigtxt{Figure~}%
- \def\RSFigstxt{Figures~}%
- \def\RStabtxt{table~}%
- \def\RStabstxt{tables~}%
- \def\RSTabtxt{Table~}%
- \def\RSTabstxt{Tables~}%
- \def\RSfootntxt{footnote~}%
- \def\RSfootnstxt{footnotes~}%
- \def\RSFootntxt{Footnote~}%
- \def\RSFootnstxt{Footnotes~}%
- }
-%%-- GERMAN -------------------------------------
-\newcommand\RSgerman{%
- \def\RSrngtxt{\space bis~}%
- \def\RSlsttxt{\space und~}%
- \def\RSparttxt{Teil~}%
- \def\RSpartstxt{Teile~}%
- \def\RSParttxt{Teil~}%
- \def\RSPartstxt{Teile~}%
- \def\RSappendixname{Anhang~}%
- \def\RSAppendixname{Anhang~}%
- \def\RSappendicesname{Anh\"{a}nge~}%
- \def\RSAppendicesname{Anh\"{a}nge~}%
- \def\RSchaptername{Kapitel~}%
- \def\RSChaptername{Kapitel~}%
- \def\RSchaptersname{Kapitel~}%
- \def\RSChaptersname{Kapitel~}%
- \def\RSsectxt{Abschnitt~}%
- \def\RSsecstxt{Abschnitt~}%
- \def\RSSectxt{Abschnitt~}%
- \def\RSSecstxt{Abschnitt~}%
- \def\RSeqtxt{Gleichung~}%
- \def\RSeqstxt{Gleichungen~}%
- \def\RSEqtxt{Gleichung~}%
- \def\RSEqstxt{Gleichungen~}%
- \def\RSfigtxt{Abbildung~}%
- \def\RSfigstxt{Abbildung~}%
- \def\RSFigtxt{Abbildung~}%
- \def\RSFigstxt{Abbildung~}%
- \def\RStabtxt{Tabelle~}%
- \def\RStabstxt{Tabellen~}%
- \def\RSTabtxt{Tabelle~}%
- \def\RSTabstxt{Tabellen~}%
- \def\RSfootntxt{Fu\ss note~}%
- \def\RSfootnstxt{Fu\ss noten~}%
- \def\RSFootntxt{Fu\ss note~}%
- \def\RSFootnstxt{Fu\ss noten~}%
- }
-%%-- NORWEGIAN -------------------------------------
-\newcommand\RSnorwegian{%
- \def\RSrngtxt{\space til~}%
- \def\RSlsttxt{\space og~}%
- \def\RSparttxt{del~}%
- \def\RSpartstxt{del~}%
- \def\RSParttxt{Del~}%
- \def\RSPartstxt{Del~}%
- \def\RSappendixname{tillegg~}%
- \def\RSAppendixname{Tillegg~}%
- \def\RSappendicesname{tillegg~}%
- \def\RSAppendicesname{Tillegg~}%
- \def\RSchaptername{kapittel~}%
- \def\RSChaptername{Kapittel~}%
- \def\RSchaptersname{kapittel~}%
- \def\RSChaptersname{Kapittel~}%
- \def\RSsectxt{avsnitt~}%
- \def\RSsecstxt{avsnitt~}%
- \def\RSSectxt{Avsnitt~}%
- \def\RSSecstxt{Avsnitt~}%
- \def\RSeqtxt{formel~}%
- \def\RSeqstxt{formel~}%
- \def\RSEqtxt{Formel~}%
- \def\RSEqstxt{Formel~}%
- \def\RSfigtxt{figur~}%
- \def\RSfigstxt{figur~}%
- \def\RSFigtxt{Figur~}%
- \def\RSFigstxt{Figur~}%
- \def\RStabtxt{tabell~}%
- \def\RStabstxt{tabell~}%
- \def\RSTabtxt{Tabell~}%
- \def\RSTabstxt{Tabell~}%
- \def\RSfootntxt{fotnote~}%
- \def\RSfootnstxt{fotnote~}%
- \def\RSFootntxt{Fotnote~}%
- \def\RSFootnstxt{Fotnote~}%
- }
-%%-- SWEDISH ------------------------------------
-\newcommand\RSswedish{%
- \def\RSrngtxt{\space till~}%
- \def\RSlsttxt{\space och~}%
- \def\RSparttxt{del~}%
- \def\RSpartstxt{del~}%
- \def\RSParttxt{Del~}%
- \def\RSPartstxt{Del~}%
- \def\RSappendixname{appendix~}%
- \def\RSAppendixname{appendix~}%
- \def\RSappendicesname{Appendix~}%
- \def\RSAppendicesname{Appendix~}%
- \def\RSchaptername{kapitel~}%
- \def\RSChaptername{kapitel~}%
- \def\RSchaptersname{Kapitel~}%
- \def\RSChaptersname{Kapitel~}%
- \def\RSsectxt{sektion~}%
- \def\RSsecstxt{sektion~}%
- \def\RSSectxt{Sektion~}%
- \def\RSSecstxt{Sektion~}%
- \def\RSeqtxt{ekvation~}%
- \def\RSeqstxt{ekvation~}%
- \def\RSEqtxt{Ekvation~}%
- \def\RSEqstxt{Ekvation~}%
- \def\RSfigtxt{figur~}%
- \def\RSfigstxt{figur~}%
- \def\RSFigtxt{Figur~}%
- \def\RSFigstxt{Figur~}%
- \def\RStabtxt{tabell~}%
- \def\RStabstxt{tabell~}%
- \def\RSTabtxt{Tabell~}%
- \def\RSTabstxt{Tabell~}%
- \def\RSfootntxt{fotnot~}%
- \def\RSfootnstxt{fotnot~}%
- \def\RSFootntxt{Fotnot~}%
- \def\RSFootnstxt{Fotnot~}%
+ \def\RSrngtxt{\space to~}%
+ \def\RSlsttwotxt{\space and~}%
+ \def\RSlsttxt{\space and~}%
+ \def\RSparttxt{Part~}%
+ \def\RSpartstxt{Parts~}%
+ \def\RSParttxt{Part~}%
+ \def\RSPartstxt{Parts~}%
+ \def\RSappendixname{appendix~}%
+ \def\RSAppendixname{Appendix~}%
+ \def\RSappendicesname{appendices~}%
+ \def\RSAppendicesname{Appendices~}%
+ \def\RSchaptername{chapter~}%
+ \def\RSChaptername{Chapter~}%
+ \def\RSchaptersname{chapters~}%
+ \def\RSChaptersname{Chapters~}%
+ \def\RSsectxt{section~}%
+ \def\RSsecstxt{sections~}%
+ \def\RSSectxt{Section~}%
+ \def\RSSecstxt{Sections~}%
+ \def\RSeqtxt{equation~}%
+ \def\RSeqstxt{equations~}%
+ \def\RSEqtxt{Equation~}%
+ \def\RSEqstxt{Equations~}%
+ \def\RSfigtxt{figure~}%
+ \def\RSfigstxt{figures~}%
+ \def\RSFigtxt{Figure~}%
+ \def\RSFigstxt{Figures~}%
+ \def\RStabtxt{table~}%
+ \def\RStabstxt{tables~}%
+ \def\RSTabtxt{Table~}%
+ \def\RSTabstxt{Tables~}%
+ \def\RSfootntxt{footnote~}%
+ \def\RSfootnstxt{footnotes~}%
+ \def\RSFootntxt{Footnote~}%
+ \def\RSFootnstxt{Footnotes~}%
}
-%%-- OPTIONS ------------------------------------
\RSenglish% Default
-\DeclareLangOpt{afrikaans}{\RSafrikaans}
-\DeclareLangOpt{danish}{\RSdanish}
\DeclareLangOpt{english}{\RSenglish}
\DeclareLangOpt{USenglish}{\RSenglish}
\DeclareLangOpt{american}{\RSenglish}
-\DeclareLangOpt{UKenglish}{\RSenglish}
-\DeclareLangOpt{british}{\RSenglish}
\DeclareLangOpt{canadian}{\RSenglish}
+\DeclareLangOpt{UKenglish}{\RSukenglish}
+\DeclareLangOpt{british}{\RSukenglish}
+%%-- AFRIKAANS ----------------------------------
+\newcommand\RSafrikaans{%
+ \def\RSrngtxt{\space tot~}%
+ \def\RSlsttwotxt{\space en~}%
+ \def\RSlsttxt{\space en~}%
+ \def\RSparttxt{Deel~}%
+ \def\RSpartstxt{Dele~}%
+ \def\RSParttxt{Deel~}%
+ \def\RSPartstxt{Dele~}%
+ \def\RSappendixname{bylae~}%
+ \def\RSAppendixname{Bylae~}%
+ \def\RSappendicesname{bylaes~}%
+ \def\RSAppendicesname{Bylaes~}%
+ \def\RSchaptername{hoofstuk~}%
+ \def\RSChaptername{Hoofstuk~}%
+ \def\RSchaptersname{hoofstukke~}%
+ \def\RSChaptersname{Hoofstukke~}%
+ \def\RSsectxt{afdeling~}%
+ \def\RSsecstxt{afdelings~}%
+ \def\RSSectxt{Afdeling~}%
+ \def\RSSecstxt{Afdelings~}%
+ \def\RSeqtxt{vergelyking~}%
+ \def\RSeqstxt{vergelykings~}%
+ \def\RSEqtxt{Vergelyking~}%
+ \def\RSEqstxt{Vergelyking~}%
+ \def\RSfigtxt{figuur~}%
+ \def\RSfigstxt{figure~}%
+ \def\RSFigtxt{Figuur~}%
+ \def\RSFigstxt{Figure~}%
+ \def\RStabtxt{tabel~}%
+ \def\RStabstxt{tabelle~}%
+ \def\RSTabtxt{Tabel~}%
+ \def\RSTabstxt{Tabelle~}%
+ \def\RSfootntxt{footnota~}%
+ \def\RSfootnstxt{footnotas~}%
+ \def\RSFootntxt{Footnota~}%
+ \def\RSFootnstxt{Footnotas~}%
+}
+\DeclareLangOpt{afrikaans}{\RSafrikaans}
+%%-- DANISH -------------------------------------
+\newcommand\RSdanish{%
+ \def\RSrngtxt{\space til~}%
+ \def\RSlsttwotxt{\space og~}%
+ \def\RSlsttxt{\space og~}%
+ \def\RSparttxt{del~}%
+ \def\RSpartstxt{del~}%
+ \def\RSParttxt{Del~}%
+ \def\RSPartstxt{Del~}%
+ \def\RSappendixname{bilag~}% % 'appendiks' is also possible,
+ \def\RSAppendixname{Bilag~}% % but 'bilag' is used in Babel
+ \def\RSappendicesname{bilag~}%
+ \def\RSAppendicesname{Bilag~}%
+ \def\RSchaptername{kapitel~}%
+ \def\RSChaptername{Kapitel~}%
+ \def\RSchaptersname{kapitel~}%
+ \def\RSChaptersname{Kapitel~}%
+ \def\RSsectxt{afsnit~}%
+ \def\RSsecstxt{afsnit~}%
+ \def\RSSectxt{Afsnit~}%
+ \def\RSSecstxt{Afsnit~}%
+ \def\RSeqtxt{ligning~}%
+ \def\RSeqstxt{ligning~}%
+ \def\RSEqtxt{Ligning~}%
+ \def\RSEqstxt{Ligning~}%
+ \def\RSfigtxt{figur~}%
+ \def\RSfigstxt{figur~}%
+ \def\RSFigtxt{Figur~}%
+ \def\RSFigstxt{Figur~}%
+ \def\RStabtxt{tabel~}%
+ \def\RStabstxt{tablel~}%
+ \def\RSTabtxt{Tabel~}%
+ \def\RSTabstxt{Tabel~}%
+ \def\RSfootntxt{fodnote~}%
+ \def\RSfootnstxt{fodnote~}%
+ \def\RSFootntxt{Fodnote~}%
+ \def\RSFootnstxt{Fodnote~}%
+}
+\DeclareLangOpt{danish}{\RSdanish}
+%%-- FRENCH -------------------------------------
+\newcommand\RSfrench{%
+ \def\RSrngtxt{\space \`{a}~}%
+ \def\RSlsttwotxt{\space et~}%
+ \def\RSlsttxt{\space et~}%
+ \def\RSparttxt{partie~}%
+ \def\RSpartstxt{parties~}%
+ \def\RSParttxt{La partie~}%
+ \def\RSPartstxt{Les parties~}%
+ \def\RSappendixname{appendice~}%
+ \def\RSAppendixname{L'appendice~}%
+ \def\RSappendicesname{appendices~}%
+ \def\RSAppendicesname{Les appendices~}%
+ \def\RSchaptername{chapitre~}%
+ \def\RSChaptername{Le chapitre~}%
+ \def\RSchaptersname{chapitres~}%
+ \def\RSChaptersname{Les chapitres~}%
+ \def\RSsectxt{section~}%
+ \def\RSsecstxt{sections~}%
+ \def\RSSectxt{La section~}%
+ \def\RSSecstxt{Les sections~}%
+ \def\RSeqtxt{\'{e}quation~}%
+ \def\RSeqstxt{\'{e}quations~}%
+ \def\RSEqtxt{L'\'{e}quation~}%
+ \def\RSEqstxt{Les \'{e}quations~}%
+ \def\RSfigtxt{figure~}%
+ \def\RSfigstxt{figures~}%
+ \def\RSFigtxt{La figure~}%
+ \def\RSFigstxt{Les figures~}%
+ \def\RStabtxt{tableau~}%
+ \def\RStabstxt{tableaux~}%
+ \def\RSTabtxt{Le tableau~}%
+ \def\RSTabstxt{Les tableaux~}%
+ \def\RSfootntxt{note~}%
+ \def\RSfootnstxt{notes~}%
+ \def\RSFootntxt{La note~}%
+ \def\RSFootnstxt{Les notes~}%
+}
+\DeclareLangOpt{french}{\RSfrench}
+%%-- GERMAN -------------------------------------
+\newcommand\RSgerman{%
+ \def\RSrngtxt{\space bis~}%
+ \def\RSlsttwotxt{\space und~}%
+ \def\RSlsttxt{\space und~}%
+ \def\RSparttxt{Teil~}%
+ \def\RSpartstxt{Teile~}%
+ \def\RSParttxt{Teil~}%
+ \def\RSPartstxt{Teile~}%
+ \def\RSappendixname{Anhang~}%
+ \def\RSAppendixname{Anhang~}%
+ \def\RSappendicesname{Anh\"{a}nge~}%
+ \def\RSAppendicesname{Anh\"{a}nge~}%
+ \def\RSchaptername{Kapitel~}%
+ \def\RSChaptername{Kapitel~}%
+ \def\RSchaptersname{Kapitel~}%
+ \def\RSChaptersname{Kapitel~}%
+ \def\RSsectxt{Abschnitt~}%
+ \def\RSsecstxt{Abschnitt~}%
+ \def\RSSectxt{Abschnitt~}%
+ \def\RSSecstxt{Abschnitt~}%
+ \def\RSeqtxt{Gleichung~}%
+ \def\RSeqstxt{Gleichungen~}%
+ \def\RSEqtxt{Gleichung~}%
+ \def\RSEqstxt{Gleichungen~}%
+ \def\RSfigtxt{Abbildung~}%
+ \def\RSfigstxt{Abbildung~}%
+ \def\RSFigtxt{Abbildung~}%
+ \def\RSFigstxt{Abbildung~}%
+ \def\RStabtxt{Tabelle~}%
+ \def\RStabstxt{Tabellen~}%
+ \def\RSTabtxt{Tabelle~}%
+ \def\RSTabstxt{Tabellen~}%
+ \def\RSfootntxt{Fu\ss note~}%
+ \def\RSfootnstxt{Fu\ss noten~}%
+ \def\RSFootntxt{Fu\ss note~}%
+ \def\RSFootnstxt{Fu\ss noten~}%
+}
\DeclareLangOpt{german}{\RSgerman}
\DeclareLangOpt{ngerman}{\RSgerman}
\DeclareLangOpt{austrian}{\RSgerman}
\DeclareLangOpt{naustrian}{\RSgerman}
+%%-- ITALIAN ------------------------------------
+\newcommand\RSitalian{%
+ \def\RSrngtxt{--}%
+ \def\RSlsttwotxt{\space e~}%
+ \def\RSlsttxt{\space e~}%
+ \def\RSparttxt{Parte~}%
+ \def\RSpartstxt{Parti~}%
+ \def\RSParttxt{Parte~}%
+ \def\RSPartstxt{Parti~}%
+ \def\RSappendixname{l'appendice~}%
+ \def\RSAppendixname{l'Appendice~}%
+ \def\RSappendicesname{le appendici~}%
+ \def\RSAppendicesname{le Appendici~}%
+ \def\RSchaptername{il capitolo~}%
+ \def\RSChaptername{il Capitolo~}%
+ \def\RSchaptersname{i capitoli~}%
+ \def\RSChaptersname{i Capitoli~}%
+ \def\RSsectxt{la sezione~}%
+ \def\RSsecstxt{le sezioni~}%
+ \def\RSSectxt{la Sezione~}%
+ \def\RSSecstxt{la Sezioni~}%
+ \def\RSeqtxt{l'equazione~}%
+ \def\RSeqstxt{le equazioni~}%
+ \def\RSEqtxt{l'Equazione~}%
+ \def\RSEqstxt{le Equazioni~}%
+ \def\RSfigtxt{la figura~}%
+ \def\RSfigstxt{le figure~}%
+ \def\RSFigtxt{la Figura~}%
+ \def\RSFigstxt{le Figure~}%
+ \def\RStabtxt{la tabella~}%
+ \def\RStabstxt{le tabelle~}%
+ \def\RSTabtxt{la Tabella~}%
+ \def\RSTabstxt{le Tabelle~}%
+ \def\RSfootntxt{la nota~}%
+ \def\RSfootnstxt{le note~}%
+ \def\RSFootntxt{la Nota~}%
+ \def\RSFootnstxt{le Note~}%
+}
+\DeclareLangOpt{italian}{\RSitalian}
+%%-- NORWEGIAN -------------------------------------
+\newcommand\RSnorwegian{%
+ \def\RSrngtxt{\space til~}%
+ \def\RSlsttwotxt{\space og~}%
+ \def\RSlsttxt{\space og~}%
+ \def\RSparttxt{del~}%
+ \def\RSpartstxt{del~}%
+ \def\RSParttxt{Del~}%
+ \def\RSPartstxt{Del~}%
+ \def\RSappendixname{tillegg~}%
+ \def\RSAppendixname{Tillegg~}%
+ \def\RSappendicesname{tillegg~}%
+ \def\RSAppendicesname{Tillegg~}%
+ \def\RSchaptername{kapittel~}%
+ \def\RSChaptername{Kapittel~}%
+ \def\RSchaptersname{kapittel~}%
+ \def\RSChaptersname{Kapittel~}%
+ \def\RSsectxt{avsnitt~}%
+ \def\RSsecstxt{avsnitt~}%
+ \def\RSSectxt{Avsnitt~}%
+ \def\RSSecstxt{Avsnitt~}%
+ \def\RSeqtxt{formel~}%
+ \def\RSeqstxt{formel~}%
+ \def\RSEqtxt{Formel~}%
+ \def\RSEqstxt{Formel~}%
+ \def\RSfigtxt{figur~}%
+ \def\RSfigstxt{figur~}%
+ \def\RSFigtxt{Figur~}%
+ \def\RSFigstxt{Figur~}%
+ \def\RStabtxt{tabell~}%
+ \def\RStabstxt{tabell~}%
+ \def\RSTabtxt{Tabell~}%
+ \def\RSTabstxt{Tabell~}%
+ \def\RSfootntxt{fotnote~}%
+ \def\RSfootnstxt{fotnote~}%
+ \def\RSFootntxt{Fotnote~}%
+ \def\RSFootnstxt{Fotnote~}%
+}
\DeclareLangOpt{norwegian}{\RSnorwegian}
\DeclareLangOpt{nynorsk}{\RSnorwegian}
\DeclareLangOpt{bokmal}{\RSnorwegian}% Not in babel yet
\DeclareLangOpt{norsk}{\RSnorwegian}
+%%-- PORTUGUESE -----------------------------------
+\newcommand\RSportuguese{%
+ \def\RSrngtxt{\space a~}%
+ \def\RSlsttwotxt{\space e~}%
+ \def\RSlsttxt{\space e~}%
+ \def\RSparttxt{Parte~}%
+ \def\RSpartstxt{Partes~}%
+ \def\RSParttxt{Parte~}%
+ \def\RSPartstxt{Partes~}%
+ \def\RSappendixname{ap\^{e}ndice~}%
+ \def\RSAppendixname{Ap\^{e}ndice~}%
+ \def\RSappendicesname{ap\^{e}ndices~}%
+ \def\RSAppendicesname{Ap\^{e}ndices~}%
+ \def\RSchaptername{cap\'{i}tulo~}%
+ \def\RSChaptername{Cap\'{i}tulo~}%
+ \def\RSchaptersname{cap\'{i}tulos~}%
+ \def\RSChaptersname{Cap\'{i}tulos~}%
+ \def\RSsectxt{se\c{c}\~{a}o~}%
+ \def\RSsecstxt{se\c{c}\~{o}es~}%
+ \def\RSSectxt{Se\c{c}\~{a}o~}%
+ \def\RSSecstxt{Se\c{c}\~{o}es~}%
+ \def\RSeqtxt{equa\c{c}\~{a}o~}%
+ \def\RSeqstxt{equa\c{c}\~{o}es~}%
+ \def\RSEqtxt{Equa\c{c}\~{a}o~}%
+ \def\RSEqstxt{Equa\c{c}\~{o}es~}%
+ \def\RSfigtxt{figura~}%
+ \def\RSfigstxt{figuras~}%
+ \def\RSFigtxt{Figura~}%
+ \def\RSFigstxt{Figuras~}%
+ \def\RStabtxt{tabela~}%
+ \def\RStabstxt{tabelas~}%
+ \def\RSTabtxt{Tabela~}%
+ \def\RSTabstxt{Tabelas~}%
+ \def\RSfootntxt{nota de rodap\'{e}~}%
+ \def\RSfootnstxt{notas de rodap\'{e}~}%
+ \def\RSFootntxt{Nota de rodap\'{e}~}%
+ \def\RSFootnstxt{Notas de rodap\'{e}~}%
+}
+\newcommand\RSbrazilian{%
+ \def\RSrngtxt{\space a~}%
+ \def\RSlsttwotxt{\space e~}%
+ \def\RSlsttxt{\space e~}%
+ \def\RSparttxt{Parte~}%
+ \def\RSpartstxt{Partes~}%
+ \def\RSParttxt{Parte~}%
+ \def\RSPartstxt{Partes~}%
+ \def\RSappendixname{ap\^{e}ndice~}%
+ \def\RSAppendixname{Ap\^{e}ndice~}%
+ \def\RSappendicesname{ap\^{e}ndices~}%
+ \def\RSAppendicesname{Ap\^{e}ndices~}%
+ \def\RSchaptername{cap\'{i}tulo~}%
+ \def\RSChaptername{Cap\'{i}tulo~}%
+ \def\RSchaptersname{cap\'{i}tulos~}%
+ \def\RSChaptersname{Cap\'{i}tulos~}%
+ \def\RSsectxt{sec\c{c}\~{a}o~}%<---------------
+ \def\RSsecstxt{sec\c{c}\~{o}es~}%<-------------
+ \def\RSSectxt{Sec\c{c}\~{a}o~}%<---------------
+ \def\RSSecstxt{Sec\c{c}\~{o}es~}%<-------------
+ \def\RSeqtxt{equa\c{c}\~{a}o~}%
+ \def\RSeqstxt{equa\c{c}\~{o}es~}%
+ \def\RSEqtxt{Equa\c{c}\~{a}o~}%
+ \def\RSEqstxt{Equa\c{c}\~{o}es~}%
+ \def\RSfigtxt{figura~}%
+ \def\RSfigstxt{figuras~}%
+ \def\RSFigtxt{Figura~}%
+ \def\RSFigstxt{Figuras~}%
+ \def\RStabtxt{tabela~}%
+ \def\RStabstxt{tabelas~}%
+ \def\RSTabtxt{Tabela~}%
+ \def\RSTabstxt{Tabelas~}%
+ \def\RSfootntxt{nota de rodap\'{e}~}%
+ \def\RSfootnstxt{notas de rodap\'{e}~}%
+ \def\RSFootntxt{Nota de rodap\'{e}~}%
+ \def\RSFootnstxt{Notas de rodap\'{e}~}%
+}
+\DeclareLangOpt{portuges}{\RSportuguese}
+\DeclareLangOpt{portuguese}{\RSportuguese}
+\DeclareLangOpt{brazilian}{\RSbrazilian}
+\DeclareLangOpt{brazil}{\RSbrazilian}
+%%-- SWEDISH ------------------------------------
+\newcommand\RSswedish{%
+ \def\RSrngtxt{\space till~}%
+ \def\RSlsttwotxt{\space och~}%
+ \def\RSlsttxt{\space och~}%
+ \def\RSparttxt{del~}%
+ \def\RSpartstxt{del~}%
+ \def\RSParttxt{Del~}%
+ \def\RSPartstxt{Del~}%
+ \def\RSappendixname{appendix~}%
+ \def\RSAppendixname{appendix~}%
+ \def\RSappendicesname{Appendix~}%
+ \def\RSAppendicesname{Appendix~}%
+ \def\RSchaptername{kapitel~}%
+ \def\RSChaptername{kapitel~}%
+ \def\RSchaptersname{Kapitel~}%
+ \def\RSChaptersname{Kapitel~}%
+ \def\RSsectxt{sektion~}%
+ \def\RSsecstxt{sektion~}%
+ \def\RSSectxt{Sektion~}%
+ \def\RSSecstxt{Sektion~}%
+ \def\RSeqtxt{ekvation~}%
+ \def\RSeqstxt{ekvation~}%
+ \def\RSEqtxt{Ekvation~}%
+ \def\RSEqstxt{Ekvation~}%
+ \def\RSfigtxt{figur~}%
+ \def\RSfigstxt{figur~}%
+ \def\RSFigtxt{Figur~}%
+ \def\RSFigstxt{Figur~}%
+ \def\RStabtxt{tabell~}%
+ \def\RStabstxt{tabell~}%
+ \def\RSTabtxt{Tabell~}%
+ \def\RSTabstxt{Tabell~}%
+ \def\RSfootntxt{fotnot~}%
+ \def\RSfootnstxt{fotnot~}%
+ \def\RSFootntxt{Fotnot~}%
+ \def\RSFootnstxt{Fotnot~}%
+}
\DeclareLangOpt{swedish}{\RSswedish}
%%-- TEMPLATE FOR PARTS -------------------------
\newref{part}{%
@@ -296,18 +495,20 @@
\fi
\fi}
\newref{chap}{%
- refcmd = {{\let\chpname=\RS@chpname\ref{#1}}},
- rngtxt = \RSrngtxt,
- lsttxt = \RSlsttxt}
+ refcmd = {{\let\chpname=\RS@chpname\ref{#1}}},
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
%%-- TEMPLATE FOR SECTIONS ----------------------
\newref{sec}{%
- name = \RSsectxt,
- names = \RSsecstxt,
- Name = \RSSectxt,
- Names = \RSSecstxt,
- refcmd = {\S\ref{#1}},
- rngtxt = \RSrngtxt,
- lsttxt = \RSlsttxt}
+ name = \RSsectxt,
+ names = \RSsecstxt,
+ Name = \RSSectxt,
+ Names = \RSSecstxt,
+ refcmd = {\S\ref{#1}},
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
%%-- TEMPLATE FOR EQUATIONS ---------------------
\newcommand*{\RSeqrefform}[1]{\textup{(\ref{#1})}}
\@ifpackageloaded{amsmath}%
@@ -321,6 +522,7 @@
Names = \RSEqstxt,
refcmd = \RSeqrefform{#1},
rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
lsttxt = \RSlsttxt}
\let\RSeqref\eqref
\let\eqref\relax
@@ -333,20 +535,22 @@
}
%%-- TEMPLATE FOR FIGURES -----------------------
\newref{fig}{%
- name = \RSfigtxt,
- names = \RSfigstxt,
- Name = \RSFigtxt,
- Names = \RSFigstxt,
- rngtxt = \RSrngtxt,
- lsttxt = \RSlsttxt}
+ name = \RSfigtxt,
+ names = \RSfigstxt,
+ Name = \RSFigtxt,
+ Names = \RSFigstxt,
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
%%-- TEMPLATE FOR TABLES ------------------------
\newref{tab}{%
- name = \RStabtxt,
- names = \RStabstxt,
- Name = \RSTabtxt,
- Names = \RSTabstxt,
- rngtxt = \RSrngtxt,
- lsttxt = \RSlsttxt}
+ name = \RStabtxt,
+ names = \RStabstxt,
+ Name = \RSTabtxt,
+ Names = \RSTabstxt,
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
%%-- TEMPLATE FOR FOOTNOTES ---------------------
\newcommand{\RSfnmark}[1]{%
\begingroup
@@ -354,13 +558,14 @@
\endgroup
\@footnotemark}
\newref{fn}{%
- name = \RSfootntxt,
- names = \RSfootnstxt,
- Name = \RSFootntxt,
- Names = \RSFootnstxt,
- refcmd = {\ifRSstar\RSfnmark{#1}\else(\ref{#1})\fi},
- rngtxt = \RSrngtxt,
- lsttxt = \RSlsttxt}
+ name = \RSfootntxt,
+ names = \RSfootnstxt,
+ Name = \RSFootntxt,
+ Names = \RSFootnstxt,
+ refcmd = {\ifRSstar\RSfnmark{#1}\else(\ref{#1})\fi},
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
\endinput
%%
%% End of file `refstyle.cfg'.
diff --git a/Master/texmf-dist/tex/latex/refstyle/refstyle.sty b/Master/texmf-dist/tex/latex/refstyle/refstyle.sty
index 69391d53256..a64ddc61ebf 100644
--- a/Master/texmf-dist/tex/latex/refstyle/refstyle.sty
+++ b/Master/texmf-dist/tex/latex/refstyle/refstyle.sty
@@ -6,29 +6,26 @@
%%
%% refstyle.dtx (with options: `pkg')
%%
+%% Copyright (C) 2002--2010 Danie Els
+%%
%% -------------------------------------------------------------------
-%% Refstyle package to format references
+%% The refstyle package
+%% for the formatting of references
%% -------------------------------------------------------------------
-%%
-%% Author: Danie Els
-%%
-%% Copyright (C) 2002--2006 Danie Els
-%% All rights reserved.
-%%
%% This work may be distributed and/or modified under the conditions
-%% of the LaTeX Project Public License, either version 1.3 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
-%% 2003/12/01 or later.
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
%%
-%% This work has the LPPL maintenance status "maintained".
-%%
-%% This Current Maintainer of this work is Danie Els (dnjels@sun.ac.za)
+%% This work is "maintained" (as per LPPL maintenance status)
+%% by Danie Els (dnjels@sun.ac.za).
%% -------------------------------------------------------------------
%%
-\newcommand*{\RefstyleFileDate}{2006/09/09}
-\newcommand*{\RefstyleFileVersion}{v0.3}
+\newcommand*{\RefstyleFileDate}{2010/10/21}
+\newcommand*{\RefstyleFileVersion}{v0.4}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{refstyle}[\RefstyleFileDate\space
@@ -93,22 +90,33 @@
\def\RS@firstcap#1#2\@nil{%
\iffalse{\fi
\uppercase{\edef\RS@cap{\iffalse}\fi#1}#2}}%
+\newif\ifRS@keyactive
+\@ifpackagewith{\@currname}{nokeyprefix}%
+ {\RS@keyactivefalse}%
+ {\RS@keyactivetrue}
+\DeclareOption{nokeyprefix}{\OptionNotUsed}
\newif\ifRSstar\RSstarfalse
\newif\ifRSnameon\RSnameontrue
\newif\ifRScapname\RScapnamefalse
\newif\ifRSplural\RSpluralfalse
+\newif\ifRSlsttwo\RSlsttwofalse
\newcommand*{\newref}[1]{%
\lowercase{\def\RS@tempa{#1}}%
\expandafter\RS@newref\expandafter{\RS@tempa}}
\newcommand*{\RS@newref}[2]{%
\RS@clearref{#1}%
- \define@key{RS@#1}{key}[#1:]{\RS@namedef{RS@#1@key}{##1}}%
+ \ifRS@keyactive
+ \define@key{RS@#1}{key}[#1:]{\RS@namedef{RS@#1@key}{##1}}%
+ \else
+ \define@key{RS@#1}{key}[]{\RS@namedef{RS@#1@key}{##1}}%
+ \fi
\define@key{RS@#1}{s}[true]{\RS@setbool{RSplural}{##1}}%
\define@key{RS@#1}{name}[]{\RS@namedef{RS@#1@name}{##1}}%
\define@key{RS@#1}{names}[]{\RS@namedef{RS@#1@names}{##1}}%
\define@key{RS@#1}{Name}[]{\RS@namedef{RS@#1@Name}{##1}}%
\define@key{RS@#1}{Names}[]{\RS@namedef{RS@#1@Names}{##1}}%
\define@key{RS@#1}{rngtxt}[\space to~]{\RS@namedef{RS@#1@rngtxt}{##1}}%
+ \define@key{RS@#1}{lsttwotxt}[\space and~]{\RS@namedef{RS@#1@lsttwotxt}{##1}}%
\define@key{RS@#1}{lsttxt}[\space and~]{\RS@namedef{RS@#1@lsttxt}{##1}}%
\define@key{RS@#1}{refcmd}[\ref{####1}]{\RS@namedef{RS@#1@rcmd}####1{##1}}%
\define@key{RS@#1}{xr}[]{\RS@namedef{RS@#1@xr}{##1}}%
@@ -116,7 +124,7 @@
\RS@setkeys{RS@#1}{key,
s=false,
name,names,Name,Names,
- rngtxt,lsttxt,
+ rngtxt,lsttwotxt,lsttxt,
refcmd,
xr,
vref=false}%
@@ -175,18 +183,24 @@
\RS@makeref{#1}{#2}%
\RS@makevpageref{#1}{#2}%
\RSnameonfalse%
+ \RSlsttwotrue%
\RS@@@ref{#1} #3\@eolst%
\fi}
\def\RS@@@ref#1 #2,#3\@eolst{%
- \ifx\relax#3\relax
- \RS@nameuse{RS@#1@lsttxt}%
- \RS@makeref{#1}{#2}%
- \RS@makevpageref{#1}{#2}%
- \else
- \unskip,\space%
- \RS@makeref{#1}{#2}%
- \RS@makevpageref{#1}{#2}%
- \RS@@@ref{#1} #3\@eolst%
+ \ifx\relax#3\relax
+ \ifRSlsttwo
+ \RS@nameuse{RS@#1@lsttwotxt}%
+ \else
+ \RS@nameuse{RS@#1@lsttxt}%
+ \fi
+ \RS@makeref{#1}{#2}%
+ \RS@makevpageref{#1}{#2}%
+ \else
+ \RSlsttwofalse%
+ \unskip,\space%
+ \RS@makeref{#1}{#2}%
+ \RS@makevpageref{#1}{#2}%
+ \RS@@@ref{#1} #3\@eolst%
\fi}
\def\RS@rangeref#1[#2]#3#4{%
\begingroup
@@ -293,13 +307,15 @@
{\DeclareOption{#1}{\expandafter\RSaddto\csname extras#1\endcsname #2}}%
}
\newcommand*{\RS@cfgfile}{refstyle.cfg}
-\@ifpackagewith{\@currname}{noconfig}
- {\PackageInfo{\RS@pkgname}{No config file loaded}}%
- {\InputIfFileExists{\RS@cfgfile}%
- {\PackageInfo{\RS@pkgname}{Config file \RS@cfgfile\space used}}%
- {\PackageInfo{\RS@pkgname}{Config file \RS@cfgfile\space not found}}%
- }
-\DeclareOption{noconfig}{\OptionNotUsed}
+\newcommand*{\RS@reffile}{refstyle.def}
+\@ifpackagewith{\@currname}{noconfig}%
+ {\PackageInfo{\RS@pkgname}{No config file loaded}}%
+ {\InputIfFileExists{\RS@reffile}%
+ {\PackageInfo{\RS@pkgname}{Local config file \RS@reffile\space used}}
+ {\InputIfFileExists{\RS@cfgfile}%
+ {\PackageInfo{\RS@pkgname}{Config file \RS@cfgfile\space used}}%
+ {\PackageInfo{\RS@pkgname}{No config file found}}}}
+\DeclareOption{noconfig}{\OptionNotUsed}%
\ProcessOptions*\relax
\endinput
%%