Age | Commit message (Collapse) | Author |
|
|
|
* src/guile/skribilo/reader/rss-2.scm (html-string->parse-tree): Remove.
(generic-tag->skribe): Handle `*TOP*' here. This allows us to make
sure we generate a valid tree, regardless of whether TAG is flat or
not.
(item->section): Parse the title as HTML, too. Don't
`unquote-splice' the result of `generic-tag->skribe'.
(feed->document): Likewise.
|
|
* src/guile/skribilo/reader/rss-2.scm (generic-tag->skribe): Remove
`format' call.
|
|
* src/guile/skribilo/reader/rss-2.scm: New file.
* src/guile/Makefile.am (readers): Add `rss-2.scm'.
* po/POTFILES.in: Add `rss-2.scm'.
* doc/user/syntax.skb (rss2-syntax): New section.
* NEWS: Update.
|
|
* src/guile/skribilo/engine/lout.scm (image): Produce a warning, not an
error, if URL is provided. Use SRFI-35 conditions for invalid
arguments.
* po/POTFILES.in: Add.
* NEWS: Update.
|
|
* src/guile/skribilo.scm (skribilo-show-help): Update.
(%options)[#\c]: New option.
(%default-options)[:customs]: New option.
(skribilo): Handle it.
* doc/user/compiler.skb (Skribilo Compiler)[Options]: Add.
* NEWS: Update.
|
|
* src/guile/skribilo/engine/info.scm (ref): Handle references to marks.
|
|
* src/guile/skribilo/engine/info.scm (itemize, enumerate, description):
Add a new line before and after each list.
|
|
* src/guile/skribilo/engine/info.scm (~, breakable-space): New.
(%ornaments): Add `tt'.
|
|
* src/guile/skribilo/engine/info.scm (%ornaments): Remove LaTeXisms.
Use `output-justified' when outputting ornaments.
|
|
* src/guile/skribilo/engine/info.scm (url-ref): Produce output that
conforms to what Texinfo does.
|
|
* 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'.
|
|
* src/guile/skribilo/engine/base.scm (&the-index): Pass LOC using
`:&location'.
|
|
|
|
* 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'.
|