l3build can't find files included with input in generated style files

The name of the pictureThe name of the pictureThe name of the pictureClash 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









share|improve this question

























    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









    share|improve this question























      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









      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      David Purton

      6,8741631




      6,8741631




















          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"





          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            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






























            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"





            share|improve this answer
























              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"





              share|improve this answer






















                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"





                share|improve this answer












                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"






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 3 hours ago









                Joseph Wright♦

                198k21545867




                198k21545867



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    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













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery