How to use Notepad++ together with TeX Live to write LaTeX?












3















I want to use Notepad++ as my text editor. However, I need to use TeX Live as the engine. The reason for the latter is that I want to write Persian using xepersian package and that works with TeX Live only. How can I configure my Notepad++ to have it working?



UPDATE: The solution for MiKTeX (Using Notepad++ with MiKTeX on Windows) does not work for TeX Live.










share|improve this question

























  • Please have a look here tug.org/levels.html. You should use XeTeX as the engine. There is no way to compile a file using Notepad++, you should do it with console, e. g.

    – Michael Fraiman
    Jan 31 '18 at 13:39






  • 5





    Possible duplicate of Using Notepad++ with MiKTeX on Windows

    – Phelype Oleinik
    Jan 31 '18 at 13:41











  • take a look at the NppExec plugin, from there you can run any commands you like.

    – cmhughes
    Jan 31 '18 at 14:14











  • @MichaelFraiman see my answer :)

    – cmhughes
    Jan 31 '18 at 14:50











  • @cmhughes oops, was wrong about compiling

    – Michael Fraiman
    Jan 31 '18 at 14:52
















3















I want to use Notepad++ as my text editor. However, I need to use TeX Live as the engine. The reason for the latter is that I want to write Persian using xepersian package and that works with TeX Live only. How can I configure my Notepad++ to have it working?



UPDATE: The solution for MiKTeX (Using Notepad++ with MiKTeX on Windows) does not work for TeX Live.










share|improve this question

























  • Please have a look here tug.org/levels.html. You should use XeTeX as the engine. There is no way to compile a file using Notepad++, you should do it with console, e. g.

    – Michael Fraiman
    Jan 31 '18 at 13:39






  • 5





    Possible duplicate of Using Notepad++ with MiKTeX on Windows

    – Phelype Oleinik
    Jan 31 '18 at 13:41











  • take a look at the NppExec plugin, from there you can run any commands you like.

    – cmhughes
    Jan 31 '18 at 14:14











  • @MichaelFraiman see my answer :)

    – cmhughes
    Jan 31 '18 at 14:50











  • @cmhughes oops, was wrong about compiling

    – Michael Fraiman
    Jan 31 '18 at 14:52














3












3








3








I want to use Notepad++ as my text editor. However, I need to use TeX Live as the engine. The reason for the latter is that I want to write Persian using xepersian package and that works with TeX Live only. How can I configure my Notepad++ to have it working?



UPDATE: The solution for MiKTeX (Using Notepad++ with MiKTeX on Windows) does not work for TeX Live.










share|improve this question
















I want to use Notepad++ as my text editor. However, I need to use TeX Live as the engine. The reason for the latter is that I want to write Persian using xepersian package and that works with TeX Live only. How can I configure my Notepad++ to have it working?



UPDATE: The solution for MiKTeX (Using Notepad++ with MiKTeX on Windows) does not work for TeX Live.







texlive editors xepersian






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 34 mins ago









Henri Menke

71.5k8158266




71.5k8158266










asked Jan 31 '18 at 13:36









AliAli

83137




83137













  • Please have a look here tug.org/levels.html. You should use XeTeX as the engine. There is no way to compile a file using Notepad++, you should do it with console, e. g.

    – Michael Fraiman
    Jan 31 '18 at 13:39






  • 5





    Possible duplicate of Using Notepad++ with MiKTeX on Windows

    – Phelype Oleinik
    Jan 31 '18 at 13:41











  • take a look at the NppExec plugin, from there you can run any commands you like.

    – cmhughes
    Jan 31 '18 at 14:14











  • @MichaelFraiman see my answer :)

    – cmhughes
    Jan 31 '18 at 14:50











  • @cmhughes oops, was wrong about compiling

    – Michael Fraiman
    Jan 31 '18 at 14:52



















  • Please have a look here tug.org/levels.html. You should use XeTeX as the engine. There is no way to compile a file using Notepad++, you should do it with console, e. g.

    – Michael Fraiman
    Jan 31 '18 at 13:39






  • 5





    Possible duplicate of Using Notepad++ with MiKTeX on Windows

    – Phelype Oleinik
    Jan 31 '18 at 13:41











  • take a look at the NppExec plugin, from there you can run any commands you like.

    – cmhughes
    Jan 31 '18 at 14:14











  • @MichaelFraiman see my answer :)

    – cmhughes
    Jan 31 '18 at 14:50











  • @cmhughes oops, was wrong about compiling

    – Michael Fraiman
    Jan 31 '18 at 14:52

















