aboutsummaryrefslogtreecommitdiff
path: root/src/guile/skribilo/package
AgeCommit message (Collapse)Author
2008-01-04doc: Update "Standard Packages" section.Ludovic Courtès
* 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.
2007-11-29Clean up `color' module.Ludovic Courtès
* src/guile/skribilo/color.scm (*used-colors*): Remove. (*skribe-rgb-alist*): Rename to... (%rgb-alist): New. (skribe-color->rgb): Rename to... (color->rgb): New. (skribe-get-used-colors, skribe-use-color!): Remove. Update users. * src/guile/skribilo/utils/compat.scm (skribe-color->rgb, skribe-use-color!, skribe-get-used-colors): New.
2007-11-29slide: Fix `latex' engine's use of colors.Ludovic Courtès
* src/guile/skribilo/engine/latex.scm: Export `skribe-color->latex-rgb'. * src/guile/skribilo/package/slide/latex.scm: No longer rely on `skribe-get-latex-color', use `skribe-color->latex-rgb' and the "[rgb]{r,g,b}" form, although it's unclear whether ADVI supports it.
2007-11-28Add run-time module with fewer bindings; add `--compat' command-line option.Ludovic Courtès
* doc/user/Makefile.am (skrflags): New. Use `--compat=skribe' for now. * src/guile/Makefile.am (moduledir): New. (dist_guilemodule_DATA): Renamed to... (dist_module_DATA): This, for consistency. * src/guile/skribilo.scm (skribilo-options): Add `--compat'. (doskribe): New COMPAT argument. (skribilo): Honor `--compat'. * src/guile/skribilo/module.scm (%skribilo-user-imports): New. (make-run-time-module): Renamed to `make-skribe-user-module'. (make-skribilo-user-module): New. (make-user-module, user-module-flavor): New. (*skribilo-user-module*): Default to a `skribilo' module flavor. * src/guile/skribilo/package/diff.scm (make-diff-document-from-files): Use "(make-user-module 'skribilo)".
2007-11-22slide: Set up an environment suitable for `eq'.Ludovic Courtès
* src/guile/skribilo/package/slide.scm (slide): Add `env' with `equation-counter' and `equation-env'. This allows the use of non-inline equations in slides.
2007-11-15slide: Add `:unfold?' option to `slide-topic'.Ludovic Courtès
* doc/user/slide.skb: Update. * src/guile/skribilo/package/slide.scm (slide-topic, slide-subtopic)[:unfold?]: New argument. * src/guile/skribilo/package/slide/base.scm (make-outline-slide): Honor `:unfold?'. (slide-topic, slide-subtopic): Mark `:unfold?' as supported.
2007-11-15Fix module installation directory.Ludovic Courtès
* src/guile/skribilo/**/Makefile.am (moduledir): New. (dist_guilemodule_DATA): Changed to... (dist_module_DATA): This. This fixes module installation.
2007-10-28Add configure `--with-guilemoduledir' option.Ludovic Courtès
* configure.ac: Add support for `--with-guilemoduledir'. * */Makefile.am (guilemoduledir): Don't override the configure-provided value. * src/skribilo.in: Add `-L "@guilemoduledir@"'.
2007-09-20slide: Tiny fix.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-embed): Provide an identifier, pass ARGUMENTS. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-108
2007-09-20eq/lout: Better handle parenthesizing of combinations.Ludovic Court`es
* src/guile/skribilo/package/eq/lout.scm (binary-lout-markup-writer): Special-case `eq:combinations'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-107
2007-08-29`base' package: Introduced `noabbrev'.Ludovic Court`es
* src/guile/skribilo/engine/base.scm (noabbrev): New writer. * src/guile/skribilo/package/base.scm (noabbrev): New markup. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-98
2007-08-24eq/lout: Tiny fix.Ludovic Court`es
* src/guile/skribilo/package/eq/lout.scm (in): Use `in' instead of `element', which fixes spacing. (notin): Likewise. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-91
2007-08-24eq/lout: Use "strut @Font" within parenthesized expressions.Ludovic Court`es
* src/guile/skribilo/package/eq/lout.scm (%left-paren): Use "strut @Font" for the expression that follows. (%right-paren): Updated accordingly. (combinations): Use "nostrut @Font". git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-90
2007-08-23`eq' package: Switched to Lout's `@Math'.Ludovic Court`es
* src/guile/skribilo/package/eq.scm (*use-lout-eq2?*): Renamed to... (*use-lout-math?*): Default to `#t' since `@Math' is now part of Lout, from version 3.36. * src/guile/skribilo/package/eq/lout.scm: Updated accordingly. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-89
2007-08-20Merge from skribilo@sv.gnu.org--2006Ludovic Court`es
Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 122-127) * skribilo@sv.gnu.org--2006/skribilo--devo--1.2 (patch 138-143) - sui: Small autoload fix. - `outline' reader: Fixed `append-trees'. - Added `html-navtabs' by Manuel Serrano. - html-navtabs: Permit disabling of CSS output. - Allow arbitrary keyword arguments in `define-markup'. - Documented `html-navtabs'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-88
2007-08-20Allow for user-specified section numbers.Ludovic Court`es
* src/guile/skribilo/ast.scm: Use `srfi-13'. (markup-number-string): Made tail-recursive. Allow for non-number `:number' options. * src/guile/skribilo/package/base.scm (section-number): Allow non-number `:number' options to pass through. (chapter): Use `section-number'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-86
2007-07-29html-navtabs: Permit disabling of CSS output.Ludovic Courtes
* src/guile/skribilo/package/html-navtabs.scm (&html-header-style): Check whether `html-navtabs-produce-css?' is set. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-141
2007-07-29Added `html-navtabs' by Manuel Serrano.Ludovic Courtes
* src/guile/skribilo/package/Makefile.am (dist_guilemodule_DATA): Added `html-navtabs.scm'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-140
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-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-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-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-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/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-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-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-06More linting.Ludovic Court`es
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-62
2007-06-06More package cleanups.Ludovic Court`es
Various additional package cleanups, thanks to Guile-Lint. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-61
2007-06-06Removed useless file.Ludovic Court`es
* src/guile/skribilo/package/Makefile.am (dist_guilemodule_DATA): Removed `skribe.scm'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-59
2007-06-05Started cleaning up packages using Guile-Lint.Ludovic Court`es
Most of the changes involve: * using a native module rather than `define-skribe-module'. * using `:'-style keywords instead of DSSSL keywords so that Guile-Lint can handle them. * fixing unbound variables and the likes. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-57
2007-06-05Added support for Guile-Lint.Ludovic Court`es
* configure.ac: Look for `guile-lint'. * */Makefile.am: Include `guile-lint.am'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-56
2007-06-01eq/biblio: Small additions.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Issue `institution' for `misc' entries. * src/guile/skribilo/package/eq.scm (%operators): Added `modulo'. (eq:modulo): New. * src/guile/skribilo/package/eq/lout.scm (eq:modulo): New writer. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-54
2007-05-04biblio: Implemented the `name+year' label style.Ludovic Court`es
* src/guile/skribilo/biblio.scm: Use `biblio author'. (assign-entries-numbers!): New (formerly `count!' in `resolve-the-bib'). (assign-entries-name+years!): New. (resolve-the-bib): New optional `assign-entries-identifiers!' argument. Use it. * src/guile/skribilo/biblio/author.scm (short-author-names): New. * src/guile/skribilo/engine/lout.scm (lout-bib-refs-sort/number): Accept non-number identifiers. (&the-bibliography): Use simply `@TaggedList' when a style other than `number' is used. (&bib-entry): Use `@DropTagItem' when the bibliography style is not `number'. * src/guile/skribilo/package/base.scm (the-bibliography): New `:labels' option. Pass the right label assignment function to `resolve-the-bib'. --This line, and those below, will be ignored-- Files to commit: src/guile/skribilo/package/base.scm src/guile/skribilo/engine/lout.scm src/guile/skribilo/biblio.scm doc/user/bib.skb src/guile/skribilo/biblio/author.scm This list might be incomplete or outdated if editing the log message was not invoked from an up-to-date changes buffer! git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-51
2007-04-27Fixed `index'.Ludovic Court`es
* src/guile/skribilo/Makefile.am (dist_guilemodule_DATA): Added `index.scm'. * src/guile/skribilo/package/base.scm: Autoload `(skribilo index)' upon `default-index'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-50
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-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-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-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`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-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