aboutsummaryrefslogtreecommitdiff
path: root/src/guile
AgeCommit message (Collapse)Author
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
2006-12-11lout engine: Fixed automatic `url-ref' breaking wrt. spacing.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm: Use `(srfi srfi-14)'. (lout-split-external-link): Use `char-set-contains?' when looking for whitespace. (lout-make-url-breakable): Do not remove newlines. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-90
2006-12-08Fixed `publisher' in default biblio entry style.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Issue `publisher' for `inproceedings' entries. * src/guile/skribilo/engine/base.scm (&bib-entry-publisher): No italics. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-89
2006-12-08eq/lout: Properly handle `div-style' and `mul-style'.Ludovic Court`es
* src/guile/skribilo/package/eq/lout.scm (eq:*): Always pass the result through `mul-style->lout'. (eq:/): Likewise. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-88
2006-12-08lout & latex engines: Fixed the output of `&prog-line'.Ludovic Court`es
* src/guile/skribilo/engine/latex.scm: Use `(srfi srfi-13)'. (&prog-line): Use markup option `:number' instead of `markup-ident' as the line number. * src/guile/skribilo/engine/lout.scm: Likewise. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-87
2006-12-03eq: Support automatic detection of inlining.Ludovic Courtes
* src/guile/skribilo/package/eq.scm (inline-equation?): New. (eq)[inline?]: Default to `auto'. * src/guile/skribilo/package/eq/lout.scm (eq): Use `inline-equation?'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-32
2006-12-03eq/lout: Fixed binomial coefficient.Ludovic Courtes
* src/guile/skribilo/package/eq/lout.scm (eq:combinations): Fixed spacing, use `lpar' instead of `blpar' (according to "The TeXbook"), changed order of OF and AMONG. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-31
2006-12-03eq: Added support for `:mul-style'.Ludovic Courtes
* src/guile/skribilo/package/eq.scm (eq)[:mul-style]: New option. (eq*)[mul-style]: New option. * src/guile/skribilo/package/eq/lout.scm (eq)[options]: Added `:mul-style'. (mul-style->lout): New. (eq:*): Support `:mul-style'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-30
2006-12-03eq/lout: Improved typesetting of parentheses.Ludovic Courtes
* src/guile/skribilo/package/eq/lout.scm (%left-paren): New. (%right-paren): New. (simple-lout-markup-writer): Use them. (binary-lout-markup-writer): Likewise. (eq:apply): Likewise. (eq:limit): Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-29
2006-12-03eq/lout: Fixed `limit'.Ludovic Courtes
* src/guile/skribilo/package/eq/lout.scm (eq:limit): Use `from' instead of `on'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-28
2006-12-02eq: Added `eq-display' and the `:align-with' option for `eq'.Ludovic Courtes
* src/guile/skribilo/package/eq.scm: Use `srfi-39'. (*embedded-renderer*): New. (eq-display): New. (eq)[:align-with]: New option. (eq-display): New text-based writer. (eq): Parameterize `*embedded-renderer*'. * src/guile/skribilo/package/eq/lout.scm (eq-display): New writer. (eq): Support `:align-with'. (simple-lout-markup-writer): Honor `:align-with'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-26
2006-12-02eq: Properly handle operator precedence.Ludovic Courtes
* src/guile/skribilo/package/eq.scm (%operator-precedence): Fixed according to Wikipedia. (simple-markup-writer): Honor operator precedence. * src/guile/skribilo/package/eq/lout.scm (simple-lout-markup-writer): Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-25
2006-12-02eq: Added `limit' and `combinations'.Ludovic Courtes
* src/guile/skribilo/package/eq.scm (%operators): Added `limit' and `combinations'. (eq:limit): New. (eq:combinations): New. (eq:limit): New text-based writer. (eq:combinations): Likewise. * src/guile/skribilo/package/eq/lout.scm (eq:limit): New. (eq:combinations): New. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-24
2006-12-02eq: Added the `:div-style' option.Ludovic Courtes
* src/guile/skribilo/package/eq.scm (eq): New `:div-style' option. Return a container rather than a markup. (eq:/): Added support for `:div-style'. * src/guile/skribilo/package/eq/lout.scm (eq): List `:div-style' as supported. (div-style->lout): New. (simple-lout-markup-writer): Handle LOUT-NAME as procedure. (eq:/): Use the `:div-style' option. (eq:script): Only use "on" when SUP is passed. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-22
2006-11-25Cleaned up `(skribilo biblio)' a bit.Ludovic Courtes
* doc/user/bib.skb: Replaced `default-bib-table' with `*bib-table*'. * src/guile/skribilo/biblio.scm: Clean up. (skribe-open-bib-file): Renamed to `open-bib-file'. * src/guile/skribilo/package/base.scm: Use `*bib-table*' instead of `default-bib-table'. * src/guile/skribilo/utils/compat.scm: Autoload `biblio'. (default-bib-table): New. (skribe-open-bib-file): New. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-21
2006-11-25`base' package: Added `numref'.Ludovic Courtes
* src/guile/skribilo/package/base.scm (numref): New. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-19
2006-11-25Introduced `markup-number-string'.Ludovic Courtes
* src/guile/skribilo/ast.scm: Use `(ice-9 optargs)'. (markup-number-string): New (stolen from the Lout engine). * src/guile/skribilo/engine/lout.scm: Use it. (lout-structure-number-string): Redefined in terms of `markup-number-string'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-18
2006-11-25lout: bib-ref+: Gracefully handle `unref' objects.Ludovic Courtes
* src/guile/skribilo/engine/lout.scm (bib-ref+)[canonicalize-entry]: Handle `unref' objects. [help-proc]: Don't pass `unref' objects to PROC. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-17
2006-11-17outline reader: Support keywords.Ludovic Court`es
* src/guile/skribilo/reader/outline.scm (outline-reader)[keywords-rx]: New. [author-rx]: Support "Authors" (plural). [extract-keywords]: New. Use a `cond' instead of nested `if's when matching the title/author/keywords regexps. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-16
2006-11-17Lout engine: Better cover sheet for `doc' documents.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-make-doc-cover-sheet): Improved spacing. Moved `date-line' after `author'. Provide a default value for `date-line' when it's `#t'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-15
2006-11-12Lout engine: Make URLs breakable; make bibliography defaults sane.Ludovic Courtes
* src/guile/skribilo/engine/lout.scm (lout-split-external-link): Use `!lout' and `lout-make-url-breakable'. (lout-make-url-breakable): New, taken from `url-ref'. (url-ref): Use it. (&bib-entry-title): Don't issue bold text. (&bib-entry-url): Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-14
2006-11-12Added the `(skribilo biblio template)' module.Ludovic Courtes
* src/guile/skribilo/engine/base.scm: Autoload `(skribilo biblio template)'. (&bib-entry-url): New writer. (&bib-entry-body)[output-fields]: Removed. Moved to the new module as `output-bib-entry-template'. Use it, as well as `make-bib-entry-template/default'. (&bib-entry-title): Don't produce bold text. (&bib-entry-booktitle): New writer. (&bib-entry-journal): New writer. * src/guile/skribilo/biblio/Makefile.am (dist_guilemodule_DATA): Added `template.scm'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-13
2006-11-11lout engine: Fixed the default value of `lout-program-arguments'.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-engine): Set default value of `lout-program-arguments' to `()'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-12
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-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-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