diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/dvdcoll')
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/acadian.dcl | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/austrian.dcl | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/canadien.dcl | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/dvdcoll.cls | 267 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/english.dcl | 3 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/francais.dcl | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/french.dcl | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/frenchb.dcl | 34 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/german.dcl | 7 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/germanb.dcl | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/naustrian.dcl | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/ngerman.dcl | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/dvdcoll/pdfnotiz.sty | 282 |
13 files changed, 655 insertions, 78 deletions
diff --git a/Master/texmf-dist/tex/latex/dvdcoll/acadian.dcl b/Master/texmf-dist/tex/latex/dvdcoll/acadian.dcl new file mode 100644 index 00000000000..600a4acaeb3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dvdcoll/acadian.dcl @@ -0,0 +1,30 @@ +%% +%% Copyright (C) 2006 by: +%% Josef Kleber +%% <josef.kleber@gmx.net> +%% +%% This file 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. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This Current Maintainer of this work is Josef Kleber. +%% +%% This work consists of all files listed in manifest.txt. +%% +\ProvidesFile{acadian.dcl}[2006/06/19 v1]% +% +%contributed by François Pétiard +% +\input{frenchb.dcl} +% +\endinput% +%% +%% End of file <acadian.dcl>. diff --git a/Master/texmf-dist/tex/latex/dvdcoll/austrian.dcl b/Master/texmf-dist/tex/latex/dvdcoll/austrian.dcl index 65fc5d95376..e6391503a15 100644 --- a/Master/texmf-dist/tex/latex/dvdcoll/austrian.dcl +++ b/Master/texmf-dist/tex/latex/dvdcoll/austrian.dcl @@ -19,9 +19,9 @@ %% %% This work consists of all files listed in manifest.txt. %% -\ProvidesFile{austrian.dcl}[2006/06/11 v1] +\ProvidesFile{austrian.dcl}[2006/09/18 v2] % -\input{german.dcl} +\input{germanb.dcl}% % \endinput% %% diff --git a/Master/texmf-dist/tex/latex/dvdcoll/canadien.dcl b/Master/texmf-dist/tex/latex/dvdcoll/canadien.dcl new file mode 100644 index 00000000000..5f12ba73357 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dvdcoll/canadien.dcl @@ -0,0 +1,30 @@ +%% +%% Copyright (C) 2006 by: +%% Josef Kleber +%% <josef.kleber@gmx.net> +%% +%% This file 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. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This Current Maintainer of this work is Josef Kleber. +%% +%% This work consists of all files listed in manifest.txt. +%% +\ProvidesFile{canadien.dcl}[2006/06/19 v1]% +% +%contributed by François Pétiard +% +\input{frenchb.dcl} +% +\endinput% +%% +%% End of file <canadien.dcl>. diff --git a/Master/texmf-dist/tex/latex/dvdcoll/dvdcoll.cls b/Master/texmf-dist/tex/latex/dvdcoll/dvdcoll.cls index 9bb54484a8f..507ea447d5c 100644 --- a/Master/texmf-dist/tex/latex/dvdcoll/dvdcoll.cls +++ b/Master/texmf-dist/tex/latex/dvdcoll/dvdcoll.cls @@ -22,11 +22,12 @@ % \NeedsTeXFormat{LaTeX2e}% % -\ProvidesClass{dvdcoll}[2006/06/14 dvdcoll.cls v0.52 - Josef Kleber (C) 2006]% +\ProvidesClass{dvdcoll}[2006/10/06 dvdcoll.cls v0.6 - Josef Kleber (C) 2006]% % \RequirePackage{xkeyval}% \RequirePackage{ifthen}% % +% \define@key{dvdcoll.cls}{language}[babel]% {% \ifthenelse{\NOT\equal{#1}{babel}}% @@ -142,26 +143,54 @@ \fi% }% % +\define@choicekey*{DvdSeries}{dvdnumbering}[\valuedvdnumbering\nr]{normal,season}[normal]% +{% + \ifcase\nr\relax% + \renewcommand{\dc@option@dvdnumbering}{normal}% + \or% + \renewcommand{\dc@option@dvdnumbering}{season}% + \fi% +}% +% +\define@choicekey*{DvdSeries}{titlenumbering}[\valuetitlenumbering\nr]{normal,season}[normal]% +{% + \ifcase\nr\relax% + \renewcommand{\dc@option@titlenumbering}{normal}% + \or% + \renewcommand{\dc@option@titlenumbering}{season}% + \fi% +}% +% +% \ExecuteOptionsX{dvdlabel,dvdskip,pagenumbers,heading,language}% % \ProcessOptionsX\relax% % \LoadClassWithOptions{scrreprt}% % -\RequirePackage{xspace}% \RequirePackage{tabularx}% \RequirePackage{booktabs}% \RequirePackage{array}% +\RequirePackage{pdfnotiz}% \RequirePackage[naturalnames=true,hypertexnames=false]{hyperref}% %--- naturalnames=true,hypertexnames=false --- verhindert das mehrfache Anlegen von hyperref-Ankern % (bedingt durch das Rücksetzen des Zahlers chapter) % und beseitigt die Warnungen (ext4) von hyperref % % +%--- Package adjustments --- +% +%avoid ugly looking frame overlays in \DvdTitleWithDescription +\setlength\extrarowheight{2pt}% +% +% %--- Counters --- % \newcounter{dvdcount}[chapter]% \newcounter{titlecount}[dvdcount]% +\newcounter{season}% +\newcounter{seasontitlecount}% +\newcounter{seasondvd}% % % %--- Variables --- @@ -175,12 +204,55 @@ % \def\dc@third{min}% \def\dc@addhspace@title@count{0.7em}% +% +% \***skip aus source2e; etwas vergrößert +\def\dc@smallskip{\vspace{6pt plus 2pt minus 2pt}}% +\def\dc@medskip{\vspace{12pt plus 4pt minus 4pt}}% +\def\dc@bigskip{\vspace{18pt plus 6pt minus 6pt}}% +% +% font sizes used in the tables +\def\dc@size@table@cells{\large}% +\def\dc@size@table@title{\Large}% +% +% dummy for .dcl definitons \newcommand*\dc@miss{}% \newcommand*\dc@lfrname{}% -% \***skip aus source2e; etwas vergrößert -\def\dc@smallskip{\vspace{6pt plus 2pt minus 2pt}} -\def\dc@medskip{\vspace{12pt plus 4pt minus 4pt}} -\def\dc@bigskip{\vspace{18pt plus 6pt minus 6pt}} +\newcommand*\dc@pdf@subject{}% +% +% +\newcommand*\dc@option@titlenumbering{}% +\newcommand*\dc@option@dvdnumbering{}% +% +% +\newcommand*\dc@pcwlz[1]% PrintCounterWithLeadingZero +{% + \ifnum\value{#1}<10{0}\fi% + \arabic{#1}% +}% +% +% +\newcommand*\dc@print@counter% +{% + \ifthenelse{\equal{\dc@option@titlenumbering}{season}}% + {%season + \dc@pcwlz{season}x\dc@pcwlz{seasontitlecount}% + }% + {%normal + \thetitlecount{}.% + }% +}% +% +% +\newcommand*\dc@calc@dvdcounter% +{% + \ifthenelse{\equal{\dc@option@dvdnumbering}{season}}% + {%season + \def\dc@dvdcounter{\theseason.\theseasondvd}% + }% + {%normal + \def\dc@dvdcounter{\thedvdcount}% + }% +}% % % \newcommand*\dc@print@dvdlabel[1]% @@ -195,6 +267,18 @@ % %--- Commands --- % +\newcommand*\SetLFRName[1]% +{% + \renewcommand*\dc@lfrname{#1}% +}% +% +% +\newcommand\Description[1]% +{% + \gdef\pn@pdf@desc{#1}% +}% +% +% \newcommand*\SetCounterSpace[1]% {% \def\dc@addhspace@title@count{#1}% @@ -209,7 +293,7 @@ % \newcommand*\DvdCounter% {% - \DvdSpace\thedvdcount% + \DvdSpace\dc@dvdcounter% }% % % @@ -225,6 +309,17 @@ }% % % +\newcommand*\SetSeason[2][1]% +{% + \setcounter{season}{#2}% + \ifthenelse{#1 = 1}% + {\setcounter{seasondvd}{0}}% just reset if #1 equal 1 + {}% + \setcounter{seasontitlecount}{#1}% + \addtocounter{seasontitlecount}{-1}% +}% +% +% \newcommand*\DvdPart[1]% {% \part{#1}% @@ -233,10 +328,15 @@ }% % % -\newcommand*\DvdSeries[1]% -{% - \chapter{#1}% - \def\dc@series{#1}% +\newcommand*\DvdSeries[2][titlenumbering=normal,dvdnumbering=normal]% +{%default - default setting of xkeyval seem not to work??? all or nothing??? + \renewcommand*\dc@option@dvdnumbering{normal}% + \renewcommand*\dc@option@titlenumbering{normal}% +% + \setkeys{DvdSeries}{#1}% + \chapter{#2}% + \def\dc@series{#2}% + \setcounter{season}{-1}% \ifthenelse{\equal{\valueheading}{nonumber}}% {% \setcounter{dvdcount}{0}% @@ -250,10 +350,12 @@ % \newcommand*\DvdTitle[2]% {% - %\refstepcounter für richtigen (DvdTitle anstatt Dvd) Hyperref-Link in lfr - \refstepcounter{titlecount}% + %increasing counter depending on titlenumbering + \ifthenelse{\equal{\dc@option@titlenumbering}{season}}% + {\refstepcounter{seasontitlecount}}% + {\refstepcounter{titlecount}}% \ifthenelse{\equal{\dc@miss}{#2}}% - { + {% %Eintrag in lfr unbedingt vor Tabelleneintrag, ansonsten Fehler in der Tabelle - don't no why! %Eintrag in lfr bei heading=nonumber OHNE Nummern \ifthenelse{\equal{\valueheading}{nonumber}}% @@ -261,17 +363,58 @@ \addcontentsline{lfr}{lfrsec}{\protect\numberline{} \dc@series\ - #1}% }% {% - \addcontentsline{lfr}{lfrsec}{\protect\numberline{\thepart.\thechapter.\thedvdcount.\thetitlecount} \dc@series\ - #1}% - }% - \thetitlecount{}. & #1 & \hfill\dc@miss \tabularnewline% - } + \ifthenelse{\equal{\dc@option@titlenumbering}{season}}% + {%season + \addcontentsline{lfr}{lfrsec}{\protect\numberline{\thepart.\thechapter.\theseason.\theseasontitlecount} \dc@series\ - #1}% + }% + {%normal + \addcontentsline{lfr}{lfrsec}{\protect\numberline{\thepart.\thechapter.\thedvdcount.\thetitlecount} \dc@series\ - #1}% + }% + }% + \dc@print@counter & #1\strut & \hfill\dc@miss \tabularnewline% + }% {% \ifthenelse{\equal{}{#2}}% % keine Minutenangabe - {\thetitlecount{}. & #1 & \tabularnewline}% + {\dc@print@counter & #1\strut & \tabularnewline}% % mit Minutenangabe - {\thetitlecount{}. & #1 & \hfill{}#2~\dc@third \tabularnewline}% + {\dc@print@counter & #1\strut & \hfill{}#2~\dc@third \tabularnewline}% + }% +}% +% +% +\newcommand*\DvdTitleWithDescription[2]% +{% + %increasing counter depending on titlenumbering + \ifthenelse{\equal{\dc@option@titlenumbering}{season}}% + {\refstepcounter{seasontitlecount}}% + {\refstepcounter{titlecount}}% + \ifthenelse{\equal{\dc@miss}{#2}}% + {% + %Eintrag in lfr unbedingt vor Tabelleneintrag, ansonsten Fehler in der Tabelle - don't no why! + %Eintrag in lfr bei heading=nonumber OHNE Nummern + \ifthenelse{\equal{\valueheading}{nonumber}}% + {% + \addcontentsline{lfr}{lfrsec}{\protect\numberline{} \dc@series\ - #1}% + }% + {% + \ifthenelse{\equal{\dc@option@titlenumbering}{season}}% + {%season + \addcontentsline{lfr}{lfrsec}{\protect\numberline{\thepart.\thechapter.\theseason.\theseasontitlecount} \dc@series\ - #1}% + }% + {%normal + \addcontentsline{lfr}{lfrsec}{\protect\numberline{\thepart.\thechapter.\thedvdcount.\thetitlecount} \dc@series\ - #1}% + }% + }% + \dc@print@counter & \makebox[0pt]{}\pdfnote{#1\strut} & \hfill\dc@miss \tabularnewline% }% + {% + \ifthenelse{\equal{}{#2}}% + % keine Minutenangabe + {\dc@print@counter & \makebox[0pt]{}\pdfnote{#1\strut} & \tabularnewline}% + % mit Minutenangabe + {\dc@print@counter & \makebox[0pt]{}\pdfnote{#1\strut} & \hfill{}#2~\dc@third \tabularnewline}% + }% }% % % @@ -294,69 +437,70 @@ }% % % -\newcommand\l@lfrsec{\@dottedtocline{1}{0em}{0em}} +\newcommand\l@lfrsec{\@dottedtocline{1}{0em}{0em}}% % % \newcommand\SetLFRSecNumwidth[1]% {% - \renewcommand*\l@lfrsec{\@dottedtocline{1}{0pt}{#1}} + \renewcommand*\l@lfrsec{\@dottedtocline{1}{0pt}{#1}}% }% % % \newcommand\SetTOCSecIndent[1]% {% - \renewcommand*\l@section{\@dottedtocline{1}{#1}{0pt}} + \renewcommand*\l@section{\@dottedtocline{1}{#1}{0pt}}% }% % % \newcommand*\SetTOCNumwidth[1]% {% \renewcommand*\l@chapter[2]{% - \ifnum \c@tocdepth >\m@ne + \ifnum \c@tocdepth >\m@ne% \addpenalty{-\@highpenalty}% - \vskip 1.0em \@plus\p@ + \vskip 1.0em \@plus\p@% \setlength\@tempdima{#1}% - \if@tocleft - \ifx\toc@l@number\@empty\else + \if@tocleft% + \ifx\toc@l@number\@empty\else% \setlength\@tempdima{0\toc@l@number}% - \fi - \fi - \begingroup - \parindent \z@ \rightskip \@pnumwidth - \parfillskip -\@pnumwidth - \leavevmode \sectfont - \advance\leftskip\@tempdima - \hskip -\leftskip - ##1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss ##2}\par - \penalty\@highpenalty - \endgroup - \fi} + \fi% + \fi% + \begingroup% + \parindent \z@ \rightskip \@pnumwidth% + \parfillskip -\@pnumwidth% + \leavevmode \sectfont% + \advance\leftskip\@tempdima% + \hskip -\leftskip% + ##1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss ##2}\par% + \penalty\@highpenalty% + \endgroup% + \fi}% % \renewcommand*\l@part[2]{% - \ifnum \c@tocdepth >-2\relax + \ifnum \c@tocdepth >-2\relax% \addpenalty{-\@highpenalty}% \addvspace{2.25em \@plus\p@}% \setlength\@tempdima{#1}% - \if@tocleft - \ifx\toc@l@number\@empty\else + \if@tocleft% + \ifx\toc@l@number\@empty\else% \setlength\@tempdima{0\toc@l@number}% - \fi - \fi - \begingroup - \parindent \z@ \rightskip \@pnumwidth - \parfillskip -\@pnumwidth - \leavevmode\sectfont\large - \advance\leftskip\@tempdima - \hskip -\leftskip - ##1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss ##2}\par - \penalty\@highpenalty - \endgroup - \fi} + \fi% + \fi% + \begingroup% + \parindent \z@ \rightskip \@pnumwidth% + \parfillskip -\@pnumwidth% + \leavevmode\sectfont\large% + \advance\leftskip\@tempdima% + \hskip -\leftskip% + ##1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss ##2}\par% + \penalty\@highpenalty% + \endgroup% + \fi}% }% % % %--- Environments --- % +% \newenvironment{Dvd}[2]% {% % @@ -367,13 +511,15 @@ \SavedEndTab% }% \refstepcounter{dvdcount}% \refstepcounter für hyperref-Link auf die jeweilige DVD + \refstepcounter{seasondvd}% + \dc@calc@dvdcounter% to have correct counter in "text" form \ifthenelse{\equal{}{#1}}{\def\dc@title{\dc@series\DvdCounter}}{\def\dc@title{#1}}% \addcontentsline{toc}{section}{\dc@title}% \phantomsection% korrigiert fehlerhafte (falsch positionierte) Links auf dvd-Tabellen \noindent% % verhindert overfull \hbox Errors wegen \tabularx{\linewidth}... - \tabularx{\linewidth}{>{\large}r>{\large}X>{\large}l}% - \multicolumn{3}{l}{\Large\dc@title\dc@option@dvdlabel\dc@print@dvdlabel{#2}}\\% + \tabularx{\linewidth}{>{\dc@size@table@cells\hfill}r>{\dc@size@table@cells}X>{\dc@size@table@cells}r}% + \multicolumn{3}{l}{\dc@size@table@title\dc@title\dc@option@dvdlabel\dc@print@dvdlabel{#2}}\\% \midrule% }% {% @@ -382,11 +528,4 @@ \dc@addvspace@endDvd% }% % -% -%---------------------------------------------------------------------------------------------------------------- -% -% ToDo: -% -% - Option titlenumbers: verringern auf 2 Spalten unter Weglassen der Nummerierung -% Fehler bei Implementationsversuch (1. ifthenelse mit tabularx / 2. \multicolumn) -% mal in Newsgroup fragen
\ No newline at end of file +\endinput%
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/dvdcoll/english.dcl b/Master/texmf-dist/tex/latex/dvdcoll/english.dcl index 6a82cc42d6b..7ecb9af8d3c 100644 --- a/Master/texmf-dist/tex/latex/dvdcoll/english.dcl +++ b/Master/texmf-dist/tex/latex/dvdcoll/english.dcl @@ -19,11 +19,12 @@ %% %% This work consists of all files listed in manifest.txt. %% -\ProvidesFile{english.dcl}[2006/06/11 v1]% +\ProvidesFile{english.dcl}[2006/09/18 v2]% % \makeatletter% \renewcommand*\dc@miss{F}% \renewcommand*\dc@lfrname{List of faulty or missing Recordings}% +\renewcommand*\dc@pdf@subject{Description}% \makeatother% % \endinput% diff --git a/Master/texmf-dist/tex/latex/dvdcoll/francais.dcl b/Master/texmf-dist/tex/latex/dvdcoll/francais.dcl new file mode 100644 index 00000000000..e27d60e5861 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dvdcoll/francais.dcl @@ -0,0 +1,30 @@ +%% +%% Copyright (C) 2006 by: +%% Josef Kleber +%% <josef.kleber@gmx.net> +%% +%% This file 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. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This Current Maintainer of this work is Josef Kleber. +%% +%% This work consists of all files listed in manifest.txt. +%% +\ProvidesFile{francais.dcl}[2006/06/19 v1]% +% +%contributed by François Pétiard +% +\input{frenchb.dcl} +% +\endinput% +%% +%% End of file <francais.dcl>. diff --git a/Master/texmf-dist/tex/latex/dvdcoll/french.dcl b/Master/texmf-dist/tex/latex/dvdcoll/french.dcl new file mode 100644 index 00000000000..3a512269e5b --- /dev/null +++ b/Master/texmf-dist/tex/latex/dvdcoll/french.dcl @@ -0,0 +1,30 @@ +%% +%% Copyright (C) 2006 by: +%% Josef Kleber +%% <josef.kleber@gmx.net> +%% +%% This file 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. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This Current Maintainer of this work is Josef Kleber. +%% +%% This work consists of all files listed in manifest.txt. +%% +\ProvidesFile{french.dcl}[2006/06/19 v1]% +% +%contributed by François Pétiard +% +\input{frenchb.dcl} +% +\endinput% +%% +%% End of file <french.dcl>. diff --git a/Master/texmf-dist/tex/latex/dvdcoll/frenchb.dcl b/Master/texmf-dist/tex/latex/dvdcoll/frenchb.dcl new file mode 100644 index 00000000000..28a47c238a7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dvdcoll/frenchb.dcl @@ -0,0 +1,34 @@ +%% +%% Copyright (C) 2006 by: +%% Josef Kleber +%% <josef.kleber@gmx.net> +%% +%% This file 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. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This Current Maintainer of this work is Josef Kleber. +%% +%% This work consists of all files listed in manifest.txt. +%% +\ProvidesFile{frenchb.dcl}[2006/09/18 v2]% +% +%contributed by François Pétiard +% +\makeatletter% +\renewcommand*\dc@miss{F}% +\renewcommand*\dc@lfrname{Liste des enregistrements d\'{e}fectueux ou absents}% +\renewcommand*\dc@pdf@subject{Description}% +\makeatother% +% +\endinput% +%% +%% End of file <frenchb.dcl>. diff --git a/Master/texmf-dist/tex/latex/dvdcoll/german.dcl b/Master/texmf-dist/tex/latex/dvdcoll/german.dcl index 38a2495a133..76c99b8e919 100644 --- a/Master/texmf-dist/tex/latex/dvdcoll/german.dcl +++ b/Master/texmf-dist/tex/latex/dvdcoll/german.dcl @@ -19,12 +19,9 @@ %% %% This work consists of all files listed in manifest.txt. %% -\ProvidesFile{german.dcl}[2006/06/11 v1]% +\ProvidesFile{german.dcl}[2006/09/18 v2]% % -\makeatletter% -\renewcommand*\dc@miss{F}% -\renewcommand*\dc@lfrname{Verzeichnis fehlerhafter oder fehlender Aufzeichnungen}% -\makeatother% +\input{germanb.dcl}% % \endinput% %% diff --git a/Master/texmf-dist/tex/latex/dvdcoll/germanb.dcl b/Master/texmf-dist/tex/latex/dvdcoll/germanb.dcl index afb6e58013e..a0af6d055d8 100644 --- a/Master/texmf-dist/tex/latex/dvdcoll/germanb.dcl +++ b/Master/texmf-dist/tex/latex/dvdcoll/germanb.dcl @@ -19,9 +19,13 @@ %% %% This work consists of all files listed in manifest.txt. %% -\ProvidesFile{germanb.dcl}[2006/06/11 v1]% +\ProvidesFile{germanb.dcl}[2006/09/18 v2]% % -\input{german.dcl} +\makeatletter% +\renewcommand*\dc@miss{F}% +\renewcommand*\dc@lfrname{Verzeichnis fehlerhafter oder fehlender Aufzeichnungen}% +\renewcommand*\dc@pdf@subject{Beschreibung}% +\makeatother% % \endinput% %% diff --git a/Master/texmf-dist/tex/latex/dvdcoll/naustrian.dcl b/Master/texmf-dist/tex/latex/dvdcoll/naustrian.dcl index 12c386dab4d..5cee2982250 100644 --- a/Master/texmf-dist/tex/latex/dvdcoll/naustrian.dcl +++ b/Master/texmf-dist/tex/latex/dvdcoll/naustrian.dcl @@ -19,9 +19,9 @@ %% %% This work consists of all files listed in manifest.txt. %% -\ProvidesFile{naustrian.dcl}[2006/06/11 v1]% +\ProvidesFile{naustrian.dcl}[2006/09/18 v2]% % -\input{german.dcl} +\input{germanb.dcl}% % \endinput% %% diff --git a/Master/texmf-dist/tex/latex/dvdcoll/ngerman.dcl b/Master/texmf-dist/tex/latex/dvdcoll/ngerman.dcl index 1a077cfe1c9..c46a854201f 100644 --- a/Master/texmf-dist/tex/latex/dvdcoll/ngerman.dcl +++ b/Master/texmf-dist/tex/latex/dvdcoll/ngerman.dcl @@ -19,9 +19,9 @@ %% %% This work consists of all files listed in manifest.txt. %% -\ProvidesFile{ngerman.dcl}[2006/06/11 v1]% +\ProvidesFile{ngerman.dcl}[2006/09/18 v2]% % -\input{german.dcl} +\input{germanb.dcl}% % \endinput% %% diff --git a/Master/texmf-dist/tex/latex/dvdcoll/pdfnotiz.sty b/Master/texmf-dist/tex/latex/dvdcoll/pdfnotiz.sty new file mode 100644 index 00000000000..b067e4a4e30 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dvdcoll/pdfnotiz.sty @@ -0,0 +1,282 @@ +%% +%% Copyright (C) 2006 by: +%% Josef Kleber +%% <josef.kleber@gmx.net> +%% +%% This file 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. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This Current Maintainer of this work is Josef Kleber. +%% +%% This work consists of all files listed in manifest.txt. +%% +%% This style is largely based on Scott Pakin's cooltooltips.sty with minor +%% adjustmjents for the needs of dvdcoll.cls plus some new commands +%% +\NeedsTeXFormat{LaTeX2e}[2001/06/01]% +\ProvidesPackage{pdfnotiz}[2006/10/05 v1.0 PDF tooltips (pdfnotiz.sty)]% +\RequirePackage{ifpdf}% +\RequirePackage{marginnote}% +\newcommand*{\ctip@form@fields}{}% +\ifpdf% + \AtEndDocument{% + \immediate\pdfobj {% + <<% + /Fields [\ctip@form@fields]% + /NeedAppearances true% + >>% + }% + \pdfcatalog {% + /AcroForm \the\pdflastobj\space 0 R% + }% + }% +\fi% +\ifpdf% + \setbox\@tempboxa=\hbox{}% + \immediate\pdfxform\@tempboxa% + \edef\ctip@empty@icon{\the\pdflastxform}% +\fi% +\newcommand*{\ctip@tip@number}{0}% +\newcommand*{\ctip@make@Text}[3][0 1 0]{% + \pdfannot width 0pt height 0pt depth 0pt {% + /Subtype /Text% + /C [#1]% + /Subj (#2)% + /Contents (#3)% + /NM (ctip Text \ctip@tip@number)% + /AP <<% + /N \ctip@empty@icon\space 0 R% + /D \ctip@empty@icon\space 0 R% + /R \ctip@empty@icon\space 0 R% + >>% + /Open false% + }% +}% +\newcommand*{\ctip@current@page}{1}% +\newcommand*{\ctip@last@invis}{0}% +\let\ctip@label=\label% +\newcommand*{\ctip@update@pagenum}{% + \ctip@label{ctip:tip:\ctip@tip@number}% + \expandafter\let\expandafter\ctip@refname% + \csname r@ctip:tip:\ctip@tip@number\endcsname% + \@ifundefined{ctip@refname}{% + \xdef\ctip@current@page{\thepage}% + }{% + \def\ctip@secondofN##1##2##3!{% + \xdef\ctip@current@page{##2}% + }% + \expandafter\ctip@secondofN\ctip@refname!% + }% +}% +\newcommand*{\ctip@make@invisible@Widget}{% + \pdfannot width 0pt height 0pt depth 0pt {% + /Subtype /Widget% + /FT /Btn% + /T (ctip invisible Widget \ctip@current@page)% + /DA (/Helv 10 Tf 0 0 0 rg)% + /Ff 65536% + /F 2% + /AA <<% + /Fo <<% + /Type /Action% + /S /JavaScript% + /JS (event.target.display = display.hidden)% + >>% + >>% + }% +}% +\newsavebox{\ctip@content@box}% + +\newcommand*{\ctip@unfocus@js}{% + var ctipField =% + this.getField("ctip invisible Widget \ctip@current@page");% + ctipField.display = display.visible;% + ctipField.setFocus();% +} +\newcommand*{\ctip@enter@js}{% + if (!global.ctip_disable_popups) {% + var ctipText =% + this.getAnnot(this.pageNum, "ctip Text \ctip@tip@number");% + ctipText.popupOpen = true;% + \ctip@unfocus@js% + }% +}% +\newcommand*{\ctip@exit@js}{% + if (!global.ctip_disable_popups) {% + var ctipText =% + this.getAnnot(this.pageNum, "ctip Text \ctip@tip@number");% + ctipText.popupOpen = false;% + \ctip@unfocus@js% + }% +}% +\newcommand*{\ctip@make@Widget}[3][0 1 0]{% + \setlength{\@tempdima}{\wd\ctip@content@box}% + \addtolength{\@tempdima}{\fboxsep}% + \setlength{\@tempdimb}{\ht\ctip@content@box}% + \addtolength{\@tempdimb}{0.5\fboxsep}% + \setlength{\@tempdimc}{\dp\ctip@content@box}% + \addtolength{\@tempdimc}{0.5\fboxsep}% + \hspace*{-0.5\fboxsep}% + \immediate% + \pdfobj {% + <<% + /Type /Action% + /S /JavaScript% +%insert for click opening% + /JS (\ctip@enter@js)% +%deleted link ability% +% /S /URI% +% /URI (#2)% + >>% + }% + \edef\ctip@action@object{\the\pdflastobj\space 0 R}% + \makebox[0pt][l]{% + \advance\fboxrule by 0.9999pt% + \pdfannot width \@tempdima% + height \@tempdimb% + depth \@tempdimc {% + /Subtype /Link% + /A \ctip@action@object% + /Border [0 0 \strip@pt\fboxrule]% + /C [#1]% + }% + }% + \pdfannot width \@tempdima% + height \@tempdimb% + depth \@tempdimc {% + /Subtype /Widget% + /FT /Btn% + /T (ctip Field \ctip@tip@number)% + /TU (#3)% + /DA (/Helv 10 Tf 0 0 0 rg)% + /Ff 65536% + /BS <<% + /Type /Border% + /W \strip@pt\fboxrule% + >>% + /MK <<% + /BC [#1]% + /TP 1% + >>% + /AA <<% +%deleting moseover effects +% /E << +% /Type /Action +% /S /JavaScript +% /JS (\ctip@enter@js) +% >> +% /X << +% /Type /Action +% /S /JavaScript +% /JS (\ctip@exit@js) +% >> + /U <<% + /Type /Action% + /S /JavaScript% + /JS (\ctip@unfocus@js)% + /Next \ctip@action@object% + >>% + >>% + }% + \xdef\ctip@form@fields{\ctip@form@fields\space\the\pdflastannot\space 0 R}% +}% +\DeclareRobustCommand{\cooltooltip}[1][0 1 0]{% + \def\ctip@popup@color{#1}% + \ctip@cooltooltip@i% +}% +\newcommand*{\ctip@cooltooltip@i}[6][\ctip@popup@color]{% + \savebox{\ctip@content@box}{#6}% + \@tempcnta=\ctip@tip@number% + \advance\@tempcnta by 1% + \xdef\ctip@tip@number{\the\@tempcnta}% + \ctip@update@pagenum% + \@tempcnta=\ctip@last@invis% + \@tempcntb=\ctip@current@page% + \ifnum\@tempcnta<\@tempcntb% + \ctip@make@invisible@Widget% + \xdef\c@ctip@last@invis{\ctip@current@page}% + \fi% + \makebox[0pt][l]{% + \ctip@make@Widget[#1]{#4}{#5}% + \makebox[\paperwidth][r]{% + \ctip@make@Text[\ctip@popup@color]{#2}{#3}% + }% + }% + \usebox{\ctip@content@box}% +}% +\DeclareRobustCommand{\cooltooltiptoggle}[1]{% + \savebox{\ctip@content@box}{#1}% + \makebox[0pt][l]{% + \pdfannot width \wd\ctip@content@box% + height \ht\ctip@content@box% + depth \dp\ctip@content@box {% + /Subtype /Link% + /Border [0 0 0]% + /A <<% + /Type /Action% + /S /JavaScript% + /JS (% + global.ctip_disable_popups = !global.ctip_disable_popups;% + var ctipField;% + var i;% + for (i=1; (ctipField=this.getField("ctip Field " + i)); i++)% + ctipField.display =% + global.ctip_disable_popups ? display.hidden : display.visible;% + )% + >>% + }% + }% + \usebox{\ctip@content@box}% +}% +\RequirePackage{ifpdf}% +\ifpdf% +\else% + \PackageWarning{pdfnotiz}{% + Not running pdfLaTeX in PDF mode; disabling pdf annotations% + }% + \renewcommand*{\ctip@cooltooltip@i}[6][]{\mbox{#6}}% +\fi% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\pn@pdf@boxcolor{0 0 1}% +\def\pn@pdf@linkcolor{0 0 1}% +\gdef\pn@pdf@desc{}% +% +\newcommand{\pdfnote}[1]% +{% + \cooltooltip[\pn@pdf@boxcolor][\pn@pdf@linkcolor]{\dc@pdf@subject}{\pn@pdf@desc}{}{}{#1}% +}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\pn@pdfmarginnote@color{0 0 1}% +\def\pn@pdfmarginnote@subject{Info}% +% +\newcommand{\pdfmarginnote}[2][Help]{% +\def\pn@notiz{}% +\pdfstringdef\pn@notiz{#2}% +\marginnote{% + \pdfannot width 0pt height \baselineskip depth 0pt% + {% + /Subtype /Text% + /C [\pn@pdfmarginnote@color]% + /Subj (\pn@pdfmarginnote@subject)% + /Name (#1)% + /TU ( )% + /Contents (\pn@notiz)% + /Open false% + }% + }% +}% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ No newline at end of file |