On Tue, Nov 26, 2013 at 10:54 AM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Indeed, that would make good log output.
I suspect your rendering issue is, like Jason said, due to the fact that the Maven plugin is using 0.1.3.
AsciidoctorJ could also log the Asciidoctor gem version, or all the gem versions for that matter.
-Dan
On Nov 26, 2013 10:47 AM, "LightGuardjp [via Asciidoctor :: Discussion]" <[hidden email]> wrote:The idea of generating the command is a good idea. Please add an issue to AsciidoctorJ for that.—
Sent from Mailbox for iPhoneOn Tue, Nov 26, 2013 at 10:43 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I use asciidoctor 0.1.4 on my mac :asciidoctor --versionAsciidoctor 0.1.4 [http://asciidoctor.org]and this version for asciidoctor maven plugin : 0.1.3.1I have done a test using asciidoctor maven plugin 0.1.4-SNAPSHOT and get the same issueRemark : That should be great to generate the asciidoctor command used by maven plugin so we can, in case of trouble, copy/paste the command andcomparewith command life if there are differencesOn Tue, Nov 26, 2013 at 5:14 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:Are you using Asciidoctor ruby version 0.1.3 when doing the comparison? If not you could do that, or build and use the snapshot of HEAD to use asciidoctor 0.1.4.—
Sent from Mailbox for iPhoneOn Tue, Nov 26, 2013 at 8:30 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,
Is the rendering done by asciidoctor command and asciidoctor maven plugin done exactly in the same way ?
Why this question : because I didn't get the same result using this instruction :
asciidoctor -b html5 -T A/target/maven-shared-archive-resources/asciidoctor-backend/haml/html5 -a embedAssets -a stylesheet=target/content/LMSClass/A/css/my_theme.css A/docs/new_proj_pg1.txt --out-file target/content/LMSClass/A/new_proj_pg1.html
and what maven plugin do
[DEBUG] Goal: org.asciidoctor:asciidoctor-maven-plugin:0.1.3.1:process-asciidoc (output-html)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<attributes>
<max-width>1024px</max-width>
<icons/>
<stylesheet>/Users/chmoulli/Temp/openshift/modules/A/target/maven-shared-archive-resources/css/my_theme.css</stylesheet>
</attributes>
<backend default-value="docbook">html5</backend>
<embedAssets>true</embedAssets>
<eruby>${asciidoctor.eruby}</eruby>
<outputDirectory default-value="${project.build.directory}/generated-docs">/Users/chmoulli/Temp/openshift/modules/A/target/generated-docs/LMSClass/A</outputDirectory>
<sourceDirectory default-value="${basedir}/src/main/asciidoc">/Users/chmoulli/Temp/openshift/modules/A/docs</sourceDirectory>
<templateDir>/Users/chmoulli/Temp/openshift/modules/A/target/maven-shared-archive-resources/asciidoctor-backend/haml/html5</templateDir>
</configuration>
With asciidoctor executed with command line the rendering of the admonition icons (font-awesome) is done correctly
as I can see the icons and not with asciidoctor maven plugin / command line
Remark :
- HTML + CSS generated is the same,
- There in both cases a link to css
- I become crazy as HTML generated is the same :-(
</style>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.1/css/font-awesome.min.css">
<style>
Question : How can I very that font-awesone / icons works correctly ?If you reply to this email, your message will be added to the discussion below:http://discuss.asciidoctor.org/Asciidoctor-cmd-line-vs-maven-plugin-is-the-behavior-the-same-tp1103.htmlTo start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAMLIf you reply to this email, your message will be added to the discussion below:http://discuss.asciidoctor.org/Asciidoctor-cmd-line-vs-maven-plugin-is-the-behavior-the-same-tp1103p1104.htmlTo unsubscribe from Asciidoctor cmd line vs maven plugin (is the behavior the same), click here.
NAML--Charles MoulliardApache Committer / Architect @RedHatTwitter : @cmoulliard | Blog : http://cmoulliard.github.ioIf you reply to this email, your message will be added to the discussion below:http://discuss.asciidoctor.org/Asciidoctor-cmd-line-vs-maven-plugin-is-the-behavior-the-same-tp1103p1107.htmlTo start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAMLIf you reply to this email, your message will be added to the discussion below:http://discuss.asciidoctor.org/Asciidoctor-cmd-line-vs-maven-plugin-is-the-behavior-the-same-tp1103p1108.htmlTo start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAMLIf you reply to this email, your message will be added to the discussion below:http://discuss.asciidoctor.org/Asciidoctor-cmd-line-vs-maven-plugin-is-the-behavior-the-same-tp1103p1110.htmlTo start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Free forum by Nabble | Edit this page |