aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-05(skribilo documentation manual): Use `evaluate-document' instead of ↵Ludovic Courtes
`skribe-eval'. * doc/modules/skribilo/documentation/manual.scm: Use `(skribilo evaluator)' and use `evaluate-document' instead of `skribe-eval'. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--patch-7
2006-11-03Small fixes here and there.Ludovic Courtes
* src/guile/skribilo/output.scm (out): Use `engine-filter' rather than `slot-ref'. * src/guile/skribilo/package/eq.scm (eq): When using an external renderer, instantiate its class and pass it to `output' (used to pass the class itself to `output'). * src/guile/skribilo/package/slide.scm: Autoload `utils keywords'. * src/guile/skribilo/verify.scm: Cleaned up dependency list. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-9
2006-11-03compat: Various fixes: `skribe-load', `make-engine', `markup-writer', etc.Ludovic Courtes
* src/guile/skribilo/utils/compat.scm (skribe-load): Use `resolve-interface' rather than `resolve-module' when loading a compatibility package; this avoids binding leakage. (make-engine)[rewrite-delegate-arg]: Reversed the order of `:delegate' and the corresponding engine. (default-engine): Fixed a typo. (engine-ident): New. (markup-writer): Use `(default-engine)' when no engine is passed. (markup-writer-get): New. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-8
2006-11-03evaluator: Made safer with respect to module excursions.Ludovic Courtes
* src/guile/skribilo/evaluator.scm (%evaluate): Evaluate EXPR in `current-module' rather than `*skribilo-user-module*'. (evaluate-document-from-port): Use `save-module-excursion' and place ourselves in `*skribilo-user-module*' before invoking `%evaluate'. (load-document): Only search FILE in PATH, not in %LOAD-PATH. (include-document): Added a `:module' argument. Use `save-module-excursion' and place ourselves in MODULE. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-7
2006-11-03`base' engine: Fixed dependencies and use of `markup-writer-get'.Ludovic Courtes
* src/guile/skribilo/engine/base.scm: Autoload `package base' upon `color' and `utils keywords' upon `list-split'. Fixed all invocations of `markup-writer-get' so that they pass an engine class (rather than an engine) as the last argument. (line-ref): Removed the second writer. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-6
2006-11-03`base' package: Fixed dependencies and use of `markup-writer-get'.Ludovic Courtes
* src/guile/skribilo/engine/base.scm: Autoload `package base' upon `color' and `utils keywords' upon `list-split'. Fixed all invocations of `markup-writer-get' so that they pass an engine class (rather than an engine) as the last argument. (line-ref): Removed the second writer. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-5
2006-11-03doc/user: Minor fixes.Ludovic Courtes
* doc/user/slide.skb (Example): Pass E to `markup-writer' for `slide-vspace' and `slide-embed'. Specify `:options' as well. * doc/user/user.skb: Use `(skribilo package slide)'. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-4
2006-11-03(skribilo documentation manual): Use `evaluate-document' instead of ↵Ludovic Courtes
`skribe-eval'. * doc/modules/skribilo/documentation/manual.scm: Use `(skribilo evaluator)' and use `evaluate-document' instead of `skribe-eval'. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-3
2006-10-25slide/html: Issue only one anchor per slide.Ludovic Court`es
* src/guile/skribilo/package/slide/html.scm (%slide-html-initialize!)[slide]: Issue only one anchor per slide. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-11
2006-10-25slide: Improved HTML output, especially wrt. the use of CSS.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-topic): Pass CLASS as the `class' slot rather than as an option. (slide-subtopic): Likewise. * src/guile/skribilo/package/slide/base.scm (make-outline-slide): Use `(markup-class topic)' instead of `(markup-option topic :class)'. * src/guile/skribilo/package/slide/html.scm: Use a native Guile module. Use `format' instead of `printf'. (%slide-html-initialize): Simply issue `div' tags when a class is specified. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-10
2006-10-25Lout engine: Added a `lout-program-arguments' custom.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-engine)[lout-program-arguments]: New custom. (lout-illustration): Honor it. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-9
2006-10-25slide/html: Issue only one anchor per slide.Ludovic Court`es
* src/guile/skribilo/package/slide/html.scm (%slide-html-initialize!)[slide]: Issue only one anchor per slide. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-70
2006-10-25slide: Improved HTML output, especially wrt. the use of CSS.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-topic): Pass CLASS as the `class' slot rather than as an option. (slide-subtopic): Likewise. * src/guile/skribilo/package/slide/base.scm (make-outline-slide): Use `(markup-class topic)' instead of `(markup-option topic :class)'. * src/guile/skribilo/package/slide/html.scm: Use a native Guile module. Use `format' instead of `printf'. (%slide-html-initialize): Simply issue `div' tags when a class is specified. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-69
2006-10-25Lout engine: Added a `lout-program-arguments' custom.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-engine)[lout-program-arguments]: New custom. (lout-illustration): Honor it. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-68
2006-10-23Lout engine: Implemented `slide-embed'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-definitions): Renamed `@SkribeMark' to `@SkribiloMark'. Added `@SkribiloEmbed'. * src/guile/skribilo/package/slide/lout.scm: No longer use `define-skribe-module'. (slide-embed): Use `@SkribiloEmbed' (works fine). git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-8
2006-10-23Added a `:arguments' keyword to `slide-embed'.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-embed): Added an `arguments' keyword. * doc/user/slide.skb: Updated the markup documentation. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-7
2006-10-23Lout engine: Implemented `slide-embed'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-definitions): Renamed `@SkribeMark' to `@SkribiloMark'. Added `@SkribiloEmbed'. * src/guile/skribilo/package/slide/lout.scm: No longer use `define-skribe-module'. (slide-embed): Use `@SkribiloEmbed' (works fine). git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-67
2006-10-23Added a `:arguments' keyword to `slide-embed'.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-embed): Added an `arguments' keyword. * doc/user/slide.skb: Updated the markup documentation. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-66
2006-10-23Merge from skribilo@sv.gnu.org--2006Ludovic Court`es
Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 79) - color.scm: Added support for `lightred'. :-) * skribilo@sv.gnu.org--2006/skribilo--devo--1.2 (base, patch 1-6) - tag of lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-59 - slide: Propagate the `outline?' parameter in `slide-(sub)?topic'. - Lout engine: Honor `date-line' for slides. - prog: Fixed line number output (`&prog-line'). - doc: Fixed the Fibonacci example in ``Computer Programs''. - Lout engine: Honor `inline-definitions-proc'. - color.scm: Added support for `lightred'. :-) git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-65
2006-10-16color.scm: Added support for `lightred'. :-)Ludovic Courtes
* src/guile/skribilo/color.scm (*skribe-rgb-alist*): Added `lightred'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-6
2006-10-16Lout engine: Honor `inline-definitions-proc'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (document): Invoke the procedure defined by the `inline-definitions-proc' rather than directly invoking `lout-definitions'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-5
2006-10-16Lout engine: Honor `inline-definitions-proc'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (document): Invoke the procedure defined by the `inline-definitions-proc' rather than directly invoking `lout-definitions'. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-64
2006-10-15Merge from lcourtes@laas.fr--2005-libreLudovic Courtes
Patches applied: * lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2 (patch 1-6) - Preliminary support for engine classes (not working). - Fixed creation of engines from an engine class. - Tolerate engine instances in `lookup-engine-class'. - `base' engine: tolerate engine classes and instances in `processor'. - `slide' package: use the native APIs. - doc: Started documenting the engine and engine classes. git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-2
2006-10-12doc: Fixed the Fibonacci example in ``Computer Programs''.Ludovic Court`es
* doc/user/prgm.skb: Use title case for the chapter title. * doc/user/src/prgm2.skb: Fixed the line numbers for `fib'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-4
2006-10-12prog: Fixed line number output (`&prog-line').Ludovic Court`es
* src/guile/skribilo/engine/base.scm: Use `srfi-13'. (&prog-line): Use the `:number' markup option rather than the ident as the line number. * src/guile/skribilo/prog.scm: Use `%skribilo-module-reader'. (make-prog-body): Pass the line number as a `:number' markup option in the `&prog-line' markup. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-3
2006-10-12doc: Fixed the Fibonacci example in ``Computer Programs''.Ludovic Court`es
* doc/user/prgm.skb: Use title case for the chapter title. * doc/user/src/prgm2.skb: Fixed the line numbers for `fib'. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-63
2006-10-12prog: Fixed line number output (`&prog-line').Ludovic Court`es
* src/guile/skribilo/engine/base.scm: Use `srfi-13'. (&prog-line): Use the `:number' markup option rather than the ident as the line number. * src/guile/skribilo/prog.scm: Use `%skribilo-module-reader'. (make-prog-body): Pass the line number as a `:number' markup option in the `&prog-line' markup. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-62
2006-10-11Lout engine: Honor `date-line' for slides.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (document): Honor `date-line' for `slides' (was only honored for `report'). git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-2
2006-10-11slide: Propagate the `outline?' parameter in `slide-(sub)?topic'.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-topic): Propagate the `outline?' parameter as an option. (slide-subtopic): Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-1
2006-10-11Lout engine: Honor `date-line' for slides.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (document): Honor `date-line' for `slides' (was only honored for `report'). git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-61
2006-10-11slide: Propagate the `outline?' parameter in `slide-(sub)?topic'.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-topic): Propagate the `outline?' parameter as an option. (slide-subtopic): Likewise. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-60
2006-09-27doc: Started documenting the engine and engine classes.Ludovic Court`es
* doc/user/engine.skb: Started a documentation of engine classes. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--patch-6
2006-09-27`slide' package: use the native APIs.Ludovic Court`es
* src/guile/skribilo/package/slide.scm: Use the native APIs rather than `define-skribe-module'. (&slide-load-options): Use `*load-options*'. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--patch-5
2006-09-27`base' engine: tolerate engine classes and instances in `processor'.Ludovic Court`es
* src/guile/skribilo/package/base.scm: Autoload `(skribilo engine)' upon `engine-class?' as well. (processor): Tolerate both engine classes and instances as the `:engine' argument. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--patch-4
2006-09-27Tolerate engine instances in `lookup-engine-class'.Ludovic Court`es
* src/guile/skribilo/engine.scm (copy-engine): Make a whole copy of the engine customs. (lookup-engine-class): Tolerate engine instances (while actually expecting classes. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--patch-3
2006-09-27Fixed creation of engines from an engine class.Ludovic Court`es
* src/guile/skribilo/engine.scm (<engine>): Inherit from `<object>' for which there exists an `initialize' method. (make-engine-class): Use `make-class' rather than just `(make <class> ...)'. (engine-class): New. (initialize<engine>): Removed. (make-instance<engine-class>)[initialize-engine!]: New. (make-engine): Don't pass `:customs'. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--patch-2
2006-09-21Preliminary support for engine classes (not working).Ludovic Courtes
Patches applied: * skribilo--devel--1.2 (patch 75) - Adding missing patch logs from `lcourtes@laas.fr--2005-libre'. * skribilo--engine-classes--1.2 (base, patch 1) - tag of lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--base-0 - Preliminary support for engine classes (not working). git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2--patch-1
2006-09-21Preliminary support for engine classes (not working).Ludovic Courtes
git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2--patch-1
2006-09-04`base' package: Removed more sources of duplicate identifiers.Ludovic Courtes
* src/guile/skribilo/package/base.scm (~): Use `gensym' to produce unique identifiers. (ref)[unref]: Likewise. [handle-ref]: Likewise. [do-title-ref]: Likewise. [mark-ref]: Likewise. [make-bib-ref]: Likewise. [line-ref]: Likewise. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-59
2006-09-03Added error conditions in `ast.scm'.Ludovic Courtes
* src/guile/skribilo/ast.scm: Use `srfi-3[45]' and `condition' but not `lib'. (&ast-error): New. (&ast-orphan-error): New. (&ast-cycle-error): New. (&markup-unknown-option-error): New. (&markup-already-bound-error): New. (handle-ast-error): New. (markup-option): Use `raise' instead of `skribe-(type-)?error'. (markup-option-set!): Likewise. (markup-option-add!): Likewise. (markup-parent): Likewise. (document-bind-node!): Likewise. (find1-down): Likewise. * src/guile/skribilo/resolve.scm (&resolution-error): Removed. (&resolution-orphan-error): Removed. Moved as `&ast-orphan-error' in `ast.scm'. Updated users. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-58
2006-09-03Implemented per-document node identifiers.Ludovic Courtes
* src/guile/skribilo/ast.scm: Autoload `srfi-1' on `fold'. (*node-table*): Removed. (bind-markup!): Removed. (initialize<markup>): Removed. (find-markups): Removed. (write<markup>): Commented out debugging `format'. (<document>)[node-table]: New slot. [nodes-bound?]: New slot. (document-lookup-node): New. (document-bind-node!): New. (document-bind-nodes!): New. (ast-fold): New. (find-markup-ident): Removed. * src/guile/skribilo/output.scm (*document-being-output*): New. (out<document>): New. * src/guile/skribilo/resolve.scm (*document-being-resolved*): New. (resolve!): Invoke `document-bind-nodes!' before resolving the document. (do-resolve!<document>): Parameterize `*document-being-resolved*'. (resolve-ident): Use `document-lookup-node' instead of `find-markups'. * src/guile/skribilo/utils/compat.scm (bind-markup!): New. (find-markups): New. (find-markup-ident): New. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-57
2006-09-03Doc: Various fixes (non-unique idents, dangling refs).Ludovic Courtes
* doc/modules/skribilo/documentation/api.scm (doc-markup): Added an `ident' argument, use it. * doc/user/package.skb (Articles): Differentiate the identifiers for the various `abstract' markups. * doc/user/Makefile.am (skribilo): Look for it in `$(top_builddir)' rather than `$(top_srcdir)'. * doc/user/markup.skb (Standard Markups): Added an identifier. * doc/user/src/links1.skb: When referring to `Standard Markups' by identifier, use its current identifier (`std-markups'). git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-56
2006-09-03Removed sources of non-unique node identifiers.Ludovic Courtes
* src/guile/skribilo/prog.scm (make-prog-body): Use `gensym' to create an identifier instead of `(int->str lnum cs)'. (make-line-mark): Take that identifier. * src/guile/skribilo/package/base.scm (mark): Use `gensym' to create an identifier rather than BS. (ref)[bib-ref]: Likewise. [url-ref]: Likewise. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-55
2006-09-01Turned `doc/skr' into `doc/modules', `skribe-load' into `use-modules'.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-54
2006-08-31Updated the project URL. :-)Ludovic Court`es
* src/guile/skribilo/config.scm.in (skribilo-url): Now hosted at Savannah (nongnu.org)! git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-53
2006-08-30Removed the `etc' directory, kept `ChangeLog' and `skribe-config.in'.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-52
2006-08-30Removed `tools/skribebibtex/bigloo'.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-51
2006-08-30Added a GPL header to the documentation files (license confirmed by Manuel ↵Ludovic Court`es
Serrano). git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-50
2006-08-29Doc: Converted GIF images to PNG.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-49
2006-08-29Tiny Arch inventory fix.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-48