summaryrefslogtreecommitdiff
path: root/src/guile
AgeCommit message (Expand)Author
2008-12-13info: Handle references to marks.•••* src/guile/skribilo/engine/info.scm (ref): Handle references to marks. Ludovic Courtès
2008-12-13info: Add spacing around lists.•••* src/guile/skribilo/engine/info.scm (itemize, enumerate, description): Add a new line before and after each list. Ludovic Courtès
2008-12-13info: Add space markups and `tt'.•••* src/guile/skribilo/engine/info.scm (~, breakable-space): New. (%ornaments): Add `tt'. Ludovic Courtès
2008-12-07info: Fix ornaments.•••* src/guile/skribilo/engine/info.scm (%ornaments): Remove LaTeXisms. Use `output-justified' when outputting ornaments. Ludovic Courtès
2008-12-07info: Improve `url-ref' output.•••* src/guile/skribilo/engine/info.scm (url-ref): Produce output that conforms to what Texinfo does. Ludovic Courtès
2008-12-07info: Justify all strings that are output.•••* src/guile/skribilo/engine/info.scm (info-engine): Add a `:filter' closure. (block-title): Use `ast->string' when TITLE is not a string to avoid side effects with `justify'. Ludovic Courtès
2008-12-07base engine: Pass location information appropriately.•••* src/guile/skribilo/engine/base.scm (&the-index): Pass LOC using `:&location'. Ludovic Courtès
2008-11-25info: Add supported options for each markup writer.Ludovic Courtès
2008-11-25justify, text-table: Fix width rounding issues.•••* src/guile/skribilo/utils/justify.scm (make-justified-line): Make ONE-SPACES inexact. (make-centered-line): Round WIDTH to an exact integer. (make-justifier): Check the type and range of WIDTH. * src/guile/skribilo/utils/text-table.scm (table->ascii): Check whether WIDTH is a number. Round LCOLSWIDTH with `round-to-exact'. (table-row-format)[cell-width]: Round W with `round-to-exact'. (table-cell-vformat): Round NEW/2. (round-to-exact): New. Ludovic Courtès
2008-11-24Delete the destination file upon failure.•••* src/guile/skribilo/condition.scm (abort): New. Delete `(*destination-file*)'. (%call-with-skribilo-error-catch): Use `abort' instead of `show-stack-trace' and `exit'. (with-exception-handler): New. Ludovic Courtès
2008-11-23Add the new Info-related modules to the distribution.•••* src/guile/Makefile.am (nobase_dist_module_DATA): Add. (engines): Add `info.scm'. Ludovic Courtès
2008-11-23justify: Fix typo.•••* src/guile/skribilo/utils/justify.scm (output-center): Call `output-justified', not `output'. Ludovic Courtès
2008-11-23justify: Add missing new lines in `output-flush'.•••* src/guile/skribilo/utils/justify.scm (output-flush): Add `newline' calls after each series of `display'. Ludovic Courtès
2008-11-23Try to display a stack trace in `call-with-skribilo-error-catch'.•••* src/guile/skribilo/condition.scm (show-stack-trace): New. (%call-with-skribilo-error-catch): Use `with-exception-handler' instead of `guard' so the faulty call stack can be captured. Use `show-stack-trace'. * NEWS: Update. Ludovic Courtès
2008-11-21info: More cleanups, makes `guile-lint' happy.Ludovic Courtès
2008-11-21justify: Rename `output' to `output-justified' to avoid confusion.•••* src/guile/skribilo/utils/justify.scm (output): Rename to... (output-justified): this. Ludovic Courtès
2008-11-20info: Remove Bigloo type annotations and `with-access'.Ludovic Courtès
2008-11-20info: Use `text-table', handle footnotes.•••* src/guile/skribilo/engine/info.scm: Use the `text-table' module. (document): Properly handle footnotes. Ludovic Courtès
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.•••* src/guile/skribilo/engine/info.scm: Use normal number operations instead of their `fx' version. (table, mailto): Quote option list. Ludovic Courtès
2008-10-09justify: Rename `string-replace' to `string-replace-char'.•••* src/guile/skribilo/utils/justify.scm (string-replace): Rename to... (string-replace-char): ... this, to avoid name collision with core Guile. Ludovic Courtès
2008-10-09justify: Remove unused bindings.•••* 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'. Ludovic Courtès
2008-10-09justify: Fix syntactic errors.•••* src/guile/skribilo/utils/justify.scm: Use `#\bs' instead of `#\a008'. Use `display' and `format' instead of `print' and `fprint'. Ludovic Courtès
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.•••* 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. Ludovic Courtès
2008-04-21Document the `context' engine.•••* 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. Ludovic Courtès
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'.•••* src/guile/skribilo/package/eq.scm: Raise `&invalid-argument-error' when relevant. Ludovic Courtès
2008-04-15eq: Use plain procedures instead of stupid macros.•••* src/guile/skribilo/package/eq.scm (simple-markup-writer, simple-binary-markup-writer): Turn into procedures, update callers. Ludovic Courtès
2008-04-15Use SRFI-35 exceptions in `(skribilo biblio author)'.•••* src/guile/skribilo/biblio/author.scm (bib-sort/first-author-last-name): Use `raise'. Ludovic Courtès
2008-04-15Use SRFI-35 exceptions in `(skribilo sui)'.•••* src/guile/skribilo/sui.scm (&sui-error, &invalid-sui-error, handle-sui-error): New. Use them instead of `skribe-error'. Ludovic Courtès
2008-04-15Use SRFI-35 exceptions in `(skribilo writer)'.•••* src/guile/skribilo/writer.scm: Raise `&invalid-argument-error' instead of using `skribe-error'. Ludovic Courtès
2008-04-15Use SRFI-35 exceptions in `(skribilo verify)'.•••* src/guile/skribilo/verify.scm (&verify-error, &unsupported-markup-option-error, handle-verify-error): New. (check-required-options): Use it instead of `skribe-error'. Ludovic Courtès
2008-04-15Support message conditions in `call-with-skribilo-error-catch'.•••* src/guile/skribilo/condition.scm (%call-with-skribilo-error-catch): Support `message-condition?'. Ludovic Courtès
2008-04-15Use SRFI-35 conditions in `(skribilo index)'.•••* src/guile/skribilo/index.scm (resolve-the-index)[index-ref]: Raise a `&message' exception instead of using `skribe-error'. Ludovic Courtès
2008-04-12source: Use SRFI-35 exceptions.•••* src/guile/skribilo/source.scm (&source-error, &no-extractor-error, &definition-not-found-error, handle-source-error): New. Use them. Ludovic Courtès
2008-04-12engine: Use SRFI-35 exceptions instead of `skribe-error'.•••* 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'. Ludovic Courtès
2008-04-11eq/lout: Use procedures instead of macros.•••* 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. Ludovic Courtès
2008-04-08Add `--sui-path'/`-U' command-line option.•••* 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. Ludovic Courtès
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'.•••* 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'. Ludovic Courtès