[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Inserting the degree symbol
From: |
Karl Berry |
Subject: |
Re: [help-texinfo] Inserting the degree symbol |
Date: |
Fri, 25 Aug 2006 11:20:21 -0500 |
Here is the macro:
I'm sorry I don't have the time to do the experiment right now, but how
about putting the @macro inside the @if's:
@iftex
@macro gradesymbol {}
@math{^\circ}
@end macro
@end iftex
@ifnottex
@macro gradesymbol {}
°
@end macro
@end ifnottex
Or, maybe try putting @c at the end of the definitions:
...
@address@hidden
...
address@hidden
...
Or, forget @macro and try @value:
@iftex
@set gradesymbol @math{^\circ}
@end iftex
@ifnottex
@set gradesymbol °
@end ifnottex
Then use it as @value{gradesymbol}.
This problem of newlines and macros has always seemed like one of the
fundamental design flaws of the current @macro to me. I don't have a
good answer.
Best,
Karl
Re: [help-texinfo] Inserting the degree symbol, Karl Berry, 2006/08/26