Giter Club home page Giter Club logo

Comments (14)

mojavelinux avatar mojavelinux commented on May 24, 2024 1

Asciidoctor PDF 1.5.0.alpha.1 is now released. Would you be willing to give it a try?

Here are the steps:

$ gem install asciidoctor-pdf --pre
$ asciidoctor-pdf sample.adoc

You can also load it using the asciidoctor command directly:

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

In fact, all the asciidoctor-pdf command does is eliminate the need to set the -b and -r arguments.

from asciidoctor-pdf.

paulvickers avatar paulvickers commented on May 24, 2024

I'm having a related problem. I followed the instructions in the readme (cloned the repo and bundle install) but the command ruby bin/asciidoctor-pdf only works if I'm in the folder where I cloned the git repo. Is there something I need to copy somewhere else ? I'm running Mac OS X. asciidoctor is located in /.rvm/gems/ruby-2.1.2/bin/asciidoctor and so is asciidoctor-pdf. But when I try and run it it tells me:

/Users/xxx/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': 
Could not find 'asciidoctor-pdf' (>= 0) among 50 total gem(s) (Gem::LoadError)
    from ~/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec'
    from /Users/xxx/.rvm/rubies/ruby2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem'
    from /Users/xxx/.rvm/gems/ruby-2.1.2/bin/asciidoctor-pdf:22:in `<main>'
    from /Users/xxx/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
    from /Users/xxx/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'

What else should I be doing?

from asciidoctor-pdf.

mojavelinux avatar mojavelinux commented on May 24, 2024

There's a good chance the instructions for setup are out of date. I'll run through them and validate the instructions. Thanks for pointing this out!

from asciidoctor-pdf.

mojavelinux avatar mojavelinux commented on May 24, 2024

See if the new instructions in the README are sufficient. I was making a bad recommendation about the use of Bundler, and thus was seeing the same problem. I can now verify it works for me.

from asciidoctor-pdf.

mojavelinux avatar mojavelinux commented on May 24, 2024

If you can confirm, I'll close this.

Keep in mind, I don't claim Asciidoctor PDF works without errors. But now, at least, you should at least be able to get it running ;)

from asciidoctor-pdf.

mojavelinux avatar mojavelinux commented on May 24, 2024

Correction, if you can confirm, please close this.

from asciidoctor-pdf.

jxxcarlson avatar jxxcarlson commented on May 24, 2024

Will check this evening.

Sent from my iPhone

On Aug 18, 2014, at 1:50 AM, Dan Allen [email protected] wrote:

If you can confirm, I'll close this.

Keep in mind, I don't claim Asciidoctor PDF works without errors. But now, at least, you should at least be able to get it running ;)


Reply to this email directly or view it on GitHub.

from asciidoctor-pdf.

jxxcarlson avatar jxxcarlson commented on May 24, 2024

I sure wil!!

On Sep 4, 2014, at 4:37 AM, Dan Allen [email protected] wrote:

Asciidoctor PDF 1.5.0.alpha.1 is now released. Would you be willing to give it a try?

Here are the steps:

$ gem install asciidoctor-pdf --pre
$ asciidoctor-pdf sample.adoc
You can also load it using the asciidoctor command directly:

$ asciidoctor -b pdf -r asciidoctor-pdf sample.adoc
In fact, all the asciidoctor-pdf command does is eliminate the need to set the -b and -r arguments.


Reply to this email directly or view it on GitHub #14 (comment).

from asciidoctor-pdf.

jxxcarlson avatar jxxcarlson commented on May 24, 2024

A few observations

-- it works!
-- output looks great and page breaks are pretty good
---- however, is it possible to add hints on page-breaking?
------ eg., as in LaTeX, \goodbreak says that this would be
a good place to break the page (it is just a hint, not a command, which
also exists: \vfill\eject or some such.)

-- could there be an option to change font-size and margins?
---- font size for [verse] is too large -- it should be the same as the body text.
---- also, re verse, I think it wold be best not to have the gray vertical
bar to the left of the poem. It's distracting if you have many poems,
eg a book of them. I don't see the bar the html rendition of the ad source.

-- code looks great but at least in my tests is not syntax-colored. I will look
into this this evening.

-- toc works (is clickable!), but on one long doc with a very long toc, the toc overran
the main text

-- Internal links written as <> render but are not clickable.

-- math does not render ... it passes through as, e.g.,

\(f = xy^2 + xy + y^3 + 1\) and let \[ g_1 = y^2 + 1, \\ g_2 = xy + 1 \]

-- image includes work, video doesn't, haven't tested audio

-- includes function properly.

-- eventually need to have asciidoctor-pdf installed in /usr/bin or /usr/local/bin
or some such. On my machine, I have /usr/bin/asciidoctor (v 1.5).

This is a huge step forward! Kudos!!

On Sep 4, 2014, at 4:37 AM, Dan Allen [email protected] wrote:

Asciidoctor PDF 1.5.0.alpha.1 is now released. Would you be willing to give it a try?

Here are the steps:

$ gem install asciidoctor-pdf --pre
$ asciidoctor-pdf sample.adoc

You can also load it using the asciidoctor command directly:

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

In fact, all the asciidoctor-pdf command does is eliminate the need to set the -b and -r arguments.


Reply to this email directly or view it on GitHub.

from asciidoctor-pdf.

mojavelinux avatar mojavelinux commented on May 24, 2024

@jxxcarlson This is great feedback! Eventually we'll need to break these out into issue so we can address each one in turn.

The following are already filed as issues or possible:

  • toc overrun (see #35)
  • math (see #45, reported by you :))
  • quote and verse styling (#40)
  • font size and colors can be changed using a custom theme

For the rest, if you would be willing to file issues, I would be most grateful.

Together, we're going to make this thing awesome!

from asciidoctor-pdf.

mojavelinux avatar mojavelinux commented on May 24, 2024

Btw, once we're sure all the issues are reported, only then should we close this issue.

from asciidoctor-pdf.

jxxcarlson avatar jxxcarlson commented on May 24, 2024

Will do. Am on plane Idaho now.

Sent from my iPhone

On Sep 11, 2014, at 7:01 PM, Dan Allen [email protected] wrote:

@jxxcarlson This is great feedback! Eventually we'll need to break these out into issue so we can address each one in turn.

The following are already filed as issues or possible:

toc overrun (see #35)
math (see #45, reported by you :))
quote and verse styling (on my local list)
font size and colors can be changed using a custom theme
For the rest, if you would be willing to file issues, I would be most grateful.

Together, we're going to make this thing awesome!


Reply to this email directly or view it on GitHub.

from asciidoctor-pdf.

graphitefriction avatar graphitefriction commented on May 24, 2024

@jxxcarlson @mojavelinux As we're prepping for Alpha 9 I was doing a little issue gardening - have all the issues/observations reported above been parsed out into their own issues yet? And if so, you know what you can do with this one 😀

from asciidoctor-pdf.

mojavelinux avatar mojavelinux commented on May 24, 2024

I'm pretty sure we've captured all the feedback. If something slipped through, just file a new issue and we'll take care of it!

from asciidoctor-pdf.

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.