Re: ignoring end of lines within figure environment
- From: Heiko Oberdiek <oberdiek@xxxxxxxxxxxxxxx>
- Date: Sat, 21 Apr 2007 02:08:18 +0200
Enrico Gregorio <gregorio@xxxxxxxxxxxxx> wrote:
If you are sure that the external program writes only lines of the
form
\includegraphics[options]{name}
you can get away with the following trick:
\let\origincgr\includegraphics
\def\modincgr#1 {\origincgr#1}
\newcommand*{\OrgIncludegraphics}{}
\let\OrgIncludegraphics\includegraphics
\renewcommand*{\includegraphics}[2][]{%
\OrgIncludegraphics[{#1}]{#2}%
\ignorespaces
}
% This should work for \includegraphics.
% In general the redefinition of macros
% with optional arguments is more complicate.
Alternative approach:
\endlinechar=-1
Yours sincerely
Heiko <oberdiek@xxxxxxxxxxxxxxx>
.
- Follow-Ups:
- References:
- ignoring end of lines within figure environment
- From: Aaron Rendahl
- Re: ignoring end of lines within figure environment
- From: Enrico Gregorio
- ignoring end of lines within figure environment
- Prev by Date: Re: ISO Package to Create PDF Forms
- Next by Date: Re: How to add ams style label to stand-alone MetaPost chart?
- Previous by thread: Re: ignoring end of lines within figure environment
- Next by thread: Re: ignoring end of lines within figure environment
- Index(es):
Relevant Pages
|