diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/image-gallery/gallery-example.pdf | bin | 793665 -> 797828 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/image-gallery/image-gallery.cls | 19 |
2 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/image-gallery/gallery-example.pdf b/Master/texmf-dist/doc/latex/image-gallery/gallery-example.pdf Binary files differindex 4a19d50d56a..d17aa58816c 100644 --- a/Master/texmf-dist/doc/latex/image-gallery/gallery-example.pdf +++ b/Master/texmf-dist/doc/latex/image-gallery/gallery-example.pdf diff --git a/Master/texmf-dist/tex/latex/image-gallery/image-gallery.cls b/Master/texmf-dist/tex/latex/image-gallery/image-gallery.cls index 02c4911545a..73a2185db32 100644 --- a/Master/texmf-dist/tex/latex/image-gallery/image-gallery.cls +++ b/Master/texmf-dist/tex/latex/image-gallery/image-gallery.cls @@ -14,7 +14,7 @@ \errorcontextlines=100 \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{image-gallery}[2007/09/02 v1.0i image gallery -- RN] +\ProvidesClass{image-gallery}[2007/10/04 v1.0j image gallery -- RN] \DeclareOption{dummy}{% \AtEndOfClass{% \renewcommand*\IG@image[2][]{\rule{\IG@width}{\IG@height}}% @@ -23,6 +23,12 @@ \RequirePackage{color}% }% } +\DeclareOption{nocaption}{% + \AtEndOfClass{% + \let\IG@@showname\@gobble + \let\IG@@showtext\@gobble + }% +} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions\relax \LoadClass[10pt]{article} @@ -79,11 +85,11 @@ \endlinechar=\m@ne \loop \ifeof\IG@input\IG@morefalse\else - \read\IG@input to\@tempa - \if\@tempa\par\else - \ifx\@tempa\@empty\else + \read\IG@input to\IG@tempa + \if\IG@tempa\par\else + \ifx\IG@tempa\@empty\else \count@=\z@ \let\IG@alt@name=\@empty - \@for\reserved@a:=\@tempa\do{% + \@for\reserved@a:=\IG@tempa\do{% \ifcase\count@ \edef\IG@imagefile{\reserved@a}% \or @@ -98,7 +104,7 @@ \ifx\IG@alt@name\@empty \edef\@tempa{\IG@imagefile}\let\IG@showname\IG@@showname \else - \def\@tempa{\IG@alt@name}\let\IG@showname\@firstofone + \def\@tempa{\IG@alt@name}\let\IG@showname\IG@@showtext \fi \makebox[0pt][c]{% \hskip-\IG@width\raisebox{-\ht\strutbox}[0pt][0pt]{% @@ -140,5 +146,6 @@ \parindent=\z@ \pagestyle{empty} \DeclareUrlCommand\IG@@showname{\urlstyle{same}} +\let\IG@@showtext=\@firstofone \endinput |