summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-04Fixed the `sui' module.Ludovic Courtes
* src/guile/skribilo/Makefile.am (dist_guilemodule_DATA): Added `sui.scm'. * src/guile/skribilo/sui.scm (sui-filter): Removed single-operand `and'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-135
2007-07-04Renamed the `coloring' module tree to `source' for consistency.Ludovic Courtes
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-134
2007-07-03Merge from skribilo@sv.gnu.org--2006Ludovic Court`es
Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 110-117) - Merge from skribilo@sv.gnu.org--2006/skribilo--devo--1.2 - Fixed (or almost so) the C lexer. - Autoload `(skribilo coloring c)' in the default module. - `lout' engine: Fixed argument passing for `lout-illustration'. - `base' package: Honor `:line #f' in `prog'. - Tiny doc fix. - Removed global hash tables for marks and program lines. - Fixed and simplified `(ref :line ...)', aka. `line-ref'. * skribilo@sv.gnu.org--2006/skribilo--devo--1.2 (patch 122-133) - `diff' package: Small bug fix. - Updated `TODO'. - Factorized `bib-ref+', add a `:sort-bib-refs' options to `ref'. - Updated documentation of `ref'. - `lncs' package: Honor `:sort-bib-refs'. - Fixed (or almost so) the C lexer. - Autoload `(skribilo coloring c)' in the default module. - `lout' engine: Fixed argument passing for `lout-illustration'. - `base' package: Honor `:line #f' in `prog'. - Tiny doc fix. - Removed global hash tables for marks and program lines. - Fixed and simplified `(ref :line ...)', aka. `line-ref'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-83
2007-07-01Fixed and simplified `(ref :line ...)', aka. `line-ref'.Ludovic Courtes
* src/guile/skribilo/engine/base.scm (line-ref): Changed the way the number is obtained. * src/guile/skribilo/engine/context.scm (line-ref): Removed. * src/guile/skribilo/engine/html.scm (&prog-line): New. Produce an anchor. Needed because `mark' are no longer produced by `make-prog-body'. (line-ref): Changed the way the number is obtained. * src/guile/skribilo/engine/latex.scm (line-ref): Removed. * src/guile/skribilo/engine/lout.scm (line-ref): Removed. * src/guile/skribilo/prog.scm (make-line-mark): Removed. (make-prog-body): No longer use it. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-133
2007-07-01Removed global hash tables for marks and program lines.Ludovic Courtes
* src/guile/skribilo/package/base.scm (*mark-table*): Removed. (mark): Return the new mark without touching `*mark-table*'. Use `bs' as the mark's identifier. (ref)[mark-ref]: Simplified using `do-ident-ref'. [line-ref]: Use the new `resolve-line'. * src/guile/skribilo/prog.scm: Use `srfi-1'. (*lines*): Removed. (make-line-mark): Don't use `*lines*'. Removed `m' parameter. (resolve-line): Take an additional `doc' argument. (extract-string-mark): Fixed. (flat-lines): Use `concatenate' instead of `apply append'. (make-prog-body)[regexp]: Use brackets. Fixed invocation of `make-line-mark'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-132
2007-07-01Tiny doc fix.Ludovic Courtes
* doc/user/package.skb (document): Use `document/letter' as the identifier, to avoid collision with `document'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-131
2007-07-01`base' package: Honor `:line #f' in `prog'.Ludovic Courtes
* src/guile/skribilo/prog.scm: Use `srfi-11' instead of `receive'. (make-prog-body): When creating a `&prog-line', set the `:number' option only if `lnum-init' is true. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-130
2007-07-01`lout' engine: Fixed argument passing for `lout-illustration'.Ludovic Courtes
* src/guile/skribilo/engine/lout.scm (lout-illustration): Better compute argument string for `lout'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-129
2007-07-01Autoload `(skribilo coloring c)' in the default module.Ludovic Courtes
* src/guile/skribilo/module.scm (%skribilo-user-autoloads): Fixed the `lout' autoload list. Added `(skribilo coloring c)'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-128
2007-07-01Fixed (or almost so) the C lexer.Ludovic Courtes
* src/guile/skribilo/coloring/Makefile.am (.l.scm): Have the generated module use `srfi-1'. * src/guile/skribilo/coloring/c-lex.l: Support multi-line comments and properly use `*the-keys*'. * src/guile/skribilo/coloring/c-lex.scm: Updated. * src/guile/skribilo/coloring/c.scm: Fixed module name. (c-language): New. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-127
2007-06-29`lncs' package: Honor `:sort-bib-refs'.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm (bib-ref+): Honor `:sort-bib-refs'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-126
2007-06-29Updated documentation of `ref'.Ludovic Court`es
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-125
2007-06-29Factorized `bib-ref+', add a `:sort-bib-refs' options to `ref'.Ludovic Court`es
* src/guile/skribilo/biblio.scm (bib-sort-refs/number): New. * src/guile/skribilo/engine/base.scm: Use `%skribilo-module-reader' instead of the Skribe reader. (bib-ref, bib-ref+): New writer. Handle `:sort-bib-refs' in `bib-ref+'. * src/guile/skribilo/engine/context.scm (bib-ref+): Removed. * src/guile/skribilo/engine/html.scm (bib-ref+): Removed. * src/guile/skribilo/engine/latex.scm (bib-ref, bib-ref+): Removed. * src/guile/skribilo/engine/lout.scm (lout-bib-refs-sort/number): Removed. (lout-engine): Documented `bib-refs-sort-proc' as unused. (bib-ref, bib-ref+): Removed. * src/guile/skribilo/package/base.scm (ref): New `:sort-bib-refs' option. [bib-ref]: Add it to the markup's option list. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-124
2007-06-29Updated `TODO'.Ludovic Court`es
* TODO: Added `(skribilo color)'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-123
2007-06-29`diff' package: Small bug fix.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (make-diff-document): Don't use `ast-loc' when AST2 is not `ast?'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-122
2007-06-29`lncs' package: Honor `:sort-bib-refs'.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm (bib-ref+): Honor `:sort-bib-refs'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-82
2007-06-29Updated documentation of `ref'.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-81
2007-06-29Factorized `bib-ref+', add a `:sort-bib-refs' options to `ref'.Ludovic Court`es
* src/guile/skribilo/biblio.scm (bib-sort-refs/number): New. * src/guile/skribilo/engine/base.scm: Use `%skribilo-module-reader' instead of the Skribe reader. (bib-ref, bib-ref+): New writer. Handle `:sort-bib-refs' in `bib-ref+'. * src/guile/skribilo/engine/context.scm (bib-ref+): Removed. * src/guile/skribilo/engine/html.scm (bib-ref+): Removed. * src/guile/skribilo/engine/latex.scm (bib-ref, bib-ref+): Removed. * src/guile/skribilo/engine/lout.scm (lout-bib-refs-sort/number): Removed. (lout-engine): Documented `bib-refs-sort-proc' as unused. (bib-ref, bib-ref+): Removed. * src/guile/skribilo/package/base.scm (ref): New `:sort-bib-refs' option. [bib-ref]: Add it to the markup's option list. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-80
2007-06-29Updated `TODO'.Ludovic Court`es
* TODO: Added `(skribilo color)'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-79
2007-06-25`diff' package: Small bug fix.Ludovic Court`es
* src/guile/skribilo/package/diff.scm (make-diff-document): Don't use `ast-loc' when AST2 is not `ast?'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-78
2007-06-25Merge from skribilo@sv.gnu.org--2006Ludovic Court`es
Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 100-109) - `base' engine: Fixed autoload issue. - Merge from skribilo@sv.gnu.org--2006/skribilo--devo--1.2 - eq: Implemented equation numbering. - eq/lout: Use the new `@BypassNumber' option for numbered displays. - eq: Updated doc for `:number'. - eq/lout: Fixed spacing around in-line equations. * skribilo@sv.gnu.org--2006/skribilo--devo--1.2 (patch 60-121) - `base' engine: Fixed autoload issue. - evaluator: Modularized the evaluation process. - biblio: Adding missing `use-module'. - Added an experimental `diff' package. - `diff' package: Fixes and hacking. - `lout' engine: Skip lines in `color'. - `diff' package: Various fixes. - `eq' package: Added `eq:set'. - `diff' package: Use actual markups and writers. - Slightly optimized `make-string-replace'. - `diff' package: Compute diffs on selected options. - `diff' package: Preserve space around diff'd strings. - `diff' package: Handle commands appropriately. - `lout' engine: Fixed space handling with `color'. - `base' package: Introduced `breakable-space'. - doc: Documented spacing. - `diff' package: Use `breakable-space' instead of `~' in `annotated-string-diff'. - `diff' package: Fixed off-by-one in string diff. - biblio template: Small fix. - Added support for source location tracking. - Added source location tracking to various packages. - Moved legacy source location code to `compat'. - Reduced reliance on the debugging evaluator (improves performance). - Fixed computation of `&invocation-location'. - `diff' package: Added basic source location support. - Renamed module `(differ)' to `(diff)'. - Fixed `find-up'. - `eq' package: Properly handle auto-inlining. - `lncs' package: Fixed for non-LaTeX engines. - `eq' package: Added support for Lout's new `eq2'. - `diff': Included Aubrey Jaffer's fix for `diff:edits'. - Fixed `index'. - biblio: Implemented the `name+year' label style. - doc: Documented the `:labels' option of `the-bibliography'. - Resolve <command>s too. - eq/biblio: Small additions. - Fixed handling of figure numbering in `ref'. - Added support for Guile-Lint. - Started cleaning up packages using Guile-Lint. - Tiny Automake fix. - Removed useless file. - lib: Minor fixes that make Guile-Lint happy. - More package cleanups. - More linting. - Cleaned up the source code fontifiers (under `coloring'). - Cleaned up the `biblio' modules. - Cleaned up the core modules. - Optimized `make-general-string-replace'. - Fixed location reporting for `verify' warnings. - Slight optimization/cleanup of AST traversal functions. - Added a `:&location' argument to `table'. - Switched all engines to a native Guile module. - Reduced dependency on `(skribilo module)'. - Lout engine: Work around bug with tables within floating figures. - Updated the top-level documentation files. - Fixed top-level Makefile. - lout engine: Export `lout-output-pdf-meta-info'. - `lncs' package: Prettified bibliography output. - eq: Implemented equation numbering. - eq/lout: Use the new `@BypassNumber' option for numbered displays. - eq: Updated doc for `:number'. - eq/lout: Fixed spacing around in-line equations. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-77
2007-06-24eq/lout: Fixed spacing around in-line equations.Ludovic Courtes
* src/guile/skribilo/package/eq/lout.scm (eq): Don't output a space in front of in-line equations. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-121
2007-06-24eq: Updated doc for `:number'.Ludovic Courtes
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-120
2007-06-24eq/lout: Use the new `@BypassNumber' option for numbered displays.Ludovic Courtes
* src/guile/skribilo/package/eq.scm (eq)[number]: Default to `#t'. * src/guile/skribilo/package/eq/lout.scm (eq): Use `@CAND'/`@CAD' instead of `@IAD' (because `@IAND' is broken). Handle `:number'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-119
2007-06-24eq: Implemented equation numbering.Ludovic Courtes
* src/guile/skribilo/package/base.scm (chapter): Augmented environment to include `equation-env' and `equation-counter'. * src/guile/skribilo/package/eq.scm: Use `(skribilo resolve)'. (equation-number-string): New. (eq)[:number]: New option. Handle it. * src/guile/skribilo/package/eq/lout.scm (eq): Prepare to handle `:number'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-118
2007-06-23`lncs' package: Prettified bibliography output.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm (&the-bibliography): The `\thebibliography' the number of entries so that all entries are properly aligned. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-117
2007-06-23lout engine: Export `lout-output-pdf-meta-info'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm: Export `lout-output-pdf-meta-info', needed by the `slide' package. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-116
2007-06-18`lncs' package: Prettified bibliography output.Ludovic Court`es
* src/guile/skribilo/package/lncs.scm (&the-bibliography): The `\thebibliography' the number of entries so that all entries are properly aligned. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-76
2007-06-18lout engine: Export `lout-output-pdf-meta-info'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm: Export `lout-output-pdf-meta-info', needed by the `slide' package. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-75
2007-06-11Fixed top-level Makefile.Ludovic Court`es
* Makefile.am (EXTRA_DIST): Added `TODO' and `*.Skribe'. * po/fr.po: Updated. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-115
2007-06-11Updated the top-level documentation files.Ludovic Court`es
* configure.ac: Changed the bug report address to `skribilo-users@nongnu.org'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-114
2007-06-11Lout engine: Work around bug with tables within floating figures.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (table): Check whether N is within a figure, in which case `@OneRow' must be preprended. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-113
2007-06-11Reduced dependency on `(skribilo module)'.Ludovic Court`es
* src/guile/skribilo/engine.scm: Don't `(use-modules (skribilo module))' before initializing `*current-engine*' (no longer needed). git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-112
2007-06-11Switched all engines to a native Guile module.Ludovic Court`es
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-111
2007-06-11Added a `:&location' argument to `table'.Ludovic Court`es
* doc/modules/skribilo/documentation/api.scm (%undocumented-options): New. (doc-check-arguments): Use it to allow `:&location' to not be documented. * src/guile/skribilo/package/base.scm (table): Added a `&location' argument. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-110
2007-06-11Fixed top-level Makefile.Ludovic Court`es
* Makefile.am (EXTRA_DIST): Added `TODO' and `*.Skribe'. * po/fr.po: Updated. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-74
2007-06-11Updated the top-level documentation files.Ludovic Court`es
* configure.ac: Changed the bug report address to `skribilo-users@nongnu.org'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-73
2007-06-11Lout engine: Work around bug with tables within floating figures.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (table): Check whether N is within a figure, in which case `@OneRow' must be preprended. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-72
2007-06-11Reduced dependency on `(skribilo module)'.Ludovic Court`es
* src/guile/skribilo/engine.scm: Don't `(use-modules (skribilo module))' before initializing `*current-engine*' (no longer needed). git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-71
2007-06-11Switched all engines to a native Guile module.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-70
2007-06-11Added a `:&location' argument to `table'.Ludovic Court`es
* doc/modules/skribilo/documentation/api.scm (%undocumented-options): New. (doc-check-arguments): Use it to allow `:&location' to not be documented. * src/guile/skribilo/package/base.scm (table): Added a `&location' argument. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-69
2007-06-08Slight optimization/cleanup of AST traversal functions.Ludovic Court`es
* src/guile/skribilo/ast.scm (container-search-down): Use `(map loop obj)', thereby removing an indirection. (search-down): Likewise. (find-down): Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-109
2007-06-08Slight optimization/cleanup of AST traversal functions.Ludovic Court`es
* src/guile/skribilo/ast.scm (container-search-down): Use `(map loop obj)', thereby removing an indirection. (search-down): Likewise. (find-down): Likewise. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-68
2007-06-07Fixed location reporting for `verify' warnings.Ludovic Court`es
* src/guile/skribilo/verify.scm: Concatenated `use-modules' to `define-module'. (verify<markup>): Use `skribe-warning/ast' instead of `skribe-warning'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-108
2007-06-07Optimized `make-general-string-replace'.Ludovic Court`es
* src/guile/skribilo/utils/strings.scm (%make-general-string-replace): Rewritten in a way that is more efficient with Guile 1.8. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-107
2007-06-07Fixed location reporting for `verify' warnings.Ludovic Court`es
* src/guile/skribilo/verify.scm: Concatenated `use-modules' to `define-module'. (verify<markup>): Use `skribe-warning/ast' instead of `skribe-warning'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-67
2007-06-07Optimized `make-general-string-replace'.Ludovic Court`es
* src/guile/skribilo/utils/strings.scm (%make-general-string-replace): Rewritten in a way that is more efficient with Guile 1.8. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-66
2007-06-06Cleaned up the core modules.Ludovic Court`es
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-106
2007-06-06Cleaned up the `biblio' modules.Ludovic Court`es
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-105
2007-06-06Cleaned up the source code fontifiers (under `coloring').Ludovic Court`es
This brings `(skribilo coloring c)' to life! git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-104