One another bug: quick links panel

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

One another bug: quick links panel

Francisco Vila
What I post here, it doesn't mean I am not trying to debug it, I only
want you to be aware just in case somebody finds any trivial solution.

Right-hand quick-links panel in Main web page is erratic:

-  English does not have one.
-  French has one, with partly working links.
-  Spanish used to have one with partly working links, but currently
it doesn't have one at all.
-  Dutch has one with no working links.
-  Magyar has one and all links work. Congratulations!

--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


Reply | Threaded
Open this post in threaded view
|

Re: One another bug: quick links panel

Francisco Vila
2010/1/4 Francisco Vila <[hidden email]>:

> What I post here, it doesn't mean I am not trying to debug it, I only
> want you to be aware just in case somebody finds any trivial solution.
>
> Right-hand quick-links panel in Main web page is erratic:
>
> -  English does not have one.
> -  French has one, with partly working links.
> -  Spanish used to have one with partly working links, but currently
> it doesn't have one at all.
> -  Dutch has one with no working links.
> -  Magyar has one and all links work. Congratulations!

It is supposed that is stepmake/stepmake/texinfo-rules.make who is in
charge of setting web_version for the @ifset web_version block. These
lines could be relevant:

stepmake/stepmake/texinfo-rules.make:   $(MAKEINFO) -I$(src-dir)
-I$(outdir) -D web_version --output=$@ $<
stepmake/stepmake/texinfo-rules.make:   $(TEXI2HTML)
$(TEXI2HTML_FLAGS) -D bigpage -D web_version --output=$@ $<
stepmake/stepmake/texinfo-rules.make:   $(TEXI2HTML)
$(TEXI2HTML_SPLIT) $(TEXI2HTML_FLAGS) -D web_version --output=$(dir
$@) $<
stepmake/stepmake/texinfo-rules.make:   cd $(outdir); texi2pdf
$(TEXI2PDF_FLAGS) -D web_version -I $(abs-src-dir) --batch
$(TEXINFO_PAPERSIZE_OPTION) $(<F)

and

$(TEXI2HTML) ...  -D web_version

at the website-texinfo target in website.make.  From my lightweight
knowledge, it appears that web_version is given as an argument to a -D
option to makeinfo, texi2html and texi2pdf. But only makeinfo accepts
-D as placeholder to a variable value; texi2pdf interprets it as
Debug. As for texi2html, I'm not sure: there is an abbreviateable
--debug=i option.
--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


Reply | Threaded
Open this post in threaded view
|

Re: Re: One another bug: quick links panel

John Mandereau
Hi Francisco,

Thanks for the report, I think this is a problem of Texinfo macros and
flags (that enable or disable some @ifset/@ifclear blocks); makefiles
might come into play but I'm not sure, I'll look at this issue next
week-end.

Le lundi 04 janvier 2010 à 18:07 +0100, Francisco Vila a écrit :
> $(TEXI2HTML) ...  -D web_version
>
> at the website-texinfo target in website.make.  From my lightweight
> knowledge, it appears that web_version is given as an argument to a -D
> option to makeinfo, texi2html and texi2pdf.

This is not (or at least it should not be) related with the quick links
panel, it's for enabling special commands when building the website on
lilypond.org server.

Best,
John

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: One another bug: quick links panel

Francisco Vila
2010/1/4 John Mandereau <[hidden email]>:

> Le lundi 04 janvier 2010 à 18:07 +0100, Francisco Vila a écrit :
>> $(TEXI2HTML) ...  -D web_version
>>
>> at the website-texinfo target in website.make.  From my lightweight
>> knowledge, it appears that web_version is given as an argument to a -D
>> option to makeinfo, texi2html and texi2pdf.
>
> This is not (or at least it should not be) related with the quick links
> panel, it's for enabling special commands when building the website on
> lilypond.org server.

I said it could be related because the quick links panel is inside a
@ifset web_version block in web.texi which is present in English and
Spanish versions, and they do not show the panel, so the value of this
flag could be wrong.  Other languages show the block and the code is
not inside that conditional.


--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


Reply | Threaded
Open this post in threaded view
|

Re: Re: One another bug: quick links panel

John Mandereau
Le lundi 04 janvier 2010 à 22:33 +0100, Francisco Vila a écrit :
> I said it could be related because the quick links panel is inside a
> @ifset web_version block in web.texi which is present in English and
> Spanish versions, and they do not show the panel, so the value of this
> flag could be wrong.  Other languages show the block and the code is
> not inside that conditional.

Oh, thanks for waking me up; actually, the quick links should only show
up in the online website, so that's normal.  Translations should be
updated according to these changes in the English website.

Best,
John

signature.asc (205 bytes) Download Attachment