Re: by the way, "xhtml" generation is still borked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 13 Jul 2013, Rob Landley wrote:

> On 07/10/2013 06:44:30 AM, Robert P. J. Day wrote:
> >
> >  i suspect others already know this but if you insist on running
> > xmlto with "xhtml" as an argument, all the HTML pages end up with
> > synopses where the string "fsfunc" is stuck to the beginning of every
> > routine name. a simple fix is to back off and ask for simply HTML:
>
> Blah, I tested this and was going to forward it but my darn nebook's been
> crashing ever since I let steam install the binary video drivers FTL wanted.
>
> Acked-by: Rob Landley <rob@xxxxxxxxxxx>
>
> Rob
>
> > diff --git a/Documentation/DocBook/Makefile
> > b/Documentation/DocBook/Makefile
> > index bc3d9f8..5cf621b 100644
> > --- a/Documentation/DocBook/Makefile
> > +++ b/Documentation/DocBook/Makefile
> > @@ -145,7 +145,7 @@ build_main_index = rm -rf $(main_idx); \
> >                   cat $(HTML) >> $(main_idx)
> >
> > quiet_cmd_db2html = HTML    $@
> > -      cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $<
> > && \
> > +      cmd_db2html = xmlto html $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $<
> > && \
> >                echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html">
> > \
> >         $(patsubst %.html,%,$(notdir $@))</a><p>' > $@

  oh, i just noticed that you'd actually CCed this to
trivial@xxxxxxxxxx, i never submitted the patch myself since i didn't
realize that was the appropriate fix. does anyone know if there is a
patch in the works to actually fix the docbook toolchain so that xhtml
generation works properly? for now, of course, there seems to be no
downside to just backing off to html.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux