summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-01doc: Improve building using the Lout engine, with a `book' style.Ludovic Courtès
* doc/modules/skribilo/documentation/api.scm (doc-engine): Use `ctrtable' instead of `table'. * doc/modules/skribilo/documentation/manual.scm: Add customs for the `lout' engine. (ctrtable): New. (prgm): Don't center frames in Lout. * doc/user/Makefile.am (EXTRA_DIST): Add `lout/book-style.lout'. (%.ps): Add "-r4 -I$(srcdir)/lout". * doc/user/char.skb: Use `ctrtable' instead of `(center (table...' for the list of chars. * doc/user/markup.skb: Add emacsology. * doc/user/package.skb: Don't show the sample code with non-HTML engines. * doc/user/src/html-navtabs.skb: Fix typo. * doc/user/user.skb: Don't produce out-of-chapter text in Lout.
2007-12-01html: Better handle nodes with `:file #f'.Ludovic Courtès
* src/guile/skribilo/engine/html.scm (ref): Check whether both `(*destination-file*)' _and_ F are false.
2007-11-30lout: Use `@M' instead of `@Eq' for special characters.Ludovic Courtès
* src/guile/skribilo/engine/lout.scm (lout-engine): Use `@M' instead of `@Eq' in the symbol table.
2007-11-30`base' engine: Fix autoload.Ludovic Courtès
* src/guile/skribilo/engine/base.scm: `use-module' `(skribilo package base)' instead of autoloading it. This avoids "unbound variable" resulting from uncommon load orders.
2007-11-30lout: Fix `toc' to allow documentation building.Ludovic Courtès
* src/guile/skribilo/engine/lout.scm (toc): Use `*document-being-output*' if `(ast-document n)' is false. Use `find-down' instead of `search-down' when looking for chapters and sections.
2007-11-29Update `TODO'.Ludovic Courtès
2007-11-29color: Use vectors instead of strings for RGB values.Ludovic Courtès
* src/guile/skribilo/color.scm (%rgb-alist): Change cdr to a vector instead of a string. (%convert-color): Adjust accordingly.
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-29context: Don't rely on `skribe-get-used-colors' and similar.Ludovic Courtès
* src/guile/skribilo/color.scm (document-used-colors): New. * src/guile/skribilo/engine/context.scm (*skribe-context-color-table*): Remove. (%doc-table, document-color-table, use-color!, declare-used-colors, use-standard-colors!, get-color): New. (skribe-declare-used-colors, skribe-declare-standard-colors, skribe-get-color): Remove. (document, color, tr): Update to use the above new functions.
2007-11-28latex: Don't rely on `skribe-get-used-colors' and `\definecolor'.Ludovic Courtès
* src/guile/skribilo/engine/latex.scm (*skribe-latex-color-table*, latex-declare-color, skribe-get-latex-color, skribe-latex-declare-colors): Remove. (document): Don't declare colors. (latex-color): Pass `\textcolor' the "[rgb]{x,y,z}" form instead of a color name. Same with `\colorbox'.
2007-11-28Make the default set of bindings even smaller.Ludovic Courtès
* src/guile/skribilo/module.scm (%skribilo-user-imports): Remove `ast' and `config'.
2007-11-28Update `.gitignore'.Ludovic Courtès
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-28Use modules from the source dir when building the doc.Ludovic Courtès
* doc/user/Makefile.am (skribilo): Use `pre-inst-skribilo'. * src/Makefile.am (noinst_SCRIPTS): New. (substitute): Substitute `abs_top_srcdir' and `abs_top_builddir'. * src/pre-inst-skribilo.in: New.
2007-11-28Remove `define-skribe-module' macro.Ludovic Courtès
* src/guile/skribilo/module.scm (define-skribe-module): Remove.
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-16Fix Guile-Linting.Ludovic Courtès
* guile-lint.am (all-local): Depend on `$(dist_module_DATA)'.
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-11-14Update the body of commands when resolving.Ludovic Courtès
* src/guile/skribilo/resolve.scm (do-resolve!<command>): Update the body of N with the resolved body.
2007-11-14configure: Don't try to "chmod +x src/skribilo".Ludovic Courtès
* configure.in (skribilo-executable): Removed.
2007-10-28Add `.gitignore'.Ludovic Courtès
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-10-28Generate `skribilo' in Makefile.am.Ludovic Courtès
* configure.ac: Don't output `src/skribilo'. * src/Makefile.am (CLEANFILES, guilemoduledir, substitute, SUFFIXES): New variables. (.in): New target.
2007-10-28Update generated files.Ludovic Courtès
2007-10-28Modernized `configure.ac' a bit.Ludovic Courtès
2007-10-28Mention new Git repository.Ludovic Courtès
2007-09-24Tolerate unresolved nodes in `first-paragraph?'.Ludovic Court`es
* src/guile/skribilo/ast.scm (first-paragraph?): Check whether PARENT is a markup. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-168
2007-09-24Tolerate unresolved nodes in `first-paragraph?'.lcourtes@laas.fr--2006-libre,skribilo--devo--1.2Ludovic Court`es
* src/guile/skribilo/ast.scm (first-paragraph?): Check whether PARENT is a markup. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-110
2007-09-20lout: Add customs for the `book' document type.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-engine)[publisher, edition, before-title-page, on-title-page, after-title-page, at-end]: New customs. (output-report-options, output-book-options): New. (document): Use them. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-167
2007-09-20lout: Add customs for the `book' document type.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-engine)[publisher, edition, before-title-page, on-title-page, after-title-page, at-end]: New customs. (output-report-options, output-book-options): New. (document): Use them. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-109
2007-09-20slide: Tiny fix.Ludovic Court`es
* src/guile/skribilo/package/slide.scm (slide-embed): Provide an identifier, pass ARGUMENTS. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-166
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: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-165
2007-09-20lout: New `:word' option for `chapter' et al.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-block-before): Handle the `:word' option (note `@BypassWord' should be added in Lout 3.37). (chapter, section, subsection, subsubsection): Mark `:word' as supported. (ref): Sanity-check IDENT. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-164
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-09-20lout: New `:word' option for `chapter' et al.Ludovic Court`es
* src/guile/skribilo/engine/lout.scm (lout-block-before): Handle the `:word' option (note `@BypassWord' should be added in Lout 3.37). (chapter, section, subsection, subsubsection): Mark `:word' as supported. (ref): Sanity-check IDENT. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-106
2007-09-03skribilo: Flush the output port before exiting.Ludovic Court`es
* src/guile/skribilo.scm (skribilo): Flush `(*skribilo-output-port*)' before exiting. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-163
2007-09-03skribilo: Flush the output port before exiting.Ludovic Court`es
* src/guile/skribilo.scm (skribilo): Flush `(*skribilo-output-port*)' before exiting. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-105
2007-08-31biblio: Fixed default template for `book' and `inbook'.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): For `book', use `(or author editor)'. Added an `inbook' case. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-162
2007-08-31biblio: Fixed default template for `book' and `inbook'.Ludovic Court`es
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): For `book', use `(or author editor)'. Added an `inbook' case. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-104
2007-08-30Moved `first-paragraph?' to `ast'.Ludovic Court`es
* src/guile/skribilo/ast.scm (first-paragraph?): New. * src/guile/skribilo/engine/lout.scm (first-paragraph?): Removed. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-161
2007-08-30lout: Added support for drop capitals.Ludovic Court`es
* 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
2007-08-30Moved `first-paragraph?' to `ast'.Ludovic Court`es
* 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
2007-08-30lout: Added support for drop capitals.Ludovic Court`es
* 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
2007-08-29biblio: SRFI'd `author.scm'.Ludovic Court`es
* 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
2007-08-29lout: Provide support for separate first-paragraph gap style.Ludovic Court`es
* 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
2007-08-29doc: Improved bibliography doc, documented `noabbrev'.Ludovic Court`es
* 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
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: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-156