diff --git a/NEWS b/NEWS index cfaf3b8d9..ed75c7c05 100644 --- a/NEWS +++ b/NEWS @@ -347,6 +347,8 @@ To be released as 0.11.4. * minor bug 928: properly display no-break spaces in a UTF-8 document if the terminal uses some other charset * minor bug 987: English spelling and grammar corrections +* minor bug 1000: preserve any query and fragment when converting a + file name to a file:// URL * minor: don't assume sizeof(int)==4 in bittorrent * trivial bug 947: document.html.wrap_nbsp also affects text in tables * trivial bug 997: fix unlikely stack corruption in active FTP diff --git a/doc/Makefile b/doc/Makefile index 15ab5b2df..e516bbbdc 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -14,7 +14,10 @@ PDF_DIR = $(DESTDIR)$(docdir)/$(PACKAGE)/pdf TXT_DIR = $(DESTDIR)$(docdir)/$(PACKAGE)/txt ASCIIDOC_CONF = $(srcdir)asciidoc.conf -ASCIIDOC_FLAGS += -f $(ASCIIDOC_CONF) -a "builddir=$(CURDIR)/" -a asciidoc7compatible +ASCIIDOC_FLAGS += -f $(ASCIIDOC_CONF) \ + -a "builddir=$(CURDIR)/" \ + -a asciidoc7compatible \ + -a elinks_version=$(VERSION) ############################################################################# # Build files @@ -167,12 +170,6 @@ asciidoc_dep = sed -n 's/[{]builddir}//g;s@include::\(.*\)\[.*@$@: $< \1@p' < $< -include .deps/*.asciidoc -# Do a little post-processing of man pages. Inserting title headers and date. -MAN_DATE = $(shell date -I) -man_desc = `sed -n 's/:Description:\s*\(.*\)/\1/p' < $(srcdir)$(subst .xml,.txt,$( $@.tmp && mv $@.tmp $@ - ############################################################################# # Build recipies @@ -187,11 +184,9 @@ man_hack = sed "s/^\(\.TH \"ELINKS[^\"]*\" [0-9] \).*/\1\"$(1)\" \"$(MAN_DATE)\" %.1: %.1.xml $(call cmd,xmlto,man) - @$(call man_hack,$(call man_desc)) %.5: %.5.xml $(call cmd,xmlto,man) - @$(call man_hack,$(call man_desc)) %.html-chunked: %.xml $(call cmd,xmlto,html) diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf index 3e892aaaa..358700d32 100644 --- a/doc/asciidoc.conf +++ b/doc/asciidoc.conf @@ -19,7 +19,7 @@ ifdef::backend-docbook[] # To be replaced later [attributes] -squote=@squote@ +squote=' # No interlinking between elinks manpages [man-inlinemacro] @@ -48,6 +48,21 @@ ifdef::doctype-manpage[] [mailto-inlinemacro] <{target}> +[header] +template::[header-declarations] + + +{mantitle} +{manvolnum} +ELinks +{elinks_version} +{description} + + + {manname} + {manpurpose} + + endif::doctype-manpage[] endif::backend-docbook[] diff --git a/doc/elinks.1.txt b/doc/elinks.1.txt index 493eb79fd..231b879fc 100644 --- a/doc/elinks.1.txt +++ b/doc/elinks.1.txt @@ -57,12 +57,12 @@ ELINKS_CONFDIR:: ELINKS_TWTERM, LINKS_TWTERM:: The command to run when selecting File -> New window and if - `TWDISPLAY` is defined (default `twterm -e`) + `TWDISPLAY` is defined (default `twterm -e`). ELINKS_XTERM, LINKS_XTERM:: The command to run when selecting File -> New window and if `DISPLAY` - is defined (default `xterm -e`) + is defined (default `xterm -e`). FTP_PROXY, HTTP_PROXY, HTTPS_PROXY:: @@ -83,6 +83,11 @@ WWW_HOME:: FILES ----- +Configuration files controlled by ELinks are located in the user +configuration directory, defaulting to '~/.elinks/'. In addition to the +files listed below, a user defined CSS stylesheet can be defined using +the 'document.css.stylesheet' option. + @sysconfdir@/elinks.conf:: Site-wide configuration file. @@ -116,15 +121,14 @@ FILES ~/.elinks/socket:: Internal 'ELinks' socket for communication between its instances. -~/.mailcap:: +~/.mailcap, /etc/mailcap:: Mappings of MIME types to external handlers. -~/.mime.types:: +~/.mime.types, /etc/mime.types:: Mappings of file extensions to MIME types. -Other files that ELinks uses from '~/.elinks/' includes the user defined CSS -stylesheet. The name of the file can set in the 'document.css.stylesheet' -option. +////////////////////////////////////////////////////////////////////////////// +// Commented out since it's neither super useful nor manpage material. --jonas PLATFORMS --------- @@ -132,6 +136,7 @@ PLATFORMS 'ELinks' is known to work on 'Linux', 'FreeBSD', 'OpenBSD', 'Solaris', 'IRIX', 'HPUX', 'Digital Unix', 'AIX', 'OS/2', 'BeOS' and 'RISC OS'. Port for 'Win32' is in state of beta testing. +////////////////////////////////////////////////////////////////////////////// BUGS ---- diff --git a/doc/elinks.conf.5.txt b/doc/elinks.conf.5.txt index cab411f13..9402f6e16 100644 --- a/doc/elinks.conf.5.txt +++ b/doc/elinks.conf.5.txt @@ -9,8 +9,8 @@ elinks.conf - ELinks configuration file SYNOPSIS -------- [verse] -set "