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

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

I get an error of extractbb when I type latexmk

Post by masayan24 »

I get an error when I type latexmk.

For example,

Code: Select all

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:

Code: Select all

$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 books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10311
Joined: Mon Mar 10, 2008 9:44 pm

I get an error of extractbb when I type latexmk

Post by Stefan Kottwitz »

Welcome to the forum!

Try this change:

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

Stefan
LaTeX.org admin
Post Reply