aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2008-01-30Fix option resolution for <node> and <container>.•••* 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. Ludovic Courtès
2008-01-29doc: Tiny improvements of the `manual' module.•••* doc/modules/skribilo/documentation/manual.scm (disp): Use `resolve' and test that engine, rather than raw `(engine-format? "xxx")'. (compiler-options): Issue a warning if an option is not documented. Ludovic Courtès
2008-01-29Really fix resolution of <unresolved> nodes.•••* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Assign a valid parent to the AST returned by PROC. Ludovic Courtès
2008-01-29Update `fr.po'.Ludovic Courtès
2008-01-29doc: Add section about "documents in Scheme programs".•••* doc/user/Makefile.am (EXTRA_DIST): Add `src/scheme.scm'. * doc/user/syntax.skb (Documents in Scheme Programs): New. Ludovic Courtès
2008-01-29doc: Document the `outline' reader.•••* doc/user/Makefile.am (EXTRA_DIST): Add `src/outline.txt' and `loute.skb'. * doc/user/compiler.skb: Add ref to `outline-syntax'. * doc/user/syntax.skb: Re-structure, add `outline-syntax' section. * doc/user/user.skb: Use `(skribilo reader)' and `(ice-9 pretty-print)'. Ludovic Courtès
2008-01-29CSS: Force `pre' to the left.Ludovic Courtès
2008-01-29outline: Better handle paragraphs.•••* 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). Ludovic Courtès
2008-01-29outline: Liberated the list and mode-line syntax.•••* src/guile/skribilo/reader/outline.scm (%list-processors): Allow leading whitespace for list items. (outline-reader)[modeline-rx]: Allow figures, semi-colons and all. Ludovic Courtès
2008-01-29doc: Tiny bibliography-related fixes.Ludovic Courtès
2008-01-28doc: Improve rendering of `prgm' and `disp' in Lout.•••* doc/modules/skribilo/documentation/manual.scm (prgm): Specialize Lout output. (disp): Likewise. Ludovic Courtès
2008-01-28doc: Provide nicer `doc-markup' output for `lout'.•••* doc/modules/skribilo/documentation/api.scm: New lout customization. (punctuate): New. (doc-markup)[doc-markup.lout]: New. Use it. Ludovic Courtès
2008-01-28lout: Make `lout-debug' Guile-Lint-friendly.Ludovic Courtès
2008-01-28lout: Fix `ref' and `:page'.•••* 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). Ludovic Courtès
2008-01-28lout: Fix debugging support.•••* src/guile/skribilo/engine/lout.scm (lout-debug): Fix. Ludovic Courtès
2008-01-28Properly handle non-list pairs in `resolve' and `verify'.•••* 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. Ludovic Courtès
2008-01-28Fix `output' error reporting.•••* src/guile/skribilo/output.scm (handle-output-error): Fix error-reporting for unresolved nodes when `location?'. Ludovic Courtès
2008-01-25lout: Make it so that customs are not modified by `slide'.•••* 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. Ludovic Courtès
2008-01-25doc: Document the Lout engine.•••* doc/modules/skribilo/documentation/env.scm (*api-engines*): Add `lout'. * doc/user/engine.skb: Include `loute.skb'. * doc/user/slide.skb (Slide Package): Add `:ident'. Ludovic Courtès
2008-01-25lout: Rename `use-skribe-footnote-numbers?' custom.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[use-skribe-footnote-numbers?]: Rename to `use-lout-footnote-numbers?', which is the opposite. (footnote): Update. Ludovic Courtès
2008-01-24outline: Add support for Org-Mode-style hyperlinks.•••* src/guile/skribilo/reader/outline.scm (%inline-markup): Add Org-Mode-style hyperlinks. Ludovic Courtès
2008-01-24skribilo: Fix `--help' and `--preload'.•••* src/guile/skribilo.scm (skribilo-show-help): Fix `--debug'. (skribilo): Properly set the current module to USER-MODULE when loading preloads. Ludovic Courtès
2008-01-24doc: Document the "compiler".•••* doc/modules/skribilo/documentation/manual.scm (compiler-options): Rewritten to suit our needs. * doc/user/Makefile.am (EXTRA_DIST): `skribec.skb' renamed to `compiler.skb'. * doc/user/bib.skb: Fix xref. * doc/user/lib.skb: Likewise. * doc/user/links.skb: Likewise. * doc/user/syntax.skb: Add `:ident'. Ludovic Courtès
2008-01-23doc: Update `slide' package documentation.Ludovic Courtès
2008-01-23html: Fix footnote production.•••* src/guile/skribilo/engine/html.scm (&html-footnotes): Use the `:label' option instead of `:number'. Ludovic Courtès
2008-01-23doc: Update & improve engine documentation.•••* doc/user/engine.skb (Engines): Rewrote intro, fixed `resolve'. (Functions dealing with engines): Renamed to... (Manipulating Engines): New. [Writing New Engines]: New. * doc/user/{htmle,xmle,latexe}.skb: Add intro. Ludovic Courtès
2008-01-22doc: Tiny CSS fix.Ludovic Courtès
2008-01-22doc: Document all the `*xxx-path*' parameters.•••* doc/modules/skribilo/documentation/manual.scm (srfi-ref): New. * doc/user/bib.skb: Add `*bib-path*'. * doc/user/image.skb: Add `*image-path*'. * doc/user/lib.skb: Mention `-I' command-line option for `*document-path*'. * doc/user/prgm.skb: Add `*source-path*'. * doc/user/skribec.skb: Add `:ident' for chapter. Ludovic Courtès
2008-01-22doc: Remove need to `doc-config.scm'.•••* doc/user/Makefile.am (BUILT_SOURCES): Remove. (skrflags): Define `%have-ploticus?' and `%ploticus-path' using `-e'. (doc-config.scm): Remove. * doc/user/user.skb: Don't load `doc-config.scm'. Ludovic Courtès
2008-01-22doc: Use CSS style sheet in HTML output.•••* doc/modules/skribilo/documentation/manual.scm: Set `css' custom of the HTML engine. Explicitly initialize the `chapter-file', etc., customs. * doc/user/Makefile.am (dist_html_DATA): New. * doc/user/skribilo.css: New file. Ludovic Courtès
2008-01-21Improve configure message wrt. `guilemoduledir'.•••* configure.ac: Use `AC_MSG_NOTICE' instead of `AC_MSG_WARN' when notifying the user of `guilemoduledir' different from `GUILE_SITE'. Ludovic Courtès
2008-01-21Augment and reorganize `TODO'.Ludovic Courtès
2008-01-21doc: Use `web-book2' instead of `web-book'.Ludovic Courtès
2008-01-21doc: Fix typos in the HTML engine section.Ludovic Courtès
2008-01-21Ignore Guile-Lint's error code for now.Ludovic Courtès
2008-01-21Small fixes making Guile-Lint happier.•••* 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. Ludovic Courtès
2008-01-20html: Fix xrefs to the `document' node.•••* 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*'. Ludovic Courtès
2008-01-19Document `web-book2'.•••* doc/user/package.skb (Web)[web-book]: Improve documentation. [web-book2]: New. Ludovic Courtès
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.•••* 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-14doc: Update "Standard Library" and chapter about `skribilo-config'.•••* doc/user/Makefile.am (EXTRA_DIST): Rename `skribe-config.skb' to `skribilo-config.skb'. (skrflags): Add `-e' flags defining `%top-srcdir' and `%top-builddir'. * doc/user/lib.skb: Update stuff, removing references to `skribe-*' functions. Remove doc for `load-document' and `skribe-configure', both of which have become essentially useless. * doc/user/skribilo-config.skb: Updated. Actually run `skribilo-config' and get options from there. * doc/user/user.skb: Use `(ice-9 popen)' and `(ice-9 rdelim)'. Update includes. Ludovic Courtès
2007-12-14Update `fr.po'.Ludovic Courtès
2007-12-14Correctly install/uninstall/clean documentation.•••* doc/user/Makefile.am (install-data-hook, uninstall-local, clean-local): New. This makes `distcheck' happy and installs all the documentation files. Ludovic Courtès
2007-12-14Fix documentation build glitches.•••* doc/user/Makefile.am (EXTRA_DIST): Add `spacing.skb' and `src/bib1.sbib'. (skrflags): Fix include paths. (load_path): Shrink. Ludovic Courtès
2007-12-14Fix `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-14Return 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-13More `.gitignore'.Ludovic Courtès
2007-12-13Add `.gitignore'.Ludovic Courtès
2007-12-13Really remove `skribe.el'.Ludovic Courtès