Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
HEllo
I try to generate a pdf file from asciidoc file but in the asciidoc file I have tag element which is considered as a heading element... How desactivate hash heading? Thanks Stéphane |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
Would you be able to provide an example of the AsciiDoc source. That way, I'm able to make a test for it. Thanks! -Dan On Thu, Sep 4, 2014 at 9:14 AM, fleurystephane [via Asciidoctor :: Discussion] <[hidden email]> wrote: HEllo Dan Allen | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Thnaks Dan... That is an exemple of my source :
= Title Some text here == Introduction # tag::PQMP-RG1[] Some text comes here. # end::PQMP-RG1[] # tag::PQMP-RG2[] Some text comes here. # end::PQMP-RG2[] == Chapter1 And So on ...And my command line : asciidoctor -b docbook -d book -a toc -a numbered myfile.adoc |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
Aha! The fix is simple. You just need to use an AsciiDoc line comment for the tag line. [source,asciidoc] ---- some text == Introduction // tag::PQMP-RG1[] text comes here // end::PQMP-RG1[] ---- It doesn't matter what comes before the tag::[] and end::[] directives. You always want to prefix with the line syntax for the language in which you are using it. In this case, the language is AsciiDoc, so you use the double forward slash. Cheers, -Dan On Fri, Sep 5, 2014 at 12:49 AM, fleurystephane [via Asciidoctor :: Discussion] <[hidden email]> wrote: Thnaks Dan... That is an exemple of my source : ... [show rest of quote] Dan Allen | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
So simple...! I just took an example in Asciidoctor User manual but I didn't see that the defined tag was in a .rb file ...
Sorry!
Thanks again for *all your work*!
I introduced +Asciidostor+ and +Awestruct+ on my projects at work (Bank) and we are fan! It works great...
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
On Fri, Sep 5, 2014 at 1:15 AM, fleurystephane [via Asciidoctor :: Discussion] <[hidden email]> wrote: I introduced +Asciidostor+ and +Awestruct+ on my projects at work (Bank) and we are fan! It works great... Great to hear it! Trust that we're going to keep improving. There are no shortage of ideas, but of course, if there are more ideas, add them to the stack. The more we hear from people using it, good or bad, the better this is going to get for all of us. Thanks for being a part of it! |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
In reply to this post by fleurystephane
On Fri, Sep 5, 2014 at 1:15 AM, fleurystephane [via Asciidoctor :: Discussion] <[hidden email]> wrote: I just took an example in Asciidoctor User manual but I didn't see that the defined tag was in a .rb file I clarified this in the docs. Thanks for pointing out the vagueness. |
Free forum by Nabble | Edit this page |