X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Fmacros.itexi;h=9e595fd779ce64a3cd2a2971e3bedb63a5d1338f;hb=a23264aee8cab5acaa94cdc103f2497c3f042543;hp=9d0e1bd74a11b49cdc0d15f165cabda62fc8f310;hpb=063a94c1c5540dd572fe3a87d9252cd376428c26;p=lilypond.git diff --git a/Documentation/user/macros.itexi b/Documentation/user/macros.itexi index 9d0e1bd74a..9e595fd779 100644 --- a/Documentation/user/macros.itexi +++ b/Documentation/user/macros.itexi @@ -1,10 +1,10 @@ -@c -*-texinfo-*- +@c -*- coding: latin-1; mode: texinfo; -*- @tex \input feta20.tex -\font\fetasixteen=feta16 -\def\fetafont{\fetasixteen} -\def\fetachar#1{\hbox{\fetasixteen#1}} +\global\font\fetasixteen=feta16 +\gdef\fetafont{\fetasixteen} +\gdef\fetachar#1{\hbox{\fetasixteen#1}} @end tex @c Reference GLOSsary @@ -22,32 +22,27 @@ @ifnottex -@macro texisharp {word} -# -@end macro + @macro texisharp {word} + # + @end macro + @macro texiflat {word} + b + @end macro @end ifnottex @iftex -@macro texisharp {word} -@tex -\\raise0.5ex\\fetachar\\fetasharp -@end tex -@end macro + @macro texiflat {word} + @tex + \\kern0.15em\\fetachar\\fetaflat + @end tex + @end macro + @macro texisharp {word} + @tex + \\raise0.5ex\\fetachar\\fetasharp + @end tex + @end macro @end iftex -@ifnottex -@macro texiflat {word} -b -@end macro -@end ifnottex - -@iftex -@macro texiflat {word} -@tex -\\kern0.15em\\fetachar\\fetaflat -@end tex -@end macro -@end iftex @macro arrow{} @iftex @@ -65,89 +60,130 @@ b +@c dup? +@ifhtml -@iftex -@macro separate -@c I want some space over here, not silly characters. -@tex -@end tex -@end macro -@end iftex - -@c \heartsf was supposed to be filled? - -@c center*** is broken? + @c ***** HTML ***** -@ifinfo -@macro separate - -@quotation -@end quotation -@end macro -@end ifinfo +@macro internalsref{NAME}@c +@c makeinfo-4.7 encodes html names, which means that nodes that +@c contain nonalphanum characters will be broken links on the website. +@c @uref{../lilypond-internals/\NAME\.html,\NAME\}@c +@c @inforef{} adds ``See'' to the sentence, which is annoying, but +@c better than a broken link. +@c @inforef{\NAME\,,lilypond-internals}@c +@c using @ref without punctuation is OK without for formats other than info +@ref{\NAME\,,,lilypond-internals}@c +@c should we do this? +@findex \NAME\ +@end macro + + @c what is this? -- jcn + @macro hyphenatedinternalsref{NAME,NODENAME} + @c @uref{../lilypond-internals/\NODENAME\.html,\NAME\}@c + @c @inforef{\NODENAME\,,lilypond-internals}@c + @c should we do this? + @c using @ref without punctuation is OK without for formats other than info + @ref{\NODENAME\,,\NAME\,lilypond-internals}@c + @findex \NAME\ + @end macro + + @macro inputfileref{DIR,NAME} + @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c + @end macro -@ifhtml -@macro separate -@html -



-@end html -@end macro @end ifhtml - @c dup? -@ifhtml -@macro internalsref{NAME} -@uref{../lilypond-internals/\NAME\.html,\NAME\}@c -@cindex \NAME\@c -@end macro +@ifdocbook + @c ***** DOCBOOK-XML ***** + @macro internalsref{NAME} + @c makeinfo-4.7 encodes html names + @c @uref{../lilypond-internals/\NAME\.html,\NAME\}@c + @inforef{\NAME\,,lilypond-internals}@c + @c should we do this? + @findex @code{\NAME\} + @end macro -@macro inputfileref{DIR,NAME} -@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c -@end macro + @macro hyphenatedinternalsref{NAME,NODENAME} + @c @uref{../lilypond-internals/\NODENAME\.html,\NAME\}@c + @inforef{\NODENAME\,,lilypond-internals}@c + @c should we do this? + @findex @code{\NAME\} + @end macro -@end ifhtml + @macro inputfileref{DIR,NAME} + @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c + @end macro + +@end ifdocbook @ifinfo + +@c **** INFO **** @macro internalsref{NAME} -@inforef{\NAME\,,lilypond-internals}@c -@cindex \NAME\@c +@inforef{\NAME\,,lilypond/lilypond-internals}@c +@findex \NAME\@c +@end macro + +@macro hyphenatedinternalsref{NAME,NODENAME} +@c FIXME: suspicious info file name? +@inforef{\NODENAME\,,lilypond-internals}@c +@c should we do this? +@findex @code{\NAME\} @end macro @macro inputfileref{DIR,NAME} @file{\DIR\/\NAME\} @end macro + +@macro usermanref{NAME} +@ref{\NAME\,,,lilypond/lilypond}@c +@end macro + @end ifinfo @iftex +@c **** TEX **** + @macro internalsref{NAME}@c -@cindex \NAME\@c +@findex \NAME\ @c @code{\NAME\}@c @end macro + @macro inputfileref{DIR,NAME}@c @file{\DIR\/\NAME\}@c @end macro -@end iftex + +@macro hyphenatedinternalsref{NAME,NODENAME} +@code{\NAME\}@c +@c should we do this? +@cindex @code{\NAME\} @c +@end macro + -@iftex @macro seeinternals{NAME} internals document, @internalsref{\NAME\} @end macro @end iftex +@c **** not TEX **** + @ifnottex -@macro seeinternals{NAME} -@internalsref{\NAME\} -@end macro + @macro seeinternals{NAME} + @internalsref{\NAME\} + @end macro @end ifnottex -@macro usermanref{NAME} -@ref{\NAME\}@c -@end macro +@ifnotinfo + @macro usermanref{NAME} + @ref{\NAME\}@c + @end macro +@end ifnotinfo @macro refbugs @noindent @@ -167,9 +203,9 @@ internals document, @internalsref{\NAME\} @end macro -@macro context{NAME} +@macro context{NAME}@c @code{\NAME\}@c should use internalsref -@cindex \NAME\@c +@findex \NAME\@c @end macro @@ -182,6 +218,6 @@ internals document, @internalsref{\NAME\} @c --hwn @macro refcommand{WHAT} -@cindex @code{\WHAT\} -@code{\WHAT\}, +@findex \WHAT\ +@code{\WHAT\} @end macro