Questions tagged [docverter]

6 questions
4
votes
1 answer

Executing Curl with PHP

I'm trying to use Docverter to convert LaTeX/markdown files to PDF but am having trouble using PHP to do CURL to access Docverter via their API. I'm know I'm not a total idiot b/c i can get this to work adapting the shell script in this Docverter…
tim peterson
  • 23,653
  • 59
  • 177
  • 299
2
votes
1 answer

Docverter loses utf-8 encoding on markdown -> pdf

When I try to convert an utf-8 encoded markdown file to pdf using Docverter (through the API), I just lose non-ASCII characters. Any solution to that? I want to convert .md -> .pdf. Maybe Docverter can help to do .md -> .html, then I could use some…
lajarre
  • 4,910
  • 6
  • 42
  • 69
1
vote
1 answer

How to use Docverter in AngularJS/NodeJS to convert GENERATED html to pdf for downloading

API of docverter is mentioned in curl format as shown below curl \ http://c.docverter.com/convert \ -F from=html \ -F to=pdf \ -F input_files[]=@<(echo hello) API states that input_files[] value should be a multipart/form-data file upload…
Ritesh Jagga
  • 1,387
  • 1
  • 11
  • 23
1
vote
1 answer

Unable to connect the LibreOffice on port 2002?

I am using the docvert 5.1 for convert .doc to html.When i run the "Tests (run all)" during I am getting the error message under the following parts: " ✘Unable to run tests due to exception. Failed to connect to LibreOffice on port 2002. Connector…
Karthick
  • 55
  • 8
0
votes
1 answer

uploading text blob as file using $http or $resource with angular.js - mimicking curl style multipart/form upload

So I need to: upload a text blob as a file using $http or $resource with angular.js - mimicking curl style multipart/form upload. There is a previous post on this problem i'm going to try to be more explicit about the issue with hopes that someone…
unsalted
  • 355
  • 3
  • 14
0
votes
1 answer

How to use Docverter from Httpie?

I'm trying to render adocument using docverter from httpie. All the examples are for Curl. I tried http -f POST http://c.docverter.com/convert from=markdown to=html input_files@example.txt --output out.html But the website throws an…
Colonel Panic
  • 132,665
  • 89
  • 401
  • 465