Age | Commit message (Collapse) | Author |
|
This is a followup to d183aa487d99baea3746f79759c17cf36c55dfbf.
* src/guile/skribilo/debug.scm (with-debug): Remove 'cond-expand' and
keep only 'guile-2' version.
* src/guile/skribilo/engine/html.scm (&html-generic-document)[set-output-encoding]:
Likewise.
* src/guile/skribilo/engine/info.scm (document): Likewise.
* src/guile/skribilo/engine/latex.scm (document): Likewise.
* src/guile/skribilo/engine/lout.scm (document): Likewise.
* src/guile/skribilo/evaluator.scm (%evaluate): Likewise.
* src/guile/skribilo/location.scm <top level>: Likewise.
* src/guile/skribilo/module.scm (maybe-set-module-name!): Likewise.
* src/guile/skribilo/package/base.scm <top level>: Likewise.
* src/guile/skribilo/utils/syntax.scm (unless, when): Remove.
(set-correct-file-encoding!, default-to-utf-8): Keep only 'guile-2' variant.
* tests/location.test <top level>: Likewise.
* tests/readers/rss-2.test <top level>: Likewise.
|
|
* src/guile/skribilo/engine/lout.scm (lout-encoding): Add several
diacritics, guillemets, curly quotes, etc.
|
|
In preparation for Guile 3 support, adjust #:autoload clauses to include
list all the necessary bindings, or replace them with #:use-module.
|
|
Changes made by running:
for i in $(git ls-tree -r HEAD --name-only) ; do sed -i $i -e's/:use-module/#:use-module/g ; s/:autoload/#:autoload/g ; s/:export/#:export/g' ; done
|
|
Failing to do that, literal '_' would not match in contexts such as
'match' patterns on Guile 2.2.
* src/guile/skribilo/utils/syntax.scm (_): Rename to...
(G_): ... this.
* po/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* src/guile/skribilo.scm,
src/guile/skribilo/ast.scm,
src/guile/skribilo/biblio.scm,
src/guile/skribilo/biblio/author.scm,
src/guile/skribilo/condition.scm,
src/guile/skribilo/engine.scm,
src/guile/skribilo/engine/info.scm,
src/guile/skribilo/engine/lout.scm,
src/guile/skribilo/index.scm,
src/guile/skribilo/package/base.scm,
src/guile/skribilo/package/lncs.scm,
src/guile/skribilo/reader/rss-2.scm,
src/guile/skribilo/source.scm,
src/guile/skribilo/sui.scm,
src/guile/skribilo/biblio/template.scm,
src/guile/skribilo/verify.scm: Use 'G_' instead of '_'.
|
|
* src/guile/skribilo.scm,
src/guile/skribilo/engine/info.scm,
src/guile/skribilo/engine/lout.scm,
src/guile/skribilo/index.scm,
src/guile/skribilo/package/base.scm,
src/guile/skribilo/sui.scm: Tweak messages for consistency, as
suggested by Benno Schulenberg <coordinator@translationproject.org>.
|
|
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* doc/modules/skribilo/documentation/api.scm,
src/guile/skribilo.scm, src/guile/skribilo/condition.scm,
src/guile/skribilo/engine/lout.scm,
src/guile/skribilo/package/base.scm,
src/guile/skribilo/package/jfp.scm,
src/guile/skribilo/package/lncs.scm,
src/guile/skribilo/package/pie.scm,
src/guile/skribilo/package/slide/latex.scm,
src/guile/skribilo/utils/compat.scm,
src/guile/skribilo/ast.scm,
src/guile/skribilo/biblio.scm,
src/guile/skribilo/engine/html.scm,
src/guile/skribilo/engine/info.scm,
src/guile/skribilo/index.scm,
src/guile/skribilo/package/web-book2.scm,
src/guile/skribilo/reader/rss-2.scm,
src/guile/skribilo/source.scm,
src/guile/skribilo/utils/compat.scm,
src/guile/skribilo/verify.scm: Change `foo' to 'foo'.
|
|
* src/guile/skribilo/engine/lout.scm (lout-illustration): Emit the
output of `inline-definitions-proc'.
|
|
* doc/modules/skribilo/documentation/api.scm (le)[inline-definitions-proc]:
Add @SkribiloExample.
* doc/modules/skribilo/documentation/manual.scm (example)[lout]: Use
@SkribiloExample.
(le): Set the `includes' custom to include `diag'.
* src/guile/skribilo/engine/lout.scm (frame): Mark the trick about
@Floater.
|
|
|
|
* src/guile/skribilo/engine/lout.scm (lout-debug): `string-append' to
FMT at compile-time.
Use `display' instead of `format' when literal strings are passed.
|
|
* src/guile/skribilo/engine/html.scm (document): Fix typo in comment.
* src/guile/skribilo/engine/info.scm (document)[guile-2]: Set the
current output port's encoding to "UTF-8".
* src/guile/skribilo/engine/latex.scm (latex-engine)[encoding]: New
custom.
(document): Set the output port's encoding to that. When that
encoding is "UTF-8", add the right \usepackage.
* src/guile/skribilo/engine/lout.scm (lout-engine)[encoding]: New
custom.
(document): Set the output encoding. Emit `@SysInclude { latin2 }'
for ISO-8859-2.
|
|
* src/guile/skribilo/engine/lout.scm (font): Output a single brace when
`:size' is #f.
|
|
* src/guile/skribilo/engine/lout.scm (lout-font-size): Remove.
(lout-size-ratio): New procedure.
(font): Use it. Change both the font size and the inter-line gap
proportionally.
|
|
* src/guile/skribilo/engine/lout.scm (document): Better support boolean
and AST values for DATE-LINE.
|
|
Add `coding:' comments for use by both Emacs and Guile 2.x.
|
|
* src/guile/skribilo/utils/syntax.scm (skribilo-module-syntax): New
macro.
* src/guile/*/*.scm: Use `(skribilo-module-syntax)' instead of
`(fluid-set! current-reader %skribilo-module-reader)'. The goal is to
be more compilation-friendly.
|
|
* src/guile/skribilo/engine/lout.scm (image): Produce a warning, not an
error, if URL is provided. Use SRFI-35 conditions for invalid
arguments.
* po/POTFILES.in: Add.
* NEWS: Update.
|
|
* NEWS, doc/user/colframe.skb, doc/user/table.skb: Update.
* src/guile/skribilo/engine/lout.scm (table): Support `:rulecolor'.
* src/guile/skribilo/package/base.scm (table): Support `:rulecolor'.
|
|
* src/guile/skribilo/engine/lout.scm (&prog-line): Suitably align line
numbers.
|
|
|
|
* 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/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.
|
|
* 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.
|
|
* src/guile/skribilo/engine/lout.scm (lout-engine): Use `@M' instead of
`@Eq' in the symbol table.
|
|
* 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 (*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/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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* src/guile/skribilo/engine/lout.scm (lout-illustration): Better compute
argument string for `lout'.
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-129
|
|
* 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
|
|
* src/guile/skribilo/engine/lout.scm: Export `lout-output-pdf-meta-info',
needed by the `slide' package.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-75
|
|
* src/guile/skribilo/engine/lout.scm (table): Check whether N is within a
figure, in which case `@OneRow' must be preprended.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-72
|
|
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-70
|
|
* src/guile/skribilo/ast.scm (markup-number-string): Don't use a
hierarchical numbering scheme for figures.
* src/guile/skribilo/engine/lout.scm (ref): Use `markup-number-string'
rather than `@NumberOf' to determine the number of a figure. This
guarantees numbering consistency.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-55
|
|
* 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
|
|
* 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
|
|
* src/guile/skribilo/engine/lout.scm (color): Insert the linebreak
between the left parameter of `@Color' and `@Color' itself, so as to
never insert additional spaces.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-32
|
|
* src/guile/skribilo/engine/lout.scm (color): Skip a line at the end.
git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-24
|
|
* 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
|
|
* 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
|
|
* 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: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-76
|