diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-01-29 14:56:17 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-01-29 15:19:37 +0100 |
commit | c4b2bd378136ed0177a88642220ea85eef034ced (patch) | |
tree | 454011b40781a2dbb16a6c60c47ffd7e796d93b5 /doc/ref | |
parent | f2781c9604dd1d7f4bf75e61848c4e9dc2221296 (diff) | |
download | guile-c4b2bd378136ed0177a88642220ea85eef034ced.tar.gz |
texinfo: Add '*line-width*' fluid to control line wrapping.
* module/texinfo/plain-text.scm (*line-width*): New variable.
(wrap*): Honor it.
* doc/ref/texinfo.texi (texinfo plain-text): Document it.
* test-suite/tests/texinfo.plain-text.test: New file.
* test-suite/Makefile.am (SCM_TESTS): Add it.
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/texinfo.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/ref/texinfo.texi b/doc/ref/texinfo.texi index 5006fd427..64a866b23 100644 --- a/doc/ref/texinfo.texi +++ b/doc/ref/texinfo.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 2013 Free Software Foundation, Inc. +@c Copyright (C) 2013, 2020 Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @c Note: Don't use "Texinfo" as the node name here because this leads to @@ -452,6 +452,12 @@ Transform @var{tree} into plain text. Returns a string. @end defun +@defvr {Scheme Variable} *line-width* +This fluid (@pxref{Fluids and Dynamic States}) specifies the length of +line for the purposes of line wrapping in the @code{stexi->plain-text} +conversion. +@end defvr + @node texinfo serialize @subsection (texinfo serialize) @subsubsection Overview |