Age | Commit message (Collapse) | Author |
|
* src/guile/skribilo/resolve.scm (do-resolve<node>): Don't resolve
OPTIONS only when PARENT is `unspecified', otherwise nodes returned by
`do-resolve<unresolved>' would always have their options unresolved.
(do-resolve<container>): Likewise. In addition, make proper use of
`*unresolved*' and set the `resolved?' slot accordingly.
(do-resolve<unresolved>): Don't set the `parent' slot of RES at this
point since we have to go for another resolution run anyway.
|
|
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Assign a
valid parent to the AST returned by PROC.
|
|
* src/guile/skribilo/reader/outline.scm (process-paragraph): When
returning, enclose RESULT in a list. Previously, we'd end up with
paragraphs like this: `(p list (list "something"))', where the first
occurrence of `list' is wrong (although `output' silently ignores
it).
|
|
* src/guile/skribilo/reader/outline.scm (%list-processors): Allow
leading whitespace for list items.
(outline-reader)[modeline-rx]: Allow figures, semi-colons and all.
|
|
|
|
* src/guile/skribilo/engine/lout.scm (ref): Honor `show-page-num?' for
marks; get IDENT from TARGET rather than from the `text' markup option
(which doesn't exist).
|
|
* src/guile/skribilo/engine/lout.scm (lout-debug): Fix.
|
|
* src/guile/skribilo/resolve.scm (do-resolve!<pair>): Return N* if
`pair?'.
* src/guile/skribilo/verify.scm (verify<pair>): Add special treatment if
OBJ is not a list.
|
|
* src/guile/skribilo/output.scm (handle-output-error): Fix
error-reporting for unresolved nodes when `location?'.
|
|
* src/guile/skribilo/engine/lout.scm (lout-pdf-bookmark-node?): Handle
`slide-(sub)?topic' nodes.
(lout-engine)[pdf-bookmark-closed-pred]: Likewise.
* src/guile/skribilo/package/slide/lout.scm: Don't modify the
`pdf-bookmark-closed-pred' and `pdf-bookmark-node-pred' customs. It
had the side-effect of removing all bookmarks from the user manual.
|
|
* src/guile/skribilo/engine/lout.scm
(lout-engine)[use-skribe-footnote-numbers?]: Rename to
`use-lout-footnote-numbers?', which is the opposite.
(footnote): Update.
|
|
* src/guile/skribilo/reader/outline.scm (%inline-markup): Add
Org-Mode-style hyperlinks.
|
|
* src/guile/skribilo.scm (skribilo-show-help): Fix `--debug'.
(skribilo): Properly set the current module to USER-MODULE when
loading preloads.
|
|
* src/guile/skribilo/engine/html.scm (&html-footnotes): Use the `:label'
option instead of `:number'.
|
|
* src/guile/skribilo/utils/syntax.scm (unless, when): Don't use `begin'
if EXPRS contains a single expression.
* src/guile/skribilo/writer.scm (copy-markup-writer): Properly handle
NEW-ENGINE, working around `lambda*' deficiencies.
|
|
* src/guile/skribilo/engine/html.scm (html-file-default): Don't use
`tmpnam', was stupid.
(document): Record the current `*destination-file*' as `:file' option
of N.
(&html-generic-document): Parameterize `*destination-file*'.
|
|
|
|
|
|
* 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.
|
|
* src/guile/skribilo/utils/images.scm (builtin-convert-image): Add `~%'.
(convert-image): Check `(file-exists? dest-path)' before invoking
`copy-file'. This makes `distcheck' happy: a second `copy-file' would
fail if the file was already copied and is marked read-only.
|
|
* src/guile/skribilo/condition.scm (%call-with-skribilo-error-catch):
Make sure to always call EXIT.
(call-with-skribilo-error-catch/exit): New.
* src/pre-inst-skribilo.in: Use `call-with-skribilo-error-catch/exit'.
* src/skribilo.in: Likewise.
|
|
* src/guile/skribilo.scm (skribilo-show-help): Update.
(%options)[debug]: Deal with ARG == #f.
|
|
* src/guile/skribilo.scm: Remove `/bin/sh' header.
(process-option-specs, raw-options->getopt-long, define-options,
skribilo-options, *load-rc*, load-rc): Remove
(%options)[debug]: Fix `(integer? num)' case.
(main): Remove.
* src/pre-inst-skribilo.in (main): Update.
* src/skribilo.in (main): Update.
|
|
* src/guile/skribilo.scm (doskribe): Take a MODULE argument instead of a
COMPAT symbol.
(%options)[base,eval,preload,no-color]: New options.
[debug]: Fix in case of `(integer? num)'.
(skribilo): Honor these new options. Call `make-user-module' from
here.
|
|
* src/guile/skribilo.scm (%options)[--debug]: Don't use
`make-level-processor' so that `-g' can be passed a symbol to be
watched.
(%default-options): Add `:watched-symbols'.
(skribilo): Parameterize `*watched-symbols*'.
|
|
* src/guile/skribilo.scm (skribilo-show-help): Show bug-report address.
* src/guile/skribilo/config.scm.in (skribilo-bug-report-address): New.
|
|
* README: Update dependency description.
* configure.ac: Check for SRFI-37.
* doc/user/Makefile.am (skrflags): Add the relevant `-S' flag, now that
`%load-path' is no longer part of `*source-path*' by default.
(.skb.html, .skb.lout): Add an `=' sign after `--target'.
* src/guile/skribilo.scm: Overhauled. Use SRFI-37 for command-line
argument parsing. Remove legacy (unused) code.
|
|
* configure.ac: Don't generate `src/guile/skribilo/config.scm'; don't
substitute `SKRIBILO_DOC_DIR', `SKRIBILO_EXT_DIR' and
`SKRIBILO_SKR_PATH'.
* doc/modules/skribilo/documentation/env.scm (*courtes-mail*): Update.
(*skribe-user-doc-url*, *skribe-dir-doc-url*): Update.
* src/guile/skribilo/Makefile.am (CLEANFILES, .in): New.
Include `substitute.am'.
* src/guile/skribilo/config.scm.in: Overhauled.
* src/guile/skribilo/engine/context.scm: Use `skribilo-version' instead
of `skribilo-release'.
* src/guile/skribilo/engine/lout.scm: Likewise.
* src/guile/skribilo/utils/compat.scm: Use `(skribilo config)'.
(skribe-release, skribe-url, skribe-doc-dir, skribe-ext-dir,
skribe-default-path, skribe-scheme): New.
|
|
* substitute.am: New.
* src/Makefile.am (substitute, SUFFIXES): Moved in the above file.
|
|
* src/Makefile.am (EXTRA_DIST): Add `skribilo-config.in'.
(bin_SCRIPTS): Add `skribilo-config'.
(substitute): Add new variables.
* src/skribilo-config.in: Improve, based on `skribe-config.in'.
|
|
* Makefile.am (EXTRA_DIST): Remove `config.rpath'.
* doc/user/Makefile.am (CLEANFILES): New.
* src/Makefile.am (EXTRA_DIST): Add `pre-inst-skribilo.in'.
(CLEANFILES): Likewise.
|
|
* src/guile/skribilo/engine/html.scm (ref): Check whether both
`(*destination-file*)' _and_ F are false.
|
|
* src/guile/skribilo/engine/lout.scm (lout-engine): Use `@M' instead of
`@Eq' in the symbol table.
|
|
* src/guile/skribilo/engine/base.scm: `use-module' `(skribilo package
base)' instead of autoloading it. This avoids "unbound variable"
resulting from uncommon load orders.
|
|
* 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.
|
|
* src/guile/skribilo/color.scm (%rgb-alist): Change cdr to a vector
instead of a string.
(%convert-color): Adjust accordingly.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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'.
|
|
* src/guile/skribilo/module.scm (%skribilo-user-imports): Remove `ast'
and `config'.
|
|
* 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)".
|
|
* 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.
|
|
* src/guile/skribilo/module.scm (define-skribe-module): Remove.
|
|
* 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.
|
|
* 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.
|
|
* src/guile/skribilo/**/Makefile.am (moduledir): New.
(dist_guilemodule_DATA): Changed to...
(dist_module_DATA): This. This fixes module installation.
|
|
* src/guile/skribilo/resolve.scm (do-resolve!<command>): Update the body
of N with the resolved body.
|
|
* configure.ac: Add support for `--with-guilemoduledir'.
* */Makefile.am (guilemoduledir): Don't override the configure-provided
value.
* src/skribilo.in: Add `-L "@guilemoduledir@"'.
|
|
* configure.ac: Don't output `src/skribilo'.
* src/Makefile.am (CLEANFILES, guilemoduledir, substitute, SUFFIXES):
New variables.
(.in): New target.
|