-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options without values, like "smart" or "table_of_contents," fail #17
Comments
I'm also experiencing this problem in Ruby: Docverter::Conversion.run do |c|
c.from = "markdown"
c.to = "#{params[:download_type]}"
c.content = params[:included_chapters].split(',').map {|id| Chapter.find(id.to_i).content}.join("\n\n")
c.table_of_contents
end I've also tried the variations mentioned by the first poster. No luck. |
Also hit this bug, and it is a real problem for me because most of my markdown documents are utf-8, and they cannot be converted to |
This is fixed in v1.0.3 which is running on c.docverter.com. Using the Docverter API you'd do this: Docverter::Conversion.run do |c|
c.from = "markdown"
c.to = "#{params[:download_type]}"
c.content = params[:included_chapters].split(',').map {|id| Chapter.find(id.to_i).content}.join("\n\n")
c.table_of_contents = true
end Using curl you'd say Please comment here if you have any more problems getting it to work. I'll close the issue in a few days if everything's cool. |
Thank you very much! I can confirm that |
Thanks for fixing this! I tested the "smart" option with my Pythonista script and it worked great! |
I have been unable to get Docverter to accept requests that include options such as
smart
andtable_of_contents
that have no values other than "true" or "false."For example, this command
returns the errors contained in this gist.
I have tried the same command with different
to=
values and different input files, as well as true/false options other thansmart=
, and it looks like I get the same result.I'm testing this on Mac OSX Lion.
The text was updated successfully, but these errors were encountered: