summaryrefslogtreecommitdiff
path: root/module/texinfo.scm
Commit message (Collapse)AuthorAgeFilesLines
* texinfo: Add basic support for @w{...}.Ludovic Courtès2020-06-181-2/+3
| | | | | | | * module/texinfo.scm (texi-command-specs): Add 'w'. (space-significant?): Add it. * module/texinfo/html.scm (tag-replacements): Add 'w'. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add test.
* texinfo: fix @url{@@} parsingAndy Wingo2014-11-091-1/+1
| | | | | | | * module/texinfo.scm (texi-command-specs): The body of @url{} can have texinfo commands. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add tests.
* Fix newline preservation in @example with lines beginning with @Andy Wingo2014-02-271-2/+4
| | | | | | | * module/texinfo.scm (read-char-data): Preserve newlines in @example and similar environments in the case when the next line starts with an @. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add a test.
* texinfo: Recognize `@:'.Ludovic Courtès2013-03-211-1/+1
| | | | | * module/texinfo.scm (read-command-token): Recognize @:. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add test.
* texinfo: Allow markup in the arguments of `@pxref'.Ludovic Courtès2013-03-211-1/+2
| | | | | | | * module/texinfo.scm (texi-command-specs)[pxref]: Change to `INLINE-TEXT-ARGS'. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo")["@pxref{Locales, @code{setlocale}}"]: New test.
* (texinfo): add a command-spec for @math{}.Andy Wingo2013-02-091-1/+2
| | | | * module/texinfo.scm (texi-command-specs): Add `math' as inline-text.
* more robust texinfo alias handlingAndy Wingo2012-08-251-9/+19
| | | | | | | * module/texinfo.scm (command-spec): Resolve aliases here. (complete-start-command, make-command-parser): (make-dom-parser, parse-environment-args): Reload command after resolving spec, so we get the alias target.
* add support for texinfo parsed arguments, like @acronymAndy Wingo2012-05-071-8/+54
| | | | | | | | | | | | | | | | | * 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.
* more define-syntax-rule usageAndy Wingo2011-09-021-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * module/ice-9/boot-9.scm: * module/ice-9/control.scm: * module/ice-9/futures.scm: * module/ice-9/optargs.scm: * module/ice-9/poll.scm: * module/ice-9/receive.scm: * module/ice-9/threads.scm: * module/ice-9/vlist.scm: * module/language/assembly/compile-bytecode.scm: * module/language/ecmascript/compile-tree-il.scm: * module/language/tree-il.scm: * module/oop/goops.scm: * module/oop/goops/simple.scm: * module/oop/goops/stklos.scm: * module/srfi/srfi-1.scm: * module/srfi/srfi-35.scm: * module/srfi/srfi-39.scm: * module/srfi/srfi-45.scm: * module/srfi/srfi-67/compare.scm: * module/sxml/match.scm: * module/system/repl/error-handling.scm: * module/system/repl/repl.scm: * module/system/vm/inspect.scm: * module/texinfo.scm: * module/web/server.scm: Use define-syntax-rule, where it makes sense.
* texinfo: add paragraphindentAndy Wingo2011-08-291-0/+1
| | | | * module/texinfo.scm (texi-command-specs): Add paragraphindent.
* texinfo: alias `url' to `uref'.Andy Wingo2011-08-231-2/+7
| | | | | | | * module/texinfo.scm (texi-command-specs, complete-start-command): Upstream texinfo has aliased `url' to `uref'. Let's do the same. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add a test.
* Remove unused top-level variables.Ludovic Courtès2010-01-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* texinfo fixesAndy Wingo2009-12-211-7/+7
| | | | | | | * module/texinfo.scm (parser-error): Throw to 'parser-error, as ssax's input-parse does. (texi-command-depth): Fix docstring so as not to confuse emacs. (parse-table-args): Fix parser-error call to include port.
* import statprof, sxml, and texinfo from guile-libAndy Wingo2009-12-211-0/+1217
* 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.