ifplatform.sty error after installing MiKTeX on Ubuntu Mate 16.04I can't get minted package to work under...

Is every open circuit a capacitor?

When to use mean vs median

How to get the first element while continue streaming?

Where is this quote about overcoming the impossible said in "Interstellar"?

Relationship between the symmetry number of a molecule as used in rotational spectroscopy and point group

Being asked to review a paper in conference one has submitted to

Deal the cards to the players

PTIJ: What dummy is the Gemara referring to?

Caulking a corner instead of taping with joint compound?

Why is my Contribution Detail Report (native CiviCRM Core report) not accurate?

Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?

Quitting employee has privileged access to critical information

Should we avoid writing fiction about historical events without extensive research?

What can I do if someone tampers with my SSH public key?

How do we objectively assess if a dialogue sounds unnatural or cringy?

Is divide-by-zero a security vulnerability?

Can a space-faring robot still function over a billion years?

Giving a talk in my old university, how prominently should I tell students my salary?

is 'sed' thread safe

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

Find maximum of the output from reduce

PTIJ: Is all laundering forbidden during the 9 days?

How do you say “my friend is throwing a party, do you wanna come?” in german

Are all UTXOs locked by an address spent in a transaction?



ifplatform.sty error after installing MiKTeX on Ubuntu Mate 16.04


I can't get minted package to work under Ubuntu (pygments error)Undefined Control Sequence with mintedmintinline expands to a single newlineRunning TexWorks on UbuntuIssue installing minted on Windows 10Installing iopart class files on Ubuntu 16.04Biblatex 3.6 on Ubuntu 16.04 with Texlive 2016Minted package causing error failing to compileMinted package causing Error with “ifplatform.sty” and “minted.sty”Package minted Error: Missing Pygments output













1















I can't tell if this is Windows or *nix; you appear to be neither.



The error above is what I receive even when I try to compile something as simple as this:



documentclass[11pt]{article} 
usepackage{minted}

begin{document}
Test Text
end{document}


The error is clearly caused by the minted package being included (I assume it requires ifplatform) because the documents that don't use the minted package compile fine. I've tried compiling using both pdfTeX and XeTeX (with the -shell-escape argument of course.)



This error never popped up in the past when I had some distribution of LaTeX that got installed automatically when I installed TeXmaker through apt. But I installed MiKTeX because it's a lot easier to get new packages with it. That's when this problem started.



I tried reading the documentation for ifplatform and it said something about things becoming confused if there's a nul:.tex file in the search path. I only found a null.tex but deleted it anyway and it didn't help.



I'd really appreciate any help regarding the matter, thanks in advance!



EDIT: The point I mentioned about the documentation is on page 3 of the documentation found here.










share|improve this question




















  • 1





    I don't see anything in the style that looks as if something miktex specific could confuse it but as I'm on windows I can't test. Make a copy of the style in a test folder and then try to find out which way the tests go by add showx in sensible places while running your document (better don't use minted but only ifplatform for this tests).

    – Ulrike Fischer
    May 9 '18 at 17:30






  • 1





    can you reproduce with just ifplatform (and not minted)

    – David Carlisle
    May 9 '18 at 18:44











  • @DavidCarlisle I get the same error however the document compiles successfully if I include ifplatform instead of minted.

    – Romtromon
    May 10 '18 at 12:59











  • @UlrikeFischer I don't quite understand what you mean by " make a copy of the style" or what you want me to try doing in general actually.

    – Romtromon
    May 10 '18 at 13:01











  • copy ifplatform.sty to your actual folder. It will then be used by your document and you can change it without breaking the original. Then open this copy in your editor and try to figure out what it is doing by adding debugging messages (I often use simply showx to understand where I am).

    – Ulrike Fischer
    May 10 '18 at 13:20
















1















I can't tell if this is Windows or *nix; you appear to be neither.



The error above is what I receive even when I try to compile something as simple as this:



documentclass[11pt]{article} 
usepackage{minted}

begin{document}
Test Text
end{document}


The error is clearly caused by the minted package being included (I assume it requires ifplatform) because the documents that don't use the minted package compile fine. I've tried compiling using both pdfTeX and XeTeX (with the -shell-escape argument of course.)



This error never popped up in the past when I had some distribution of LaTeX that got installed automatically when I installed TeXmaker through apt. But I installed MiKTeX because it's a lot easier to get new packages with it. That's when this problem started.



I tried reading the documentation for ifplatform and it said something about things becoming confused if there's a nul:.tex file in the search path. I only found a null.tex but deleted it anyway and it didn't help.



