Age | Commit message (Collapse) | Author |
|
* src/guile/skribilo/engine/html.scm (html-title-authors): Use output
to convert authors to strings.
|
|
* src/guile/skribilo/engine/html.scm (author): Output address only
when it is a list.
|
|
* src/guile/skribilo/engine/html.scm (author): Implement without HTML
tables, using CSS only.
|
|
* src/guile/skribilo/engine/html.scm (&html-generic-title,
html-title-authors): Implement without HTML tables, using CSS only.
|
|
The <font> tag is deprecated in HTML5.
* src/guile/skribilo/engine/html.scm (font): Implement using CSS only.
|
|
The <center> tag is deprecated in HTML5.
* src/guile/skribilo/engine/html.scm (chapter): Implement using CSS
only.
|
|
* src/guile/skribilo/engine/html.scm (html-section-title): Implement
without HTML tables, using CSS only.
|
|
* src/guile/skribilo/engine/html.scm (flush): Implement without HTML
tables, using CSS only.
|
|
The <center> tag is deprecated in HTML5.
* src/guile/skribilo/engine/html.scm (center): Implement using CSS
only.
|
|
* src/guile/skribilo/engine/html.scm (color): Implement without HTML
tables, using only CSS.
|
|
* src/guile/skribilo/engine/html.scm (frame): Implement without
HTML tables, using only CSS.
|
|
* src/guile/skribilo/engine/html.scm (style-declaration): New
function.
|
|
The inline-css engine custom is either a string or a list. If it is a
string, we coerce it into a singleton list. So, there is no need to
check again that it is a pair.
* src/guile/skribilo/engine/html.scm (&html-header-style): Remove
redundant pair? check on inline CSS.
|
|
* src/guile/skribilo/engine/html.scm: Import (rnrs exceptions).
(&html-header-style): Use call-with-input-file, instead of
open-input-file and close-input-port, to read inline CSS files.
|
|
* src/guile/skribilo/engine/html.scm: Import (rnrs io ports).
(&html-header-style): Use get-string-all instead of explicit loop to
read inline CSS files.
|
|
* src/guile/skribilo/engine/html.scm (&html-header-style): Add CSS to
set markers for list items in the table of contents.
(toc): Render table of contents as nested ordered lists, not as a
table.
|
|
* src/guile/skribilo/engine/html.scm: Replace single letter variable
names n and e with node and engine respectively.
|
|
* src/guile/skribilo/engine/html.scm: Import (srfi srfi-26).
(html-open, html-close): New functions.
(html-markup-class, &html-head, &html-body, &html-page,
&html-header-favicon, &html-header-css, &html-header-javascript,
&html-generic-title, &html-footnotes, html-title-authors, author, toc,
chapter, html-section-title, paragraph, footnote, linebreak, hrule,
color, frame, font, flush, itemize, enumerate, description, item,
blockquote, figure, &html-figure-legend, table, tr, tc, image, mailto,
mark, ref, url-ref, &prog-line, &bib-entry-label, &the-index-header):
Use html-open and html-close.
|
|
* src/guile/skribilo/engine/html.scm (&html-footnotes): Use for-each
instead of explicit loop.
|
|
* src/guile/skribilo/engine/html.scm (toc): Use match instead of car
and cdr.
|
|
* src/guile/skribilo/engine/html.scm (&html-footnotes): Do not add br
tags before.
|
|
* src/guile/skribilo/engine/html.scm (section): Do not br tag after.
|
|
* src/guile/skribilo/engine/html.scm (chapter): Do not br tag after.
|
|
* src/guile/skribilo/engine/html.scm (html-engine)[custom]: Use <h2>
and </h2> for section-title-start and section-title-stop respectively.
|
|
* src/guile/skribilo/engine/html.scm (html-engine): Set UTF-8 as the
default charset.
|
|
This copyright header was added in
76136f9e904e8eb17f494d20fa2969ef2d5eb1aa, but the year was wrongly
specified as 2021 instead of 2022.
* src/guile/skribilo/engine/html.scm: Fix year in copyright header for
Arun Isaac.
|
|
Prior to this commit, the custom head was included inside
<style>. That is a bug.
* src/guile/skribilo/engine/html.scm (&html-head): Include custom
head.
(&html-header-style): Do not include custom head.
|
|
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.
|
|
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
|
|
* src/guile/skribilo/engine/html.scm (&html-generic-title): Do not emit
<big> and <strong>.
|
|
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>.
* 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/html.scm (&html-footnotes): Enclose each
footnote in <div class="footnote"> instead of <br>, as suggested by
Klaus Schilling <schilling.klaus@web.de>.
|
|
* src/guile/skribilo/engine/html.scm (&html-footnotes): Don't emit
nested <a> tags. Reported by Klaus Schilling <schilling.klaus@web.de>.
|
|
* src/guile/skribilo/engine/html.scm (section-in-separate-file?,
section-in-current-file?): Remove.
(sections-in-same-file?): New procedure.
(&html-generic-document)[ftnote]: Use it.
|
|
* src/guile/skribilo/engine/html.scm (&html-footnotes): Emit </div> at
the end, not <div>. Reported by Klaus Schilling <schilling.klaus@web.de>.
|
|
* src/guile/skribilo/engine/html.scm (&html-generic-document): When
matching a container list, don't add N to CONTAINERS since it's
already there. Reported by Klaus Schilling <schilling.klaus@web.de>.
|
|
* src/guile/skribilo/engine/html.scm (&html-generic-document): Remove
redundant pattern in `match'. Reported by Klaus Schilling
<schilling.klaus@web.de>.
|
|
* src/guile/skribilo/engine/html.scm (&html-generic-document)[ftnote](body):
Rewrite using `match'. Deal with the case where `container-env-get'
returns #f. Append FOOTNOTES to the result of `container-env-get'
when it's not. The latter fixes a problem whereby footnotes would not
appear on single-page documents.
Reported and analyzed by Klaus Schilling <schilling.klaus@web.de>.
|
|
* src/guile/skribilo/engine/html.scm (&html-generic-document)[guile-2]:
Set the output port's conversion strategy to 'error.
|
|
* src/guile/skribilo/engine/html.scm (document)[guile-2]: Move
`set-port-encoding!' code to...
(&html-generic-document): ... here, in `set-output-encoding' nested
procedure. Call `set-output-encoding' in both the `document?' case
and other cases.
|
|
|
|
* 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/html.scm (chapter, html-section-title
itemize, enumerate, figure): Remove extra significant space after
`</a>'.
|
|
* src/guile/skribilo/engine/html.scm (document)[guile-2]: Set the output
port's encoding to that of E's `charset' custom.
|
|
Add `coding:' comments for use by both Emacs and Guile 2.x.
|
|
* src/guile/skribilo/engine/html.scm (unspecified?): New procedure.
This fixes the choice of a default title-number separator for chapters
in `&html-generic-subdocument', as reported by James Haggerty
<james.haggerty@gmail.com>.
|
|
* 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/html.scm (section-in-separate-file?,
section-in-current-file?): New.
(&html-generic-document)[ftnotes]: Collect the footnotes not only of N
but also those of all its sub-containers that are to be output in the
same file. This fixes a bug where chapters that are not output in the
same file don't get their footnotes printed. Reported by Klaus
Schilling <schilling.klaus@web.de>.
* NEWS: Update.
|