Age | Commit message (Collapse) | Author |
|
This matches what 'makeinfo' does for numbered sections.
* src/guile/skribilo/engine/info.scm (block-number): New procedure.
(block-title): Add :number? and honor it.
(section, subsection, subsubsection, chapter): Pass :number? #t for the
title.
|
|
* src/guile/skribilo/engine/info.scm (paragraph): Emit newline only when
N is not the first paragraph.
|
|
This matches what 'makeinfo' does.
* src/guile/skribilo/engine/info.scm (info-node): Add extra newline.
|
|
Reported by nly <nly@disroot.org>.
* src/guile/skribilo/package/base.scm (document): Add
:info-dir-category and :info-dir-entry.
* doc/user/document.skb: Document them.
* doc/user/user.skb: Pass :info-dir-category.
* src/guile/skribilo/engine/info.scm (scribe-document->info): Create
INFO-DIR-CATEGORY and START-INFO-DIR-ENTRY.
|
|
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.scm (skribilo): Reverse 'cond-expand' logic for
_IOFBF handling.
|
|
* src/guile/skribilo/engine/lout.scm (lout-encoding): Add several
diacritics, guillemets, curly quotes, etc.
|
|
* src/guile/skribilo/source.scm (split-string-newline): Remove.
|
|
This addresses '-Wunused-variable' warnings.
* doc/modules/skribilo/documentation/api.scm (define-markup?)
(make-engine?, make-engine-custom)
(define-markup-formals, define-markup-options)
(define-markup-rest, exp->skribe): Use '_' instead of 'else' as the
'match' wildcard.
* src/guile/skribilo/package/slide/latex.scm (%slide-advi-setup!):
Likewise.
* src/guile/skribilo/source/lisp.scm (lisp-extractor)
(scheme-extractor, stklos-extractor, skribe-extractor)
(bigloo-extractor): Likewise.
* src/guile/skribilo/sui.scm (load-sui): Likewise.
(sui-title, sui-key, sui-find-ref, sui-filter): Likewise.
|
|
* src/guile/skribilo/package/pie.scm (%ploticus-program): Add top-level
'set!'.
|
|
In preparation for Guile 3 support, adjust #:autoload clauses to include
list all the necessary bindings, or replace them with #:use-module.
|
|
* src/guile/skribilo.scm (skribilo): Use _IOFBF on Guile 2.0 only.
|
|
Guile 2.0.14 has it and so do all subsequent versions.
* src/guile/srfi/srfi-64.scm,
src/guile/srfi/srfi-64.upstream.scm: Remove.
* src/guile/Makefile.am (EXTRA_DIST): Adjust accordingly.
|
|
* configure.ac: Remove "1.8" from 'GUILE_PKG'.
Remove 'HAVE_GUILE2' conditional. Remove checks for (srfi srfi-34),
(srfi srfi-35), and (srfi srfi-37).
* guilec.am: Inline what was in HAVE_GUILE2 and remove the alternate.
* src/guile/skribilo/debug.scm (debug-item): Remove 'cond-expand' and
keep only the 'guile-2' variant.
* src/guile/skribilo/engine.scm (engine-loaded?): Likewise.
* src/guile/skribilo/lib.scm (&invocation-location, define-markup): Likewise.
* src/guile/skribilo/utils/syntax.scm (%skribilo-module-reader): Likewise.
* web/index.skb: Remove mention of 1.8.
* README: Likewise.
|
|
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
|
|
* configure.ac: Add '--with-guileobjectdir' and substitute
'guileobjectdir'.
* guilec.am (nobase_nodist_module_DATA): Rename to...
(nobase_nodist_guileobject_DATA): ... this
(skr_install_go_files): Change value to
'install-nobase_nodist_guileobjectDATA'.
* src/guile/Makefile.am (nobase_nodist_module_DATA): Change "+=" to
"=".
(nobase_nodist_module_DATA): Rename to...
(nobase_nodist_guileobject_DATA): ... this.
* src/skribilo.in (GUILE_LOAD_COMPILED_PATH): Use @guileobjectdir@.
* substitute.am (substitute): Add @guileobjectdir@.
|
|
* src/guile/skribilo/package/slide/html.scm (html-slide-title): Remove
<strong> and <big>.
|
|
* src/guile/skribilo/engine/html.scm (&html-generic-title): Do not emit
<big> and <strong>.
|
|
* src/guile/skribilo/package/base.scm: Add 'cond-expand' form with call
to 'module-replace!'.
|
|
* src/guile/skribilo/package/acmproc.scm (references): Pass :number #f
to 'chapter'.
|
|
On Guile 2.2 this would lead to a segmentation fault or a 'set-car!'
error ("expecting mutable pair") on 2.2.3+.
* src/guile/skribilo/engine.scm (engine-custom-set!): Do not mutate
CUSTOMS.
* src/guile/skribilo/resolve.scm (do-resolve! <pair>): Do not mutate AST.
(do-resolve! <node>): Do not mutate OPTIONS.
(do-resolve! <document>): Do not mutate the list of customs.
|
|
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 '_'.
|
|
Guile >= 2.1.4 expects an explicit syntax parameter declaration.
* src/guile/skribilo/lib.scm (&invocation-location) [guile-2]: Define as
a syntax parameter.
|
|
* src/guile/skribilo/reader.scm (reader:name, reader:version)
(reader:make): Remove 'getter-with-setter' definitions.
|
|
* src/guile/skribilo/package/base.scm (source): Add 'TRANSLATORS'
comment. Suggested by Anders Jonsson <anders.jonsson@norsjovallen.se>.
|
|
* src/guile/skribilo/config.in (skribilo-locale-directory): New
procedure.
* src/guile/skribilo/utils/syntax.scm (%skribilo-text-domain): Export.
* src/guile/skribilo.scm (skribilo): Add calls to 'bindtextdomain' and
'textdomain'.
* substitute.am (substitute): Add 'localedir'.
|
|
* src/guile/skribilo/package/lncs.scm (bib-entry-template): New
procedure.
(&bib-entry-body): Use it instead of
'make-bib-entry-template/default'.
(&bib-entry-author, &bib-entry-booktitle, &bib-entry-journal): New
writers.
|
|
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default):
Change quote to quasiquote for forms that contain an unquote.
|
|
* src/guile/skribilo/biblio/author.scm (abbreviate-author-first-names):
Add an example as a comment.
(abbreviate-author-first-names/family-first): New procedure.
(abbreviate-first-names): Add 'abbreviate-author-names' optional
parameter.
|
|
* 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>.
|
|
Reported by Benno Schulenberg <coordinator@translationproject.org>.
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default):
Gettextize "In".
|
|
This is a followup to 830523e.
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default):
Move "TRANSLATORS:" comment right before keyword line.
|
|
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* src/guile/skribilo.scm (skribilo-show-help): Clarify the summary
line.
|
|
* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default):
Add comment for translators.
|
|
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* src/guile/skribilo.scm (skribilo-show-help): Use ';' instead of '--'.
|
|
* src/guile/skribilo/engine/latex.scm (paragraph): Remove \noindent.
|
|
* src/guile/skribilo/ast.scm: Use (skribilo location) rather than
auto-loading it, to avoid run-time unbound variable errors.
|
|
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* src/guile/skribilo.scm (skribilo-show-help): Use standard text for
--help and --version.
|
|
* substitute.am (AM_V_SUBSTITUTE, AM_V_SUBSTITUTE_, AM_V_SUBSTITUTE_0):
New variables.
* doc/man/Makefile.am (.in): Use $(AM_V_SUBSTITUTE).
* doc/user/Makefile.am (lout/front-page.lout): Likewise.
* src/Makefile.am (.in): Likewise.
* src/guile/Makefile.am (.in.scm): Likewise.
* emacs/Makefile.am (.in): Likewise.
|
|
* src/guile/skribilo/package/base.scm (source): Use '_' to
internationalize error messages.
* po/POTFILES.in: Add it.
|
|
* src/guile/skribilo/condition.scm (%call-with-skribilo-error-catch)
[message-condition? c]: Pass a format string to 'format'.
|
|
* src/guile/skribilo/package/base.scm (include, author, handle,
toc, linebreak, flush, prog, tc, char, symbol, processor, mark,
ref, bibliography, the-bibliography, index, the-index, counter, item,
source, tc, !, index): Use 'invalid-argument-error' instead of
'skribe-error' or 'skribe-type-error'.
|
|
* src/guile/skribilo/condition.scm (&invalid-argument-error)[name]: New
field.
(invalid-argument-error): New procedure.
|
|
There's nothing illegal here.
* doc/modules/skribilo/documentation/api.scm,
src/guile/skribilo/ast.scm,
src/guile/skribilo/debug.scm,
src/guile/skribilo/engine/base.scm,
src/guile/skribilo/engine/context.scm,
src/guile/skribilo/engine/html.scm,
src/guile/skribilo/engine/html4.scm,
src/guile/skribilo/engine/latex.scm,
src/guile/skribilo/package/base.scm,
src/guile/skribilo/package/html-navtabs.scm,
src/guile/skribilo/package/jfp.scm,
src/guile/skribilo/package/lncs.scm,
src/guile/skribilo/package/slide/latex.scm,
src/guile/skribilo/utils/justify.scm,
src/guile/skribilo/utils/keywords.scm,
src/guile/skribilo/utils/text-table.scm: Change "illegal" to
"invalid".
|
|
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* src/guile/skribilo.scm (skribilo-show-help): Move \n to the end of the
line. Make messages all lower-case.
|
|
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/location.scm (ast-location): Fix off-by-one in
'substring' call.
|
|
* src/guile/skribilo/package/acmproc.scm (references): Always use
`chapter'. Leave the font size unchanged. Sort entries according to
`bib-sort/first-author-last-name'.
* NEWS: Update.
|
|
* src/guile/skribilo/package/base.scm (numref): Remove explicit call to
`resolve!'; insert an unbreakable space after TEXT.
* NEWS: Update.
|
|
* src/guile/skribilo/lib.scm (warning/loc): New procedure.
(skribe-warning/ast): Use it.
* src/guile/skribilo/package/base.scm (ref)[unref]: Use `warning/loc',
and use `&invocation-location' as the location. Remove the `ast'
parameter; adjust callers accordingly.
|