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.

194 questions
49
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
  • 628
  • 1
  • 5
  • 7
32
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
  • 387
  • 1
  • 3
  • 9
30
votes
2 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,074
  • 1
  • 9
  • 18
26
votes
7 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
  • 9,008
  • 26
  • 78
  • 131
26
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
  • 71,376
  • 65
  • 208
  • 328
14
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
  • 8,904
  • 23
  • 106
  • 212
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
6
votes
1 answer

Emoji don't knit to PDF

If I run cat("\U001F615") on the command line in RStudio on my Mac, it shows the emoji. But if I knit it (Rmd) into a pdf, I get this error message: ! Package inputenc Error: Unicode char \u8: not set up for use with LaTeX. See the inputenc…
Nina
  • 131
  • 5
6
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,780
  • 4
  • 25
  • 34
5
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
  • 257
  • 2
  • 8
5
votes
0 answers

TikZ externalize MD5 sum error with XeLaTeX

I've got some trouble with XeLaTeX and TikZ-externalize. I use the following setup. \usetikzlibrary{external} …
roflmaostc
  • 121
  • 4
5
votes
3 answers

Import PDF file into XeLaTeX gives "pdf_link_obj(): passed invalid object" error

I'm trying to import a PDF into a XeLaTeX using \includepdf{xyz.pdf}. The file xyz.pdf is a scan created by a Xerox 5755 machine, and PDF version 1.3. The error I get is: ** WARNING ** No valid name object found. ** WARNING ** Could not find…
Brian M. Hunt
  • 71,376
  • 65
  • 208
  • 328
5
votes
2 answers

Using \parindent and \parskip with \paragraph{} has no effect

I'm creating documents using the memoir class in XeLaTeX. I'm having trouble creating proper paragraph presentation, and in particular my when I create paragraphs with \paragraph{}lorem ipsum LaTeX ignores the \parskip and \parindent settings. For…
Brian M. Hunt
  • 71,376
  • 65
  • 208
  • 328
5
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
  • 7,896
  • 14
  • 42
  • 48
5
votes
3 answers

Can the XeLaTeX builder be used with Sphinx?

Although the end-problem that this would solve is a TeX one (installing a new font for PDF output), this particular solution that I'm looking for is a Sphinx issue. Sphinx uses standard LaTeX when making PDFs, which is fine so far, but I need to…
user1488804
  • 780
  • 1
  • 9
  • 25
1
2 3
12 13