I'd really appreciate any help regarding the matter, thanks in advance!



EDIT: The point I mentioned about the documentation is on page 3 of the documentation found here.










share|improve this question




















  • 1





    I don't see anything in the style that looks as if something miktex specific could confuse it but as I'm on windows I can't test. Make a copy of the style in a test folder and then try to find out which way the tests go by add showx in sensible places while running your document (better don't use minted but only ifplatform for this tests).

    – Ulrike Fischer
    May 9 '18 at 17:30






  • 1





    can you reproduce with just ifplatform (and not minted)

    – David Carlisle
    May 9 '18 at 18:44











  • @DavidCarlisle I get the same error however the document compiles successfully if I include ifplatform instead of minted.

    – Romtromon
    May 10 '18 at 12:59











  • @UlrikeFischer I don't quite understand what you mean by " make a copy of the style" or what you want me to try doing in general actually.

    – Romtromon
    May 10 '18 at 13:01











  • copy ifplatform.sty to your actual folder. It will then be used by your document and you can change it without breaking the original. Then open this copy in your editor and try to figure out what it is doing by adding debugging messages (I often use simply showx to understand where I am).

    – Ulrike Fischer
    May 10 '18 at 13:20














1












1








1








I can't tell if this is Windows or *nix; you appear to be neither.



The error above is what I receive even when I try to compile something as simple as this:



documentclass[11pt]{article} 
usepackage{minted}

begin{document}
Test Text
end{document}


The error is clearly caused by the minted package being included (I assume it requires ifplatform) because the documents that don't use the minted package compile fine. I've tried compiling using both pdfTeX and XeTeX (with the -shell-escape argument of course.)



This error never popped up in the past when I had some distribution of LaTeX that got installed automatically when I installed TeXmaker through apt. But I installed MiKTeX because it's a lot easier to get new packages with it. That's when this problem started.



I tried reading the documentation for ifplatform and it said something about things becoming confused if there's a nul:.tex file in the search path. I only found a null.tex but deleted it anyway and it didn't help.



I'd really appreciate any help regarding the matter, thanks in advance!



EDIT: The point I mentioned about the documentation is on page 3 of the documentation found here.










share|improve this question
















I can't tell if this is Windows or *nix; you appear to be neither.



The error above is what I receive even when I try to compile something as simple as this:



documentclass[11pt]{article} 
usepackage{minted}

begin{document}
Test Text
end{document}


The error is clearly caused by the minted package being included (I assume it requires ifplatform) because the documents that don't use the minted package compile fine. I've tried compiling using both pdfTeX and XeTeX (with the -shell-escape argument of course.)



This error never popped up in the past when I had some distribution of LaTeX that got installed automatically when I installed TeXmaker through apt. But I installed MiKTeX because it's a lot easier to get new packages with it. That's when this problem started.



I tried reading the documentation for ifplatform and it said something about things becoming confused if there's a nul:.tex file in the search path. I only found a null.tex but deleted it anyway and it didn't help.



I'd really appreciate any help regarding the matter, thanks in advance!



EDIT: The point I mentioned about the documentation is on page 3 of the documentation found here.







minted ubuntu linux ifplatform






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 20 hours ago









JouleV

4,91111139




4,91111139










asked May 9 '18 at 17:10









RomtromonRomtromon

83




83








  • 1





    I don't see anything in the style that looks as if something miktex specific could confuse it but as I'm on windows I can't test. Make a copy of the style in a test folder and then try to find out which way the tests go by add showx in sensible places while running your document (better don't use minted but only ifplatform for this tests).

    – Ulrike Fischer
    May 9 '18 at 17:30






  • 1





    can you reproduce with just ifplatform (and not minted)

    – David Carlisle
    May 9 '18 at 18:44











  • @DavidCarlisle I get the same error however the document compiles successfully if I include ifplatform instead of minted.

    – Romtromon
    May 10 '18 at 12:59











  • @UlrikeFischer I don't quite understand what you mean by " make a copy of the style" or what you want me to try doing in general actually.

    – Romtromon
    May 10 '18 at 13:01











  • copy ifplatform.sty to your actual folder. It will then be used by your document and you can change it without breaking the original. Then open this copy in your editor and try to figure out what it is doing by adding debugging messages (I often use simply showx to understand where I am).

    – Ulrike Fischer
    May 10 '18 at 13:20














  • 1





    I don't see anything in the style that looks as if something miktex specific could confuse it but as I'm on windows I can't test. Make a copy of the style in a test folder and then try to find out which way the tests go by add showx in sensible places while running your document (better don't use minted but only ifplatform for this tests).

    – Ulrike Fischer
    May 9 '18 at 17:30






  • 1





    can you reproduce with just ifplatform (and not minted)

    – David Carlisle
    May 9 '18 at 18:44











  • @DavidCarlisle I get the same error however the document compiles successfully if I include ifplatform instead of minted.

    – Romtromon
    May 10 '18 at 12:59











  • @UlrikeFischer I don't quite understand what you mean by " make a copy of the style" or what you want me to try doing in general actually.

    – Romtromon
    May 10 '18 at 13:01











  • copy ifplatform.sty to your actual folder. It will then be used by your document and you can change it without breaking the original. Then open this copy in your editor and try to figure out what it is doing by adding debugging messages (I often use simply showx to understand where I am).

    – Ulrike Fischer
    May 10 '18 at 13:20








