l3build can't find files included with input in generated style files
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
In the following example, l3build doc
fails with a complaint that it can't find file test.def
which is included in test.sty
using inputtest.def
.
I can build the documentation successfully manually (i.e., by running latex test.ins
; pdflatex test.dtx
; pdflatex test.dtx
.
Any clue as to what I'm doing wrong? Or could this be a bug in l3build
?
MWE
Sorry for the three files. Not sure how to do it more neatly.
build.lua
module = "test"
test.ins
input l3docstrip.tex
askforoverwritefalse
generatefiletest.styfromtest.dtxpackage
filetest.deffromtest.dtxdefinitions
endbatchfile
test.dtx
% iffalse meta-comment
%<*driver>
documentclassl3doc
usepackagetest
begindocument
DocInputjobname.dtx
enddocument
%</driver>
% fi
% fillertext
% beginmacrocode
%<*package>
ProvidesPackagetest
inputtest.def
%</package>
% endmacrocode
% beginmacrocode
%<*definitions>
ProvidesFiletest.def
deffillertextFiller text.
%</definitions>
% endmacrocode
l3build
add a comment |Â
up vote
4
down vote
favorite
In the following example, l3build doc
fails with a complaint that it can't find file test.def
which is included in test.sty
using inputtest.def
.
I can build the documentation successfully manually (i.e., by running latex test.ins
; pdflatex test.dtx
; pdflatex test.dtx
.
Any clue as to what I'm doing wrong? Or could this be a bug in l3build
?
MWE
Sorry for the three files. Not sure how to do it more neatly.
build.lua
module = "test"
test.ins
input l3docstrip.tex
askforoverwritefalse
generatefiletest.styfromtest.dtxpackage
filetest.deffromtest.dtxdefinitions
endbatchfile
test.dtx
% iffalse meta-comment
%<*driver>
documentclassl3doc
usepackagetest
begindocument
DocInputjobname.dtx
enddocument
%</driver>
% fi
% fillertext
% beginmacrocode
%<*package>
ProvidesPackagetest
inputtest.def
%</package>
% endmacrocode
% beginmacrocode
%<*definitions>
ProvidesFiletest.def
deffillertextFiller text.
%</definitions>
% endmacrocode
l3build
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
In the following example, l3build doc
fails with a complaint that it can't find file test.def
which is included in test.sty
using inputtest.def
.
I can build the documentation successfully manually (i.e., by running latex test.ins
; pdflatex test.dtx
; pdflatex test.dtx
.
Any clue as to what I'm doing wrong? Or could this be a bug in l3build
?
MWE
Sorry for the three files. Not sure how to do it more neatly.
build.lua
module = "test"
test.ins
input l3docstrip.tex
askforoverwritefalse
generatefiletest.styfromtest.dtxpackage
filetest.deffromtest.dtxdefinitions
endbatchfile
test.dtx
% iffalse meta-comment
%<*driver>
documentclassl3doc
usepackagetest
begindocument
DocInputjobname.dtx
enddocument
%</driver>
% fi
% fillertext
% beginmacrocode
%<*package>
ProvidesPackagetest
inputtest.def
%</package>
% endmacrocode
% beginmacrocode
%<*definitions>
ProvidesFiletest.def
deffillertextFiller text.
%</definitions>
% endmacrocode
l3build
In the following example, l3build doc
fails with a complaint that it can't find file test.def
which is included in test.sty
using inputtest.def
.
I can build the documentation successfully manually (i.e., by running latex test.ins
; pdflatex test.dtx
; pdflatex test.dtx
.
Any clue as to what I'm doing wrong? Or could this be a bug in l3build
?
MWE
Sorry for the three files. Not sure how to do it more neatly.
build.lua
module = "test"
test.ins
input l3docstrip.tex
askforoverwritefalse
generatefiletest.styfromtest.dtxpackage
filetest.deffromtest.dtxdefinitions
endbatchfile
test.dtx
% iffalse meta-comment
%<*driver>
documentclassl3doc
usepackagetest
begindocument
DocInputjobname.dtx
enddocument
%</driver>
% fi
% fillertext
% beginmacrocode
%<*package>
ProvidesPackagetest
inputtest.def
%</package>
% endmacrocode
% beginmacrocode
%<*definitions>
ProvidesFiletest.def
deffillertextFiller text.
%</definitions>
% endmacrocode
l3build
l3build
asked 5 hours ago
David Purton
6,8741631
6,8741631
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
By design, l3build
unpacks files in one place, and copies those requested to a different place for running tests and typesetting. So you need to tell it which files to make available. Here, you probably want the .def
files in installfiles
installfiles = "*.def", "*.sty"
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
By design, l3build
unpacks files in one place, and copies those requested to a different place for running tests and typesetting. So you need to tell it which files to make available. Here, you probably want the .def
files in installfiles
installfiles = "*.def", "*.sty"
add a comment |Â
up vote
4
down vote
accepted
By design, l3build
unpacks files in one place, and copies those requested to a different place for running tests and typesetting. So you need to tell it which files to make available. Here, you probably want the .def
files in installfiles
installfiles = "*.def", "*.sty"
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
By design, l3build
unpacks files in one place, and copies those requested to a different place for running tests and typesetting. So you need to tell it which files to make available. Here, you probably want the .def
files in installfiles
installfiles = "*.def", "*.sty"
By design, l3build
unpacks files in one place, and copies those requested to a different place for running tests and typesetting. So you need to tell it which files to make available. Here, you probably want the .def
files in installfiles
installfiles = "*.def", "*.sty"
answered 3 hours ago
Joseph Wright♦
198k21545867
198k21545867
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f455499%2fl3build-cant-find-files-included-with-input-in-generated-style-files%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password