Questions tagged [pandoc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
2answers
2k views

In org mode, how do I reference a figure?

I have a figure declared like this: #+CAPTION: Google NGrams Viewer Search #+NAME: fig:ngrams [[file:ngrams.png]] And I'd like to reference it, so that I can write, e.g. Please refer to Figure [[...
5
votes
3answers
790 views

html to orgmode via pandoc- get rid of all #+BEGIN_HTML blocks

i tried converting html webpages to org mode file using a simple pandoc command: pandoc -o output.org R\ Seminar:\ Introduction\ to\ ggplot2.htm this works quite well but im left with tons of html ...
4
votes
2answers
120 views

Export a docx file to org using pandoc but without the property drawers

If I export a docx file to org using Pandoc as follows pandoc -s test.docx -o test.org I get a nice org file with markup. However, I also get unwanted properties with each heading in the file, ...
3
votes
2answers
128 views

How to convert the emacs manual to org format?

I like to read the Emacs manual on a hard copy but I would like to have a copy in org format to kill parts that I have understood and so to only keep what's important to remember (titles, functions ...
3
votes
0answers
282 views

org-mode HTML export - difference in behavior with org-html and org-pandoc

I have an example org-mode file with the following contents: - only text\\ only text\\ only text - image... (works with org-html but not pandoc-html because of no brackets around "file:" ...
2
votes
1answer
42 views

Unable to export markdown files with devanagari characters

Running emacs 25.2.2. And markdown installed from Melpa. If I export a file with devanagari characters, it produces a file sans devanagari characters! I did a bit of research and found out that ...
2
votes
2answers
438 views

Org export via org-ref-->pandoc, bibliography using relative path

Can org-ref export through ox-pandoc using a relative path to the bibliography file? Export via org --> pandoc --> HTML succeeds when the org document contains an absolute path to the bib file. ...
2
votes
0answers
454 views

ox-pandoc table and image export formatting. ATTR_LATEX and ATTR_HTML not behaving as expected

I have been using ox-pandoc to export my org-mode files (generally to pdf using pandoc and xelatex) but I am having a lot of trouble formatting images and tables. #+ATTR_LATEX commands for images is ...
1
vote
1answer
387 views

in org-mode, a function to delete all properties drawers?

I use Pandoc to convert from HTML and Markdown to org-mode. The conversion leaves lots of extraneous org-mode PROPERTIES drawers. How can I direct org-mode to delete all PROPERTIES drawers? ADDITION: ...
1
vote
1answer
17 views

How do I get flyspell to ignore pandoc citations in markdown

Flyspell regularly shows pandoc citations as a spelling error in markdown documents. For example @chu2017 will come up as a spelling error for 'chu'. How can I get Flyspell ignore the citations and ...
1
vote
1answer
153 views

Convert math in org file to markdown file correctly

I'm trying to convert/export a org file to Markdown. Most Markdown supports math with $x^2$ or $$x^2$$. I tried ox-gfm and pandoc, but they don't seem to handle it correctly: org file: \[x^2\] $$x^...
1
vote
1answer
193 views

org-mode inline html while exporting using ox-pandoc

I am not able to use inline html through macro in org-mode when exporting through ox-pandoc. For example if I use @@html:<span class="small">@@Small Text@@html:</span>@@ and export the ...
1
vote
1answer
891 views

How do I live preview markdown, rendering math, checkboxes, etc.?

I’m using Spacemacs with markdown-mode and I’ve configured it according to Jason Blevins’ guide. Other things I’ve tried Pandoc works pretty well except when I set the —lua-filter=task-list.lua flag ...
0
votes
1answer
27 views

Org-mode define face for pandoc citation syntax

I would like to set a new face in org-mode for pandoc citation syntax which looks like this: [@bibtexkey{555-563}] Custom face: (defface pandoc-citation-face '((t :foreground "yellow")) "Face ...
0
votes
0answers
22 views

Get Emacs Markdown markdown mode to use Rstudio pandoc

I installed markdown mode for Emacs. Now I need it to see a version Pandoc I have on my machine. Markdown Mode for Emacs I put this in my init file and loaded it. (custom-set-variables '(...
0
votes
0answers
35 views

How to properly render markdown latex in emacs cli using markdown-mode and pandoc?

I have been facing lately the following problem. I have installed markdown-mode and I've been using pandoc behind the scenes to communicate with markdown-mode and do the rendering. I've been trying ...
0
votes
1answer
67 views

How to make markdown-live-priview-mode use pandoc?

I'm having a problem where in markdown-live-preview-mode tables are not correctly converted to HTML from markdown. I'm using markdown-mode. I've tried using pandoc to create the HTML and pandoc ...
0
votes
0answers
12 views

md: relative paths missed by html

Both relative and absolute paths are found within Emacs editor. That is, referring to the code below, if I click on Rel to foo/foo.md inside bar.md, it'll change the buffer to foo.md, and conversely. ...
0
votes
0answers
63 views

Error when exporting to pdf in org-mode

I get the following error when exporting to pdf directly in org-mode (C-c C-e l o), but conversion using pandoc with the exported tex document (C-c C-e l l) works fine. What went wrong? Latex ...
0
votes
0answers
14 views

markdown: headers' position not consistent

This is using pandoc under Emacs. Header 'Command' seems to be centered, but 'Side effect' seems right justified. I tried the solutions here, to no avail. Any suggestion? Command | Input | Output | ...
0
votes
0answers
84 views

Getting error exporting org doc because it has #+TITLE [duplicate]

Getting this error after installed the latest org and ox-pandoc packages. apply: Wrong type argument: listp, #("Some title" 0 48 (:parent (#0))) Any pointers? Update: This is org-version: Org ...