Questions tagged [pandoc]

Pandoc is a markup converter which can output LaTeX and can parse a subset of LaTeX. Questions about pandoc itself are not on-topic for this site; questions about using it to produce LaTeX are on-topic.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

Missing character:There is no │ (U+2502) in font (xelatex)

Packages I am loading: \usepackage{unicode-math} \usepackage{ucharclasses} \usepackage{textcomp} \usepackage{longtable} \usepackage{booktabs} \usepackage{tikz} \usepackage{xpatch} \usepackage{imakeidx}...
  • 157
0 votes
0 answers
20 views

Set maximum width of table by renewing commands

I am currently using a template that looks like this: % ------------------------------------------------------- % Things for styling tables % ------------------------------------------------------- \...
  • 101
0 votes
0 answers
60 views

The output of alternative LaTeX compilers (detex, pandoc) appears to be much worse than pdflatex, what could be the causes?

I'm compiling a LaTex document that uses the following US Patent style: https://www.overleaf.com/latex/templates/template-for-uspto-patent-and-response-letters/qtzkqddwxjbj Which relies heavily on ...
  • 103
0 votes
0 answers
25 views

Latexmk and pandoc are using different working directory, how to resolve their conflict?

I have setup latexmk and pandoc for 2 compilation pipeline for the same tex file, intended to generate pdf file and docx file respectively, the latexmk was automatically configured by VSCode + Latex ...
  • 103
0 votes
0 answers
29 views

Using custom Typora themes with pandoc

Is it possible to import custom Typora themes into pandoc? We are using several custom themes which change the look and feel of the rendered Markdown code, but I am more familiar with pandoc. Rather ...
0 votes
0 answers
29 views

How would I use pandoc to convert this Overleaf tex project into a word document?

How would I use pandoc to convert this Overleaf project to .docx? I've tried pandoc -o output.docx -t docx resume.tex but all I get is a blank document. I believe the problem has something to do with ...
1 vote
1 answer
19 views

Running author, title etc. for beamer slide using pandoc

In the beamer class, front matter commands such as author and title have optional parameters for short versions to be shown in slide headers or footers. Is there an easy way to obtain this when using ...
  • 588
0 votes
1 answer
47 views

Pandoc kaobook sidenote issue

I'm using Obsidian to write markdown text in order to export to PDF using pandoc PDFLateX. I'm using using tufte-book class and it's working perfect. The problem is that I'm trying to use kaobook ...
  • 103
0 votes
1 answer
30 views

Lyx - Pandoc: export master document to Word with child documents included

I'm working on my thesis on Lyx using the built-in thesis template (Resources\examples\thesis). I've tried exporting it with Pandoc but it's only exporting the text contained within the master ...
0 votes
1 answer
58 views

Convert LaTeX to Word with Pandoc, including citations and bibliography

I'm trying to convert a LaTeX document ("latex-to-word.tex") to Word using pandoc. Unfortunately, I cannot print neither the reference list nor parenthetical citations in the Word file. I'm ...
0 votes
1 answer
70 views

pandoc doesnt generate latex equations during .md to .html conversion

I'm using pandoc to convert a .md file with latex equations into .html pandoc sample_equations.md -o test_today.html This is one such equation in sample_equations.md \begin{equation} \frac{\partial ...
-1 votes
1 answer
28 views

Pandoc changes color from template after cursive

I am using pandoc to convert different documents into pdf. I have a template to include with the flag --include-in-header ~/path/to/template/pandoc_format_darkmode.tex -V geometry:a4paper -V geometry:...
  • 29
1 vote
1 answer
41 views

Missing characters to convert the output of `tree` command using pandoc

I have a markdown document that contains the output of Unix tree command: output/ ├── cutadapt │   ├── 0001.PbANKA_820_S1_R1.log │   ├── 0002.PbANKA_820_S2_R1.log │   └── 0003.PbANKA_R1.log ├── fastqc ...
  • 235
0 votes
1 answer
41 views

Error while merging and converting two markdown files to pdf using pandoc

I'm using to pandoc to create pdf via following command: pandoc -s -o analysis.pdf latex_header.md Analysis.md The following error is shown : Error producing PDF. ! Undefined control sequence. l....
2 votes
1 answer
85 views

How to add vertical spacing in pandoc table containing chemical figures?

I want to produce a table in pandoc-markdown which contains some chemical figures I created using chemfig. This is my MWE: --- header-includes: - | ```{=latex} \usepackage{chemfig} ``` --- \...
1 vote
1 answer
126 views

Enrich document preamble using pandoc

