summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-03slide: Determine what to include in the outline slide based on `:toc'.Ludovic Courtès
* 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.
2008-02-15slide: Add new customs.Ludovic Courtes
* 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.
2008-02-14Remove Guile warnings for duplicate bindings.Ludovic Courtes
2008-02-08Really really delete `images.scm'.Ludovic Courtes
2008-02-08Really delete `images.scm'.Ludovic Courtès
2008-02-08images: Add missing changes.Ludovic Courtès
* src/guile/skribilo/utils/Makefile.am (dist_module_DATA): Move `images.scm' to `module_DATA'.
2008-02-08configure: Look for `convert' and `fig2dev'.Ludovic Courtès
* 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.
2008-02-05source: Fix comment regexp for C.Ludovic Courtès
* src/guile/skribilo/source/c-lex.l (comment): New regexp, use it. * src/guile/skribilo/source/c-lex.scm: Regenerated.
2008-02-04lout: Align `prog' line numbers.Ludovic Courtès
* src/guile/skribilo/engine/lout.scm (&prog-line): Suitably align line numbers.
2008-02-03Handle commands in `ast-fold'.Ludovic Courtès
* src/guile/skribilo/ast.scm (ast-fold): Iterate through the body of commands.
2008-02-03Bind the nodes returned by <unresolved> nodes.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Use `ast-fold' to bind all nodes in RES and assign them the proper location.
2008-01-30web-book2: Cosmetic changes.Ludovic Courtès
* src/guile/skribilo/package/web-book2.scm (%small-toc-class): New. (make-small-toc): New `e' argument. [enclose]: New. Use HTML <div>, preferably.
2008-01-30html: Produce a more concise advertising message. :-)Ludovic Courtès
2008-01-30Fix option resolution for <node> and <container>.Ludovic Courtès
* 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.
2008-01-29Really fix resolution of <unresolved> nodes.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Assign a valid parent to the AST returned by PROC.
2008-01-29outline: Better handle paragraphs.Ludovic Courtès
* 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).
2008-01-29outline: Liberated the list and mode-line syntax.Ludovic Courtès
* src/guile/skribilo/reader/outline.scm (%list-processors): Allow leading whitespace for list items. (outline-reader)[modeline-rx]: Allow figures, semi-colons and all.
2008-01-28lout: Make `lout-debug' Guile-Lint-friendly.Ludovic Courtès
2008-01-28lout: Fix `ref' and `:page'.Ludovic Courtès
* 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).
2008-01-28lout: Fix debugging support.Ludovic Courtès
* src/guile/skribilo/engine/lout.scm (lout-debug): Fix.
2008-01-28Properly handle non-list pairs in `resolve' and `verify'.Ludovic Courtès
* 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.
2008-01-28Fix `output' error reporting.Ludovic Courtès
* src/guile/skribilo/output.scm (handle-output-error): Fix error-reporting for unresolved nodes when `location?'.
2008-01-25lout: Make it so that customs are not modified by `slide'.Ludovic Courtès
* 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.
2008-01-25lout: Rename `use-skribe-footnote-numbers?' custom.Ludovic Courtès
* src/guile/skribilo/engine/lout.scm (lout-engine)[use-skribe-footnote-numbers?]: Rename to `use-lout-footnote-numbers?', which is the opposite. (footnote): Update.
2008-01-24outline: Add support for Org-Mode-style hyperlinks.Ludovic Courtès
* src/guile/skribilo/reader/outline.scm (%inline-markup): Add Org-Mode-style hyperlinks.
2008-01-24skribilo: Fix `--help' and `--preload'.Ludovic Courtès
* src/guile/skribilo.scm (skribilo-show-help): Fix `--debug'. (skribilo): Properly set the current module to USER-MODULE when loading preloads.
2008-01-23html: Fix footnote production.Ludovic Courtès
* src/guile/skribilo/engine/html.scm (&html-footnotes): Use the `:label' option instead of `:number'.
2008-01-21Small fixes making Guile-Lint happier.Ludovic Courtès
* 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.
2008-01-20html: Fix xrefs to the `document' node.Ludovic Courtès
* 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*'.
2008-01-19Add `web-book2' package.Ludovic Courtès
2008-01-18Add SILex, for simplicity.Ludovic Courtès
2008-01-04doc: Update "Standard Packages" section.Ludovic Courtès
* 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.
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-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-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-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-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-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.