Comments (9)
That seemed to work. Thanks!
Apr 30, 2023 3:56:41 PM uri:classloader:/gems/asciidoctor-pdf-2.3.7/lib/asciidoctor/pdf/theme_loader.rb load
WARNING: the literal theme category is deprecated; use the codespan category instead
Apr 30, 2023 3:56:41 PM uri:classloader:/gems/asciidoctor-pdf-2.3.7/lib/asciidoctor/pdf/theme_loader.rb load
WARNING: the blockquote theme category is deprecated; use the quote category instead
Apr 30, 2023 3:56:41 PM uri:classloader:/gems/asciidoctor-pdf-2.3.7/lib/asciidoctor/pdf/theme_loader.rb load
WARNING: the outline-list theme category is deprecated; use the list category instead
from jhipster-book.
Awesome 👍
from jhipster-book.
@ggrossetie Maybe this is caused by emojis? I see the following warnings when I run ./gradlew prepress
:
> Task :prepress
2023-04-26T10:36:52.915-06:00 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
Apr 26, 2023 10:36:58 AM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb convert_listing_or_literal
WARNING: Could not locate the character `█' in the following fonts: M+ 1mn, M+ 1p Fallback, Emoji
Apr 26, 2023 10:36:58 AM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb convert_listing_or_literal
WARNING: Could not locate the character `✔' in the following fonts: M+ 1mn, M+ 1p Fallback, Emoji
Apr 26, 2023 10:37:04 AM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb convert_section
WARNING: Could not locate the character `✖' in the following fonts: M+ 1mn, M+ 1p Fallback, Emoji
Apr 26, 2023 10:37:04 AM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb convert_section
WARNING: Could not locate the character `▸' in the following fonts: M+ 1mn, M+ 1p Fallback, Emoji
Apr 26, 2023 10:37:05 AM uri:classloader:/gems/asciidoctor-2.0.18/lib/asciidoctor/abstract_block.rb content
WARNING: Could not locate the character `⬢' in the following fonts: M+ 1mn, M+ 1p Fallback, Emoji
Apr 26, 2023 10:37:12 AM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb convert_image
WARNING: problem encountered in image: /Users/mraible/dev/jhipster-book/src/docs/asciidoc/modules/ROOT/images/chapter-3/diagram-boot-reactor.svg; Unknown tag 'pattern'; ignoring
Apr 26, 2023 10:37:13 AM uri:classloader:/gems/asciidoctor-2.0.18/lib/asciidoctor/document.rb content
WARNING: Could not locate the character `❯' in the following fonts: M+ 1mn, M+ 1p Fallback, Emoji
Apr 26, 2023 10:37:14 AM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb convert_image
WARNING: problem encountered in image: /Users/mraible/dev/jhipster-book/src/docs/asciidoc/modules/ROOT/images/chapter-4/diagram-boot-reactor.svg; Unknown tag 'pattern'; ignoring
Apr 26, 2023 10:37:17 AM uri:classloader:/gems/asciidoctor-2.0.18/lib/asciidoctor/document.rb content
WARNING: Could not locate the character `✨' in the following fonts: Noto Serif, M+ 1p Fallback, Emoji
Apr 26, 2023 10:37:17 AM uri:classloader:/gems/asciidoctor-2.0.18/lib/asciidoctor/document.rb content
WARNING: Could not locate the character `🤗' in the following fonts: Noto Serif, M+ 1p Fallback, Emoji
from jhipster-book.
asciidoctor-pdf-1.5.3
FYI, Asciidoctor PDF 1.5 is no longer supported. The current release is 2.3.7.
from jhipster-book.
@mojavelinux I need to find out where this version is specified. I don't see it in build.gradle
. Any idea how to upgrade?
from jhipster-book.
You can update the version in the asciidoctorj
block.
To override set
asciidoctorj.pdfVersion
orasciidoctorPdf.asciidoctorj.pdfVersion
.
from jhipster-book.
You might want to add Noto Emoji to support (black and white) emoji:
https://fonts.google.com/noto#emoji-zsye
from jhipster-book.
@ggrossetie I tried upgrading with this:
asciidoctorj {
version = '2.5.7'
pdfVersion = '2.3.7'
requires file('src/main/ruby/asciidoctor-pdf-extensions.rb')
}
It fails with:
Could not set unknown property 'pdfVersion' for extension 'asciidoctorj' of type org.asciidoctor.gradle.jvm.AsciidoctorJExtension_Decorated.
I also tried the following:
asciidoctorj {
version = '2.5.7'
asciidoctorj.pdfVersion = '2.3.7'
requires file('src/main/ruby/asciidoctor-pdf-extensions.rb')
}
asciidoctorj {
version = '2.5.7'
asciidoctorPdf.asciidoctorj.pdfVersion = '2.3.7'
requires file('src/main/ruby/asciidoctor-pdf-extensions.rb')
}
The last one results in:
Could not set unknown property 'pdfVersion' for extension 'asciidoctorj' of type org.asciidoctor.gradle.jvm.AsciidoctorJExtension_Decorated
from jhipster-book.
Oh we are using version 3. Could you please try:
asciidoctorj {
modules {
pdf {
version '1.2.3'
}
}
from jhipster-book.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jhipster-book.