From 37bd2b54bdfaa3693f6aa3f43f9072cc9cfacc21 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 17 Oct 2011 19:14:16 -0400 Subject: [PATCH] Fix hyperlinks on web-big-page (issue 1917). --- Documentation/common-macros.itexi | 18 ++++++++++++++++++ Documentation/cs/web.texi | 21 +++------------------ Documentation/de/web.texi | 21 +++------------------ Documentation/es/web.texi | 21 +++------------------ Documentation/fr/web.texi | 21 +++------------------ Documentation/hu/web.texi | 21 +++------------------ Documentation/it/web.texi | 21 +++------------------ Documentation/ja/web.texi | 21 +++------------------ Documentation/nl/web.texi | 21 +++------------------ Documentation/web.texi | 21 +++------------------ Documentation/zh/web.texi | 21 +++------------------ 11 files changed, 48 insertions(+), 180 deletions(-) diff --git a/Documentation/common-macros.itexi b/Documentation/common-macros.itexi index ab45cbaf32..9873604a50 100644 --- a/Documentation/common-macros.itexi +++ b/Documentation/common-macros.itexi @@ -163,6 +163,24 @@ UNTRANSLATED NODE: IGNORE ME @end html @end macro +@ifclear web_version + @ifclear bigpage + @macro docLink{name,target,webLink} + @uref{../\target\, \name\} + @end macro + @end ifclear + @ifset bigpage + @macro docLink{name,target,webLink} + @uref{\target\, \name\} + @end macro + @end ifset +@end ifclear +@ifset web_version + @macro docLink{name,target,webLink} + \webLink\ + @end macro +@end ifset + @macro spanClass {CLASS} @html diff --git a/Documentation/cs/web.texi b/Documentation/cs/web.texi index d43cb374ce..daf421657d 100644 --- a/Documentation/cs/web.texi +++ b/Documentation/cs/web.texi @@ -217,30 +217,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @end macro @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (rozdělené HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (rozdělené HTML),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (velké HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (velké HTML),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro diff --git a/Documentation/de/web.texi b/Documentation/de/web.texi index fc4608f052..e6203a878c 100644 --- a/Documentation/de/web.texi +++ b/Documentation/de/web.texi @@ -219,30 +219,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @end macro @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (aufgeteilt HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (aufgeteilt HTML),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (großes HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (großes HTML),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro diff --git a/Documentation/es/web.texi b/Documentation/es/web.texi index 6759fdb1ad..b1a6aa5dc5 100644 --- a/Documentation/es/web.texi +++ b/Documentation/es/web.texi @@ -222,30 +222,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (HTML seccionado)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (HTML seccionado),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (HTML monolítico)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (HTML monolítico),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.es.pdf, \base\.es.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.es.pdf,\base\.es.pdf,\webLink\} @end macro diff --git a/Documentation/fr/web.texi b/Documentation/fr/web.texi index 92701f936a..b6ddf7654a 100644 --- a/Documentation/fr/web.texi +++ b/Documentation/fr/web.texi @@ -219,30 +219,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (HTML multipages)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (HTML multipages),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (HTML page unique)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (HTML page unique),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.fr.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.fr.pdf,\base\.pdf,\webLink\} @end macro diff --git a/Documentation/hu/web.texi b/Documentation/hu/web.texi index 857678b4a7..d5c98057f4 100644 --- a/Documentation/hu/web.texi +++ b/Documentation/hu/web.texi @@ -217,30 +217,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (HTML oldalak)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (HTML oldalak),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (egy nagy HTML oldal)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (egy nagy HTML oldal),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro diff --git a/Documentation/it/web.texi b/Documentation/it/web.texi index 73b0187be8..3315ca8796 100644 --- a/Documentation/it/web.texi +++ b/Documentation/it/web.texi @@ -215,30 +215,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (HTML multipagina)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (HTML multipagina),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (HTML pagina unica)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (HTML pagina unica),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro diff --git a/Documentation/ja/web.texi b/Documentation/ja/web.texi index 98959136d9..9ee3932036 100644 --- a/Documentation/ja/web.texi +++ b/Documentation/ja/web.texi @@ -220,30 +220,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (ページ毎に分割された HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (ページ毎に分割された HTML),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (1 つの大きな HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (1 つの大きな HTML),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro @macro docLinksBare{name,base,refLink,split,big,bigsize,pdf,pdfsize} diff --git a/Documentation/nl/web.texi b/Documentation/nl/web.texi index da78bc54aa..c1787fe602 100644 --- a/Documentation/nl/web.texi +++ b/Documentation/nl/web.texi @@ -216,30 +216,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (split HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (split HTML),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (big HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (big HTML),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro diff --git a/Documentation/web.texi b/Documentation/web.texi index 90d9f79251..f8e572b684 100644 --- a/Documentation/web.texi +++ b/Documentation/web.texi @@ -215,30 +215,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (split HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (split HTML),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (big HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (big HTML),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro diff --git a/Documentation/zh/web.texi b/Documentation/zh/web.texi index 50505b30e8..05faab4f8d 100644 --- a/Documentation/zh/web.texi +++ b/Documentation/zh/web.texi @@ -215,30 +215,15 @@ Distributions will want to install lilypond.info in postinstall, doing: @macro docLinkSplit{name,base,webLink} -@ifclear web_version - @uref{../\base\/index.html, \name\ (分开的 HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (分开的 HTML),\base\/index.html,\webLink\} @end macro @macro docLinkBig{name,base,webLink} -@ifclear web_version - @uref{../\base\-big-page.html, \name\ (大的 HTML)} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\name\ (大的 HTML),\base\-big-page.html,\webLink\} @end macro @macro docLinkPdf{name,base,webLink} -@ifclear web_version - @uref{../\base\.pdf, \base\.pdf} -@end ifclear -@ifset web_version - \webLink\ -@end ifset + @docLink{\base\.pdf,\base\.pdf,\webLink\} @end macro -- 2.39.2