Comments (14)
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.
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.
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.
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.
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.
Correction, if you can confirm, please close this.
from asciidoctor-pdf.
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.
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.
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.adocYou 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.
@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.
Btw, once we're sure all the issues are reported, only then should we close this issue.
from asciidoctor-pdf.
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.
@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.
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)
- Add select combining characters to bundled fonts HOT 1
- Decompose characters using NFD normalization when performing smallcaps transformation HOT 1
- Page numbers for index entries incorrect when toc macro is used in prepress book when page-numbering-start-at is after-toc
- toc start at value don't always behave as expected
- PDF theme default values not respected HOT 1
- Incorrect warning about missing character in fallback font when using inline image HOT 1
- Surrounding text in content key of running content is dropped if image macro is on its own line
- Embedding of "built-in" fonts HOT 2
- Deactivate header/footer in inserted blank pages in prepress mode HOT 2
- listing block font-size is a fixed value? HOT 1
- Customise a block according to its type HOT 1
- Ordered list starting from 0 HOT 2
- Source location not reported if description in horizontal dlist is truncated
- Upgrade prawn-svg to 0.34.x HOT 1
- Remove link from entry in TOC
- Support prawn-icon 3.1.x in v2.3.x branch HOT 1
- Lock ttfunk to 1.7.x in 2.3.x release line HOT 2
- Producer set to Author instead of producing software in document properties
- Document exceptions to the nobreak role and non-breaking characters HOT 6
- Add support for SVG to image referece in SVG encoded as a data URI (SVG data loader) HOT 1
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 asciidoctor-pdf.