summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx116
1 files changed, 79 insertions, 37 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx b/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx
index 7a6d0d6c575..60251dc0a91 100644
--- a/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx
@@ -62,7 +62,7 @@
%
%<*ignore>
\begingroup
- \def\x{LaTeX2e}
+ \def\x{LaTeX2e}%
\expandafter\endgroup
\ifcase 0\ifx\install y1\fi\expandafter
\ifx\csname processbatchFile\endcsname\relax\else1\fi
@@ -73,7 +73,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: bmpsize 2007/02/18 v1.1 Extract size and resolution data from bitmap files (HO)}
+\Msg{* Package: bmpsize 2007/04/11 v1.2 Extract size and resolution data from bitmap files (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -142,11 +142,11 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{bmpsize.drv}%
- [2007/02/18 v1.1 Extract size and resolution data from bitmap files (HO)]
+ [2007/04/11 v1.2 Extract size and resolution data from bitmap files (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}
\begin{document}
- \DocInput{bmpsize.dtx}
+ \DocInput{bmpsize.dtx}%
\end{document}
%</driver>
% \fi
@@ -172,7 +172,7 @@ and the derived files
% \GetFileInfo{bmpsize.drv}
%
% \title{The \xpackage{bmpsize} package}
-% \date{2007/02/18 v1.1}
+% \date{2007/04/11 v1.2}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -368,7 +368,7 @@ and the derived files
% \begin{macrocode}
%<*base>
\ProvidesPackage{bmpsize-base}%
- [2007/02/18 v1.1 Basic part of bmpsize (HO)]
+ [2007/04/11 v1.2 Basic part of bmpsize (HO)]%
% \end{macrocode}
% Modules of package \xpackage{fp} are used for calculations.
% \begin{macrocode}
@@ -785,7 +785,7 @@ and the derived files
% \subsection{Bitmap formats}
%
% \subsubsection{png}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin png
@@ -893,7 +893,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{jpg}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin jpg
@@ -912,7 +912,7 @@ and the derived files
% stop
% fi
% % look for JFIF APP0 segment
-% if numeq $temp 0xE0 % APP0
+% if numeq $temp 0xE0 % APP0
% num 2 -> $length
% if numeq $exifdensity 0
% if numge $length 16 % a JFIF segment has 16 bytes at least
@@ -1359,7 +1359,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{bmp}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin bmp
@@ -1396,7 +1396,7 @@ and the derived files
%read 8 38
%num 4 -> $pixelx
%num 4 -> $pixely
-%assign {100cm} -> $unit
+%assign {100cm} -> $unit
%end
%\end{verbatim}
%</ignore>
@@ -1460,7 +1460,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{gif}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin gif
@@ -1525,7 +1525,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{tiff}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin tiff
@@ -1751,7 +1751,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{pnm}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin pnm
@@ -1989,7 +1989,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{pam}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin pam
@@ -2358,7 +2358,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{xpm}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin xpm
@@ -2656,7 +2656,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{tga}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin tga
@@ -2777,7 +2777,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{pcx}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin pcx
@@ -2851,7 +2851,7 @@ and the derived files
% \end{macro}
%
% \subsubsection{msp}
-%
+%
%<*ignore>
%\begin{verbatim}
%begin msp
@@ -2924,7 +2924,8 @@ and the derived files
% \end{macro}
%
% \subsubsection{sgi}
-%
+%
+%<*ignore>
%\begin{verbatim}
%begin sgi
%big-endian
@@ -2940,6 +2941,7 @@ and the derived files
%ok
%end
%\end{verbatim}
+%</ignore>
% \begin{macro}{\bmpsize@read@sgi}
% \begin{macrocode}
%<*base>
@@ -2978,7 +2980,7 @@ and the derived files
% \begin{macrocode}
%<*package>
\ProvidesPackage{bmpsize}%
- [2007/02/18 v1.1 Extract size and resolution data from bitmap files (HO)]
+ [2007/04/11 v1.2 Extract size and resolution data from bitmap files (HO)]%
\RequirePackage{ifpdf}
\ifpdf
\PackageInfo{bmpsize}{Superseded by pdfTeX in PDF mode}%
@@ -3122,7 +3124,7 @@ and the derived files
\let\Gin@viewport@code\Gin@viewport
\@bmpsize@warning{%
Explicit bounding box replaced by\MessageBreak
- viewport setting
+ viewport setting%
}%
\else
\@bmpsize@warning{Explicit bounding box is ignored}%
@@ -3173,7 +3175,7 @@ and the derived files
% \begin{macrocode}
%<*dvips>
\ProvidesFile{bmpsize-dvips.def}%
- [2007/02/18 v1.1 Graphics bitmap driver for dvips (HO)]
+ [2007/04/11 v1.2 Graphics bitmap driver for dvips (HO)]%
% \end{macrocode}
% Ensure correct catcodes.
% \begin{macrocode}
@@ -3209,15 +3211,15 @@ and the derived files
\hbox to\z@{%
\kern\Gin@req@width
\special{ps:%
- currentpoint
- newpath
- 3 index 3 index moveto
- 1 index 3 index lineto
- 2 copy lineto
- exch pop exch pop
- lineto
- closepath
- clip
+ currentpoint %
+ newpath %
+ 3 index 3 index moveto %
+ 1 index 3 index lineto %
+ 2 copy lineto %
+ exch pop exch pop %
+ lineto %
+ closepath %
+ clip %
}%
\hss
}%
@@ -3296,7 +3298,7 @@ and the derived files
% \begin{macrocode}
%<*dvipdfm>
\ProvidesFile{bmpsize-dvipdfm.def}%
- [2007/02/18 v1.1 Graphics bitmap driver for dvipdfm (HO)]
+ [2007/04/11 v1.2 Graphics bitmap driver for dvipdfm (HO)]%
% \end{macrocode}
% Ensure correct catcodes.
% \begin{macrocode}
@@ -3456,7 +3458,7 @@ and the derived files
% \begin{macrocode}
%<*dvipdfmx>
\ProvidesFile{bmpsize-dvipdfmx.def}%
- [2007/02/18 v1.1 Graphics bitmap driver for dvipdfmx (HO)]
+ [2007/04/11 v1.2 Graphics bitmap driver for dvipdfmx (HO)]%
% \end{macrocode}
% Ensure correct catcodes.
% \begin{macrocode}
@@ -3603,13 +3605,47 @@ and the derived files
%
% \section{Installation}
%
-% \paragraph{CTAN.} This package is available on
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
% CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}:
% \begin{description}
% \item[\CTAN{macros/latex/contrib/oberdiek/bmpsize.dtx}] The source file.
% \item[\CTAN{macros/latex/contrib/oberdiek/bmpsize.pdf}] Documentation.
% \end{description}
%
+%
+% \paragraph{Bundle.} All the packages of the bundle `oberdiek'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/oberdiek/oberdiek-tds.zip}]
+% \end{description}
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{oberdiek-tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip oberdiek-tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \paragraph{Script installation.}
+% Check the directory \xfile{TDS:scripts/oberdiek/} for
+% scripts that need further installation steps.
+% Package \xpackage{attachfile2} comes with the Perl script
+% \xfile{pdfatfi.pl} that should be installed in such a way
+% that it can be called as \texttt{pdfatfi}.
+% Example (linux):
+% \begin{quote}
+% |chmod +x scripts/oberdiek/pdfatfi.pl|\\
+% |cp scripts/oberdiek/pdfatfi.pl /usr/local/bin/|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
% \docstrip\ archive. The files are extracted by running the
% \xfile{.dtx} through \plainTeX:
@@ -3645,8 +3681,10 @@ and the derived files
% TDS installing feature, then some files can already be in the right
% place, see the documentation of \docstrip.
%
-% \paragraph{Refresh file databases.} If your \TeX~distribution
-% (\teTeX, \mikTeX, \dots) rely on file databases, you must refresh
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\teTeX, \mikTeX, \dots) relies on file name databases, you must refresh
% these. For example, \teTeX\ users run \verb|texhash| or
% \verb|mktexlsr|.
%
@@ -3786,6 +3824,10 @@ and the derived files
% \item
% 1in replaced by 72.27pt, because TeX is inaccurate if 1in is given.
% \end{Version}
+% \begin{Version}{2007/04/11 v1.2}
+% \item
+% Line ends sanitized.
+% \end{Version}
% \end{History}
%
% \PrintIndex