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.dtx104
1 files changed, 76 insertions, 28 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx b/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx
index 987694f515b..770addda305 100644
--- a/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx
@@ -1,11 +1,12 @@
% \iffalse meta-comment
-%
+%
% File: bmpsize.dtx
% Version: 2009/09/04 v1.6
-%
+% Info: Extract size/resolution from bitmap files
+%
% Copyright (C) 2006-2009 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
-%
+%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any later
@@ -15,21 +16,21 @@
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of
% LaTeX version 2005/12/01 or later.
-%
+%
% This work has the LPPL maintenance status "maintained".
-%
+%
% This Current Maintainer of this work is Heiko Oberdiek.
-%
+%
% This work consists of the main source file bmpsize.dtx
% and the derived files
% bmpsize.sty, bmpsize.pdf, bmpsize.ins, bmpsize.drv,
% bmpsize-base.sty, bmpsize-test.tex, bmpsize-dvips.def,
% bmpsize-dvipdfm.def, bmpsize-dvipdfmx.def.
-%
+%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/bmpsize.dtx
% CTAN:macros/latex/contrib/oberdiek/bmpsize.pdf
-%
+%
% Unpacking:
% (a) If bmpsize.ins is present:
% tex bmpsize.ins
@@ -38,7 +39,7 @@
% (c) If you insist on using LaTeX
% latex \let\install=y\input{bmpsize.dtx}
% (quote the arguments according to the demands of your shell)
-%
+%
% Documentation:
% (a) If bmpsize.drv is present:
% latex bmpsize.drv
@@ -48,14 +49,14 @@
% if available. Here you can specify further options, e.g.
% use A4 as paper format:
% \PassOptionsToClass{a4paper}{article}
-%
+%
% Programm calls to get the documentation (example):
% pdflatex bmpsize.dtx
% makeindex -s gind.ist bmpsize.idx
% pdflatex bmpsize.dtx
% makeindex -s gind.ist bmpsize.idx
% pdflatex bmpsize.dtx
-%
+%
% Installation:
% TDS:tex/latex/oberdiek/bmpsize.sty
% TDS:tex/latex/oberdiek/bmpsize-base.sty
@@ -81,7 +82,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: bmpsize 2009/09/04 v1.6 Extract size and resolution data from bitmap files (HO)}
+\Msg{* Package: bmpsize 2009/09/04 v1.6 Extract size/resolution from bitmap files (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -131,6 +132,10 @@ and the derived files
\file{bmpsize-dvips.def}{\from{bmpsize.dtx}{dvips}}%
\file{bmpsize-dvipdfm.def}{\from{bmpsize.dtx}{dvipdfm}}%
\file{bmpsize-dvipdfmx.def}{\from{bmpsize.dtx}{dvipdfmx}}%
+ \nopreamble
+ \nopostamble
+ \usedir{source/latex/oberdiek/catalogue}%
+ \file{bmpsize.xml}{\from{bmpsize.dtx}{catalogue}}%
}
\catcode32=13\relax% active space
@@ -159,9 +164,9 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{bmpsize.drv}%
- [2009/09/04 v1.6 Extract size and resolution data from bitmap files (HO)]%
+ [2009/09/04 v1.6 Extract size/resolution from bitmap files (HO)]%
\documentclass{ltxdoc}
-\usepackage{holtxdoc}[2011/02/04]
+\usepackage{holtxdoc}[2011/11/22]
\begin{document}
\DocInput{bmpsize.dtx}%
\end{document}
@@ -3088,7 +3093,7 @@ and the derived files
% \begin{macrocode}
%<*package>
\ProvidesPackage{bmpsize}%
- [2009/09/04 v1.6 Extract size and resolution data from bitmap files (HO)]%
+ [2009/09/04 v1.6 Extract size/resolution from bitmap files (HO)]%
\RequirePackage{ifpdf}
\ifpdf
\PackageInfo{bmpsize}{Superseded by pdfTeX in PDF mode}%
@@ -3915,32 +3920,75 @@ and the derived files
%\end{verbatim}
% \end{quote}
%
+% \section{Catalogue}
+%
+% The following XML file can be used as source for the
+% \href{http://mirror.ctan.org/help/Catalogue/catalogue.html}{\TeX\ Catalogue}.
+% The elements \texttt{caption} and \texttt{description} are imported
+% from the original XML file from the Catalogue.
+% The name of the XML file in the Catalogue is \xfile{bmpsize.xml}.
+% \begin{macrocode}
+%<*catalogue>
+<?xml version='1.0' encoding='us-ascii'?>
+<!DOCTYPE entry SYSTEM 'catalogue.dtd'>
+<entry datestamp='$Date$' modifier='$Author$' id='bmpsize'>
+ <name>bmpsize</name>
+ <caption>Extract size and resolution data from bitmap files.</caption>
+ <authorref id='auth:oberdiek'/>
+ <copyright owner='Heiko Oberdiek' year='2006-2009'/>
+ <license type='lppl1.3'/>
+ <version number='1.6'/>
+ <description>
+ This package analyzes bitmap images to extract size and resolution
+ data. It adds this feature to the graphics package so it is no
+ longer necessary to provide a separate bounding box files for
+ bitmap images. dditionally the implementation for the inclusion
+ of bitmap images in some drivers of package
+ <xref refid='graphicx'>graphicx</xref> are rewritten to support
+ options viewport, trim and clip. The package requires
+ <xref refid='pdftex'>pdfTeX</xref> version 1.30.0 or later (the
+ relevant pdfTeX primitive operates in both DVI and PDF output
+ modes).
+ <p/>
+ The package is part of the <xref refid='oberdiek'>oberdiek</xref>
+ bundle.
+ </description>
+ <documentation details='Package documentation'
+ href='ctan:/macros/latex/contrib/oberdiek/bmpsize.pdf'/>
+ <ctan file='true' path='/macros/latex/contrib/oberdiek/bmpsize.dtx'/>
+ <miktex location='oberdiek'/>
+ <texlive location='oberdiek'/>
+ <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/>
+</entry>
+%</catalogue>
+% \end{macrocode}
+%
% \begin{thebibliography}{9}
% \bibitem{grfguide}
% D.\,P.\,Carlisle, The \LaTeX\ Project:
% \textit{Packages in the `graphics' bundle},
% 2005/11/14;
% \CTAN{macros/latex/required/graphics/grfguide.pdf}.
-%
+%
% \subsection{URLs for bitmap format descriptions}
-%
+%
% \subsubsection{JPEG}
% \begin{itemize}
% \item \url{http://www.w3.org/Graphics/JPEG/jfif3.pdf}
% \item \url{http://exif.org/Exif2-2.PDF}
% \end{itemize}
-%
+%
% \subsubsection{PNG}
% \begin{itemize}
% \item \url{http://en.wikipedia.org/wiki/PNG}
% \item \url{http://www.w3.org/TR/PNG/}
% \end{itemize}
-%
+%
% \subsubsection{GIF}
% \begin{itemize}
% \item \url{http://www.w3.org/Graphics/GIF/spec-gif89a.txt}
% \end{itemize}
-%
+%
% \subsubsection{BMP}
% \begin{itemize}
% \item \url{http://en.wikipedia.org/wiki/Windows_bitmap}
@@ -3948,51 +3996,51 @@ and the derived files
% \item \url{http://msdn.microsoft.com/en-us/library/ms532311.aspx}
% \item \url{http://msdn.microsoft.com/en-us/library/ms532321.aspx}
% \end{itemize}
-%
+%
% \subsubsection{PCX}
% \begin{itemize}
% \item \url{http://en.wikipedia.org/wiki/PCX}
% \item \url{http://de.wikipedia.org/wiki/PCX}
% \item \url{http://www.qzx.com/pc-gpe/pcx.txt}
% \end{itemize}
-%
+%
% \subsubsection{MSP}
% \begin{itemize}
% \item \url{http://en.wikipedia.org/wiki/Microsoft_Paint}
% \item Sources of \xpackage{dvips}.
% \end{itemize}
-%
+%
% \subsubsection{TIFF}
% \begin{itemize}
% \item \url{http://en.wikipedia.org/wiki/TIFF}
% \item \url{http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf}
% \end{itemize}
-%
+%
% \subsubsection{TGA}
% \begin{itemize}
% \item \url{http://de.wikipedia.org/wiki/Targa_Image_File}
% \item \url{http://en.wikipedia.org/wiki/Truevision_TGA}
% \item \url{http://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf}
% \end{itemize}
-%
+%
% \subsubsection{SGI}
% \begin{itemize}
% \item \url{http://en.wikipedia.org/wiki/Silicon_Graphics_Image}
% \item \url{ftp://ftp.sgi.com/graphics/SGIIMAGESPEC}
% \end{itemize}
-%
+%
% \subsubsection{WMF}
% \begin{itemize}
% \item \url{http://www.fileformat.info/format/wmf/}
% \end{itemize}
-%
+%
% \subsubsection{XPM}
% \begin{itemize}
% \item \url{http://en.wikipedia.org/wiki/XPM_%28image_format%29}
% \item \url{http://de.wikipedia.org/wiki/Xpm}
% \item \url{http://koala.ilog.fr/ftp/pub/xpm/xpm-README.html}
% \end{itemize}
-%
+%
% \end{thebibliography}
%
% \begin{History}