aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2006-06-06Generalized the error condition handling framework.•••* src/guile/skribilo/condition.scm (&too-few-arguments-error): New. (%external-error-condition-alist): New. (register-error-condition-handler!): New. (lookup-error-condition-handler): New. (%call-with-skribilo-error-catch): Handle `too-few-arguments-error?'. Use `lookup-error-condition-handler' when unhandled exceptions are caught. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-86 Ludovic Court`es
2006-06-06Cleaned up the `write' method for `markup' and `unresolved' objects.•••* src/guile/skribilo/ast.scm (write): New method. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-85 Ludovic Court`es
2006-06-06Added `bib-map'.•••* src/guile/skribilo/biblio.scm (bib-map): New. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-84 Ludovic Court`es
2006-05-10Added biblio helpers (abbrev, author, BibTeX) taken from my `biblib.skr'.•••git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-83 Ludovic Court`es
2006-05-10Added `bib-for-each'. Fixed binding issues in the evaluator and compat.•••* src/guile/skribilo/biblio.scm (bib-for-each): New. * src/guile/skribilo/evaluator.scm: Autoload `engine' also when `*current-engine*' is met. * src/guile/skribilo/utils/compat.scm (skribe-read): Export it. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-82 Ludovic Court`es
2006-05-09eq: Fixed the rendering of `*' in the Lout implementation.•••* src/guile/skribilo/package/eq/lout.scm (*): Use `times' when issuing a `*' sign. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-81 Ludovic Court`es
2006-05-09Added `markup-option-set!'.•••* src/guile/skribilo/ast.scm (markup-option-set!): New. * src/guile/skribilo/engine/lout.scm (markup-option-set!): Removed. (lout-start-large-scale-structure): Don't invoke `markup-option-set!' on markups that are not a large-scale structure. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-80 Ludovic Court`es
2006-04-14eq: Added the `inline?' keyword; fixed the Lout engine.•••* src/guile/skribilo/package/eq.scm (eq): Added the `inline?' keyword. * src/guile/skribilo/package/eq/lout.scm (eq): Support it. (simple-lout-markup-writer): Added a parameter specifying whether parentheses are needed. Fixed `-' with that respect. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-79 Ludovic Court`es
2006-04-08Merge from lcourtes@laas.fr--2004-libre•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 73-78) - Merge from lcourtes@laas.fr--2005-mobile - Moved `convert-image' et al. to `utils/images.scm'. - Image- and compat-related fixes. - Lout engine: small fixes. - Various documentation fixes + completed the doc automake stuff. - Small aesthetic changes in the Lout engine. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-51 Ludovic Courtes
2006-04-06Small aesthetic changes in the Lout engine.•••* src/guile/skribilo/engine/lout.scm (lout-make-doc-cover-sheet): Added an appropriate `@Break' setting for the title. (lout-engine)[:symbol-table]: Don't produce additional space around `@Eq'. * src/guile/skribilo/package/eq/lout.scm (eq): Don't produce additional space around `@Eq'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-78 Ludovic Court`es
2006-03-19Various documentation fixes + completed the doc automake stuff.•••* doc/user/Makefile.am (%.html): Added `-P ../img'. (%.lout): Likewise. (SUBDIRS): New. * doc/user/char.skb (Some characters): Use the Lout-specific example for `!' when relevant. * doc/user/figure.skb (The figure markup): Avoid using `example-produce'. * doc/user/slide.skb (dummy-slide-set-output): New. (dummy-slide-output): New. (dummy-slide-vspace-output): New. (dummy-slide-embed-output): New. (Example of Skribilo Slides): Use a processor, as in `document.skb', in order to use the dummy output functions. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-77 Ludovic Courtes
2006-03-19Lout engine: small fixes.•••* src/guile/skribilo/engine/lout.scm (figure): For `@BypassNumber', make sure NUMBER is not `#f'. * src/guile/skribilo/package/slide/lout.scm: Don't switch automatically DOCUMENT-TYPE to `slides'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-76 Ludovic Courtes
2006-03-19Image- and compat-related fixes.•••* src/guile/skribilo/utils/images.scm: Autoload `parameters' on `*verbose*' too. * src/guile/skribilo/lib.scm (skribe-read): Moved to... * src/guile/skribilo/utils/compat.scm: ... here. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-75 Ludovic Courtes
2006-03-19Moved `convert-image' et al. to `utils/images.scm'.•••* src/guile/skribilo/runtime.scm: Moved image-related code to... * src/guile/skribilo/utils/images.scm: ... here (new file). * src/guile/skribilo/utils/Makefile.am (dist_guilemodule_DATA): Updated. * src/guile/skribilo/module.scm (%skribilo-user-autoloads): Added `(skribilo utils images)'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-74 Ludovic Courtes
2006-03-19Merge from lcourtes@laas.fr--2005-mobile•••Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 45-46) - Merge from lcourtes@laas.fr--2004-libre - Lout engine: better handling of the `slides' document type. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-73 Ludovic Courtes
2006-03-19Various documentation fixes + completed the doc automake stuff.•••* doc/user/Makefile.am (%.html): Added `-P ../img'. (%.lout): Likewise. (SUBDIRS): New. * doc/user/char.skb (Some characters): Use the Lout-specific example for `!' when relevant. * doc/user/figure.skb (The figure markup): Avoid using `example-produce'. * doc/user/slide.skb (dummy-slide-set-output): New. (dummy-slide-output): New. (dummy-slide-vspace-output): New. (dummy-slide-embed-output): New. (Example of Skribilo Slides): Use a processor, as in `document.skb', in order to use the dummy output functions. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-50 Ludovic Courtes
2006-03-19Lout engine: small fixes.•••* src/guile/skribilo/engine/lout.scm (figure): For `@BypassNumber', make sure NUMBER is not `#f'. * src/guile/skribilo/package/slide/lout.scm: Don't switch automatically DOCUMENT-TYPE to `slides'. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-49 Ludovic Courtes
2006-03-19Image- and compat-related fixes.•••* src/guile/skribilo/utils/images.scm: Autoload `parameters' on `*verbose*' too. * src/guile/skribilo/lib.scm (skribe-read): Moved to... * src/guile/skribilo/utils/compat.scm: ... here. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-48 Ludovic Courtes
2006-03-18Moved `convert-image' et al. to `utils/images.scm'.•••* src/guile/skribilo/runtime.scm: Moved image-related code to... * src/guile/skribilo/utils/images.scm: ... here (new file). * src/guile/skribilo/utils/Makefile.am (dist_guilemodule_DATA): Updated. * src/guile/skribilo/module.scm (%skribilo-user-autoloads): Added `(skribilo utils images)'. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-47 Ludovic Courtes
2006-03-18Lout engine: better handling of the `slides' document type.•••* src/guile/skribilo/engine/lout.scm (lout-slides-markup-alist): New. (lout-structure-markup): Handle `slides'. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-46 Ludovic Courtes
2006-03-18Merge from lcourtes@laas.fr--2004-libre•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 70-72) - Merge from lcourtes@laas.fr--2005-mobile - Slight optimization: allow for non-proc predicates for markup writers. - Partial rewrite of the debugging facilities (slightly slower). git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-45 Ludovic Courtes
2006-03-07Partial rewrite of the debugging facilities (slightly slower).•••Patches applied: * skribilo--devel--1.2 (patch 44) - Partial rewrite of the debugging facilities (slightly slower). git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-72 Ludovic Courtes
2006-03-07Slight optimization: allow for non-proc predicates for markup writers.•••Patches applied: * skribilo--devel--1.2 (patch 43) - Slight optimization: allow for non-proc predicated for markup writers. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-71 Ludovic Courtes
2006-03-07Merge from lcourtes@laas.fr--2005-mobile•••Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 38-42) - Merge from lcourtes@laas.fr--2004-libre - Significantly optimized lookup of markup writers. - Fixed `copy-engine' with respect to the writers optimization. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-70 Ludovic Courtes
2006-03-07Partial rewrite of the debugging facilities (slightly slower).•••* src/guile/skribilo.scm (skribilo): Use the new debugging API. * src/guile/skribilo/debug.scm: Use SRFI-39 parameter objects. Moved legacy procedures to `compat.scm'. * src/guile/skribilo/utils/compat.scm (set-skribe-debug!): New. (no-debug-color): New. (skribe-debug): New. (add-skribe-debug-symbol): New. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-44 Ludovic Courtes
2006-03-07Slight optimization: allow for non-proc predicated for markup writers.•••* src/guile/skribilo/engine.scm (engine-add-writer!): Allow PRED to be `#f'. * src/guile/skribilo/writer.scm (make-writer-predicate): Likewise. (lookup-markup-writer)[matching-writer]: Likewise. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-43 Ludovic Courtes
2006-03-07Merge from lcourtes@laas.fr--2004-libre•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 67-69) - Doc: undoed `patch-65'. - Removed the global engine table. - Inventory fix. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-42 Ludovic Courtes
2006-03-07Fixed `copy-engine' with respect to the writers optimization.•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 66) - Fixed `copy-engine' with respect to the writers optimization. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-41 Ludovic Courtes
2006-03-07Merge from lcourtes@laas.fr--2004-libre•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 64-65) - Fixed tiny module loading/autoloading mistakes. - Doc: commented out code that uses processors to work around bug. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-40 Ludovic Courtes
2006-03-07Significantly optimized lookup of markup writers.•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 63) - Significantly optimized lookup of markup writers. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-39 Ludovic Courtes
2006-03-07Merge from lcourtes@laas.fr--2004-libre•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 60-62) - Slightly optimized the resolution process (added `ast-resolved?'). - Various fixes in the documentation code. - Lout engine: use `push-default-engine' and `pop-default-engine'. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-38 Ludovic Courtes
2006-03-02Inventory fix.•••* doc/user/.arch-inventory (precious): More HTML files. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-69 Ludovic Court`es
2006-03-02Removed the global engine table.•••* src/guile/skribilo/engine.scm (*engines*): Removed. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-68 Ludovic Court`es
2006-03-02Doc: undoed `patch-65'.•••* doc/user/markup.skb: Undoed `patch-65'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-67 Ludovic Court`es
2006-03-02Fixed `copy-engine' with respect to the writers optimization.•••* src/guile/skribilo/engine.scm (copy-engine): Fixed so that the `writers' hash table is actually copied. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-66 Ludovic Court`es
2006-03-01Doc: commented out code that uses processors to work around bug.•••* doc/user/markup.skb: Commented out inclusion of `document.skb' and `sectioning.skb'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-65 Ludovic Court`es
2006-03-01Fixed tiny module loading/autoloading mistakes.•••* src/guile/skribilo/module.scm (%skribilo-user-imports): Added `(skribilo location)'. * src/guile/skribilo/output.scm: Fixed autoloading of `(skribilo engine)'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-64 Ludovic Court`es
2006-03-01Significantly optimized lookup of markup writers.•••* src/guile/skribilo/engine.scm (<engine>)[writers]: Became a hash table (instead of a list). [free-writers]: New. (engine-add-writer!): Changed accordingly. * src/guile/skribilo/writer.scm (write-object): Renamed to `write'. (lookup-markup-writer): Rewritten according to the above changes. (markup-writer-get): Likewise. (markup-writer-get*): Likewise. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-63 Ludovic Court`es
2006-03-01Lout engine: use `push-default-engine' and `pop-default-engine'.•••* src/guile/skribilo/engine/lout.scm: Once `lout-engine' is defined, invoke `push-default-engine'. Invoke `pop-default-engine' at the end. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-62 Ludovic Court`es
2006-03-01Various fixes in the documentation code.•••* doc/skr/manual.skr: Fixed uses of `format'. * doc/user/document.skb (dummy-document-output): Fixed handling of non-list author. * doc/user/src/api2.skb: Fixed the title. ;-) * doc/user/src/bib1.sbib (bigloo): Added a year and author as expected by `bib5.skb'. * doc/user/user.skb (Introduction): Explicitly added `:file #f'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-61 Ludovic Court`es
2006-02-28Slightly optimized the resolution process (added `ast-resolved?').•••Patches applied: * skribilo--devel--1.2 (patch 36-37) - Merge from lcourtes@laas.fr--2004-libre - Slightly optimized the resolution process (added `ast-resolved?'). git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-60 Ludovic Courtes
2006-02-28Slightly optimized the resolution process (added `ast-resolved?').•••* src/guile/skribilo/ast.scm (<ast>): Added a `resolved?' slot, with accessor `ast-resolved?'. * src/guile/skribilo/resolve.scm (do-resolve!)[<node>]: Check whether `ast-resolved?' is true and set it once it's resolved. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-37 Ludovic Courtes
2006-02-28Merge from lcourtes@laas.fr--2004-libre•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 55-59) - Made `make-string-replace' faster. - `eq': Implemented the text-based markup writers. - `eq': Added the `:renderer' option to `eq'. Support `lout'. - Changed the way `slide' implementations are loaded. Doc is buildable now. - Doc: Added a chapter (stub) about the `eq' package. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-36 Ludovic Courtes
2006-02-27Doc: Added a chapter (stub) about the `eq' package.•••* doc/user/user.skb: Use `(skribilo package eq)'. Include `eq.skb'. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-59 Ludovic Court`es
2006-02-27Changed the way `slide' implementations are loaded. Doc is buildable now.•••* src/guile/skribilo/package/slide.scm: Change the initialization method for the engine-specific writers: don't rely on `autoload' which is too non-deterministic, use `resolve-module' instead. * src/guile/skribilo/package/slide/html.scm: Call `%slide-html-initialize!' from here. * src/guile/skribilo/package/slide/latex.scm: Likewise. * src/guile/skribilo/package/slide/lout.scm (%slide-lout-initialize!): Removed. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-58 Ludovic Court`es
2006-02-27`eq': Added the `:renderer' option to `eq'. Support `lout'.•••* src/guile/skribilo/package/eq.scm (eq): Added a `renderer' option. Modified the `eq' writer for `base'. (!=): Use the appropriate symbol. (~=): Likewise. (>=): Likewise. (<=): Likewise. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-57 Ludovic Court`es
2006-02-27`eq': Implemented the text-based markup writers.•••* src/guile/skribilo/package/eq.scm: Implemented the text-based markup writers for the `base' engine. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-56 Ludovic Court`es
2006-02-27Made `make-string-replace' faster.•••Patches applied: * skribilo--devel--1.2 (patch 34-35) - Merge from lcourtes@laas.fr--2004-libre - Made `make-string-replace' faster. git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-55 Ludovic Courtes
2006-02-25Made `make-string-replace' faster.•••* src/guile/skribilo/runtime.scm (%make-general-string-replace): Use a hash table rather than a list. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-35 Ludovic Courtes
2006-02-21Merge from lcourtes@laas.fr--2004-libre•••Patches applied: * lcourtes@laas.fr--2004-libre/skribilo--devel--1.2 (patch 41-54) - Merge from lcourtes@laas.fr--2005-mobile - More Skribe compatibility fixes (more exported bindings). - Implemented `lout-illustration' for non-Lout engines. - Created the `(skribilo utils files)' module. - Skribe reader: consider square brackets as delimiters. - `skribilo': do not catch all exceptions, let a stack trace be output intead. - Added the equation formatting package (unfinished, undocumented). - `eq' package: added the `script' markup. - Implemented `when-engine-is-loaded'. - Fixes for `when-engine-is-loaded'. - `slide' and `eq': moved engine-specific code in separate modules. - Lout engine: fixed use of `@Sym' so that it works fine within `@Eq'. - `eq': Added `eq:in', `eq:notin' and their Lout writers. - `eq': added the `apply' markup. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-34 Ludovic Courtes