On Fri, Mar 23, 2012 at 09:06:26AM +0000, John Darrington wrote:
> Some of the non-english speaking PSPP users have been trying to use automatic
> translation tools to read the HTML generated from the PSPP manual's Texinfo
> Apparently many such tools make a point of not attempting to translate text
> between <CODE></CODE> tags.
> So far as I can tell makeinfo only puts in such tags when it encounters @code
> However much of our not-to-be-translated text is not in @code commands but in
> @var, @samp, @display or @example environments.
> Of course we could wrap absolutely everything in @code commands, but this seems
> like a rather cumbersome approach.
> Is it possible to tell the HTML generator to put <code> tags in for the other commands?
With the new parser/converter, it is not that hard to change the
formatting. Something like (in an init file)