Age | Commit message (Expand) | Author |
2008-01-19 | Add `web-book2' package. | Ludovic Courtès |
2008-01-18 | Add SILex, for simplicity. | Ludovic Courtès |
2008-01-04 | doc: Update "Standard Packages" section.•••* 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.
| Ludovic Courtès |
2007-12-14 | Fix `convert-image' so that it does not copy several times.•••* 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.
| Ludovic Courtès |
2007-12-14 | Return non-zero when an error is caught.•••* 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.
| Ludovic Courtès |
2007-12-12 | Fix on-line help showed by "skribilo --help".•••* src/guile/skribilo.scm (skribilo-show-help): Update.
(%options)[debug]: Deal with ARG == #f.
| Ludovic Courtès |
2007-12-12 | Remove legacy/dead code from `(skribilo)'.•••* 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.
| Ludovic Courtès |
2007-12-12 | Add support for `--base', `--eval', `--preload' and `--no-color'.•••* 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.
| Ludovic Courtès |
2007-12-12 | Improve handling of `--debug'.•••* src/guile/skribilo.scm (%options)[--debug]: Don't use
`make-level-processor' so that `-g' can be passed a symbol to be
watched.
(%default-options): Add `:watched-symbols'.
(skribilo): Parameterize `*watched-symbols*'.
| Ludovic Courtès |
2007-12-12 | Show bug-report email address.•••* src/guile/skribilo.scm (skribilo-show-help): Show bug-report address.
* src/guile/skribilo/config.scm.in (skribilo-bug-report-address): New.
| Ludovic Courtès |
2007-12-11 | Overhaul `(skribilo)' using SRFI-37.•••* README: Update dependency description.
* configure.ac: Check for SRFI-37.
* doc/user/Makefile.am (skrflags): Add the relevant `-S' flag, now that
`%load-path' is no longer part of `*source-path*' by default.
(.skb.html, .skb.lout): Add an `=' sign after `--target'.
* src/guile/skribilo.scm: Overhauled. Use SRFI-37 for command-line
argument parsing. Remove legacy (unused) code.
| Ludovic Courtès |
2007-12-11 | Improve `(skribilo config)'.•••* configure.ac: Don't generate `src/guile/skribilo/config.scm'; don't
substitute `SKRIBILO_DOC_DIR', `SKRIBILO_EXT_DIR' and
`SKRIBILO_SKR_PATH'.
* doc/modules/skribilo/documentation/env.scm (*courtes-mail*): Update.
(*skribe-user-doc-url*, *skribe-dir-doc-url*): Update.
* src/guile/skribilo/Makefile.am (CLEANFILES, .in): New.
Include `substitute.am'.
* src/guile/skribilo/config.scm.in: Overhauled.
* src/guile/skribilo/engine/context.scm: Use `skribilo-version' instead
of `skribilo-release'.
* src/guile/skribilo/engine/lout.scm: Likewise.
* src/guile/skribilo/utils/compat.scm: Use `(skribilo config)'.
(skribe-release, skribe-url, skribe-doc-dir, skribe-ext-dir,
skribe-default-path, skribe-scheme): New.
| Ludovic Courtès |
2007-12-11 | Move Automake substitution code into a separate file.•••* substitute.am: New.
* src/Makefile.am (substitute, SUFFIXES): Moved in the above file.
| Ludovic Courtès |
2007-12-10 | Add proper `skribilo-config' executable.•••* src/Makefile.am (EXTRA_DIST): Add `skribilo-config.in'.
(bin_SCRIPTS): Add `skribilo-config'.
(substitute): Add new variables.
* src/skribilo-config.in: Improve, based on `skribe-config.in'.
| Ludovic Courtès |
2007-12-01 | Make "distcheck" happy.•••* Makefile.am (EXTRA_DIST): Remove `config.rpath'.
* doc/user/Makefile.am (CLEANFILES): New.
* src/Makefile.am (EXTRA_DIST): Add `pre-inst-skribilo.in'.
(CLEANFILES): Likewise.
| Ludovic Courtès |
2007-12-01 | html: Better handle nodes with `:file #f'.•••* src/guile/skribilo/engine/html.scm (ref): Check whether both
`(*destination-file*)' _and_ F are false.
| Ludovic Courtès |
2007-11-30 | lout: Use `@M' instead of `@Eq' for special characters.•••* src/guile/skribilo/engine/lout.scm (lout-engine): Use `@M' instead of
`@Eq' in the symbol table.
| Ludovic Courtès |
2007-11-30 | `base' engine: Fix autoload.•••* src/guile/skribilo/engine/base.scm: `use-module' `(skribilo package
base)' instead of autoloading it. This avoids "unbound variable"
resulting from uncommon load orders.
| Ludovic Courtès |
2007-11-30 | lout: Fix `toc' to allow documentation building.•••* src/guile/skribilo/engine/lout.scm (toc): Use
`*document-being-output*' if `(ast-document n)' is false. Use
`find-down' instead of `search-down' when looking for chapters and
sections.
| Ludovic Courtès |
2007-11-29 | color: Use vectors instead of strings for RGB values.•••* src/guile/skribilo/color.scm (%rgb-alist): Change cdr to a vector
instead of a string.
(%convert-color): Adjust accordingly.
| Ludovic Courtès |
2007-11-29 | Clean up `color' module.•••* src/guile/skribilo/color.scm (*used-colors*): Remove.
(*skribe-rgb-alist*): Rename to...
(%rgb-alist): New.
(skribe-color->rgb): Rename to...
(color->rgb): New.
(skribe-get-used-colors, skribe-use-color!): Remove.
Update users.
* src/guile/skribilo/utils/compat.scm (skribe-color->rgb,
skribe-use-color!, skribe-get-used-colors): New.
| Ludovic Courtès |
2007-11-29 | slide: Fix `latex' engine's use of colors.•••* src/guile/skribilo/engine/latex.scm: Export `skribe-color->latex-rgb'.
* src/guile/skribilo/package/slide/latex.scm: No longer rely on
`skribe-get-latex-color', use `skribe-color->latex-rgb' and the
"[rgb]{r,g,b}" form, although it's unclear whether ADVI supports it.
| Ludovic Courtès |
2007-11-29 | context: Don't rely on `skribe-get-used-colors' and similar.•••* src/guile/skribilo/color.scm (document-used-colors): New.
* src/guile/skribilo/engine/context.scm (*skribe-context-color-table*):
Remove.
(%doc-table, document-color-table, use-color!, declare-used-colors,
use-standard-colors!, get-color): New.
(skribe-declare-used-colors, skribe-declare-standard-colors,
skribe-get-color): Remove.
(document, color, tr): Update to use the above new functions.
| Ludovic Courtès |
2007-11-28 | latex: Don't rely on `skribe-get-used-colors' and `\definecolor'.•••* src/guile/skribilo/engine/latex.scm (*skribe-latex-color-table*,
latex-declare-color, skribe-get-latex-color,
skribe-latex-declare-colors): Remove.
(document): Don't declare colors.
(latex-color): Pass `\textcolor' the "[rgb]{x,y,z}" form instead of a
color name. Same with `\colorbox'.
| Ludovic Courtès |
2007-11-28 | Make the default set of bindings even smaller.•••* src/guile/skribilo/module.scm (%skribilo-user-imports): Remove `ast'
and `config'.
| Ludovic Courtès |
2007-11-28 | Add run-time module with fewer bindings; add `--compat' command-line option.•••* doc/user/Makefile.am (skrflags): New. Use `--compat=skribe' for now.
* src/guile/Makefile.am (moduledir): New.
(dist_guilemodule_DATA): Renamed to...
(dist_module_DATA): This, for consistency.
* src/guile/skribilo.scm (skribilo-options): Add `--compat'.
(doskribe): New COMPAT argument.
(skribilo): Honor `--compat'.
* src/guile/skribilo/module.scm (%skribilo-user-imports): New.
(make-run-time-module): Renamed to `make-skribe-user-module'.
(make-skribilo-user-module): New.
(make-user-module, user-module-flavor): New.
(*skribilo-user-module*): Default to a `skribilo' module flavor.
* src/guile/skribilo/package/diff.scm (make-diff-document-from-files):
Use "(make-user-module 'skribilo)".
| Ludovic Courtès |
2007-11-28 | Use modules from the source dir when building the doc.•••* doc/user/Makefile.am (skribilo): Use `pre-inst-skribilo'.
* src/Makefile.am (noinst_SCRIPTS): New.
(substitute): Substitute `abs_top_srcdir' and `abs_top_builddir'.
* src/pre-inst-skribilo.in: New.
| Ludovic Courtès |
2007-11-28 | Remove `define-skribe-module' macro.•••* src/guile/skribilo/module.scm (define-skribe-module): Remove.
| Ludovic Courtès |
2007-11-22 | slide: Set up an environment suitable for `eq'.•••* src/guile/skribilo/package/slide.scm (slide): Add `env' with
`equation-counter' and `equation-env'. This allows the use of
non-inline equations in slides.
| Ludovic Courtès |
2007-11-15 | slide: Add `:unfold?' option to `slide-topic'.•••* doc/user/slide.skb: Update.
* src/guile/skribilo/package/slide.scm (slide-topic,
slide-subtopic)[:unfold?]: New argument.
* src/guile/skribilo/package/slide/base.scm (make-outline-slide): Honor
`:unfold?'.
(slide-topic, slide-subtopic): Mark `:unfold?' as supported.
| Ludovic Courtès |
2007-11-15 | Fix module installation directory.•••* src/guile/skribilo/**/Makefile.am (moduledir): New.
(dist_guilemodule_DATA): Changed to...
(dist_module_DATA): This. This fixes module installation.
| Ludovic Courtès |
2007-11-14 | Update the body of commands when resolving.•••* src/guile/skribilo/resolve.scm (do-resolve!<command>): Update the body
of N with the resolved body.
| Ludovic Courtès |
2007-10-28 | Add configure `--with-guilemoduledir' option.•••* configure.ac: Add support for `--with-guilemoduledir'.
* */Makefile.am (guilemoduledir): Don't override the configure-provided
value.
* src/skribilo.in: Add `-L "@guilemoduledir@"'.
| Ludovic Courtès |
2007-10-28 | Generate `skribilo' in Makefile.am.•••* configure.ac: Don't output `src/skribilo'.
* src/Makefile.am (CLEANFILES, guilemoduledir, substitute, SUFFIXES):
New variables.
(.in): New target.
| Ludovic Courtès |
2007-09-24 | Tolerate unresolved nodes in `first-paragraph?'.•••* src/guile/skribilo/ast.scm (first-paragraph?): Check whether PARENT is
a markup.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-110
lcourtes@laas.fr--2006-libre,skribilo--devo--1.2 | Ludovic Court`es |
2007-09-20 | lout: Add customs for the `book' document type.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[publisher, edition,
before-title-page, on-title-page, after-title-page, at-end]: New
customs.
(output-report-options, output-book-options): New.
(document): Use them.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-109
| Ludovic Court`es |
2007-09-20 | slide: Tiny fix.•••* src/guile/skribilo/package/slide.scm (slide-embed): Provide an
identifier, pass ARGUMENTS.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-108
| Ludovic Court`es |
2007-09-20 | eq/lout: Better handle parenthesizing of combinations.•••* src/guile/skribilo/package/eq/lout.scm (binary-lout-markup-writer):
Special-case `eq:combinations'.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-107
| Ludovic Court`es |
2007-09-20 | lout: New `:word' option for `chapter' et al.•••* src/guile/skribilo/engine/lout.scm (lout-block-before): Handle the
`:word' option (note `@BypassWord' should be added in Lout 3.37).
(chapter, section, subsection, subsubsection): Mark `:word' as
supported.
(ref): Sanity-check IDENT.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-106
| Ludovic Court`es |
2007-09-03 | skribilo: Flush the output port before exiting.•••* src/guile/skribilo.scm (skribilo): Flush `(*skribilo-output-port*)'
before exiting.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-105
| Ludovic Court`es |
2007-08-31 | biblio: Fixed default template for `book' and `inbook'.•••* src/guile/skribilo/biblio/template.scm
(make-bib-entry-template/default): For `book', use `(or author
editor)'. Added an `inbook' case.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-104
| Ludovic Court`es |
2007-08-30 | Moved `first-paragraph?' to `ast'.•••* src/guile/skribilo/ast.scm (first-paragraph?): New.
* src/guile/skribilo/engine/lout.scm (first-paragraph?): Removed.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-103
| Ludovic Court`es |
2007-08-30 | lout: Added support for drop capitals.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[drop-capital?,
drop-capital-lines]: New customs.
(first-paragraph?, make-drop-capital?, output-with-drop-capital): New.
(paragraph)[first-paragraph?]: Moved outside.
Use an `:action' to support drop capitals.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-102
| Ludovic Court`es |
2007-08-29 | biblio: SRFI'd `author.scm'.•••* src/guile/skribilo/biblio/author.scm: Use `srfi-14'.
(%no-comma): New.
(comma-separated->author-list): Use `string-tokenize'.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-101
| Ludovic Court`es |
2007-08-29 | lout: Provide support for separate first-paragraph gap style.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[first-paragraph-gap]:
New custom.
(paragraph)[first-paragraph?]: New. Use it to honor
`first-paragraph-gap'.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-100
| Ludovic Court`es |
2007-08-29 | `base' package: Introduced `noabbrev'.•••* src/guile/skribilo/engine/base.scm (noabbrev): New writer.
* src/guile/skribilo/package/base.scm (noabbrev): New markup.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-98
| Ludovic Court`es |
2007-08-29 | biblio: Properly handle non-string authors.•••* src/guile/skribilo/biblio/author.scm
(bib-sort/first-author-last-name)[maybe-first-author-last-name]: New.
Use it.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-97
| Ludovic Court`es |
2007-08-29 | biblio: Improved `bib-sort/first-author-last-name'.•••* src/guile/skribilo/biblio/author.scm
(bib-sort/first-author-last-name)[entry-field, <=?]: New.
Use them such that ordering also takes `year' and `title' into
account.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-96
| Ludovic Court`es |
2007-08-28 | ast: Provide better error messages.•••* src/guile/skribilo/ast.scm (handle-ast-error)[show-location]: Use it
in all cases. Internationalized error messages.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-95
| Ludovic Court`es |
2007-08-27 | lout: Use `@OnePage' for `figure'.•••* src/guile/skribilo/engine/lout.scm (figure): Use "@OnePage { Yes }" so
that figure and caption are kept on the same page. This looks like a
sane default, since multi-page figures are expected to be rare.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-94
| Ludovic Court`es |