LaTeX forum ⇒ Graphics, Figures & TablesI get an error of extractbb when I type latexmk

Information and discussion about graphics, figures & tables in LaTeX documents.
masayan24
Posts: 1
Joined: Sun Nov 10, 2019 8:45 pm

I get an error of extractbb when I type latexmk

Postby masayan24 » Sun Nov 10, 2019 8:57 pm

I get an error when I type latexmk.

For example,
latexmk test.tex

returns:
runpopen command not allowed: extractbb
! LaTeX Error: Cannot run pipe command. Try --shell-escape
(--enable-pipes in MikTeX) option.


I've included png file but the extractbb should be executed without any settings in a newer latex version (TeX Live 2019).

Or, do I have to do something?
Please help.

I have a .latexmkrc as follows:
$latex     = 'platex %O %S';
$biber     = 'biber %O -u -U --output_safechars %B';
$bibtex    = 'pbibtex %O %B';
$dvipdf    = 'dvipdfmx %O -o %D %S';
$makeindex = 'mendex %O -o %D %S';
$pdf_mode  = '3'; # .tex -> .dvi -> .pdf

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10228
Joined: Mon Mar 10, 2008 9:44 pm

I get an error of extractbb when I type latexmk

Postby Stefan Kottwitz » Thu Nov 14, 2019 5:02 am

Welcome to the forum!

Try this change:

$latex = 'platex --shell-escape %O %S';

Stefan
LaTeX.org admin


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 16 guests