Please have a look here tug.org/levels.html. You should use XeTeX as the engine. There is no way to compile a file using Notepad++, you should do it with console, e. g.

– Michael Fraiman
Jan 31 '18 at 13:39





Please have a look here tug.org/levels.html. You should use XeTeX as the engine. There is no way to compile a file using Notepad++, you should do it with console, e. g.

– Michael Fraiman
Jan 31 '18 at 13:39




5




5





Possible duplicate of Using Notepad++ with MiKTeX on Windows

– Phelype Oleinik
Jan 31 '18 at 13:41





Possible duplicate of Using Notepad++ with MiKTeX on Windows

– Phelype Oleinik
Jan 31 '18 at 13:41













take a look at the NppExec plugin, from there you can run any commands you like.

– cmhughes
Jan 31 '18 at 14:14





take a look at the NppExec plugin, from there you can run any commands you like.

– cmhughes
Jan 31 '18 at 14:14













@MichaelFraiman see my answer :)

– cmhughes
Jan 31 '18 at 14:50





@MichaelFraiman see my answer :)

– cmhughes
Jan 31 '18 at 14:50













@cmhughes oops, was wrong about compiling

– Michael Fraiman
Jan 31 '18 at 14:52





@cmhughes oops, was wrong about compiling

– Michael Fraiman
Jan 31 '18 at 14:52










1 Answer
1






active

oldest

votes


















3














Install the NppExex plugin using the plugin manager, and then press <F6> and paste the following code:



NPP_SAVE
cd $(CURRENT_DIRECTORY)
xelatex $(NAME_PART).tex"


and click Save and then type, for example, xelatex



screenshot



Everytime you want to run xelatex on a file in the future, simply press CTRL+F6. If you have configured multiple scripts, you can select the appropriate one by pressing F6.






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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f413028%2fhow-to-use-notepad-together-with-tex-live-to-write-latex%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Install the NppExex plugin using the plugin manager, and then press <F6> and paste the following code:



    NPP_SAVE
    cd $(CURRENT_DIRECTORY)
    xelatex $(NAME_PART).tex"


    and click Save and then type, for example, xelatex



    screenshot



    Everytime you want to run xelatex on a file in the future, simply press CTRL+F6. If you have configured multiple scripts, you can select the appropriate one by pressing F6.






    share|improve this answer




























      3














      Install the NppExex plugin using the plugin manager, and then press <F6> and paste the following code:



      NPP_SAVE
      cd $(CURRENT_DIRECTORY)
      xelatex $(NAME_PART).tex"


      and click Save and then type, for example, xelatex



      screenshot



      Everytime you want to run xelatex on a file in the future, simply press CTRL+F6. If you have configured multiple scripts, you can select the appropriate one by pressing F6.






      share|improve this answer


























        3












        3








        3







        Install the NppExex plugin using the plugin manager, and then press <F6> and paste the following code:



        NPP_SAVE
        cd $(CURRENT_DIRECTORY)
        xelatex $(NAME_PART).tex"


        and click Save and then type, for example, xelatex



        screenshot



        Everytime you want to run xelatex on a file in the future, simply press CTRL+F6. If you have configured multiple scripts, you can select the appropriate one by pressing F6.






        share|improve this answer













        Install the NppExex plugin using the plugin manager, and then press <F6> and paste the following code:



        NPP_SAVE
        cd $(CURRENT_DIRECTORY)
        xelatex $(NAME_PART).tex"


        and click Save and then type, for example, xelatex



        screenshot



        Everytime you want to run xelatex on a file in the future, simply press CTRL+F6. If you have configured multiple scripts, you can select the appropriate one by pressing F6.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 31 '18 at 14:49









        cmhughescmhughes

        78.6k16200300




        78.6k16200300






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f413028%2fhow-to-use-notepad-together-with-tex-live-to-write-latex%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt