Login  Register

Font-Awesome problem?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Font-Awesome problem?

asotobu
Hi, I am not pretty sure if it is a problem or something that I am doing wrong:

Given Asciidoctor 0.1.4.preview.3
Next document:
= Document Title
Doc Writer <doc@asciidoc.org>
v1.0, 2013-01-01: Initial version

:icons: font

http://asciidoc.org[AsciiDoc] is a lightweight markup language.

This is the optional preamble (an untitled section body), useful for
writing simple sectionless documents consisting only of a preamble.

NOTE: The abstract, preface, appendix, bibliography, glossary and
index section titles are significant (_specialsections_).

== First section

Document sections start at *level 1* and can nest four levels deep.

* Item 1
* Item 2

NOTE: The abstract, preface, appendix, bibliography, glossary and
index section titles are significant (_specialsections_).

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


and calling asciidoctor with asciidoctor sample-asciidoc.adoc

it renderers correctly the html with paragraph but no icon is shown. I have watched the html code and no link to font-awesome css is found.

I have tried to set linkcss attribute but the problem is not resolved.

Am I missing something?
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Font-Awesome problem?

mojavelinux
Administrator

Alex,

Upon a quick glance, I think the problem is the blank line before the icons attribute entry. That's a header attribute, so it must be attached to the header.

(Btw, this was a bug I fixed in the 0.1.4 dev cycle. It was previously being lazy about where to look for this attribute and wasn't enforcing that it be a header attribute...a rule that is complaint with AsciiDoc.)

-Dan

On Aug 5, 2013 5:29 AM, "asotobu [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Hi, I am not pretty sure if it is a problem or something that I am doing wrong:

Given Asciidoctor 0.1.4.preview.3
Next document:
= Document Title
Doc Writer <[hidden email]>
v1.0, 2013-01-01: Initial version

:icons: font

http://asciidoc.org[AsciiDoc] is a lightweight markup language.

This is the optional preamble (an untitled section body), useful for
writing simple sectionless documents consisting only of a preamble.

NOTE: The abstract, preface, appendix, bibliography, glossary and
index section titles are significant (_specialsections_).

== First section

Document sections start at *level 1* and can nest four levels deep.

* Item 1
* Item 2

NOTE: The abstract, preface, appendix, bibliography, glossary and
index section titles are significant (_specialsections_).

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


and calling asciidoctor with asciidoctor sample-asciidoc.adoc

it renderers correctly the html with paragraph but no icon is shown. I have watched the html code and no link to font-awesome css is found.

I have tried to set linkcss attribute but the problem is not resolved.

Am I missing something?



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Font-Awesome problem?

asotobu
You were totally right, sorry for having wasted your time with this silliness.

I am preparing a conference for September about Asciidoctor at Barcelona JUG. If you want I will send you a preview of the slides.

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Font-Awesome problem?

LightGuardjp
Why not just put them up on the web page?


On Mon, Aug 5, 2013 at 3:13 PM, asotobu [via Asciidoctor :: Discussion] <[hidden email]> wrote:
You were totally right, sorry for having wasted your time with this silliness.

I am preparing a conference for September about Asciidoctor at Barcelona JUG. If you want I will send you a preview of the slides.




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428p432.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Font-Awesome problem?

asotobu
Yes of course, I was thinking more as a review, but of course final presentation will be uploaded to github.io. But of course maybe I will push the adoc file to github so everyone can review it.


2013/8/5 LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]>
Why not just put them up on the web page?


On Mon, Aug 5, 2013 at 3:13 PM, asotobu [via Asciidoctor :: Discussion] <[hidden email]> wrote:
You were totally right, sorry for having wasted your time with this silliness.

I am preparing a conference for September about Asciidoctor at Barcelona JUG. If you want I will send you a preview of the slides.




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428p432.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428p433.html
To unsubscribe from Font-Awesome problem?, click here.
NAML



--
+----------------------------------------------------------+
  Alex Soto Bueno - Computer Engineer
  www.lordofthejars.com
+----------------------------------------------------------+
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Font-Awesome problem?

LightGuardjp
Sure, send it along for review.


On Mon, Aug 5, 2013 at 4:05 PM, asotobu [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Yes of course, I was thinking more as a review, but of course final presentation will be uploaded to github.io. But of course maybe I will push the adoc file to github so everyone can review it.


2013/8/5 LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]>
Why not just put them up on the web page?


On Mon, Aug 5, 2013 at 3:13 PM, asotobu [via Asciidoctor :: Discussion] <[hidden email]> wrote:
You were totally right, sorry for having wasted your time with this silliness.

I am preparing a conference for September about Asciidoctor at Barcelona JUG. If you want I will send you a preview of the slides.




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428p432.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428p433.html
To unsubscribe from Font-Awesome problem?, click here.
NAML



--
+----------------------------------------------------------+
  Alex Soto Bueno - Computer Engineer
  www.lordofthejars.com
+----------------------------------------------------------+



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428p434.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--