From: Werner Lemberg Date: Sun, 7 Jan 2007 21:27:34 +0000 (+0100) Subject: Add macros @q and @qq for quoting as `...' and ``...'', respectively. X-Git-Tag: release/2.11.10-1~12^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=90fd7e62f33bc819015e6c487a80d23d5b8f7ea5;p=lilypond.git Add macros @q and @qq for quoting as `...' and ``...'', respectively. The idea is to get ‘ and friends for HTML (and XML) output -- ASCII quote characters look ugly in HTML browsers. --- diff --git a/Documentation/user/macros.itexi b/Documentation/user/macros.itexi index 68b52bb513..0a85e749dc 100644 --- a/Documentation/user/macros.itexi +++ b/Documentation/user/macros.itexi @@ -70,6 +70,20 @@ @ref{\NAME\,,,music-glossary} @end macro +@c to get decent quotes in `foo' +@macro q{TEXT} +@html +‘\TEXT\’ +@end html +@end macro + +@c to get decent quotes in ``foo'' +@macro qq{TEXT} +@html +“\TEXT\” +@end html +@end macro + @end ifhtml @@ -90,6 +104,20 @@ @ref{\NAME\,,,music-glossary} @end macro +@c to get decent quotes in `foo' +@macro q{TEXT} +@xml +‘\TEXT\’ +@end xml +@end macro + +@c to get decent quotes in ``foo'' +@macro qq{TEXT} +@xml +“\TEXT\” +@end xml +@end macro + @end ifdocbook @@ -114,6 +142,16 @@ @inforef{\NAME\} @end macro +@c to get decent quotes in `foo' +@macro q{TEXT} +`\TEXT\' +@end macro + +@c to get decent quotes in ``foo'' +@macro qq{TEXT} +``\TEXT\'' +@end macro + @end ifinfo @@ -142,8 +180,19 @@ internals document, @internalsref{\NAME\} user manual, @internalsref{\NAME\} @end macro +@c to get decent quotes in `foo' +@macro q{TEXT} +`\TEXT\' +@end macro + +@c to get decent quotes in ``foo'' +@macro qq{TEXT} +``\TEXT\'' +@end macro + @end iftex + @ifnottex @c **** not TEX **** @@ -201,4 +250,4 @@ user manual, @internalsref{\NAME\} @kindex \WORD\ @end macro - +@c EOF