summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-04-10`diff': Included Aubrey Jaffer's fix for `diff:edits'.Ludovic Court`es
* src/guile/diff.scm: Updated from Aubrey Jaffer's latest upstream version which includes a fix for bug in `diff:edits' that showed up in `(diff:edits "Conclusion" "Related Work")' (SLIB changes dated 2007-04-07). git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-49
2007-04-05`eq' package: Added support for Lout's new `eq2'.Ludovic Court`es
* src/guile/skribilo/package/eq.scm (*use-lout-eq2?*): New. (direct-equation-child?): New. * src/guile/skribilo/package/eq/lout.scm (Initialization): Use `eq2' if asked to. (simple-lout-markup-writer): Use `direct-equation-child?' to decide on whether the issue the `^' character. This is to avoid issuing too many `^', which could result in broken layout. (eq:limit): Adapated. (range-lout-markup-writer): Likewise. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-48
2007-04-05`lncs' package: Fixed for non-LaTeX engines.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm (abstract): Use `chapter' instead of `section'. (references): Likewise. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-47
2007-04-04`eq' package: Properly handle auto-inlining.Ludovic Court`es
* src/guile/skribilo/package/eq.scm (inline-equation?): Use `find1-up' instead of `find-up'. This fixes a bug. (eq): Properly pass the `:inline?' options through the `options' slot. * src/guile/skribilo/package/eq/lout.scm (eq): When inline, enclose equation in `@OneRow @OneCol' so that it is not breakable. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-46
2007-04-04Fixed `find-up'.Ludovic Court`es
* src/guile/skribilo/ast.scm (find-up): Don't cons OBJ when it doesn't match PRED. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-45
2007-04-04Renamed module `(differ)' to `(diff)'.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-44
2007-04-04`diff' package: Added basic source location support.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (deletion, insertion, replacement, unchanged): Added a `:loc' parameter. (make-diff-document): When creating new ASTs, keep the location of AST2. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-43
2007-04-03Fixed computation of `&invocation-location'.Ludovic Court`es
* src/guile/skribilo/location.scm (invocation-location): Make sure we always return the exact invocation location, no matter how `invocation-location' is implemented. * src/guile/skribilo/lib.scm (define-markup): Updated DEPTH argument to `invocation-location' due to previous change in the implementation of `invocation-location'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-42
2007-04-03Reduced reliance on the debugging evaluator (improves performance).Ludovic Court`es
* src/guile/skribilo.scm (skribilo): Do not impose use of the debugging evaluator, allowing for significant performance improvements. * src/guile/skribilo/evaluator.scm (%evaluate): Use the debugging evaluator when evaluating EXPR. * src/guile/skribilo/location.scm (invocation-location): Return `#f' when the debugging evaluator is not being used. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-41
2007-04-03Moved legacy source location code to `compat'.Ludovic Court`es
* src/guile/skribilo/lib.scm (skribe-eval-location): Removed. * src/guile/skribilo/location.scm (location-pos): Removed. * src/guile/skribilo/utils/compat.scm: Use `(skribilo location)'. (location-pos, skribe-eval-location): New. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-40
2007-04-03Added source location tracking to various packages.Ludovic Court`es
* src/guile/skribilo/package/base.scm: Autoload `parameters'. (ref)[skribe-ref]: Use `search-path' and `*document-path*' instead of `find-file/path' and `skribe-path'. Initialize the `loc' field of markups. * src/guile/skribilo/package/eq.scm: Likewise. * src/guile/skribilo/package/pie.scm: Likewise. * src/guile/skribilo/package/slide.scm: Likewise. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-39
2007-04-03Added support for source location tracking.Ludovic Court`es
* src/guile/skribilo/ast.scm (<ast>): Added the `:loc' init-keyword. * src/guile/skribilo/lib.scm: Re-export `invocation-location'. (define-markup): Locally define `&invocation-location' for use by markups. (define-simple-markup): Initialize `loc'. (define-simple-container): Likewise. (%skribe-warn): New `col'. parameter. (skribe-warning): Updated. (skribe-warning/ast): Likewise. * src/guile/skribilo/location.scm (<location>): Removed slot `pos'. Added slot `column'. Export `location-column'. (location-pos): Kept for compatibility. (write): New method. (invocation-location): New function. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-38
2007-04-02biblio template: Small fix.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Fixed `books'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-37
2007-03-28`diff' package: Fixed off-by-one in string diff.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (add-unchanged): When `(null? edits)', check whether `(< str-pos str-len)' (was `(< str-pos (- str-len 1))'). This fixes off-by-one when diffing strings (last character didn't appear). git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-36
2007-03-28`diff' package: Use `breakable-space' instead of `~' in `annotated-string-diff'.Ludovic Court`es
* src/guile/skribilo/package/diff.scm: Autoload `(skribilo utils keywords)'. (annotated-string-diff)[space-preserving-substring]: Use `breakable-space' instead of `~'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-35
2007-03-28`base' package: Introduced `breakable-space'.Ludovic Court`es
* src/guile/skribilo/engine/base.scm (breakable-space): New writer. * src/guile/skribilo/engine/latex.scm (breakable-space): New writer. * src/guile/skribilo/engine/lout.scm (breakable-space): New writer. * src/guile/skribilo/package/base.scm (breakable-space): New markup. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-33
2007-03-27`lout' engine: Fixed space handling with `color'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (color): Insert the linebreak between the left parameter of `@Color' and `@Color' itself, so as to never insert additional spaces. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-32
2007-03-27`diff' package: Handle commands appropriately.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (make-diff-document): Don't touch commands. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-31
2007-03-27`diff' package: Preserve space around diff'd strings.Ludovic Court`es
* src/guile/skribilo/package/diff.scm: Use `srfi-14'. (annotated-string-diff)[space-preserving-substring]: New. Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-30
2007-03-27`diff' package: Compute diffs on selected options.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (%diffable-options): New. (make-diff-document)[make-diff-options]: New. Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-29
2007-03-27Slightly optimized `make-string-replace'.Ludovic Court`es
* src/guile/skribilo/utils/strings.scm (%make-general-string-replace): Removed the `let'... git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-28
2007-03-27`diff' package: Use actual markups and writers.Ludovic Court`es
* src/guile/skribilo/package/diff.scm: Use `output' and `writer'. (deletion, insertion, replacement, unchanged): Return a specific markup object. Add the corresponding writers for the `base' engine. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-27
2007-03-16`eq' package: Added `eq:set'.Ludovic Court`es
* src/guile/skribilo/package/eq.scm: Use `(srfi srfi-1)'. (%operators): Added `set'. (eq:set): New. New writer. * src/guile/skribilo/package/eq/lout.scm: Use `srfi-1'. (eq:set): New writer. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-26
2007-03-13`diff' package: Various fixes.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (%undiffable-markups): Added `numref' and `eq'. (make-diff-document)[undiffable?]: New. For containers, check whether they are undiffable. For lists, iterate until AST2 is empty, not until the smallest is empty. Added an `(equal? ast1 ast2)' cond clause. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-25
2007-03-13`lout' engine: Skip lines in `color'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (color): Skip a line at the end. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-24
2007-03-08`diff' package: Fixes and hacking.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (add-unchanged): Fixed (hopefully). (annotated-string-diff): New. (make-diff-document): Moved code to `annotated-string-diff'. (make-diff-document-from-files): Cleaned up. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-23
2007-03-08Added an experimental `diff' package.Ludovic Court`es
* src/guile/Makefile.am (dist_guilemodule_DATA): Added `differ.scm'. * src/guile/skribilo/package/Makefile.am (dist_guilemodule_DATA): Added `diff.scm'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-22
2007-03-08biblio: Adding missing `use-module'.Ludovic Court`es
* src/guile/skribilo/biblio.scm: Autoload `(skribilo lib)'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-21
2007-03-08evaluator: Modularized the evaluation process.Ludovic Court`es
* src/guile/skribilo/evaluator.scm (evaluate-ast-from-port): New. Based on code formerly in `evaluate-document-from-port'. Pass `(current-module)' instead of `module' when invoking `%evaluate'. (evaluate-document-from-port): Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-20
2007-03-07`base' engine: Fixed autoload issue.Ludovic Court`es
* src/guile/skribilo/engine/base.scm: Autoload `(skribilo package base)' upon `it', `bold' and `ref' as well. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-19
2007-02-19`base' engine: Use the native Skribilo APIs.Ludovic Courtes
* src/guile/skribilo/engine/base.scm: No longer use `define-skribe-module'. Use the native Skribilo APIs instead. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-59
2007-02-07skribe-load: Better modulogy.Ludovic Courtes
* src/guile/skribilo/utils/compat.scm (skribe-load): Use `resolve-interface' instead of `resolve-module'; use `module-use-interfaces!' instead of `set-module-uses!'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-58
2007-02-07evaluator: Slight module-related cleanups.Ludovic Courtes
* src/guile/skribilo/evaluator.scm (%evaluate): Take an additional MODULE argument. Updated callers. (evaluate-document-from-port): Likewise. (load-document): Take additional MODULE and READER arguments. (include-document): Have MODULE default to `(*skribilo-user-module*)' instead of `(current-module)'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-57
2007-02-06`slide' package: use the native APIs.Ludovic Courtes
Patches applied: * lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2 (patch 5) - `slide' package: use the native APIs. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-56
2007-02-06evaluator: Made safer with respect to module excursions.Ludovic Courtes
Patches applied: * lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2 (patch 11) * skribilo--engine-classes--1.2 (patch 7) - evaluator: Made safer with respect to module excursions. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-55
2007-02-05Internationalized `(skribilo condition)'.Ludovic Court`es
* src/guile/skribilo/condition.scm: Autoload `(skribilo utils syntax)'. (%call-with-skribilo-error-catch): I18n'd messages. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-16
2007-02-05biblio: Use SRFI-3[45] conditions instead of `skribe-error'.Ludovic Court`es
* src/guile/skribilo/biblio.scm (&biblio-error): New. (&biblio-entry-error): New. (&biblio-template-error): New. (handle-biblio-error): New. (%bib-error): Removed. (bib-add!, parse-bib, bib-load!, resolve-bib, resolve-the-bib): Use error conditions instead of `skribe-error'. * src/guile/skribilo/biblio/template.scm: Use srfi-3[45] and `(skribilo biblio)'. (evaluate-bib-entry-template): Use error conditions. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-15
2007-02-05Cleaned up the default bibliography template.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Cleaned up. Produces better output. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-14
2007-02-05Rewrote the bib entry template evaluator, added support for `if'.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (evaluate-bib-entry-template): New procedure. (output-bib-entry-template): Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-13
2007-02-05Fixed biblio template output.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (output-bib-entry-template): Fixed output for strings. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-12
2007-02-02Added basic GNU Gettext support.Ludovic Court`es
* .arch-inventory: Mark `ABOUT-NLS' as precious. * Makefile.am (SUBDIRS): Added `po'. (ACLOCAL_AMFLAGS): New. (EXTRA_DIST): New. * configure.ac: Look for `gettext', output `po/Makefile.in'. * src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Internationalized a bit. (make-bib-entry-template/skribe): Likewise. * src/guile/skribilo/utils/syntax.scm (%skribilo-module-reader): I18ned. (_): New. (N_): New. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-11
2007-01-29`latex' engine: Fixed `ref' with both `:handle' and `:text'.Ludovic Court`es
* src/guile/skribilo/engine/latex.scm (ref): Fixed output of `:handle' refs with a `:text' option. Use `hyperref' to produce cross-references with hyperlinks. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-10
2007-01-29`lncs' package: Tiny fix.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm: Autoload `evaluator' upon `evaluate-document'. (&html-lncs-abstract): Use `evaluate-document' instead of `skribe-eval'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-9
2007-01-26`latex' engine: Support `a' with grave accent.Ludovic Court`es
* src/guile/skribilo/engine/latex.scm (latex-verbatim-encoding): Support `a' with grave accent. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-8
2007-01-23`lncs' package: Changed the default bibliography sort, udpated the doc.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm: Autoload `(skribilo biblio author)' upon `bib-sort/first-author-last-name'. (references): Added a `sort' keyword. Use `bib-sort/first-author-last-name' by default. * doc/user/package.skb: Documented `references'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-7
2007-01-18`latex' engine: Removed stupid uses of `bold'.Ludovic Court`es
* src/guile/skribilo/engine/latex.scm (&bib-entry-title): Don't use a bold typeface for the text. (&bib-entry-url): Use italics rather than bold for the URL itself. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-6
2007-01-18`lncs' package: Use a native LaTeX/BibTeX bibliography.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm: Added LaTeX writers for `bib-ref', `bib-ref+', `&the-bibliography', `&bib-entry-body' and `&bib-entry'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-5
2007-01-18`lncs' package: Fixed `abstract' for LaTeX.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm (abstract): Look for an `lncs-abstract' writer with the current engine; if found, simply issue an `lncs-abstract' markup, otherwise keep the previous behavior. Added a markup write for `lncs-abstract' for LaTeX. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-4
2007-01-16`lncs' package: Use the native APIs.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm: Use `define-module' instead of `define-skribe-module'. When customizing the LaTeX engine, set `class-has-chapters?' to `#f'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-3
2007-01-16LaTeX engine: Added support for classes without `chapter'.Ludovic Court`es
* src/guile/skribilo/engine/latex.scm (latex-engine)[class-has-chapters?]: New custom, default to `#f'. This allows the production of documents really suitable for the `article' class. (latex-block-before)[%chapter-mapping, %chapterless-mapping]: New. Use them. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-1