Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* src/guile/skribilo/engine/lout.scm (&prog-line): Suitably align line
numbers.
|
|
* src/guile/skribilo/ast.scm (ast-fold): Iterate through the body of
commands.
|
|
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Use
`ast-fold' to bind all nodes in RES and assign them the proper
location.
|
|
* src/guile/skribilo/package/web-book2.scm (%small-toc-class): New.
(make-small-toc): New `e' argument.
[enclose]: New. Use HTML <div>, preferably.
|
|
|
|
* 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.
|
|
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Assign a
valid parent to the AST returned by PROC.
|
|
* 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).
|
|
* src/guile/skribilo/reader/outline.scm (%list-processors): Allow
leading whitespace for list items.
(outline-reader)[modeline-rx]: Allow figures, semi-colons and all.
|
|
|
|
* src/guile/skribilo/engine/lout.scm (ref): Honor `show-page-num?' for
marks; get IDENT from TARGET rather than from the `text' markup option
(which doesn't exist).
|
|
* src/guile/skribilo/engine/lout.scm (lout-debug): Fix.
|
|
* src/guile/skribilo/resolve.scm (do-resolve!<pair>): Return N* if
`pair?'.
* src/guile/skribilo/verify.scm (verify<pair>): Add special treatment if
OBJ is not a list.
|
|
* src/guile/skribilo/output.scm (handle-output-error): Fix
error-reporting for unresolved nodes when `location?'.
|
|
* src/guile/skribilo/engine/lout.scm (lout-pdf-bookmark-node?): Handle
`slide-(sub)?topic' nodes.
(lout-engine)[pdf-bookmark-closed-pred]: Likewise.
* src/guile/skribilo/package/slide/lout.scm: Don't modify the
`pdf-bookmark-closed-pred' and `pdf-bookmark-node-pred' customs. It
had the side-effect of removing all bookmarks from the user manual.
|
|
* src/guile/skribilo/engine/lout.scm
(lout-engine)[use-skribe-footnote-numbers?]: Rename to
`use-lout-footnote-numbers?', which is the opposite.
(footnote): Update.
|
|
* src/guile/skribilo/reader/outline.scm (%inline-markup): Add
Org-Mode-style hyperlinks.
|
|
* src/guile/skribilo.scm (skribilo-show-help): Fix `--debug'.
(skribilo): Properly set the current module to USER-MODULE when
loading preloads.
|
|
* src/guile/skribilo/engine/html.scm (&html-footnotes): Use the `:label'
option instead of `:number'.
|
|
* src/guile/skribilo/utils/syntax.scm (unless, when): Don't use `begin'
if EXPRS contains a single expression.
* src/guile/skribilo/writer.scm (copy-markup-writer): Properly handle
NEW-ENGINE, working around `lambda*' deficiencies.
|
|
* src/guile/skribilo/engine/html.scm (html-file-default): Don't use
`tmpnam', was stupid.
(document): Record the current `*destination-file*' as `:file' option
of N.
(&html-generic-document): Parameterize `*destination-file*'.
|
|
|
|
|
|
* TODO: Add new item.
* doc/user/package.skb (Standard Packages): Remove references to
`skribe-load', mention `use-modules'.
[Web](web-article): Commented out since it sucks.
* src/guile/skribilo/package/web-article.scm: Add FIXMEs.
|
|
* src/guile/skribilo/utils/images.scm (builtin-convert-image): Add `~%'.
(convert-image): Check `(file-exists? dest-path)' before invoking
`copy-file'. This makes `distcheck' happy: a second `copy-file' would
fail if the file was already copied and is marked read-only.
|
|
* src/guile/skribilo/condition.scm (%call-with-skribilo-error-catch):
Make sure to always call EXIT.
(call-with-skribilo-error-catch/exit): New.
* src/pre-inst-skribilo.in: Use `call-with-skribilo-error-catch/exit'.
* src/skribilo.in: Likewise.
|
|
* src/guile/skribilo.scm (skribilo-show-help): Update.
(%options)[debug]: Deal with ARG == #f.
|
|
* src/guile/skribilo.scm: Remove `/bin/sh' header.
(process-option-specs, raw-options->getopt-long, define-options,
skribilo-options, *load-rc*, load-rc): Remove
(%options)[debug]: Fix `(integer? num)' case.
(main): Remove.
* src/pre-inst-skribilo.in (main): Update.
* src/skribilo.in (main): Update.
|
|
* src/guile/skribilo.scm (doskribe): Take a MODULE argument instead of a
COMPAT symbol.
(%options)[base,eval,preload,no-color]: New options.
[debug]: Fix in case of `(integer? num)'.
(skribilo): Honor these new options. Call `make-user-module' from
here.
|