Coder Social home page Coder Social logo

Comments (12)

mojavelinux avatar mojavelinux commented on June 2, 2024

If the decision to make a 0.8.0 release is waiting for Asciidoctor 1.5.0, I just want to provide information here that I'm planning on doing the 1.5.0 release in the second week of June.

As we had discussed, if the Gradle release is going to be based on Asciidoctor 1.5.0, I recommend naming that release 1.5.0 so that we can start utilizing and aligning on semantic versions.

from asciidoctor-gradle-plugin.

mojavelinux avatar mojavelinux commented on June 2, 2024

I'm not opposed to releasing the Gradle plugin sooner, either as 0.8.0 or 1.5.0-beta.1 based on an AsciidoctorJ preview release.

from asciidoctor-gradle-plugin.

msgilligan avatar msgilligan commented on June 2, 2024

+1

from asciidoctor-gradle-plugin.

aalmiray avatar aalmiray commented on June 2, 2024

for some reason I'm OK with releasing beta and snapshots for library projects but I'm uncomfortable doing so for plugin projects (I blame maven plugins for ruining my build experience).

+1 on the rename scheme; another reason for holding back the 0.8.0 release

from asciidoctor-gradle-plugin.

msgilligan avatar msgilligan commented on June 2, 2024

Grumble, grumble.

from asciidoctor-gradle-plugin.

tlberglund avatar tlberglund commented on June 2, 2024

I just came up with a pretty compelling need for PDF support. How does this look right now? 0.8.0, anyone? 😀

from asciidoctor-gradle-plugin.

aalmiray avatar aalmiray commented on June 2, 2024

Hi Tim, we're waiting for asciidoctor 1.5.0 to be release as it comes with built-in PDF support. @mojavelinux said that the release is imminent (no more than 2 weeks now). Once it happens you would be able to use it immediately with asciidoctor-gradle 0.7.3 as this release allows you to switch the asciidoctorj version. So what else do you need from this plugin's POV?

from asciidoctor-gradle-plugin.

tlberglund avatar tlberglund commented on June 2, 2024

@aalmiray Right now, just PDFs. Of course once I start doing that, I'll be looking for docs on how to style them. I'm assuming the plugin will let me configure the location of whatever stylesheets are applicable?

from asciidoctor-gradle-plugin.

mojavelinux avatar mojavelinux commented on June 2, 2024

Styling PDFs is a tough nut to crack because, well, they don't understand CSS. In an attempt to make the experience at least somewhat similar to using a CSS framework like Bootstrap, I've concocted a theme data structure that, right now, is loaded from a YAML file. You can see two examples in the following folders.

https://github.com/opendevise/asciidoctor-pdf/tree/master/data/themes

For developments on the PDF converter, I recommend following the Asciidoctor PDF repo. I'm in the process of refactoring it to use the new converter API in Asciidoctor 1.5.0 so we can get it released.

https://github.com/opendevise/asciidoctor-pdf (soon to be moved under the Asciidoctor organization).

When it's done, you'll be able to convert an AsciiDoc document by simply setting the backend to "pdf". In Ruby, that would look like:

$ asciidoctor -r asciidoctor-pdf -b pdf sample.adoc

or

$ asciidoctor-pdf sample.adoc

from asciidoctor-gradle-plugin.

tlberglund avatar tlberglund commented on June 2, 2024

@mojavelinux Yeah, I was expecting to have to edit some nasty style sheet. This YAML format looks nice. I've got more questions, but I'll either ask them over there or just wait for the release. 😀

from asciidoctor-gradle-plugin.

aalmiray avatar aalmiray commented on June 2, 2024

We're pushing 1.5.0 in a few hours.

from asciidoctor-gradle-plugin.

mojavelinux avatar mojavelinux commented on June 2, 2024

Note that Asciidoctor PDF won't be supported just yet, but the Gradle plugin is ready for it. We have a blocker in the Asciidoctor PDF project that prevents it from being loaded using the standard 'require' mechanism in Ruby. That's a requirement for all Ruby-based extensions and converters to run in the AsciidoctorJ environment.

See asciidoctor/asciidoctor-pdf#29 (weekend project)

from asciidoctor-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.