summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2007-11-16 11:09:01 +0000
committerNorbert Preining <preining@logic.at>2007-11-16 11:09:01 +0000
commitbf62142fc8f3b76ae5967c6aa3ad4dd928c8df52 (patch)
tree4b54d3c19793839538d18679facbeb7c9a3994ba
parent1518aef65389272c79c68a75ed8f9af5ff98d83c (diff)
image-gallery update
git-svn-id: svn://tug.org/texlive/trunk@5454 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/image-gallery/gallery-example.pdfbin793665 -> 797828 bytes
-rw-r--r--Master/texmf-dist/tex/latex/image-gallery/image-gallery.cls19
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
index 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
Binary files differ
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