| Commit message (Expand) | Author | Age | Files | Lines |
* | texinfo: Properly render @acronym in plain text....Fixes <https://bugs.gnu.org/37846>.
Reported by Christopher Baines <mail@cbaines.net>.
* module/texinfo/plain-text.scm (acronym): New procedure.
(tag-handlers): Change 'acro' handle to ACRONYM, and add 'acronym'
handler.
* test-suite/tests/texinfo.plain-text.test ("stexi->plain-text")
["acronym", "recursive acronym"]: New tests.
| Ludovic Courtès | 2020-02-12 | 1 | -1/+12 |
* | 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.
| Ludovic Courtès | 2020-02-12 | 1 | -4/+7 |
* | stexi->shtml: Add support for @i, @math, @tie and @dots....* module/texinfo/html.scm (tag-replacements): Add support for @i
and @math. The tags used come from the texinfo documentation.
(rules): Convert @tie and @dots to the appropriate HTML entities.
| Christopher Baines | 2019-06-18 | 1 | -0/+4 |
* | texinfo: Remove unnecessary (oop goops) dependency....* module/texinfo/string-utils.scm: Remove #:use-module (oop goops).
| Ludovic Courtès | 2017-03-01 | 1 | -1/+0 |
* | Texinfo serialization: add braces when needed...* module/texinfo/serialize.scm (include, empty-command, inline-text):
(inline-args, inline-text-args, eol-text-args, eol-text, eol-args)
(environ, table-environ, paragraph, item, entry, fragment, serialize)
(stexi->texi): Pass extra rest? parameter around to indicate arguments
that can take any number of subforms without being surrounded by
braces.
(embrace, serialize-text-args): Surround non-rest arguments with
braces.
* test-suite/tests/texinfo.serialize.test: Add tests.
| Andy Wingo | 2016-10-11 | 1 | -29/+50 |
* | Fix texinfo->html for @acronym, @itemize...* module/texinfo/html.scm (itemize, acronym, tag-replacements, rules):
Fix HTML serialization of @itemize and @acronym. Fixes #21772.
* test-suite/tests/texinfo.html.test: New file.
* test-suite/Makefile.am: Add new file.
| Andy Wingo | 2016-06-24 | 1 | -5/+19 |
* | Improve correctness and consistency of 'eval-when' usage....* module/ice-9/boot-9.scm:
* module/ice-9/i18n.scm:
* module/ice-9/poll.scm:
* module/ice-9/popen.scm:
* module/ice-9/r6rs-libraries.scm:
* module/oop/goops.scm:
* module/oop/goops/compile.scm:
* module/oop/goops/dispatch.scm:
* module/srfi/srfi-88.scm:
* module/system/foreign.scm:
* module/texinfo/serialize.scm: Change most uses of 'compile' to
'expand', except where we must avoid it during initial bootstrap
before the module system is loaded. Remove redundant uses of
'compile' where 'expand' is also given. Standardize on the
"(expand load eval)" order of conditions.
| Mark H Weaver | 2014-01-23 | 1 | -1/+1 |
* | texinfo plain-text: Use `match' for `stexi->plain-text'....* module/texinfo/plain-text.scm (def)[list/spaces]: Remove.
(stexi->plain-text): Use `match' instead of `cond'.
| Ludovic Courtès | 2013-03-22 | 1 | -20/+14 |
* | texinfo: Add whitespace after periods....* module/texinfo/string-utils.scm (end-of-sentence?): New procedure.
(make-text-wrapper): Append an extra space after LINE when it matches
`end-of-sentence?' and COLLAPSE-WHITESPACE? is false.
* test-suite/tests/texinfo.serialize.test ("test-serialize"): Adjust
accordingly.
* test-suite/tests/texinfo.string-utils.test ("text wrapping")["two
spaces after end of sentence"]: New test prefix.
| Ludovic Courtès | 2013-03-22 | 1 | -2/+13 |
* | texinfo plain-text: Properly render @dots{}....* module/texinfo/plain-text.scm (tag-handlers): Add `dot' handler.
| Ludovic Courtès | 2013-03-21 | 1 | -0/+1 |
* | (texinfo docbook): informaltable is a block element....* module/texinfo/docbook.scm (*sdocbook-block-commands*): informaltable
is a block element.
| Andy Wingo | 2013-02-09 | 1 | -1/+1 |
* | (texinfo plain-text): Pass @math{} through as-is....* module/texinfo/plain-text.scm (tag-handlers): Pass `math' through
as-is.
| Andy Wingo | 2013-02-09 | 1 | -1/+2 |
* | (texinfo serialize): don't break words when wrapping...* module/texinfo/serialize.scm (wrap): Don't break long words by
default; that could break @-commands.
| Andy Wingo | 2013-02-09 | 1 | -2/+3 |
* | docbook->texi fix...* module/texinfo/docbook.scm (*sdocbook->stexi-rules*): Only convert
ulink to uref if there is a URL attribute.
| Andy Wingo | 2012-05-08 | 1 | -2/+6 |
* | (texinfo docbook) support for @acronym...* module/texinfo/docbook.scm (*sdocbook->stexi-rules*): Recognize
"acronym" as parsing to the @acronym texinfo command.
| Andy Wingo | 2012-05-07 | 1 | -1/+3 |
* | add support for texinfo parsed arguments, like @acronym...* module/texinfo.scm (texi-command-specs): Add a new kind of texinfo
command, inline-text-args, a sort of a cross between inline-args,
which are unparsed, and inline-text, which is. Perhaps this should
supersede inline-args at some point. In any case, add acronym as an
inline-text-args element.
(inline-content?, arguments->attlist, complete-start-command)
(parse-inline-text-args, make-dom-parser): Adapt for
inline-text-args.
* module/texinfo/serialize.scm (inline-text-args): Add serialization for
@acronym.
* test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add some
tests.
| Andy Wingo | 2012-05-07 | 1 | -1/+16 |
* | Improve the usage of variable names in Scheme docstrings....* module/ice-9/boot-9.scm:
* module/ice-9/popen.scm:
* module/ice-9/pretty-print.scm:
* module/ice-9/r4rs.scm:
* module/rnrs/io/ports.scm:
* module/texinfo/string-utils.scm:
* module/web/http.scm:
* module/web/request.scm:
* module/web/response.scm:
* test-suite/vm/run-vm-tests.scm: Make the variable names in Scheme docstrings more
consistent. Replace a few instances of @var with @code when appropriate.
| Bake Timmons | 2012-02-02 | 1 | -2/+2 |
* | Use default value for make-fluid in Scheme files...* module/ice-9/boot-9.scm (%exception-handler)
(%running-exception-handlers, read-eval?, *repl-stack*)
(make-mutable-parameter):
* module/ice-9/getopt-long.scm (%program-name):
* module/language/elisp/runtime.scm (built-in-macro, defspecial):
* module/srfi/srfi-39.scm (make-parameter/helper):
* module/system/base/language.scm (*current-language*):
* module/system/base/message.scm (*current-warning-port*):
(*current-warning-prefix*):
* module/system/base/target.scm (%target-type, %target-endianness)
(%target-word-size):
* module/texinfo/plain-text.scm (*indent*, *itemizer*):
* benchmark-suite/lib.scm (prefix-fluid):
* test-suite/lib.scm (prefix-fluid): Give fluids a useful default
value.
| Andy Wingo | 2011-11-23 | 1 | -7/+3 |
* | module-stexi-documentation #:docs-resolver keyword arg...* module/texinfo/reflection.scm (module-stexi-documentation): Make
#:docs-resolver a keyword argument. Provide back compat with
docs-resolver as an optional argument, though.
| Andy Wingo | 2011-08-23 | 1 | -2/+7 |
* | fix stexi->html double translation...* module/texinfo/html.scm (entry): Fix to avoid double translation:
arg-req already pulls an stexi->shtml on its arg.
| Andy Wingo | 2011-03-26 | 1 | -7/+5 |
* | fix (texinfo reflection) to handle nested structures like syntax patterns...* module/texinfo/reflection.scm (process-args): Convert any arg to a
string. "Fixes" documentation of syntax-rules patterns.
| Andy Wingo | 2011-03-26 | 1 | -2/+2 |
* | stexi->shtml supports itemx...* module/texinfo/html.scm (entry, rules): Allow @itemx,
| Andy Wingo | 2011-01-25 | 1 | -3/+9 |
* | Fix typos....* module/system/repl/repl.scm (run-repl): Fix variable name: `k', not
`key'.
* module/texinfo/docbook.scm: Use `(srfi srfi-1)' for `fold'.
| Ludovic Courtès | 2010-09-02 | 1 | -7/+8 |
* | scm_i_program_properties is internal; just use procedure-properties...* libguile/programs.h:
* libguile/programs.c (scm_i_program_properties): Make internal.
(scm_program_name): Use scm_i_program_properties.
* libguile/procprop.c (scm_procedure_properties): Use
scm_i_program_properties, for programs.
* libguile/procs.c (scm_procedure_documentation): Use procedure-property
to get to 'documentation, not program-property.
* module/system/vm/program.scm (program-properties, program-property):
Remove from the exports list.
(program-documentation): Use procedure-property.
* module/texinfo/reflection.scm (macro-arguments)
(macro-additional-stexi)
(object-stexi-documentation): Use procedure-property, not
program-property.
| Andy Wingo | 2010-04-17 | 1 | -5/+4 |
* | (texinfo reflection) parses out macro metadata...* module/texinfo/reflection.scm (macro-arguments):
(macro-additional-stexi, object-stexi-documentation): Parse out the
metadata in macros, if it is available, so we can show defmacros'
arguments, syntax-rules' patterns, etc.
| Andy Wingo | 2010-03-29 | 1 | -19/+36 |
* | fix texinfo reflection for procedures...* module/system/vm/program.scm (program-arguments-alist): Rename from
program-arguments, a name shadowed by features.c
(arglist->arguments-alist, arity->arguments-alist)
(arguments-alist->lambda-list, program-lambda-list, write-program):
Adapt callers.
* module/system/vm/frame.scm (frame-lookup-binding): Return #f if the
binding is not found, not an error.
(frame-binding-set!, frame-binding-ref): Adapt to error appropriately.
(frame-arguments): Dispatch to frame-call-representation.
(frame-call-representation): Refactor a bit.
* module/ice-9/session.scm (procedure-arguments): Adapt to
program-arguments name change.
* module/texinfo/reflection.scm (get-proc-args): Refactor to actually
work with VM procedures.
| Andy Wingo | 2010-01-12 | 1 | -28/+26 |
* | Remove unused top-level variables....* module/ice-9/runq.scm (fork-strips): Remove.
* module/language/assembly.scm (*block-alignment*): Remove.
* module/language/assembly/disassemble.scm (disassemble-objects,
simplify): Remove.
* module/srfi/srfi-18.scm (mutex-owners): Remove.
* module/srfi/srfi-19.scm (leap-year?): Remove.
* module/system/base/compile.scm (dsu-sort): Remove.
* module/texinfo.scm (ascii->char): Remove.
* module/texinfo/html.scm (ignored?): Remove.
* module/texinfo/indexing.scm (def-name): Remove.
* module/texinfo/plain-text.scm (ignore): Remove.
| Ludovic Courtès | 2010-01-11 | 3 | -11/+3 |
* | integrate guile-lib docs | Andy Wingo | 2009-12-21 | 1 | -1/+39 |
* | import statprof, sxml, and texinfo from guile-lib...* module/Makefile.am (LIB_SOURCES): Add statprof, sxml, and texinfo to
the build.
(NOCOMP_SOURCES): Reindent, and add the upstream SSAX files.
* module/statprof.scm:
* module/sxml/apply-templates.scm:
* module/sxml/fold.scm:
* module/sxml/simple.scm:
* module/sxml/ssax.scm:
* module/sxml/ssax/input-parse.scm:
* module/sxml/transform.scm:
* module/sxml/upstream/COPYING.SSAX:
* module/sxml/upstream/SSAX.scm:
* module/sxml/upstream/SXML-tree-trans.scm:
* module/sxml/upstream/SXPath-old.scm:
* module/sxml/upstream/assert.scm:
* module/sxml/upstream/input-parse.scm:
* module/sxml/xpath.scm:
* module/texinfo.scm:
* module/texinfo/docbook.scm:
* module/texinfo/html.scm:
* module/texinfo/indexing.scm:
* module/texinfo/plain-text.scm:
* module/texinfo/reflection.scm:
* module/texinfo/serialize.scm:
* module/texinfo/string-utils.scm: Add files from guile-lib to Guile.
It's only Richard, Andreas, Rob, and myself that have copyright on
these, and we have all assigned to the FSF. SSAX itself is in the
public domain.
| Andy Wingo | 2009-12-21 | 7 | -0/+2080 |