On 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.
NAML
Free forum by Nabble | Edit this page |