summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-14Fix documentation build glitches.Ludovic Courtès
* doc/user/Makefile.am (EXTRA_DIST): Add `spacing.skb' and `src/bib1.sbib'. (skrflags): Fix include paths. (load_path): Shrink.
2007-12-14Fix `convert-image' so that it does not copy several times.Ludovic Courtès
* 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.
2007-12-14Return non-zero when an error is caught.Ludovic Courtès
* 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.
2007-12-13More `.gitignore'.Ludovic Courtès
2007-12-13Add `.gitignore'.Ludovic Courtès
2007-12-13Really remove `skribe.el'.Ludovic Courtès
2007-12-13Perform proper substitution in `skribe.el'.Ludovic Courtès
* emacs/Makefile.am (EXTRA_DIST, lisp_DATA, CLEANFILES): New. (dist_lisp_DATA): Remove. (.in): New. Include `substitute.am'. * emacs/skribe.el: Remove. * emacs/skribe.el.in (skribe-version): Use `@PACKAGE_VERSION@'. (skribe-emacs-dir): Use `@lispdir@'. (skribe-docdirs): Use `@docdir@'. (skribe-host-scheme-docdirs): Use Guile's URL. * substitute.am: Substitute `$(lispdir)'.
2007-12-13Install Emacs stuff.Ludovic Courtès
* Makefile.am (SUBDIRS): Add `emacs'. * configure.ac: Invoke `AM_PATH_LISPDIR', produce `emacs/Makefile'. * emacs/Makefile.am: New.
2007-12-12Update `TODO'.Ludovic Courtès
2007-12-12Fix on-line help showed by "skribilo --help".Ludovic Courtès
* src/guile/skribilo.scm (skribilo-show-help): Update. (%options)[debug]: Deal with ARG == #f.
2007-12-12Remove legacy/dead code from `(skribilo)'.Ludovic Courtès
* 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.
2007-12-12Add support for `--base', `--eval', `--preload' and `--no-color'.Ludovic Courtès
* 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.
2007-12-12Improve handling of `--debug'.Ludovic Courtès
* 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*'.
2007-12-12Show bug-report email address.Ludovic Courtès
* src/guile/skribilo.scm (skribilo-show-help): Show bug-report address. * src/guile/skribilo/config.scm.in (skribilo-bug-report-address): New.
2007-12-11Overhaul `(skribilo)' using SRFI-37.Ludovic Courtès
* 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.
2007-12-11doc/lout: Use the Van de Graaf canon for page construction.Ludovic Courtès
* doc/user/lout/book-style.lout (@*Margin): Adjust.
2007-12-11Improve `(skribilo config)'.Ludovic Courtès
* 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.
2007-12-11Move Automake substitution code into a separate file.Ludovic Courtès
* substitute.am: New. * src/Makefile.am (substitute, SUFFIXES): Moved in the above file.
2007-12-10Add proper `skribilo-config' executable.Ludovic Courtès
* 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'.
2007-12-03Update `README'.Ludovic Courtès
2007-12-03Change version to 0.9.0.Ludovic Courtès
2007-12-03configure: Have `guilemoduledir' default to `$pkgdatadir/$PACKAGE_VERSION'.Ludovic Courtès
* configure.ac: Change default value of `guilemoduledir'.
2007-12-01Update `AUTHORS'.Ludovic Courtès
2007-12-01Make "distcheck" happy.Ludovic Courtès
* 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.
2007-12-01Remove `doc/user/src/Makefile.am'.Ludovic Courtès
2007-12-01doc: Fix rendering of keywords.Ludovic Courtès
* doc/modules/skribilo/documentation/manual.scm (write <keyword>): New method.
2007-12-01doc: Remove broken `section' example.Ludovic Courtès
* doc/user/sectioning.skb (Sections): Remove broken example. It produced a real section, which confused Lout.
2007-12-01doc: Improve "Getting Started" and "Introduction".Ludovic Courtès
* doc/user/{start,user}.skb: Slightly improve stuff. Use paragraphs.
2007-12-01doc: Slightly improve Lout rendering of `prgm'.Ludovic Courtès
* doc/modules/skribilo/documentation/manual.scm (prgm): Better Lout output.
2007-12-01doc: Improve `.gitignore'.Ludovic Courtès
2007-12-01doc: Improved rendering of `example' in Lout.Ludovic Courtès
* doc/modules/skribilo/documentation/manual.scm: Add `lout' writer for `example'. (example-produce): Remove `(it "Example:")'.
2007-12-01doc: Use native API in `(skribilo documentation manual)'.Ludovic Courtès
* doc/modules/skribilo/documentation/manual.scm: Switch to native API.
2007-12-01doc: Makefile...Ludovic Courtès
* doc/user/Makefile.am (config.scm): Remove leading `-'.
2007-12-01doc: Add support for `ps2pdf'.Ludovic Courtès
* configure.ac: Look for `ps2pdf'. * doc/user/Makefile.am (pdf_DATA): New. (.ps.pdf): New rule.
2007-12-01Don't use GNU Make specific idioms.Ludovic Courtès
* doc/user/Makefile.am: Use old-fashioned ".input.output" targets.
2007-12-01doc: Improve building using the Lout engine, with a `book' style.Ludovic Courtès
* doc/modules/skribilo/documentation/api.scm (doc-engine): Use `ctrtable' instead of `table'. * doc/modules/skribilo/documentation/manual.scm: Add customs for the `lout' engine. (ctrtable): New. (prgm): Don't center frames in Lout. * doc/user/Makefile.am (EXTRA_DIST): Add `lout/book-style.lout'. (%.ps): Add "-r4 -I$(srcdir)/lout". * doc/user/char.skb: Use `ctrtable' instead of `(center (table...' for the list of chars. * doc/user/markup.skb: Add emacsology. * doc/user/package.skb: Don't show the sample code with non-HTML engines. * doc/user/src/html-navtabs.skb: Fix typo. * doc/user/user.skb: Don't produce out-of-chapter text in Lout.
2007-12-01html: Better handle nodes with `:file #f'.Ludovic Courtès
* src/guile/skribilo/engine/html.scm (ref): Check whether both `(*destination-file*)' _and_ F are false.
2007-11-30lout: Use `@M' instead of `@Eq' for special characters.Ludovic Courtès
* src/guile/skribilo/engine/lout.scm (lout-engine): Use `@M' instead of `@Eq' in the symbol table.
2007-11-30`base' engine: Fix autoload.Ludovic Courtès
* src/guile/skribilo/engine/base.scm: `use-module' `(skribilo package base)' instead of autoloading it. This avoids "unbound variable" resulting from uncommon load orders.
2007-11-30lout: Fix `toc' to allow documentation building.Ludovic Courtès
* 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.
2007-11-29Update `TODO'.Ludovic Courtès
2007-11-29color: Use vectors instead of strings for RGB values.Ludovic Courtès
* src/guile/skribilo/color.scm (%rgb-alist): Change cdr to a vector instead of a string. (%convert-color): Adjust accordingly.
2007-11-29Clean up `color' module.Ludovic Courtès
* 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.
2007-11-29slide: Fix `latex' engine's use of colors.Ludovic Courtès
* 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.
2007-11-29context: Don't rely on `skribe-get-used-colors' and similar.Ludovic Courtès
* 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.
2007-11-28latex: Don't rely on `skribe-get-used-colors' and `\definecolor'.Ludovic Courtès
* 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'.
2007-11-28Make the default set of bindings even smaller.Ludovic Courtès
* src/guile/skribilo/module.scm (%skribilo-user-imports): Remove `ast' and `config'.
2007-11-28Update `.gitignore'.Ludovic Courtès
2007-11-28Add run-time module with fewer bindings; add `--compat' command-line option.Ludovic Courtès
* 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)".
2007-11-28Use modules from the source dir when building the doc.Ludovic Courtès
* 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.