I use pandoc for generating a PDF file via lualatex from a markdown file. The document class scrartcl defines the command \publishers{}, which is employed in \maketitle. I would like to write a lua ...
  • 1,812
0 votes
1 answer
123 views

Pandoc Conversion and \hypertarget

I converted a long text from Markdown to LaTeX and am trying to clean it up. I found this code and don't know what it does: Specifically: \hypertarget \texorpdfstring \label I have no idea what the ...
  • 1,609
0 votes
1 answer
162 views

Pandoc Code block is not aligned using Eisvogel and Markdown

Hey it's me again and I am back with something that doesn't let me sleep anymore. I am using the popular Eisvogel Pandoc template for rendering my markdown files to PDFs. So far everything is working ...
  • 25
2 votes
3 answers
691 views

Add a custom latex command to be used with pandoc/markdown

so I am using the popular Eisvogel template for my personal work. I basically type everything in markdown and use pandoc to convert it to a pretty pdf. Using blockquotes ( > text ) results in a ...
  • 25
0 votes
0 answers
94 views

Pandoc TOC Roman Page Numbers

This is my first question here. Really enjoyed following the exchanges here while writing my thesis, it helped a lot ! I have one problem I could not find a solution anywhere. My setup is Markdown + ...
0 votes
1 answer
314 views

HTML to PDF with Pandoc: How to change background color of the PDF?

I want to change the background color of the default white to #353535 and for that I'm trying to use the 'backgroundcolor' variable like so, pandoc FINAL.html \ > -f html \ > -V backgroundcolor:#...
1 vote
1 answer
184 views

pandoc: how to generate a different \begin{figure} \end{figure} environment

I have a question similar to this one. I have a markdown document and want to convert it to pdf. I found the figures are placed in a position where latex things they fit best, but I want them to ...
-2 votes
1 answer
66 views

How to use pandoc [closed]

I opened pan doc but I do not know how to change the file to word? Actually I used the code but I do not know where it is saved or exactly works? Is it complicated?
1 vote
1 answer
102 views

How to add background color to the typing environment? [duplicate]

How can I add background to verbatim code blocks without adding extra vertical space? I am writing in Pandocs markdown, then converting to .tex with pandoc.exe -t context, then to PDF with context.exe....
  • 11
0 votes
2 answers
246 views

Pandoc convert specific parts of document

I have a markdown file of which I want to convert sometimes only specific parts, sometimes the whole document. I know about lua-filters and fenced div which I think is a possible approach, but how can ...
  • 21
0 votes
0 answers
55 views

Pandoc problem reading custom latex environment inside of a custom list

I want to compile a Latex document with the following structure in Pandoc: \documentclass{article} \newenvironment{myenumerate}{\begin{enumerate}}{\end{enumerate}} \newenvironment{myenvironment}{}{} ...
  • 1,131
0 votes
1 answer
28 views

How to return to the initial definition of quote on markdown, after having redefined it? That definition is unknown or can vary depending on flavors

After having redefined quote in markdown to create nice blockquote with background color and borders, how can I return to the previous quote definition, that is unknown, because it's markdown who ...
0 votes
0 answers
62 views

How do you insert figures and number them in these pandoc template?

Yo there, Im not used to markdown language so using the ieee-pandoc-template but the template does not have info about adding figures and make reference to. So I'm unsure if it has to do with markdown,...
  • 383
0 votes
0 answers
165 views

pandoc conflict

Im trying to use some pandocs templates, but it throws an error and I can't correct it. Template:IEEE Paper Template for Pandoc. The requirementa are installled, but either running make or by hand ...
  • 383
1 vote
0 answers
132 views

Highlighted words in LaTeX disappear in Pandoc

I wrote my thesis in LaTeX, but my supervisor wants a word document. So I used pandoc to convert it. Now I got my thesis back and had to mark the changes. I found this code (see below) to achieve this,...
  • 121
0 votes
0 answers
94 views

How to evaluate latex code in markdown (pandoc) code chunk?

I wan't to evaluate latex command \input{file} in code section in pandoc markdown. I tried this: ```matlab syms s; G = \input{"raw.txt"}; step(G); ``` file raw.txt contains this: (100*s + ...
  • 113
0 votes
0 answers
20 views

Equivalent to Source Maps or Providing Source Location Hints to Compiler

I'm using Pandoc and LuaLaTeX and have organized my project into several dozen LaTeX embedded Markdown documents into a final output document. Effectively, each chapter is a document and combined with ...
  • 1
1 vote
0 answers
141 views

Overlay specification in beamer with a pause

This is similar to this question; however I am using pause, and not only. I would like to continue using pause. I read through this, which is helpful. I think the issue is related to this and this. My ...
  • 468
