diff options
author | Karl Berry <karl@freefriends.org> | 2007-02-21 23:54:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-02-21 23:54:19 +0000 |
commit | 038a5dc7d31591d03bb7dd2bee2ca5e89f0ff26a (patch) | |
tree | 0206f1532eaf8dea0c935a4e7b66a593f15ac1c4 /Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx | |
parent | d13b89bc23ac3bf2bce2bd534b97ed97e0b091c1 (diff) |
oberdiek bookmark0.2, hypcap1.6 (20feb07)
git-svn-id: svn://tug.org/texlive/trunk@3977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx b/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx index 06960174315..7a6d0d6c575 100644 --- a/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/bmpsize.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +% Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -73,7 +73,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: bmpsize 2006/08/24 v1.0 Extract size and resolution data from bitmap files (HO)} +\Msg{* Package: bmpsize 2007/02/18 v1.1 Extract size and resolution data from bitmap files (HO)} \Msg{************************************************************************} \keepsilent @@ -83,7 +83,7 @@ This is a generated file. -Copyright (C) 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -142,7 +142,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{bmpsize.drv}% - [2006/08/24 v1.0 Extract size and resolution data from bitmap files (HO)] + [2007/02/18 v1.1 Extract size and resolution data from bitmap files (HO)] \documentclass{ltxdoc} \usepackage{holtxdoc} \begin{document} @@ -172,7 +172,7 @@ and the derived files % \GetFileInfo{bmpsize.drv} % % \title{The \xpackage{bmpsize} package} -% \date{2006/08/24 v1.0} +% \date{2007/02/18 v1.1} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -368,7 +368,7 @@ and the derived files % \begin{macrocode} %<*base> \ProvidesPackage{bmpsize-base}% - [2006/08/24 v1.0 Basic part of bmpsize (HO)] + [2007/02/18 v1.1 Basic part of bmpsize (HO)] % \end{macrocode} % Modules of package \xpackage{fp} are used for calculations. % \begin{macrocode} @@ -774,7 +774,7 @@ and the derived files \fi \let\loop\@bmpsize@org@plain@loop } -\def\bmpsize@unit@default{1in} +\def\bmpsize@unit@default{72.27pt}% more accurate than 1in \def\bmpsize@pixelx@default{72} \let\bmpsize@pixely@default\Gin@exclamation @@ -923,7 +923,7 @@ and the derived files % skip 2 % version % num 1 -> $temp % units % if numeq $temp 1 -% assign {1in} -> $unit +% assign {72.27pt} -> $unit % else % if numeq $temp 2 % assign {1cm} -> $unit @@ -980,7 +980,7 @@ and the derived files % or % 1 % clear $unit % or % 2 -% assign {1in} -> $unit +% assign {72.27pt} -> $unit % or % 3 % assign {1cm} -> $unit % else @@ -1142,7 +1142,7 @@ and the derived files \expandafter\@secondoftwo \fi {% - \def\bmpsize@unit{1in}% + \def\bmpsize@unit{72.27pt}% }{% \ifnum\bmpsize@temp=2\relax \expandafter\@firstofone @@ -1238,7 +1238,7 @@ and the derived files \or \let\bmpsize@unit\relax \or - \def\bmpsize@unit{1in}% + \def\bmpsize@unit{72.27pt}% \or \def\bmpsize@unit{1cm}% \else @@ -1530,7 +1530,7 @@ and the derived files %\begin{verbatim} %begin tiff %% defaults -%assign {1in} -> $unit +%assign {72.27pt} -> $unit % %% Image File Header %read 8 0 @@ -1570,7 +1570,7 @@ and the derived files % or % 1 % clear $unit % or % 2 -% assign {1in} -> $unit +% assign {72.27pt} -> $unit % or % 3 % assign {1cm} -> $unit % else @@ -1618,7 +1618,7 @@ and the derived files %<*base> \def\bmpsize@read@tiff#1{% \@bmpsize@init - \def\bmpsize@unit{1in}% + \def\bmpsize@unit{72.27pt}% \@bmpsize@read{#1}{8}{0}% \@bmpsize@grab\bmpsize@temp{2}% \@bmpsize@skip@two @@ -1672,7 +1672,7 @@ and the derived files \or \let\bmpsize@unit\relax \or - \def\bmpsize@unit{1in}% + \def\bmpsize@unit{72.27pt}% \or \def\bmpsize@unit{1cm}% \else @@ -2800,7 +2800,7 @@ and the derived files %ok %num 2 -> $pixelx % horizontal resolution in DPI %num 2 -> $pixely % vertical resolution in DPI -%assign {1in} -> $unit +%assign {72.27pt} -> $unit %end %\end{verbatim} %</ignore> @@ -2841,7 +2841,7 @@ and the derived files \@bmpsize@ok \@bmpsize@num@two\bmpsize@pixelx \@bmpsize@num@two\bmpsize@pixely - \def\bmpsize@unit{1in}% + \def\bmpsize@unit{72.27pt}% \@bmpsize@stop \@nil \@bmpsize@end @@ -2870,7 +2870,7 @@ and the derived files %ok %num 2 -> $pixelx % x_asp %num 2 -> $pixely % y_asp -%assign {1in} -> $unit % guessing +%assign {72.27pt} -> $unit % guessing %if numeq $pixelx 0 % num 2 -> $pixelx % x_asp_prn % num 2 -> $pixely % y_asp_prn @@ -2905,7 +2905,7 @@ and the derived files \@bmpsize@ok \@bmpsize@num@two\bmpsize@pixelx \@bmpsize@num@two\bmpsize@pixely - \def\bmpsize@unit{1in}% + \def\bmpsize@unit{72.27pt}% \ifnum\bmpsize@pixelx=0\relax \expandafter\@firstofone \else @@ -2978,7 +2978,7 @@ and the derived files % \begin{macrocode} %<*package> \ProvidesPackage{bmpsize}% - [2006/08/24 v1.0 Extract size and resolution data from bitmap files (HO)] + [2007/02/18 v1.1 Extract size and resolution data from bitmap files (HO)] \RequirePackage{ifpdf} \ifpdf \PackageInfo{bmpsize}{Superseded by pdfTeX in PDF mode}% @@ -3173,7 +3173,7 @@ and the derived files % \begin{macrocode} %<*dvips> \ProvidesFile{bmpsize-dvips.def}% - [2006/08/24 v1.0 Graphics bitmap driver for dvips (HO)] + [2007/02/18 v1.1 Graphics bitmap driver for dvips (HO)] % \end{macrocode} % Ensure correct catcodes. % \begin{macrocode} @@ -3296,7 +3296,7 @@ and the derived files % \begin{macrocode} %<*dvipdfm> \ProvidesFile{bmpsize-dvipdfm.def}% - [2006/08/24 v1.0 Graphics bitmap driver for dvipdfm (HO)] + [2007/02/18 v1.1 Graphics bitmap driver for dvipdfm (HO)] % \end{macrocode} % Ensure correct catcodes. % \begin{macrocode} @@ -3456,7 +3456,7 @@ and the derived files % \begin{macrocode} %<*dvipdfmx> \ProvidesFile{bmpsize-dvipdfmx.def}% - [2006/08/24 v1.0 Graphics bitmap driver for dvipdfmx (HO)] + [2007/02/18 v1.1 Graphics bitmap driver for dvipdfmx (HO)] % \end{macrocode} % Ensure correct catcodes. % \begin{macrocode} @@ -3782,6 +3782,10 @@ and the derived files % \item % First version. % \end{Version} +% \begin{Version}{2007/02/18 v1.1} +% \item +% 1in replaced by 72.27pt, because TeX is inaccurate if 1in is given. +% \end{Version} % \end{History} % % \PrintIndex |