mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-16 22:10:54 +01:00
15160, 15169: Doc formatting changes for texinfo and .html files
This commit is contained in:
parent
a25c40c6a0
commit
6ee1839f20
5 changed files with 24 additions and 8 deletions
|
@ -40,7 +40,7 @@ INSTALL = @INSTALL@
|
|||
MAKEINFO = makeinfo
|
||||
TEXI2DVI = texi2dvi
|
||||
DVIPS = dvips
|
||||
TEXI2HTML = texi2html -expandinfo -split_chapter
|
||||
TEXI2HTML = texi2html -expand info -split chapter
|
||||
|
||||
.SUFFIXES: .yo .1
|
||||
|
||||
|
@ -297,14 +297,14 @@ uninstall.info:
|
|||
# install HTML manual
|
||||
install.html: html
|
||||
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(htmldir)
|
||||
for file in zsh_*.html; do \
|
||||
for file in zsh*.html; do \
|
||||
$(INSTALL_DATA) $$file $(DESTDIR)$(htmldir) || exit 1; \
|
||||
done
|
||||
.PHONY: install.html
|
||||
|
||||
# uninstall HTML manual
|
||||
uninstall.html:
|
||||
rm -f $(DESTDIR)$(htmldir)/zsh_*.html
|
||||
rm -f $(DESTDIR)$(htmldir)/zsh*.html
|
||||
.PHONY: uninstall.html
|
||||
|
||||
# ========== DEPENDENCIES FOR CLEANUP ==========
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
texiifinfo(\
|
||||
texiifnottex(\
|
||||
texinode(Top)(The Z Shell Manual)((dir))((dir))
|
||||
texitop(The Z Shell Manual)
|
||||
)\
|
||||
texiifinfo(\
|
||||
This Info file documents Zsh, a freely available UNIX command interpreter
|
||||
(shell), which of the standard shells most closely resembles the Korn shell
|
||||
(ksh), although it is not completely compatible.
|
||||
|
|
14
Doc/zman.yo
14
Doc/zman.yo
|
@ -46,6 +46,7 @@ def(texinfo)(2)(CMT())
|
|||
|
||||
def(texiifinfo)(1)()
|
||||
def(texiiftex)(1)()
|
||||
def(texiifnottex)(1)()
|
||||
|
||||
def(texipage)(0)(CMT())
|
||||
def(texititlepage)(0)(CMT())
|
||||
|
@ -61,8 +62,9 @@ COMMENT(--- section divisions ---)
|
|||
|
||||
def(chapter)(1)(CMT())
|
||||
|
||||
COMMENT(--- the "" works around a yodl bug ---)
|
||||
def(sect)(1)(\
|
||||
NOTRANS(.SH ")UPPERCASE(ARG1)(0)"NL()\
|
||||
NOTRANS(.SH )UPPERCASE(ARG1)(0)""NL()\
|
||||
STDPAR()\
|
||||
CMT()\
|
||||
)
|
||||
|
@ -162,6 +164,12 @@ def(itemiz)(1)(\
|
|||
|
||||
COMMENT(--- special effects ---)
|
||||
|
||||
def(example)(1)(\
|
||||
NOTRANS(.RS)NL()NOTRANS(.nf)NL()\
|
||||
NOTRANS(\fB)ARG1NOTRANS(\fP)\
|
||||
NL()NOTRANS(.fi)NL()NOTRANS(.RE)\
|
||||
)
|
||||
|
||||
def(nofill)(1)(\
|
||||
NOTRANS(.nf)NL()\
|
||||
ARG1\
|
||||
|
@ -169,9 +177,9 @@ def(nofill)(1)(\
|
|||
)
|
||||
|
||||
def(indent)(1)(\
|
||||
NOTRANS(.RS)\
|
||||
NOTRANS(.RS)NL()NOTRANS(.nf)NL()\
|
||||
ARG1\
|
||||
NOTRANS(.RE)\
|
||||
NL()NOTRANS(.fi)NL()NOTRANS(.RE)\
|
||||
)
|
||||
|
||||
COMMENT(--- hyperlink menus ---)
|
||||
|
|
|
@ -81,6 +81,11 @@ def(texiiftex)(1)(\
|
|||
ARG1\
|
||||
NOTRANS(@end iftex)NL()\
|
||||
)
|
||||
def(texiifnottex)(1)(\
|
||||
NOTRANS(@ifnottex)NL()\
|
||||
ARG1\
|
||||
NOTRANS(@end ifnottex)NL()\
|
||||
)
|
||||
|
||||
def(texipage)(0)(\
|
||||
NOTRANS(@page)\
|
||||
|
|
3
README
3
README
|
@ -81,7 +81,8 @@ Doc/zsh.texi Everything the man pages have, but in texinfo format. These
|
|||
By default, these will be installed in /usr/local/info,
|
||||
although you can change this with the --infodir option to
|
||||
configure or editing the user configuration section of the
|
||||
top level Makefile.
|
||||
top level Makefile. Version 4.0 or above of the
|
||||
Texinfo tools are recommended for processing this file.
|
||||
|
||||
Also include in the distribution are:
|
||||
|
||||
|
|
Loading…
Reference in a new issue