Re: [PATCH] hopefully fix #1036

2010-05-18 Thread Francisco Vila
2010/5/18 Graham Percival : > I tried to remove the #foo if "foo" matched > the "foo.html" portion, but I couldn't easily get rid of the #. Now I understand certain mysterious pieces of code. lc_last was broken and so was remove_unneeded_anchor. I will concentrate on removing the # part completely

Re: [PATCH] hopefully fix #1036

2010-05-17 Thread Graham Percival
On Mon, May 17, 2010 at 11:36:50PM +0200, Francisco Vila wrote: > 2010/5/17 Graham Percival : > > On Mon, May 17, 2010 at 2:33 AM, Francisco Vila > > wrote: > > However, it breaks the webpage; we now have links like > >  introduction.html#introduction > > instead of > >  introduction.html#Introdu

Re: [PATCH] hopefully fix #1036

2010-05-17 Thread Graham Percival
On Mon, May 17, 2010 at 02:03:56PM -0600, Carl Sorensen wrote: > On 5/17/10 1:58 PM, "Graham Percival" wrote: > > > Nobody likes Perl, but sadly we're stuck with it for texi2html for the > > foreseeable future. > > John Mandereau was working on a texinfo parser in python, which, if it > works, s

Re: [PATCH] hopefully fix #1036

2010-05-17 Thread Francisco Vila
2010/5/17 Graham Percival : > On Mon, May 17, 2010 at 2:33 AM, Francisco Vila wrote: >> This fixes translated bigpages by making > > However, it breaks the webpage; we now have links like >  introduction.html#introduction > instead of >  introduction.html#Introduction > > as a result, clicking on

Re: [PATCH] hopefully fix #1036

2010-05-17 Thread Carl Sorensen
On 5/17/10 1:58 PM, "Graham Percival" wrote: > On Mon, May 17, 2010 at 2:33 AM, Francisco Vila wrote: > > Nobody likes Perl, but sadly we're stuck with it for texi2html for the > foreseeable future. John Mandereau was working on a texinfo parser in python, which, if it works, should allow us t

Re: [PATCH] hopefully fix #1036

2010-05-17 Thread Graham Percival
On Mon, May 17, 2010 at 2:33 AM, Francisco Vila wrote: > This fixes translated bigpages by making However, it breaks the webpage; we now have links like introduction.html#introduction instead of introduction.html#Introduction as a result, clicking on links in the webpage takes you to a page

Re: [PATCH] hopefully fix #1036

2010-05-17 Thread Francisco Vila
2010/5/17 Francisco Vila : > More refinements would come because I'm not sure if > this breaks untranslated nodes or something. Anyway, big pages are > perfectly usable now and sectioned HTML docs I've looked at keep > working. Macros for translated 'Manuals' page should be updated if this is appl

[PATCH] hopefully fix #1036

2010-05-16 Thread Francisco Vila
Hello, This fixes translated bigpages by making - single-word targets to be lowercased - anchors match targets - unneeded anchors be removed, sort of It brings back the policy of having anchors in English from original nodenames, thanks to translationof strings which were previously been igno