create PDF / HTML from current file results in "unable to render AsciiDoc document"
See original GitHub issueHi,
first of all: thanks for the awesome plugin, helps me every day!
The PDF as well as the HTML button top of the editor view of asciidoc files don’t work on my machine. Then I try to use these functionalities i get the following error in the idea log:
2020-03-25 11:18:32,433 [4325840] WARN - org.asciidoc.intellij.AsciiDoc - unable to render AsciiDoc document
org.jruby.exceptions.NameError: (NameError) uninitialized constant Extensions
at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:3749)
at RUBY.<main>(<script>:158)
I remember it worked once and produced proper PDF files. Also the preview produces proper results.
I tried it with several asciidoc files. Everytime same result, even with minimal examples.
Here my system:
- AsciiDoc plugin in version 0.30.41.1
- Idea version:
IntelliJ IDEA 2019.3.4 (Community Edition)
Build #IC-193.6911.18, built on March 17, 2020
Runtime version: 11.0.6+8-b520.43 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry:
Non-Bundled Plugins: Batch Scripts Support, CMD Support, Docker, GrepConsole, Key Promoter X, Lombook Plugin, PlantUML integration, YAML/Ansible support, amailp.intellij.robot, com.jetbrains.plugins.ini4idea, com.jivesoftware.robot.intellij.plugin, com.millennialmedia.intellibot, com.oliverlockwood.plugins.jenkinsfile, ideanginx9, mobi.hsz.idea.gitignore, org.asciidoctor.intellij.asciidoc, org.intellij.plugins.hcl, org.intellij.scala, org.mayevskiy.intellij.sonar, org.sonarlint.idea, org.sylfra.idea.plugins.linessorter
#325
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to fix created PDF with Asciidoctor-pdf doesn't show ...
1 Answer 1 ... Last issue first: HTML entities should have no spaces within them; if you need to use one to show...
Read more >Creating a PDF from an AsciiDoc file
The user can choose Create PDF from current file from the editor's action toolbar to convert the file shown in the current AsciiDoc...
Read more >AsciiDoc Writer's Guide
This guide provides a gentle introduction to AsciiDoc, a plain text documentation syntax and processor. This introduction is intended for anyone who wants ......
Read more >AsciiDoc User Guide
AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page. AsciiDoc is highly configurable: both the AsciiDoc source ...
Read more >Generate multi-HTML page documentation for website and ...
asciidoc #section>> syntax, where .asciidoc is replaced by .html . However, that won't work for PDF, can't also generate single HTML page output...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @hilbert-ralf - thanks for providing all these details. Unfortunately I wasn’t able to reproduce it locally yet. I’ve installed IntelliJ IDEA 2019.3.4 + AsciiDoc plugin 0.30.41.1 on Windows 10 and a minimal conversion to PDF worked with a freshly created project.
Still, something seems to be different. To analyze:
I look forward to your analysis results!
Hi @hibahasan998 - this issue is old, closed and therefore most likely unrelated. Please open a bug issue and provide information about the IDE and plugin versions you’re using.