zsh-workers
 help / color / mirror / code / Atom feed
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: texi2html vs texi2any
Date: Thu, 21 May 2015 01:55:23 +0900	[thread overview]
Message-ID: <C194E268-7776-4382-8584-CAC1C1C37055@kba.biglobe.ne.jp> (raw)

texi2html has been discontinued around 2010/2011,
and it seems they recommend to use texi2any, which is
the main conversion script introduced in texinfo-5.

I tried texi2any and found that it is almost compatible
with texi2html.

If you have texinfo-5 installed in your system, then
please try the following:

$ export TEXI2HTML='/path/to/texi2any -c TEXI2HTML=1'
$ ./configure --options ...
$ make html
and open Doc/index.html by your browser.

I have noticed a few minor differences between the html's
generated by texi2html and texi2any (see the list below).
If these are acceptable, and if no other problems are found,
I will patch configure.ac and Doc/Makefile.in to use
texi2any if it is available.


[1] Top page
(1-1) name of the top page file:
      zsh.html (texi2html), index.html (texi2any)
(1-2) index.html (texi2any) contains the copyright notice,
      which comes from the texititlepage() in zsh.yo

I feel these are OK, but I guess we can `fix' (1-2) if necessary.

[2] Foot note (at the bottom of each page)
In the html's generated by texi2any, the foot note is just
'This document was generated on ... using texi2html 1.82.'
i.e., two info are missing:
(2-1) name of the user who has generated the html is missing.
      I guess this can't be fixed easily.

(2-1) zsh version info 'Zsh version ..., released on ...'
      is missing. I can fix this.

[3] output from yodl example() macro.
For example, see the following example in Invocation.html#Invocation:
    zsh -x -o shwordsplit scr

The amount of indentation, and the spaces before/after the example
are different. I feel the one generated by texi2any is *better*.

[4] Navigation menu (at the top of each chapter/section)
texi2html:
[ < ][ > ]   [ << ][ Up ][ >> ]   [Top][Contents][Index][ ? ]
texi2any:
[ << ][ < ][ Up ][ > ][ >> ]   [Top][Contents][Index][ ? ]

I don't know whether this can be configured in texi2any.




             reply	other threads:[~2015-05-20 17:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 16:55 Jun T. [this message]
2015-05-20 17:53 ` texi2html vs texi2any/makeinfo Axel Beckert
2015-05-21 11:13   ` Jun T.
2015-05-21 11:57     ` Peter Stephenson
2015-05-21 13:19     ` Axel Beckert
2015-05-20 17:19 texi2html vs texi2any Jun T.
2015-05-20 17:36 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C194E268-7776-4382-8584-CAC1C1C37055@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).