From 8e702cd6feaf0a000bfa3a3cdb0bcd66c114a0fe Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 25 Oct 2010 23:05:38 +0000 Subject: refstyle 0.4 (25oct10) git-svn-id: svn://tug.org/texlive/trunk@20203 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/refstyle/refstyle.cfg | 721 ++++++++++++++-------- 1 file changed, 463 insertions(+), 258 deletions(-) (limited to 'Master/texmf-dist/tex/latex/refstyle/refstyle.cfg') 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 %% ------------------------------------------------------------------- %% -\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'. -- cgit v1.2.3