[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texi2dvi: hard space in a macro

From: Eli Zaretskii
Subject: Re: texi2dvi: hard space in a macro
Date: Tue, 12 Jun 2001 11:49:27 +0300 (IDT)

On 12 Jun 2001, Kevin Ryde wrote:

> In an i386 Debian packaged texinfo 4.0 and tetex-bin 1.0.7, and
> texinfo.tex 2001-05-24.08, the foo.texi below processed with
>         texi2dvi foo.texi
> produces something like,
>         Here is a space @endinput blah blah
> the "@endinput" being very much unintended.
> Perhaps this is only when "@ " is the last thing in a macro, since it
> seems to work at the start or in the middle.

It's not easy to introduce whitespace with a macro, because in most
macro uses you want whitespace to be insignificant.

Try this:

\input texinfo    @c -*-texinfo-*-
@c %**start of header
@setfilename foo.info
@settitle FOO
@end iftex
@comment %**end of header

@macro myspace
@  @c
@end macro

Here is a space @myspace blah blah.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]