Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Ahead warp factor one, Mr. Sulu.


computers / comp.text.tex / Failed to use latexmk to compile a complicated tex project with xelatex.

SubjectAuthor
* Failed to use latexmk to compile a complicated tex project with xelatex.hongy...@gmail.com
+- Re: Failed to use latexmk to compile a complicated tex project withDr Eberhard Lisse
`- Re: Failed to use latexmk to compile a complicated tex project withJulius Dittmar

1
Failed to use latexmk to compile a complicated tex project with xelatex.

<a372655a-da50-4939-8d91-952c4d1e2791n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3832&group=comp.text.tex#3832

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a05:6214:68d:: with SMTP id r13mr12267759qvz.36.1625743941116; Thu, 08 Jul 2021 04:32:21 -0700 (PDT)
X-Received: by 2002:a05:620a:147:: with SMTP id e7mr19195724qkn.144.1625743940932; Thu, 08 Jul 2021 04:32:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Thu, 8 Jul 2021 04:32:20 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=103.105.49.156; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.105.49.156
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a372655a-da50-4939-8d91-952c4d1e2791n@googlegroups.com>
Subject: Failed to use latexmk to compile a complicated tex project with xelatex.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Thu, 08 Jul 2021 11:32:21 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 67
 by: hongy...@gmail.com - Thu, 8 Jul 2021 11:32 UTC

On Ubuntu 20.04, I've texlive 2021 installed. The `~/.latexmkrc' has the following configuration:

```
$ grep -v '^#' ~/.latexmkrc | awk 'NF >0'
$pdf_mode = 5;
$xelatex = "xelatex -file-line-error -halt-on-error -interaction=nonstopmode -synctex=1 %O %S";
$xdvipdfmx = "xdvipdfmx -E -o %D %O %S";
$bibtex = "bibtex %O %S";
$bibtex_use = 2;
$makeindex = "makeindex %O -o %D %S";
add_cus_dep( 'glo', 'gls', 0, 'makeglo2gls' );
sub makeglo2gls {
system( "makeindex -s \"$_[0].ist\" -t \"$_[0].glg\" -o \"$_[0].gls\" \"$_[0].glo\"" );
} add_cus_dep( 'acn', 'acr', 0, 'makeacn2acr' );
sub makeacn2acr {
system( "makeindex -s \"$_[0].ist\" -t \"$_[0].alg\" -o \"$_[0].acr\" \"$_[0].acn\"" );
} add_cus_dep( 'acr', 'acn', 0, 'makeacr2acn' );
sub makeacr2acn {
system( "makeindex -s \"$_[0].ist\" -t \"$_[0].alg\" -o \"$_[0].acn\" \"$_[0].acr\"" );
} add_cus_dep( 'ntn', 'not', 0, 'makentn2not' );
sub makentn2not {
system("makeindex -s \"$_[0].ist\" -t \"$_[0].nlg\" -o \"$_[0].not\" \"$_[0].ntn\"" );
} add_cus_dep( 'not', 'ntn', 0, 'makenot2ntn' );
sub makenot2ntn {
system("makeindex -s \"$_[0].ist\" -t \"$_[0].nlg\" -o \"$_[0].ntn\" \"$_[0].not\"" );
} add_cus_dep( 'adx', 'and', 0, 'makeadx2and' );
sub makeadx2and {
system( "makeindex -o \"$_[0].and\" \"$_[0].adx\"" );
} add_cus_dep( 'ndx', 'nnd', 0, 'makendx2nnd' );
sub makendx2nnd {
system( "makeindex -o \"$_[0].nnd\" \"$_[0].ndx\"" );
} add_cus_dep( 'ldx', 'lnd', 0, 'makeldx2lnd' );
sub makeldx2lnd {
system( "makeindex -o \"$_[0].lnd\" \"$_[0].ldx\"" );
} add_cus_dep( 'nlo', 'nls', 0, 'makenlo2nls' );
sub makenlo2nls {
system( "makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"" );
} add_cus_dep( 'eps', 'pdf', 0, 'cus_dep_delete_dest' );
add_cus_dep( 'tif', 'png', 0, 'maketif2png' );
sub maketif2png {
system( "convert \"$_[0].tif\" \"$_[0].png\"" );
} ```
Then I try to compile the following project with xelatex, <https://gitlab.kwant-project.org/jbweston/thesis>, but always failed, as shown below:

