Mercurial > hgbook
diff es/99defs.tex @ 489:c3a867bba34a
modified definitions to allow optional arguments for the inclusion of images.
This needs to be tested for html generation.
translated up to section 2.2.1 ot tour-merge
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Sun, 02 Nov 2008 20:08:45 -0500 |
parents | 11d7896cd2ac |
children | c054534808e6 |
line wrap: on
line diff
--- a/es/99defs.tex Sun Nov 02 13:54:42 2008 -0500 +++ b/es/99defs.tex Sun Nov 02 20:08:45 2008 -0500 @@ -122,7 +122,7 @@ % Graphics inclusion. \ifpdf - \newcommand{\grafix}[1]{\includegraphics{#1}} + \newcommand{\grafix}[2][]{\includegraphics[#1]{#2}} \else \newcommand{\grafix}[1]{\includegraphics{#1.png}} \fi