[PATCH] manual: delete nested @cartouche

Mike Frysinger vapier@gentoo.org
Mon Oct 29 23:07:00 GMT 2012


Putting @cartouche inside of @smallexample does not work with HTML output
as the former produces a <table> while the latter produces a <pre>.  You
cannot nest a <table> in a <pre> as the contents are no longer formatted.

Since it's entirely unnecessary, and none of the other examples do this,
just drop the cartouche.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2012-10-29  Mike Frysinger  <vapier@gentoo.org>

	* manual/message.texi: Delete @cartouche tags.
---
 manual/message.texi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/manual/message.texi b/manual/message.texi
index 046599a..74e67db 100644
--- a/manual/message.texi
+++ b/manual/message.texi
@@ -695,7 +695,6 @@ Now we can start building the program (assume the message catalog source
 file is named @file{hello.msg} and the program source file @file{hello.c}):
 
 @smallexample
-@cartouche
 % gencat -H msgnrs.h -o hello.cat hello.msg
 % cat msgnrs.h
 #define MainSet 0x1     /* hello.msg:4 */
@@ -707,7 +706,6 @@ de
 % ./hello
 Hallo, Welt!
 %
-@end cartouche
 @end smallexample
 
 Running the @code{gencat} program creates the missing header file
-- 
1.7.12



More information about the Libc-alpha mailing list