X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fcommon-macros.itexi;h=f3dac48c9189431e6ee92208a4d88d236177971d;hb=90b992fafb0b647567813e4cb35fce47b05f55d6;hp=599d4f3e7c766bebfde056012ed881db7e0b603d;hpb=1c859650b6ff11a7dbe829328fd5cae3816b9231;p=lilypond.git diff --git a/Documentation/common-macros.itexi b/Documentation/common-macros.itexi index 599d4f3e7c..f3dac48c91 100644 --- a/Documentation/common-macros.itexi +++ b/Documentation/common-macros.itexi @@ -1,12 +1,24 @@ @c -*- coding: utf-8; mode: texinfo; -*- +@c *********************************************** +@c SEE MACRO DEFINITION GUIDELINES IN macros.itexi +@c *********************************************** @c Don't replace quotes with directed quotes. @set txicodequoteundirected @set txicodequotebacktick +@c Trick to use with proper font mappings the same NCSB fonts as +@c LilyPond instead of those provided by TeX distribution +@tex +\ifpdf + \pdfmapfile{=lilypond.map} +\fi +@end tex + +@include cyrillic.itexi @c ***** Displaying text ***** @@ -50,7 +62,7 @@ @ifnotinfo @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT} -@image{\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} +@image{pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} @end macro @end ifnotinfo @@ -58,7 +70,7 @@ @ifinfo @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT} -@image{lilypond/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} +@image{lilypond/pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} @end macro @end ifinfo @@ -66,8 +78,14 @@ @c ***** Headers ***** +@c For use as the Level 5 header +@macro subsubsubheading {TEXT} +@subsubheading @i{\TEXT\} +@end macro + @ifclear snippets-sections @macro lydoctitle {TEXT} +@need 600 @emph{\TEXT\} @end macro @end ifclear @@ -124,3 +142,137 @@ UNTRANSLATED NODE: IGNORE ME @end macro @end ifnothtml + + +@c ***** Macros specific to the web site ***** + +@ifset web + +@c make link to bugfixes for news.itexi +@c use underscores for version: @bugfixes{2_13_13,} +@c use specifier arg when listing multiple versions +@c (see September 20, 2007 post for an example) +@macro bugfixes{version,specifier} +@uref{http://code.google.com/p/lilypond/issues/list?can=1&q=fixed_\version\&colspec=ID+Type+Status+Priority+Milestone+Owner+Summary,Bugfixes +\specifier\} +@end macro + +@macro divId {ID} +@html +
+ \MORE-TEXT\ +
+