1 vote
1 answer
1k views

How to render html tables in markdown using Pandoc?

The following markdown code containing html table tags doesn't render properly when converted to latex format using Pandoc. file.md: <table> <tr> <th>Alfreds Futterkiste</th> &...
1 vote
2 answers
44 views

Autocolor for italic and bold fonts in pandoc-template

I have started using pandoc to auto-generate PDFs from my .md-notes. This is working out so far, I succeeded to customize the font, background etc. For readability, I want all the italic parts as well ...
  • 29
0 votes
0 answers
50 views

Including citations in equations when converting LaTeX to Word with pandoc

I have the following example document: \documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amssymb} \usepackage{makeidx} \...
  • 1,691
4 votes
2 answers
352 views

Add a beamer note to a section slide using pandoc and markdown

I am using pandoc to convert markdown to beamer slides. I am using the notes in beamer to make note slides. I have slide-level=3 so that the first two markdown headings are sections. I want the ...
  • 468
0 votes
1 answer
210 views

Generating fullwidth longtable in the tufte-latex style, when using Pandoc with Rmarkdown

I am writing a book in Rmarkdown using the tufte package; which uses tufte-latex for pdf output. My current issue is that I have not found a way to have a table extend wider than the normal margin of ...
0 votes
1 answer
124 views

Fancyhead Display Custom Shorten Version Of \leftmark

Good day, I would like to display a custom shorten version of the \leftmark with Fancyhdr. Ideally it would be some type of switch with a case for each chapter. Right now this is what the header's ...
  • 3
1 vote
0 answers
117 views

Why is pandoc not recognising package command sequences when converting TeX to docx?

I am attempting to use pandoc to convert a .tex file to a .docx file. When I use the command line to do so via pandoc foo.tex -s -o foo.docx, the produced foo.docx compiles fairly nicely but due to ...
  • 11
0 votes
0 answers
168 views

Pandoc longtable and full width formatting

I need an example how to set a newenvironment (if that is the way) for longtable with Pandoc for formatting columns and/or the whole table as fullwith depending on line length or paper settings. In ...
0 votes
0 answers
162 views

Pandoc - from MD to PDF - Undefined control sequence error

As a beginner, I've just installed MikTex and Pandoc. I'm trying to convert my markdown file into a pdf file using pandoc, but pandoc returns an error which goes like this: Error producing PDF. ...
0 votes
0 answers
224 views

LaTeX to .docx using Pandoc – issues with itemizing

I generated two kinds of output files from my .tex file. The .pdf output (which has correct formatting): The .docx output using Pandoc (which incorrectly itemizes "test c-2" as item "d....
  • 143
0 votes
1 answer
298 views

how to reduce space between authors via header-includes?

I am using scholarly-metadata.lua and author-info-blocks.lua as per the example below in R Markdown: --- title: "My title" author: - Mario Modesto-Mata: email: paleomariomm@gmail.com ...
  • 53
2 votes
1 answer
149 views

My setup is happy with UTF-8 or escaped LaTex typographic characters, should I use one or the other?

I’m using Pandoc for an initial conversion of Markdown files into LaTex. I have two questions: I use UTF-8 in all my documents without any issues, and can output PDFs from LaTeX with either/both UTF-...
0 votes
1 answer
297 views

Error producing PDF - Latex pandoc template

I'm writting a pandoc template inspired on iv054-homework-template. I want something like this: The code I use is: \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{titlesec} \...
  • 3
1 vote
2 answers
143 views

latexmk's (undocumented?) error message "name of destination file is not current one; I'll flag rule as out of date."

I am using latexmk as the pdf-engine for pandoc, that is, I use the command pandoc --pdf-engine=latexmk --pdf-engine-opt=-emulate-aux-dir --pdf-engine-opt=-aux-directory=aux \ test.md -o test.pdf to ...
  • 4,770
1 vote
1 answer
215 views

Pandoc with --citeproc ignores \cite commands

In short: is there any way to use citeproc with "pure" LaTeX bibliographical commands? Longer version: in the following markdown file, the [@Test] "native" pandoc command is ...
  • 4,770
2 votes
0 answers
34 views

Convert latex to word with pandoc but no citations [duplicate]

I am trying to convert a document from .tex to word using the command pandoc -s main.tex --bibliography=library.bib -o testdoc.docx However, there are no citations either in the text or at the end of ...
  • 41
0 votes
1 answer
101 views

What is this pandoc error

as try to convert html files to PDF ones $ pandoc *.html -s -o Book.pdf it returned this: warning: kpathsea: configuration file texmf.cnf not found in these directories: the pdflatext is of Arch ...

1
2 3 4 5
12