X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/02478c4f78199bda48514bca58e4b912cb86c737..5ddbccdbc0d27abd7e9665e3349384bbadb39ff6:/doc/input.but diff --git a/doc/input.but b/doc/input.but index f0097c5..2d6d489 100644 --- a/doc/input.but +++ b/doc/input.but @@ -1,3 +1,5 @@ +\versionid $Id$ + \C{input} Halibut input format This chapter describes the format in which you should write @@ -1336,11 +1338,13 @@ input file in. By default, it is assumed to be US-ASCII (meaning You can specify any well-known name for any supported character set. For example, \c{iso-8859-1}, \c{iso8859-1} and \c{iso_8859-1} are all recognised, \c{GB2312} and \c{EUC-CN} both work, and so on. +(You can list character sets known to Halibut with by invoking it +with the \cw{--list-charsets} option; see \k{running-options}.) This directive takes effect immediately after the \c{\\cfg} command. -All text after that in the file is expected to be in the new -character set. You can even change character set several times -within a file if you really want to. +All text after that until the end of the input file is expected to be +in the new character set. You can even change character set several +times within a file if you really want to. When Halibut reads the input file, everything you type will be converted into \i{Unicode} from the character set you specify here, @@ -1403,8 +1407,10 @@ The \i{default settings} for the above options are: \c \cfg{appendix}{Appendix} \c \cfg{input-charset}{ASCII} -(The default settings for \cw{\\cfg\{quotes\}} are backend-specific; -see \k{output}.) +The default for \cw{\\cfg\{input-charset\}} can be changed with the +\cw{--input-charset} option; see \k{running-options}. The default +settings for \cw{\\cfg\{quotes\}} are backend-specific; see +\k{output}. \H{input-macro} Defining \i{macros}