Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to generate slides #20

Open
nlamirault opened this issue Nov 5, 2015 · 6 comments
Open

Failed to generate slides #20

nlamirault opened this issue Nov 5, 2015 · 6 comments

Comments

@nlamirault
Copy link

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
Copy link
Author

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

@batmat
Copy link

batmat commented Nov 18, 2015

I think this is related to asciidoctor/asciidoctor#1191 (comment) 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.

@gscheibel
Copy link
Contributor

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 notifications@github.com wrote:

I think this is related to asciidoctor/asciidoctor#1191 (comment)
asciidoctor/asciidoctor#1191 (comment)
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
#20 (comment)
.

@batmat
Copy link

batmat commented Nov 19, 2015

Perfect thanks!
Le 19 nov. 2015 1:10 AM, "Guillaume Scheibel" notifications@github.com 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 notifications@github.com
wrote:

I think this is related to asciidoctor/asciidoctor#1191 (comment)
<
asciidoctor/asciidoctor#1191 (comment)

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
<
#20 (comment)

.


Reply to this email directly or view it on GitHub
#20 (comment)
.

@gscheibel
Copy link
Contributor

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

@dduportal
Copy link
Contributor

Hello @gscheibel , yes the issue is still there.

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

Wanna a PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants