summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2007-08-30lout: Added support for drop capitals.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[drop-capital?, drop-capital-lines]: New customs. (first-paragraph?, make-drop-capital?, output-with-drop-capital): New. (paragraph)[first-paragraph?]: Moved outside. Use an `:action' to support drop capitals. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-160 Ludovic Court`es
2007-08-30Moved `first-paragraph?' to `ast'.•••* src/guile/skribilo/ast.scm (first-paragraph?): New. * src/guile/skribilo/engine/lout.scm (first-paragraph?): Removed. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-103 Ludovic Court`es
2007-08-30lout: Added support for drop capitals.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[drop-capital?, drop-capital-lines]: New customs. (first-paragraph?, make-drop-capital?, output-with-drop-capital): New. (paragraph)[first-paragraph?]: Moved outside. Use an `:action' to support drop capitals. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-102 Ludovic Court`es
2007-08-29biblio: SRFI'd `author.scm'.•••* src/guile/skribilo/biblio/author.scm: Use `srfi-14'. (%no-comma): New. (comma-separated->author-list): Use `string-tokenize'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-159 Ludovic Court`es
2007-08-29lout: Provide support for separate first-paragraph gap style.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[first-paragraph-gap]: New custom. (paragraph)[first-paragraph?]: New. Use it to honor `first-paragraph-gap'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-158 Ludovic Court`es
2007-08-29doc: Improved bibliography doc, documented `noabbrev'.•••* doc/user/bib.skb (Bibliography): Better explain the constraints with `name+year'. Document `noabbrev'. (Sorting Bibliography Entries): Document `bib-sort/first-author-last-name'. * doc/user/src/bib1.sbib: Use proper `author' fields, including `noabbrev'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-157 Ludovic Court`es
2007-08-29`base' package: Introduced `noabbrev'.•••* src/guile/skribilo/engine/base.scm (noabbrev): New writer. * src/guile/skribilo/package/base.scm (noabbrev): New markup. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-156 Ludovic Court`es
2007-08-29biblio: Properly handle non-string authors.•••* src/guile/skribilo/biblio/author.scm (bib-sort/first-author-last-name)[maybe-first-author-last-name]: New. Use it. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-155 Ludovic Court`es
2007-08-29biblio: Improved `bib-sort/first-author-last-name'.•••* src/guile/skribilo/biblio/author.scm (bib-sort/first-author-last-name)[entry-field, <=?]: New. Use them such that ordering also takes `year' and `title' into account. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-154 Ludovic Court`es
2007-08-29biblio: SRFI'd `author.scm'.•••* src/guile/skribilo/biblio/author.scm: Use `srfi-14'. (%no-comma): New. (comma-separated->author-list): Use `string-tokenize'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-101 Ludovic Court`es
2007-08-29lout: Provide support for separate first-paragraph gap style.•••* src/guile/skribilo/engine/lout.scm (lout-engine)[first-paragraph-gap]: New custom. (paragraph)[first-paragraph?]: New. Use it to honor `first-paragraph-gap'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-100 Ludovic Court`es
2007-08-29doc: Improved bibliography doc, documented `noabbrev'.•••* doc/user/bib.skb (Bibliography): Better explain the constraints with `name+year'. Document `noabbrev'. (Sorting Bibliography Entries): Document `bib-sort/first-author-last-name'. * doc/user/src/bib1.sbib: Use proper `author' fields, including `noabbrev'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-99 Ludovic Court`es
2007-08-29`base' package: Introduced `noabbrev'.•••* 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 Ludovic Court`es
2007-08-29biblio: Properly handle non-string authors.•••* src/guile/skribilo/biblio/author.scm (bib-sort/first-author-last-name)[maybe-first-author-last-name]: New. Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-97 Ludovic Court`es
2007-08-29biblio: Improved `bib-sort/first-author-last-name'.•••* src/guile/skribilo/biblio/author.scm (bib-sort/first-author-last-name)[entry-field, <=?]: New. Use them such that ordering also takes `year' and `title' into account. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-96 Ludovic Court`es
2007-08-28ast: Provide better error messages.•••* src/guile/skribilo/ast.scm (handle-ast-error)[show-location]: Use it in all cases. Internationalized error messages. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-153 Ludovic Court`es
2007-08-28lout: Use `@OnePage' for `figure'.•••* src/guile/skribilo/engine/lout.scm (figure): Use "@OnePage { Yes }" so that figure and caption are kept on the same page. This looks like a sane default, since multi-page figures are expected to be rare. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-152 Ludovic Court`es
2007-08-28ast: Provide better error messages.•••* src/guile/skribilo/ast.scm (handle-ast-error)[show-location]: Use it in all cases. Internationalized error messages. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-95 Ludovic Court`es
2007-08-27lout: Use `@OnePage' for `figure'.•••* src/guile/skribilo/engine/lout.scm (figure): Use "@OnePage { Yes }" so that figure and caption are kept on the same page. This looks like a sane default, since multi-page figures are expected to be rare. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-94 Ludovic Court`es
2007-08-24Slightly improved AST classes and methods.•••* src/guile/skribilo/ast.scm: For all simple getters, use GOOPS's `:getter' rather than define functions that call `slot-ref'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-151 Ludovic Court`es
2007-08-24Added `equal?' for ASTs.•••* src/guile/skribilo/ast.scm (equal?): New methods, for <ast>, <node> and <markup>. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-150 Ludovic Court`es
2007-08-24Slightly improved AST classes and methods.•••* src/guile/skribilo/ast.scm: For all simple getters, use GOOPS's `:getter' rather than define functions that call `slot-ref'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-93 Ludovic Court`es
2007-08-24Added `equal?' for ASTs.•••* src/guile/skribilo/ast.scm (equal?): New methods, for <ast>, <node> and <markup>. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-92 Ludovic Court`es
2007-08-24eq/lout: Tiny fix.•••* src/guile/skribilo/package/eq/lout.scm (in): Use `in' instead of `element', which fixes spacing. (notin): Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-149 Ludovic Court`es
2007-08-24eq/lout: Tiny fix.•••* 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 Ludovic Court`es
2007-08-24eq/lout: Use "strut @Font" within parenthesized expressions.•••* 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: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-148 Ludovic Court`es
2007-08-24`eq' package: Switched to Lout's `@Math'.•••* 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: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-147 Ludovic Court`es
2007-08-24eq/lout: Use "strut @Font" within parenthesized expressions.•••* 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 Ludovic Court`es
2007-08-23`eq' package: Switched to Lout's `@Math'.•••* 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 Ludovic Court`es
2007-08-20doc: Updated documentation of `:number' for sections.•••* doc/user/sectioning.skb (Chapter): Mention new behavior with non-boolean `:number'. (Sections): Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-146 Ludovic Court`es
2007-08-20Fixed `find-up'.•••* src/guile/skribilo/ast.scm (find-up): Don't cons OBJ when it doesn't match PRED. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-145 Ludovic Court`es
2007-08-20lout engine: Always use `@BypassNumber'.•••* src/guile/skribilo/engine/lout.scm (lout-block-before): Always use `@BypassNumber'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-144 Ludovic Court`es
2007-08-20Merge from skribilo@sv.gnu.org--2006•••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 Ludovic Court`es
2007-08-20doc: Updated documentation of `:number' for sections.•••* doc/user/sectioning.skb (Chapter): Mention new behavior with non-boolean `:number'. (Sections): Likewise. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-87 Ludovic Court`es
2007-08-20Allow for user-specified section numbers.•••* 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 Ludovic Court`es
2007-08-20lout engine: Always use `@BypassNumber'.•••* src/guile/skribilo/engine/lout.scm (lout-block-before): Always use `@BypassNumber'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-85 Ludovic Court`es
2007-07-29Documented `html-navtabs'.•••* doc/user/package.skb (HTML Navigation Tabs): New subsection. Borrowed from Manuel Serrano's doc for `html-navtabs'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-143 Ludovic Courtes
2007-07-29Allow arbitrary keyword arguments in `define-markup'.•••* src/guile/skribilo/lib.scm (define-markup)[fix-rest-arg]: Add `:allow-other-keys' so that package like `html-navtabs' can require extra keyword arguments. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-142 Ludovic Courtes
2007-07-29html-navtabs: Permit disabling of CSS output.•••* 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 Ludovic Courtes
2007-07-29Added `html-navtabs' by Manuel Serrano.•••* 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 Ludovic Courtes
2007-07-26`outline' reader: Fixed `append-trees'.•••* src/guile/skribilo/reader/outline.scm (append-trees): Make sure only symbols can appear as the head of the resulting list. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-139 Ludovic Courtes
2007-07-18sui: Small autoload fix.•••* src/guile/skribilo/sui.scm: Autoload `parameters' on `*destination-file*'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-138 Ludovic Courtes
2007-07-09Merge from skribilo@sv.gnu.org--2006•••Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 118-121) * skribilo@sv.gnu.org--2006/skribilo--devo--1.2 (patch 134-137) - Renamed the `coloring' module tree to `source' for consistency. - Fixed the `sui' module. - Moved SUI stuff from `html.scm' to `sui.scm'. - Linted documentation modules. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-84 Ludovic Court`es
2007-07-04Linted documentation modules.•••* doc/modules/skribilo/documentation/*.scm: Use the `%skribilo-module-reader' and corresponding syntax, no longer use `compat'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-137 Ludovic Courtes
2007-07-04Moved SUI stuff from `html.scm' to `sui.scm'.•••* src/guile/skribilo/engine/html.scm: Use `(skribilo sui)'. Export `html-title-engine' and `html-file'. (document-sui, sui-referenced-file, sui-marks, sui-blocks): Moved. * src/guile/skribilo/sui.scm: Use required modules. (document-sui, sui-referenced-file, sui-marks, sui-blocks): New. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-136 Ludovic Courtes
2007-07-04Fixed the `sui' module.•••* 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 Ludovic Courtes
2007-07-04Renamed the `coloring' module tree to `source' for consistency.•••git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-134 Ludovic Courtes
2007-07-03Merge from skribilo@sv.gnu.org--2006•••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 Ludovic Court`es
2007-07-01Fixed and simplified `(ref :line ...)', aka. `line-ref'.•••* 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 Ludovic Courtes
2007-07-01Removed global hash tables for marks and program lines.•••* 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 Ludovic Courtes