docker-asciidoctor icon indicating copy to clipboard operation
docker-asciidoctor copied to clipboard

Failed to generate slides

Open nlamirault opened this issue 9 years ago • 6 comments

With this slide.adoc file :

= DZSlides Demo
Your Name
:backend: dzslides
:dzslides-style: stormy
:dzslides-transition: fade
:dzslides-fonts: family=Yanone+Kaffeesatz:400,700,200,300&family=Cedarville+Cursive
:dzslides-highlight: monokai

source-highlighter: highlightjs

[.topic.intro]
== Intro

== !

*Title*

== !

[.incremental]
* dzslides
* deckjs

[.topic.source]
== Source

[source,ruby]
--
puts 'Hello, World!'
--

[.topic.ending]
== Fin!

I try to generate HTML, i've got an error :

$ git clone https://github.com/mojavelinux/dzslides.git
$ git clone https://github.com/mojavelinux/asciidoc-dzslides-backend.git dzslides
$ docker run --rm=true -it -v `pwd`:/documents/ asciidoctor/docker-asciidoctor asciidoctor -T asciidoctor-backends/slim/dzslides/ slides.adoc
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
Format :html5 is deprecated, use :html
asciidoctor: FAILED: /documents/slides.adoc: Failed to parse source, /documents/asciidoctor-backends/slim/dzslides/README.adoc is not valid US-ASCII
  Use --trace for backtrace

nlamirault avatar Nov 05 '15 11:11 nlamirault

git diff
diff --git a/slim/dzslides/README.adoc b/slim/dzslides/README.adoc
index 8cf286c..52bccbe 100644
--- a/slim/dzslides/README.adoc
+++ b/slim/dzslides/README.adoc
@@ -1,5 +1,5 @@
 = DZSlides backend for Asciidoctor
-Dan Allen; Cédric Exbrayat
+Dan Allen; Cedric Exbrayat

it works fine with this patch

nlamirault avatar Nov 05 '15 12:11 nlamirault

I think this is related to https://github.com/asciidoctor/asciidoctor/issues/1191#issuecomment-157866155 and should just need to have the docker asciidoctor image to be rebuilt from scratch.

From the link above, asciidoctor 1.5.3 is deemed to fix that issue, but the docker image includes only 1.5.2.

batmat avatar Nov 18 '15 21:11 batmat

Hi,

I planned to update the container this weekend. There are several things to do to upgrade to 1.5.3.

Will keep you up to date.

Guillaume

On Wed, 18 Nov 2015 21:26 Baptiste Mathus [email protected] wrote:

I think this is related to asciidoctor/asciidoctor#1191 (comment) https://github.com/asciidoctor/asciidoctor/issues/1191#issuecomment-157866155 and should just need to have the docker asciidoctor image to be rebuilt from scratch.

From the link above, asciidoctor 1.5.3 is deemed to fix that issue, but the docker image includes only 1.5.2.

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/docker-asciidoctor/issues/20#issuecomment-157869568 .

gscheibel avatar Nov 19 '15 00:11 gscheibel

Perfect thanks! Le 19 nov. 2015 1:10 AM, "Guillaume Scheibel" [email protected] a écrit :

Hi,

I planned to update the container this weekend. There are several things to do to upgrade to 1.5.3.

Will keep you up to date.

Guillaume

On Wed, 18 Nov 2015 21:26 Baptiste Mathus [email protected] wrote:

I think this is related to asciidoctor/asciidoctor#1191 (comment) < https://github.com/asciidoctor/asciidoctor/issues/1191#issuecomment-157866155

and should just need to have the docker asciidoctor image to be rebuilt from scratch.

From the link above, asciidoctor 1.5.3 is deemed to fix that issue, but the docker image includes only 1.5.2.

— Reply to this email directly or view it on GitHub < https://github.com/asciidoctor/docker-asciidoctor/issues/20#issuecomment-157869568

.

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/docker-asciidoctor/issues/20#issuecomment-157905079 .

batmat avatar Nov 19 '15 04:11 batmat

The container has been upgraded with Asciidoctor 1.5.3, is this issue still ongoing?

gscheibel avatar Dec 27 '15 22:12 gscheibel

Hello @gscheibel , yes the issue is still there.

We should remove/patch the README.adoc of integrated dzslide.

Wanna a PR ?

dduportal avatar Feb 24 '16 18:02 dduportal