[PING][PATCH][BZ #17787] Fix exponents in manual.

Carlos O'Donell carlos@redhat.com
Tue Jun 16 21:42:00 GMT 2015


On 06/16/2015 04:07 PM, Joseph Myers wrote:
> On Tue, 16 Jun 2015, Ondřej Bílka wrote:
> 
>> Ping, if you have better idea I would like it.
> 
> I've looked back at the previous discussion.  It seems clear enough that:
> 
> * It's a bad idea to duplicate parts of sentences that don't need 
> duplicating.  Conditionals in the main manual should be around lines with 
> nothing more than the single word using @math.

It's bad, but it's not terrible. I would rather see the manual get updated
than nit pick over the exact ways that this can get fixed.

> * It should be possible to use a Texinfo macro for this and so avoid any 
> conditionals at all in the main manual.  Something like (untested)
> 
> @iftex
> @macro twoexp{exp}
> 2^{\exp\}
> @end macro
> @end iftex
> @ifnottex
> @macro twoexp{exp}
> 2^{exp}
> @end macro
> @end itnottex
> 
> (and then use @twoexp{63} etc.).

That's a good suggestion.

Cheers,
Carlos.



More information about the Libc-alpha mailing list