diff --git a/asciidoc-8.6.10.tar.gz b/asciidoc-8.6.10.tar.gz new file mode 100644 index 0000000..fd736be --- /dev/null +++ b/asciidoc-8.6.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e52f8578d891beaef25730a92a6e723596ddbd07bfe0d2a56486fcf63a0b983 +size 577208 diff --git a/asciidoc-8.6.9.tar.gz b/asciidoc-8.6.9.tar.gz deleted file mode 100644 index 6f9778d..0000000 --- a/asciidoc-8.6.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0 -size 907253 diff --git a/asciidoc-change-Last-Updated-field.patch b/asciidoc-change-Last-Updated-field.patch deleted file mode 100644 index 71d334a..0000000 --- a/asciidoc-change-Last-Updated-field.patch +++ /dev/null @@ -1,260 +0,0 @@ -From 9a2f59e74dde8b0df1acdfc2dde40a0a868a16a8 Mon Sep 17 00:00:00 2001 -From: Joseph HERLANT -Date: Fri, 14 Feb 2014 15:56:45 +0100 -Subject: Adding the ability to change "Last Updated" field - -This commit adds the ability to change the behavior of the "Last Updated" -field at the bottom of the html documents generated by asciidoc. -This will be done by using the "footer-style" new attribute. -This commit adds the ability to change it to the revision date or to skip it. - -This commit also adds the documentation of this new feature to the user guide. - - ---- - doc/asciidoc.txt | 16 ++++++++++++++++ - html4.conf | 13 +++++++++++++ - html5.conf | 13 +++++++++++++ - lang-cs.conf | 3 ++- - lang-de.conf | 3 ++- - lang-el.conf | 3 ++- - lang-en.conf | 3 ++- - lang-es.conf | 3 ++- - lang-fr.conf | 3 ++- - lang-hu.conf | 3 ++- - lang-nl.conf | 3 ++- - lang-uk.conf | 3 ++- - xhtml11.conf | 13 +++++++++++++ - 13 files changed, 73 insertions(+), 9 deletions(-) - ---- a/doc/asciidoc.txt -+++ b/doc/asciidoc.txt -@@ -5948,6 +5948,22 @@ A short summary of changes in this docum - prior to the first document section. The document also needs to be - dated to output this attribute. - -+|footer-style |html4, html5, xhtml11 | -+Changes the "Last updated" field in the footer of the document or removes this -+field and the revision number (in the footer only). + -+Can take 3 values: -+ -+- none : Don't display the "Last updated" and "Revision number" fields in the -+ footer of the document -+- revdate : The "Last updated" field's date in the footer will be the revision -+ date specified in the document (`revdate` attribute) -+- default (or any other value) : The "Last updated" field's date in the footer -+ will be the date of the input file modification -+ -+This attribute can be set, for example, using `:footer-style: revdate` in the -+header of the file or using the `--attribute footer-style=revdate` command-line -+option. -+ - |scriptsdir |html5, xhtml11 | - The name of the directory containing linked JavaScripts. - See <>. ---- a/html4.conf -+++ b/html4.conf -@@ -444,11 +444,14 @@ cellspacing="0" cellpadding="4"> - | - - [footer] -+# Removing footer date and version if footer-style set to none -+ifeval::["{footer-style=default}"!="none"] -

-

-

- template::[footer-text] -

-+endif::[] - - - -@@ -467,6 +470,16 @@ template::[footer-text] - template::[docinfo] - - -+[footer-date] -+# Default footer date is document modification time -+ifeval::["{footer-style=default}"!="revdate"] -+ {docdate} {doctime} -+endif::[] -+# If set to "revdate", it'll be set to the revision date -+ifeval::["{footer-style=default}"=="revdate"] -+ {revdate} -+endif::[] -+ - #-------------------------------- - # article and book document types - #-------------------------------- ---- a/html5.conf -+++ b/html5.conf -@@ -662,9 +662,12 @@ endif::doctype-manpage[] - - {disable-javascript%

} -