```
$ latexmk -pdfxe
[...]
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
xelatex: Command for 'xelatex' gave return code 1
Refer to 'thesis.log' for details
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.
```
Any hints for solving this problem?

Regards,
HY

Re: Failed to use latexmk to compile a complicated tex project with xelatex.

<iko7psFu1lgU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3833&group=comp.text.tex#3833

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: nos...@lisse.NA (Dr Eberhard Lisse)
Newsgroups: comp.text.tex
Subject: Re: Failed to use latexmk to compile a complicated tex project with
xelatex.
Date: Thu, 8 Jul 2021 14:02:04 +0200
Lines: 12
Message-ID: <iko7psFu1lgU1@mid.individual.net>
References: <a372655a-da50-4939-8d91-952c4d1e2791n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net DVCIcVVdwzhvDfQ2q/nUrARAXZGoX8Jqo3H/86cVxLHGXha91Z
Cancel-Lock: sha1:YEMfmT6k+2K6J3YPHVOU+rpnZPI=
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.2)
Gecko/20060308 Thunderbird/1.5.0.2 Mnenhy/0.7.4.0
In-Reply-To: <a372655a-da50-4939-8d91-952c4d1e2791n@googlegroups.com>
Content-Language: en-US
 by: Dr Eberhard Lisse - Thu, 8 Jul 2021 12:02 UTC

Yes,

contact the author of latexmk, he is very responsive and helpful.

greetings, el
On 08/07/2021 13:32, hongy...@gmail.com wrote:
[...]
> Any hints for solving this problem?
[...]

--
To email me replace 'nospam' with 'el'

Re: Failed to use latexmk to compile a complicated tex project with xelatex.

<sc6sb0$rms$1@news-cypress.fernuni-hagen.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3834&group=comp.text.tex#3834

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!aioe.org!news.mb-net.net!open-news-network.org!news.mind.de!bolzen.all.de!npeer.as286.net!npeer-ng0.as286.net!news-1.dfn.de!news.dfn.de!news-cypress.fernuni-hagen.de!news.fernuni-hagen.de!.POSTED.xdsl-89-0-251-216.nc.de!not-for-mail
From: Julius.D...@gmx.de (Julius Dittmar)
Newsgroups: comp.text.tex
Subject: Re: Failed to use latexmk to compile a complicated tex project with
xelatex.
Date: Thu, 8 Jul 2021 14:50:39 +0200
Organization: FernUni Hagen
Message-ID: <sc6sb0$rms$1@news-cypress.fernuni-hagen.de>
References: <a372655a-da50-4939-8d91-952c4d1e2791n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 8 Jul 2021 12:50:40 +0000 (UTC)
Injection-Info: news-cypress.fernuni-hagen.de; posting-host="xdsl-89-0-251-216.nc.de:89.0.251.216";
logging-data="28380"; mail-complaints-to="newsadmin@fernuni-hagen.de"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <a372655a-da50-4939-8d91-952c4d1e2791n@googlegroups.com>
Content-Language: en-US
 by: Julius Dittmar - Thu, 8 Jul 2021 12:50 UTC

Am 08.07.21 um 13:32 schrieb hongy...@gmail.com:
> Then I try to compile the following project with xelatex, <https://gitlab.kwant-project.org/jbweston/thesis>, but always failed, as shown below:
> Any hints for solving this problem?

I think this has nothing to do with latexmk. I downloaded those files
and called xelatex on them directly. Xelatex stops with the error

! Package mathspec Error: `amsmath' must be loaded earlier than `mathspec'.

referring to

l.54 \RequirePackage{amsmath}

This same error is displayed by latexmk. You might find it above the
output you cited in your message.

HTH,
Julius Dittmar

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor