This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3][BZ #17787] Fix exponents in manual.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Ondřej Bílka <neleai at seznam dot cz>
- Cc: Carlos O'Donell <carlos at redhat dot com>, Andreas Schwab <schwab at linux-m68k dot org>, <libc-alpha at sourceware dot org>
- Date: Thu, 18 Jun 2015 14:34:38 +0000
- Subject: Re: [PATCH v3][BZ #17787] Fix exponents in manual.
- Authentication-results: sourceware.org; auth=none
- References: <20150105121124 dot GA20619 at domone> <871tn9joub dot fsf at igel dot home> <20150106115720 dot GA19882 at domone> <20150616175738 dot GD9387 at domone> <alpine dot DEB dot 2 dot 10 dot 1506162002000 dot 31875 at digraph dot polyomino dot org dot uk> <55808614 dot 3060409 at redhat dot com> <20150618142917 dot GA16523 at domone>
On Thu, 18 Jun 2015, OndÅej BÃlka wrote:
> diff --git a/manual/filesys.texi b/manual/filesys.texi
> index 0f2e3dc..181de76 100644
> --- a/manual/filesys.texi
> +++ b/manual/filesys.texi
> @@ -2,6 +2,18 @@
> @c %MENU% Functions for manipulating files
> @chapter File System Interface
>
> +@iftex
> +@macro twoexp{exp}
> +@math{2^{{\exp\}}}
> +@end macro
> +@end iftex
> +@ifnottex
> +@macro twoexp{exp}
> +2^\exp\
> +@end macro
> +@end ifnottex
The macro definitions should go in macros.texi, rather than being
duplicated in each file using it.
--
Joseph S. Myers
joseph@codesourcery.com