bug-texinfo
[Top][All Lists]
Advanced

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

Leading whitespace in macros is stripped


From: Jesper Harder
Subject: Leading whitespace in macros is stripped
Date: Wed, 16 Jul 2003 02:57:55 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Hi,

Consider this example:

============================================================
@macro quadrant {}
@example
                               Positive
                            Imaginary Axis

                                   :
                               II  :  I
                                   :
    Negative Real Axis .......................  Positive Real Axis
                                   :
                              III  :  IV
                                   :

                               Negative
                            Imaginary Axis
@end example
@end macro

@quadrant{}

@example
                               Positive
                            Imaginary Axis

                                   :
                               II  :  I
                                   :
    Negative Real Axis .......................  Positive Real Axis
                                   :
                              III  :  IV
                                   :

                               Negative
                            Imaginary Axis
@end example
============================================================

I would have expected to get two identical quadrants.  But the leading
whitespace is stripped in the @macro, so I get this instead:

============================================================
     Positive
     Imaginary Axis
     
     :
     II  :  I
     :
     Negative Real Axis .......................  Positive Real Axis
     :
     III  :  IV
     :
     
     Negative
     Imaginary Axis

                                    Positive
                                 Imaginary Axis
     
                                        :
                                    II  :  I
                                        :
         Negative Real Axis .......................  Positive Real Axis
                                        :
                                   III  :  IV
                                        :
     
                                    Negative
                                 Imaginary Axis
============================================================

This happens both in Info and dvi output.

(Texinfo 4.6)

-- 
Cheers,
Jesper Harder





reply via email to

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