Questions tagged [xelatex]

XeLaTeX is LaTeX on top of a modified TeX engine for added Unicode and OpenType support

LaTeX macro package running with XeTex as the underlying engine (which extends TeX with rich Unicode and OpenType facilities), offering in particular new font selection mechanisms (fontspec package) and multilingual typesetting (polyglossia). More information is available at wikipedia.

230 questions
59
votes
4 answers

Enable xelatex in Latex Workshops for Visual Studio Code

I have a template, which defines all the typesetting recommendations for thesis, but it uses xelatex for compilation. I want to continue using VS Code with Latex Workshops, question is how to change compiler to xelatex from pdflatex. The last one…
A.Ametov
  • 1,790
  • 1
  • 13
  • 20
57
votes
4 answers

How to load latex .sty files from a subdirectory?

I use some .sty-files that are not part of texlive and want to have them in a subdirectory of the folder with my main.tex. I used the following line to load the package: \usepackage{sty/prettythesis} This works, but compiling the main.tex with…
Bruno
  • 708
  • 1
  • 5
  • 7
49
votes
14 answers

Solving "500: Internal Server Error, nbconvert failed: xelatex not found in PATH"

Whenever I try to export a Jupyter notebook as a PDF I get the following error in a separate window: 500 : Internal Server Error The error was: nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so.…
Parseltongue
  • 11,157
  • 30
  • 95
  • 160
37
votes
2 answers

pandoc doesn't text-wrap code blocks when converting to pdf

I'm using pandoc with xelatex engine to convert markdown to pdf. I'm running pandoc like this: pandoc -s 'backbone-fundamentals'.md -o 'backbone-fundamentals'.pdf \ --title-prefix 'Developing Backbone.js Applications' \ --normalize \ …
skud
  • 536
  • 1
  • 4
  • 9
32
votes
5 answers

Compile XeLaTeX tex file with latexmk

How can one compile a XeLaTeX tex document using latexmk on Mac OS X? At present I am running latexmk job.tex and getting an error: ! ******************************************** * XeTeX is required to compile this document. * Sorry! …
Brian M. Hunt
  • 81,008
  • 74
  • 230
  • 343
18
votes
2 answers

Add XeLaTeX to the command list

I edit tex file in Emacs, and compile it by C-c C-c, then LaTeX command. Another way to compile it is to use latex file.tex in a terminal. Now, I would like to compile a file with xelatex, xelatex file.tex works already in a terminal line. So I want…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
9
votes
3 answers

Failed to run "xelatex .\notebook.tex -quiet" command when trying to download Jupyter Notebook as PDF

I have spent the last few hours trying to figure out how to download my Jupyter Notebook as a pdf. I have downloaded MiKTeX as well as reinstalled anaconda. Full Error below 500 : Internal Server Error The error was: nbconvert failed: PDF creating…
ZεԺ
  • 141
  • 1
  • 1
  • 7
9
votes
2 answers

Pandoc with Emoji and Pictographs

Is there a way to get a PDF from a Markdown file which contains unicode, emoji and pictographs ? I'm running this test: echo ':smile: → ★ ⚠️' | pandoc -f markdown+emoji --latex-engine=xelatex -o foo.pdf With all my system fonts. Best result I got…
ponsfrilus
  • 1,010
  • 1
  • 17
  • 25
7
votes
0 answers

font change for chapter, section, subsection titles

So, i am struggling to change the font for title/section/subsection in latex. Here is my code : % !TEX TS?program = pdflatexmk \documentclass[fontsize=12pt]{book} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{mathpazo} %changing…
jkhadka
  • 2,443
  • 8
  • 34
  • 56
7
votes
1 answer

RMarkdown PDF "LaTeX3 error: Erroneous variable"

I've been creating PDF reports via RMarkdown for a couple months now, but after installing MikTex, R and the rmarkdown and tidyverse packages on a new machine today, I received the following error message when attemping to knit a…
Drew Monger
  • 111
  • 1
  • 7
7
votes
3 answers

pandoc: xelatex not found. xelatex is needed for pdf output

I have just upgraded my Macbook Pro OS to El Capitan (v10.11.4). My attempt to export a Markdown file (created using Sublime Text 2, v2.0.2, build 2221) to pdf using pandoc is now failing, and I receive the following error: pandoc: xelatex not…
JP McCarthy
  • 130
  • 1
  • 1
  • 9
7
votes
2 answers

How to pass an option containing a space to a package in LaTeX/XeLaTeX

When I declare an option containing a space, LaTeX/XeLaTeX eats it. In the main .tex, I have : \usepackage[test font]{test} In my .sty file I have : \DeclareOption*{\newfontfamily\testfont[Scale=1]{\CurrentOption}} \ProcessOptions But the Tex…
anno
  • 5,970
  • 4
  • 28
  • 37
7
votes
2 answers

R markdown v2 to pdf. Conversion error when non-Latin characters in plots

Non-english characters inside plots are not displayed correctly. Here is a reproducible example. --- title: "Untitled" output: pdf_document: latex_engine: xelatex html_document: highlight: tango theme: null --- This is an R…
Brani
  • 6,454
  • 15
  • 46
  • 49
6
votes
0 answers

kableExtra won't compile with full_width and XeLaTeX

Having full_width = T in my kable function results in the error: ! You can't use `\relax' after \the. \tabu@elapsedtime ...optime {\the \pdfelapsedtime }\tabu@message {(tabu)\tab... But…
David
  • 432
  • 3
  • 10
6
votes
0 answers

Rmarkdown with xelatex

I'm trying to use Calibri font, but from what I understand I first need to be able to use the xelatex engine. This is where I run into problems. Sample code and error are below. Please note that I am very new to latex so chances are I missed…
Matt
  • 174
  • 1
  • 2
  • 14
1
2 3
15 16