aboutsummaryrefslogtreecommitdiff
path: root/src/guile
AgeCommit message (Collapse)Author
2008-11-20info: Use `text-table', handle footnotes.Ludovic Courtès
* src/guile/skribilo/engine/info.scm: Use the `text-table' module. (document): Properly handle footnotes.
2008-11-20Turn `(skribilo utils text-table)' into a Guile module.Ludovic Courtès
2008-11-20Add `(skribilo table)'.Ludovic Courtès
2008-10-10Import `table.scm' (ASCII tables) from Scribe 1.1a.Ludovic Courtès
2008-10-10info: Remove biglooisms and fix typos.Ludovic Courtès
* src/guile/skribilo/engine/info.scm: Use normal number operations instead of their `fx' version. (table, mailto): Quote option list.
2008-10-09justify: Rename `string-replace' to `string-replace-char'.Ludovic Courtès
* src/guile/skribilo/utils/justify.scm (string-replace): Rename to... (string-replace-char): ... this, to avoid name collision with core Guile.
2008-10-09justify: Remove unused bindings.Ludovic Courtès
* src/guile/skribilo/utils/justify.scm (*justifiers*, pre-output, post-output, strtok, my-string-append): Remove. (tokens-justify)[reverse-line]: Remove. (tokens-justify): Use `string-concatenate' instead of `apply string-append'.
2008-10-09justify: Fix syntactic errors.Ludovic Courtès
* src/guile/skribilo/utils/justify.scm: Use `#\bs' instead of `#\a008'. Use `display' and `format' instead of `print' and `fprint'.
2008-10-09Make `(skribilo utils justify)' an actual Guile module.Ludovic Courtès
2008-10-09Fix Info engine module name.Ludovic Courtès
2008-10-09Separate `justify' module from Info engine.Ludovic Courtès
2008-10-08First stab at the conversion of the Info engine.Ludovic Courtès
2008-10-08Add Scribe's original Info "engine".Ludovic Courtès
2008-04-23Fix SUI `:ident' references.Ludovic Courtès
* src/guile/skribilo/package/base.scm (skribe-ref): Pass the result of `dirname' as the DIR argument of `sui-ref->url'. Don't pass ":ident ident" to `ref'. * src/guile/skribilo/sui.scm (sui-find-ref): Fix invocation of `sui-search-all-refs'. (sui-search-all-refs): Actually implemented. * NEWS: Update.
2008-04-21Document the `context' engine.Ludovic Courtès
* doc/modules/skribilo/documentation/env.scm (*api-engines*): Add `context'. * doc/user/contexte.skb: New file. * doc/user/engine.skb: Include it. * src/guile/skribilo/engine/context.scm (context-customs): Moved to the `make-engine' call so that automatic documentation extraction works.
2008-04-21Remove `.arch-inventory' files.Ludovic Courtès
2008-04-21Fix tiny errors.Ludovic Courtès
2008-04-21eq: Use SRFI-35 exceptions instead of `skribe-error'.Ludovic Courtès
* src/guile/skribilo/package/eq.scm: Raise `&invalid-argument-error' when relevant.
2008-04-15eq: Use plain procedures instead of stupid macros.Ludovic Courtès
* src/guile/skribilo/package/eq.scm (simple-markup-writer, simple-binary-markup-writer): Turn into procedures, update callers.
2008-04-15Use SRFI-35 exceptions in `(skribilo biblio author)'.Ludovic Courtès
* src/guile/skribilo/biblio/author.scm (bib-sort/first-author-last-name): Use `raise'.
2008-04-15Use SRFI-35 exceptions in `(skribilo sui)'.Ludovic Courtès
* src/guile/skribilo/sui.scm (&sui-error, &invalid-sui-error, handle-sui-error): New. Use them instead of `skribe-error'.
2008-04-15Use SRFI-35 exceptions in `(skribilo writer)'.Ludovic Courtès
* src/guile/skribilo/writer.scm: Raise `&invalid-argument-error' instead of using `skribe-error'.
2008-04-15Use SRFI-35 exceptions in `(skribilo verify)'.Ludovic Courtès
* src/guile/skribilo/verify.scm (&verify-error, &unsupported-markup-option-error, handle-verify-error): New. (check-required-options): Use it instead of `skribe-error'.
2008-04-15Support message conditions in `call-with-skribilo-error-catch'.Ludovic Courtès
* src/guile/skribilo/condition.scm (%call-with-skribilo-error-catch): Support `message-condition?'.
2008-04-15Use SRFI-35 conditions in `(skribilo index)'.Ludovic Courtès
* src/guile/skribilo/index.scm (resolve-the-index)[index-ref]: Raise a `&message' exception instead of using `skribe-error'.
2008-04-12source: Use SRFI-35 exceptions.Ludovic Courtès
* src/guile/skribilo/source.scm (&source-error, &no-extractor-error, &definition-not-found-error, handle-source-error): New. Use them.
2008-04-12engine: Use SRFI-35 exceptions instead of `skribe-error'.Ludovic Courtès
* src/guile/skribilo/engine.scm (&engine-error, &unknown-engine-error, handle-engine-error): New. Replace all `skribe-error' invocation with a relevant SRFI-34 `raise'. * src/guile/skribilo/evaluator.scm (evaluate-document-from-port): Use `lookup-engine' instead of `find-engine'. Raise an `&invalid-argument-error' instead of using `skribe-error'.
2008-04-11eq/lout: Use procedures instead of macros.Ludovic Courtès
* src/guile/skribilo/package/eq/lout.scm (simple-lout-markup-writer, binary-lout-markup-writer, range-lout-markup-writer): Turned into procedures, callers updated. Guile-Lint (as of version 14) is unable to handle macros defined within the same source file as they are used, so it makes it happy.
2008-04-08Add `--sui-path'/`-U' command-line option.Ludovic Courtès
* NEWS: Update. * src/guile/skribilo.scm (skribilo-show-help): Update. (%options)[-U]: New. (%default-options): Add `:sui-path'. (skribilo): Handle it. * src/guile/skribilo/package/base.scm (ref)[skribe-ref]: Use `*sui-path*'. * src/guile/skribilo/parameters.scm (*sui-path*): New. * src/guile/skribilo/sui.scm (load-sui): Raise a `&file-search-error' exception if not found.
2008-04-07Update little things.Ludovic Courtès
2008-04-07Update SILex-generated files.Ludovic Courtès
2008-04-07Recursive make sucks: remove 11 makefiles.Ludovic Courtès
2008-03-06`base' package: Add `:rulecolor' option to `table'.Ludovic Courtès
* NEWS, doc/user/colframe.skb, doc/user/table.skb: Update. * src/guile/skribilo/engine/lout.scm (table): Support `:rulecolor'. * src/guile/skribilo/package/base.scm (table): Support `:rulecolor'.
2008-03-03slide: Determine what to include in the outline slide based on `:toc'.Ludovic Courtès
* NEWS: Update. * doc/user/slide.skb: Update. * src/guile/skribilo/package/slide.scm (slide-topic, slide-subtopic): Add `toc' option. * src/guile/skribilo/package/slide/base.scm (make-subtopic-list): Filter topic nodes whose `:toc' is true.
2008-02-15slide: Add new customs.Ludovic Courtes
* src/guile/skribilo/package/slide/base.scm: Support the `slide-outline-title', `slide-outline-active-color' and `slide-outline-inactive-color' customs. * doc/user/slide.skb, NEWS: Update.
2008-02-08Really really delete `images.scm'.Ludovic Courtes
2008-02-08Really delete `images.scm'.Ludovic Courtès
2008-02-08images: Add missing changes.Ludovic Courtès
* src/guile/skribilo/utils/Makefile.am (dist_module_DATA): Move `images.scm' to `module_DATA'.
2008-02-08configure: Look for `convert' and `fig2dev'.Ludovic Courtès
* NEWS, README: Update. * configure.ac: Look for `convert' and `fig2dev'. Produce `src/guile/skribilo/utils/images.scm'. * src/guile/skribilo/utils/images.scm.in: Use Autoconf substitution.
2008-02-05source: Fix comment regexp for C.Ludovic Courtès
* src/guile/skribilo/source/c-lex.l (comment): New regexp, use it. * src/guile/skribilo/source/c-lex.scm: Regenerated.
2008-02-04lout: Align `prog' line numbers.Ludovic Courtès
* src/guile/skribilo/engine/lout.scm (&prog-line): Suitably align line numbers.
2008-02-03Handle commands in `ast-fold'.Ludovic Courtès
* src/guile/skribilo/ast.scm (ast-fold): Iterate through the body of commands.
2008-02-03Bind the nodes returned by <unresolved> nodes.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Use `ast-fold' to bind all nodes in RES and assign them the proper location.
2008-01-30web-book2: Cosmetic changes.Ludovic Courtès
* src/guile/skribilo/package/web-book2.scm (%small-toc-class): New. (make-small-toc): New `e' argument. [enclose]: New. Use HTML <div>, preferably.
2008-01-30html: Produce a more concise advertising message. :-)Ludovic Courtès
2008-01-30Fix option resolution for <node> and <container>.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve<node>): Don't resolve OPTIONS only when PARENT is `unspecified', otherwise nodes returned by `do-resolve<unresolved>' would always have their options unresolved. (do-resolve<container>): Likewise. In addition, make proper use of `*unresolved*' and set the `resolved?' slot accordingly. (do-resolve<unresolved>): Don't set the `parent' slot of RES at this point since we have to go for another resolution run anyway.
2008-01-29Really fix resolution of <unresolved> nodes.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Assign a valid parent to the AST returned by PROC.
2008-01-29outline: Better handle paragraphs.Ludovic Courtès
* src/guile/skribilo/reader/outline.scm (process-paragraph): When returning, enclose RESULT in a list. Previously, we'd end up with paragraphs like this: `(p list (list "something"))', where the first occurrence of `list' is wrong (although `output' silently ignores it).
2008-01-29outline: Liberated the list and mode-line syntax.Ludovic Courtès
* src/guile/skribilo/reader/outline.scm (%list-processors): Allow leading whitespace for list items. (outline-reader)[modeline-rx]: Allow figures, semi-colons and all.
2008-01-28lout: Make `lout-debug' Guile-Lint-friendly.Ludovic Courtès