Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
316 views

I’m using pypandoc to convert an RTF file to a PDF, but I’m running into an issue where the page structure and formatting are altered during the conversion. It looks like the output PDF is being ...
youta's user avatar
  • 323
1 vote
0 answers
50 views

I am trying to create a Word document that is a mixture of inserting converted markdown strings and images. The file generates, however the markdown elements are included at the very end of the ...
captnolimar's user avatar
1 vote
1 answer
696 views

I am trying to convert a table in markdown format to rst format. I used pandoc and m2r, but the output is the same import pypandoc output = pypandoc.convert_file('README.md', 'rst', format='md', ...
roman's user avatar
  • 27
2 votes
1 answer
136 views

I'm trying to write python code that can convert an rmd file to html. Rmd was not listed as one of the built in formats for pypandoc, so I tried to use regular markdown for the format parameter. ...
pillow's user avatar
  • 43
0 votes
1 answer
265 views

I'm converting plenty of documents from Word, LibreOffice and HTML into TeX source. I've encountered this issue that Pandoc is unable to recognize the text being ragged right and thus the text stays ...
Just Bucket's user avatar
7 votes
3 answers
8k views

I am trying to switch a python project over to poetry & pyproject.toml. Previously, we were using requirements.txt. When I try to install pyspark 2.4.8 with poetry, however, I hit this error: File ...
goosewill's user avatar
1 vote
1 answer
3k views

I have a problem with converting my markdown file to docx file using pypandoc. When I try to convert the file using command: pypandoc.convert_file('container.md', to='docx', outputfile='result.docx'), ...
Nikola Milic's user avatar
0 votes
0 answers
217 views

I want to convert .docx file to .txt and If .docx has tables I want to maintain them in good way in .txt file , so I am using pypandoc for this purpose . In my local this is working like charm. When I ...
Rahul Ranjan's user avatar
7 votes
0 answers
1k views

I want to get docx file from azure blob storage, convert it into pdf and save it again into azure blob storage. I want to use pypandoc to convert docx to pdf. pypandoc.convert_file('abc.docx', format='...
ravina dable's user avatar
1 vote
0 answers
901 views

Here is the example markdown code that I'm getting from pandoc: ### Header Paragraph - Item - Item <table> //COMPLEX TABLE WITH NESTED CELLS GOES HERE AS RAW HTML// </table> Paragraph ...
Ildar Akhmetov's user avatar
3 votes
1 answer
978 views

I am using the package pypandoc for converting DOC/DOCX files into HTML. This has a prerequisite of Pandoc being already installed. When both packages are installed using the requirements.txt file, it ...
apalanisamy's user avatar
3 votes
2 answers
15k views

So I a quite new to Python so it may be a silly question but i can't seem to find the solution anywhere. I have a django site I am running it locally on my machine just for development. on the site I ...
Kitchen's user avatar
  • 83
0 votes
1 answer
1k views

I am trying to covert a pdf to html using Pandoc. I have installed pandoc binary , added the environment variable path and then using import pypandoc import os os.environ.setdefault('PYPANDOC_PANDOC',...
SUBHRA SANKHA's user avatar
1 vote
0 answers
1k views

Python 3.8.2 python -m pip install pandoc python -m pandoc After installing pandoc and trying to run it with valid arguments, the following exception pops up. Traceback (most recent call last): ...
Eek's user avatar
  • 25
0 votes
1 answer
874 views

I'm trying to convert a string with markdown formatting into an html text = """ # To be approved This is a markdown editor, Type here your article body and use the tools or markdown code to style it....
Fabio Magarelli's user avatar
-1 votes
1 answer
1k views

My Code: Error: $ C:/Users/abc/AppData/Local/Programs/Python/Python38-32/python.exe e:/PYTHON/pdf_word_converter.py Traceback (most recent call last): File "e:/PYTHON/pdf_word_converter.py", ...
Suchit SD's user avatar
1 vote
1 answer
616 views

This is my code which failing at the moment import os import pypandoc source_dir = 'source' result_dir = 'result' for file in os.listdir(source_dir): output_files1 = [] source_file = ...
Sankar guru's user avatar
  • 1,015
2 votes
0 answers
448 views

I am trying to convert my HTML file to docx using pypandoc library of python. But while converting HTML file to docx the numbered list is not preserving in docx file. Numbered List in HTML File: ...
Bharat Jogdand's user avatar
17 votes
2 answers
5k views

I am using pypandoc to convert a markdown file to LaTex. My markdown file has a header, for example: # Header Text # When pypandoc renders the file as a .tex file, this appears as: \hypertarget{...
rsgny's user avatar
  • 645
1 vote
0 answers
1k views

Objective: I want to use Pypandoc to create a function where the user inputs three arguments being: (i) an input folder; (ii) a file format to convert to; and (iii) an output folder. Problem: ...
Bandit King's user avatar
5 votes
0 answers
3k views

Pandoc doesn't render well HTML tables into docx documents. I get the content of a request, I render it using a template file. Then I use pypandoc like this: response = render( ...
kaligne's user avatar
  • 3,288
1 vote
0 answers
715 views

I am working on web scraping. while reading an e-book I came across this Throttle Module . It wanted me to import following module : from chp1.throttle import Throttle It is showing me the error ...
IamBatman's user avatar
0 votes
0 answers
2k views

I want to know how to use Pandoc in standalone command line manner, to convert existing Excel reports in .xlsx format to PDF. Hard to find examples on this. And wondering if it has API interface ...
Palu's user avatar
  • 728
3 votes
1 answer
16k views

I am trying to take a response from an API that reports back a JSON object and convert that to a markdown output to present it in a more readable format. I am attempting to use pypandoc to do this and ...
Seth Wahle's user avatar
1 vote
0 answers
2k views

I have a setup.py script for a module. This setup.py script features conversion of a Markdown README file to reStructuredText (suitable for PyPI). When an attempt is made to install this module using ...
d3pd's user avatar
  • 8,365