1




1





I don't see anything in the style that looks as if something miktex specific could confuse it but as I'm on windows I can't test. Make a copy of the style in a test folder and then try to find out which way the tests go by add showx in sensible places while running your document (better don't use minted but only ifplatform for this tests).

– Ulrike Fischer
May 9 '18 at 17:30





I don't see anything in the style that looks as if something miktex specific could confuse it but as I'm on windows I can't test. Make a copy of the style in a test folder and then try to find out which way the tests go by add showx in sensible places while running your document (better don't use minted but only ifplatform for this tests).

– Ulrike Fischer
May 9 '18 at 17:30




1




1





can you reproduce with just ifplatform (and not minted)

– David Carlisle
May 9 '18 at 18:44





can you reproduce with just ifplatform (and not minted)

– David Carlisle
May 9 '18 at 18:44













@DavidCarlisle I get the same error however the document compiles successfully if I include ifplatform instead of minted.

– Romtromon
May 10 '18 at 12:59





@DavidCarlisle I get the same error however the document compiles successfully if I include ifplatform instead of minted.

– Romtromon
May 10 '18 at 12:59













@UlrikeFischer I don't quite understand what you mean by " make a copy of the style" or what you want me to try doing in general actually.

– Romtromon
May 10 '18 at 13:01





@UlrikeFischer I don't quite understand what you mean by " make a copy of the style" or what you want me to try doing in general actually.

– Romtromon
May 10 '18 at 13:01













copy ifplatform.sty to your actual folder. It will then be used by your document and you can change it without breaking the original. Then open this copy in your editor and try to figure out what it is doing by adding debugging messages (I often use simply showx to understand where I am).

– Ulrike Fischer
May 10 '18 at 13:20





copy ifplatform.sty to your actual folder. It will then be used by your document and you can change it without breaking the original. Then open this copy in your editor and try to figure out what it is doing by adding debugging messages (I often use simply showx to understand where I am).

– Ulrike Fischer
May 10 '18 at 13:20










1 Answer
1






active

oldest

votes


















0














This works for me and makes the .tex file compiles with no problem (I am using a Mac with MiKTeX and texMaker and had the same problem):



ProvidesFile{ifplatform.sty}
newififwindowswindowsfalse
usepackage{minted}





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%2f430853%2fifplatform-sty-error-after-installing-miktex-on-ubuntu-mate-16-04%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









    0














    This works for me and makes the .tex file compiles with no problem (I am using a Mac with MiKTeX and texMaker and had the same problem):



    ProvidesFile{ifplatform.sty}
    newififwindowswindowsfalse
    usepackage{minted}





    share|improve this answer






























      0














      This works for me and makes the .tex file compiles with no problem (I am using a Mac with MiKTeX and texMaker and had the same problem):



      ProvidesFile{ifplatform.sty}
      newififwindowswindowsfalse
      usepackage{minted}





      share|improve this answer




























        0












        0








        0







        This works for me and makes the .tex file compiles with no problem (I am using a Mac with MiKTeX and texMaker and had the same problem):



        ProvidesFile{ifplatform.sty}
        newififwindowswindowsfalse
        usepackage{minted}





        share|improve this answer















        This works for me and makes the .tex file compiles with no problem (I am using a Mac with MiKTeX and texMaker and had the same problem):



        ProvidesFile{ifplatform.sty}
        newififwindowswindowsfalse
        usepackage{minted}






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 3 at 20:35









        Werner

        446k699861692




        446k699861692










        answered Feb 3 at 19:55









        MNassarMNassar

        1




        1






























            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%2f430853%2fifplatform-sty-error-after-installing-miktex-on-ubuntu-mate-16-04%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

            Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

            How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...