]> code.delx.au - gnu-emacs/blobdiff - man/text.texi
(underlying_face_id): New function.
[gnu-emacs] / man / text.texi
index c9bde2550fbbf7f60dcd99f708012830ee064942..cd0c13e3d31312e0f93c49ece2adee3f7a6bc0d9 100644 (file)
@@ -392,6 +392,7 @@ Text}).
 * Fill Prefix::                Filling paragraphs that are indented
                           or in a comment, etc.
 * Adaptive Fill::       How Emacs can determine the fill prefix automatically.
+* Refill::              Keeping paragraphs filled.
 @end menu
 
 @node Auto Fill
@@ -532,6 +533,12 @@ two spaces for the end of a sentence, as explained above.  @xref{Sentences}.
   If the variable @code{colon-double-space} is non-@code{nil}, the
 fill commands put two spaces after a colon.
 
+@vindex sentence-end-without-period
+The variable @code{sentence-end-without-period} can be set
+non-@code{nil} to indicate that a sentence will end without a period.
+For example, a sentence in Thai text ends with double space but without
+a period.
+
 @node Fill Prefix
 @subsection The Fill Prefix
 
@@ -692,6 +699,25 @@ line, and it should return the appropriate fill prefix based on that
 line.  If it returns @code{nil}, that means it sees no fill prefix in
 that line.
 
+@node Refill
+@subsection Refill Mode
+@cindex refilling text, word processor style
+@cindex modes, Refill
+@cindex Refill minor mode
+
+Refill minor mode provides support for keeping paragraphs filled as you
+type or modify them in other ways.  It provides an effect similar to
+typical word processor behaviour.  This works by running a
+paragraph-filling command at suitable times.
+
+When you are typing text, only characters which normally trigger auto
+filling, like the space character, will trigger refilling.  This is to
+avoid making it too slow.  Apart from self-inserting characters, other
+commands which modify the text cause refilling.
+
+The current implementation is preliminary and probably not robust.  We
+expect to improve on it.
+
 @node Case
 @section Case Conversion Commands
 @cindex case conversion
@@ -1123,14 +1149,17 @@ want more than two views on the same outline, create additional indirect
 buffers.
 
 @node Foldout
-@subsection Folding editing with Foldout
+@subsection Folding editing
 
 @cindex folding editing
 The Foldout package provides folding editor extensions for Outline mode
 and Outline minor mode.  It may be used by putting in your @file{.emacs}
+
 @example
 (eval-after-load "outline" '(require 'foldout))
 @end example
+
+@noindent
 Folding editing works as follows.
 
 Consider an Outline mode buffer all the text and subheadings under
@@ -1233,7 +1262,8 @@ You can change the modifier keys used by setting
   @TeX{} is a powerful text formatter written by Donald Knuth; it is also
 free, like GNU Emacs.  La@TeX{} is a simplified input format for @TeX{},
 implemented by @TeX{} macros; it comes with @TeX{}.  Sli@TeX{} is a special
-form of La@TeX{}.@refill
+form of La@TeX{}.@footnote{Sli@TeX{} is obsoleted by the @samp{slides}
+document class in recent La@TeX{} versions.}
 
   Emacs has a special @TeX{} mode for editing @TeX{} input files.
 It provides facilities for checking the balance of delimiters and for
@@ -1267,6 +1297,45 @@ appropriate.  For Sli@TeX{} files, it calls @code{slitex-mode-hook}.
 Starting the @TeX{} shell runs the hook @code{tex-shell-hook}.
 @xref{Hooks}.
 
+@findex iso-iso2tex
+@findex iso-tex2iso
+@findex iso-iso2gtex
+@findex iso-gtex2iso
+@cindex Latin-1 @TeX{} encoding
+@TeX{} encoding
+@vindex format-alist
+@findex format-find-file
+The commands @kbd{M-x iso-iso2tex}, @kbd{M-x iso-tex2iso}, @kbd{M-x
+iso-iso2gtex} and @kbd{M-x iso-gtex2iso} can be used to convert between
+Latin-1 encoded files and @TeX{}-encoded equivalents.  They are included
+by default in the @code{format-alist} variable, and so an be used with
+@kbd{M-x format-find-file}, for instance.
+
+@findex tildify-buffer
+@findex tildify-region
+@cindex ties, @TeX{}, inserting
+@cindex hard spaces, @TeX{}, inserting
+@cindex SGML
+@cindex HTML
+The commands @kbd{M-x tildify-buffer} and @kbd{M-x tildify-region} can
+be used to insert missing @samp{~} @dfn{tie} characters which should be
+present in the file to represent `hard spaces'.  This is set up for
+Czech---customize the group @samp{tildify} for other languages or for
+other sorts of markup; there is support for SGML (HTML).
+
+@cindex RefTeX package
+@cindex references, La@TeX{}
+@cindex La@TeX{} references
+  For managing all kinds of references for La@TeX{}, you can use
+Ref@TeX{}.  @xref{Top, , RefTeX, reftex}.
+
+@cindex Bib@TeX{} mode
+@cindex mode, Bib@TeX{}
+@pindex bibtex
+@findex bibtex-mode
+There is also a mode for editing files for the Bib@TeX{} bibliography
+program often used with La@TeX{}.
+
 @menu
 * Editing: TeX Editing.   Special commands for editing in TeX mode.
 * LaTeX: LaTeX Editing.   Additional commands for LaTeX input files.
@@ -1561,9 +1630,6 @@ current buffer's file.  Generally, you need to do @kbd{C-c C-f}
 @kbd{C-c TAB} (@code{tex-bibtex-file}), and then repeat @kbd{C-c C-f}
 (@code{tex-file}) twice more to get the cross-references correct.
 
-  For managing all kinds of references, you can use Ref@TeX{}.
-@xref{Top, , RefTeX, reftex}.
-
 @node Nroff Mode
 @section Nroff Mode
 
@@ -1632,6 +1698,7 @@ used in conjunction with Text mode (@pxref{Text Mode}).  However, you
 can also use it with other major modes such as Outline mode and
 Paragraph-Indent Text mode.
 
+@cindex text/enriched MIME format
   Potentially, Emacs can store formatted text files in various file
 formats.  Currently, only one format is implemented: @dfn{text/enriched}
 format, which is defined by the MIME protocol.  @xref{Format