Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
* src/guile/Makefile.am (nobase_dist_module_DATA): Add.
(engines): Add `info.scm'.
|
|
* src/guile/skribilo/utils/justify.scm (output-center): Call
`output-justified', not `output'.
|
|
* src/guile/skribilo/utils/justify.scm (output-flush): Add `newline'
calls after each series of `display'.
|
|
* 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.
|
|
|
|
* src/guile/skribilo/utils/justify.scm (output): Rename to...
(output-justified): this.
|
|
|
|
* src/guile/skribilo/engine/info.scm: Use the `text-table' module.
(document): Properly handle footnotes.
|
|
|
|
|
|
|
|
* src/guile/skribilo/engine/info.scm: Use normal number operations
instead of their `fx' version.
(table, mailto): Quote option list.
|
|
* src/guile/skribilo/utils/justify.scm (string-replace): Rename to...
(string-replace-char): ... this, to avoid name collision with core
Guile.
|
|
* 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'.
|
|
* src/guile/skribilo/utils/justify.scm: Use `#\bs' instead of
`#\a008'. Use `display' and `format' instead of `print' and
`fprint'.
|
|
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
* src/guile/skribilo/package/eq.scm: Raise `&invalid-argument-error'
when relevant.
|
|
* src/guile/skribilo/package/eq.scm (simple-markup-writer,
simple-binary-markup-writer): Turn into procedures, update callers.
|
|
* src/guile/skribilo/biblio/author.scm
(bib-sort/first-author-last-name): Use `raise'.
|
|
* src/guile/skribilo/sui.scm (&sui-error, &invalid-sui-error,
handle-sui-error): New.
Use them instead of `skribe-error'.
|
|
* src/guile/skribilo/writer.scm: Raise `&invalid-argument-error' instead
of using `skribe-error'.
|
|
* src/guile/skribilo/verify.scm (&verify-error,
&unsupported-markup-option-error, handle-verify-error): New.
(check-required-options): Use it instead of `skribe-error'.
|
|
* src/guile/skribilo/condition.scm (%call-with-skribilo-error-catch):
Support `message-condition?'.
|
|
* src/guile/skribilo/index.scm (resolve-the-index)[index-ref]: Raise a
`&message' exception instead of using `skribe-error'.
|
|
* src/guile/skribilo/source.scm (&source-error, &no-extractor-error,
&definition-not-found-error, handle-source-error): New. Use them.
|
|
* 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'.
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
|
|
* 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'.
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
|
|
* src/guile/skribilo/utils/Makefile.am (dist_module_DATA): Move
`images.scm' to `module_DATA'.
|
|
* 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.
|
|
* src/guile/skribilo/source/c-lex.l (comment): New regexp, use it.
* src/guile/skribilo/source/c-lex.scm: Regenerated.
|