Error @fileswith@pti@ns












1















So, I am having problem with this and couldn't find an answer.



documentclass[margin, 10pt]{res} 
usepackage[res]
usepackage[brazilian]{babel}
usepackage{color}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

usepackage{newcent}

setlength{textwidth}{5.1in} % Text width of the document

begin{document}


And it gives me the error:



28
Argument of @fileswith@pti@ns has an extra }.
<inserted text>
par
l.28 usepackage{
color}


I already tried everything. Any help?










share|improve this question







New contributor




Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX.SE. Peraphs is xcolor instead of color. Missing also end{document}.

    – Sebastiano
    7 hours ago













  • Where does class/package res comes from? As far as I know they are rather old and should not be used any longer ...

    – Kurt
    6 hours ago











  • @Kurt I didn't even know it existed since 2002 when I started writing in LaTeX :-)

    – Sebastiano
    6 hours ago











  • Yeah @Kurt , it is an old file, when I take it off, it works fine.

    – Rodf
    6 hours ago











  • please always post the error message that you get from the example posted the error you show is from a different file, which loads color on line 28 and res on line 27 with no intervening babel.

    – David Carlisle
    4 hours ago
















1















So, I am having problem with this and couldn't find an answer.



documentclass[margin, 10pt]{res} 
usepackage[res]
usepackage[brazilian]{babel}
usepackage{color}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

usepackage{newcent}

setlength{textwidth}{5.1in} % Text width of the document

begin{document}


And it gives me the error:



28
Argument of @fileswith@pti@ns has an extra }.
<inserted text>
par
l.28 usepackage{
color}


I already tried everything. Any help?










share|improve this question







New contributor




Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX.SE. Peraphs is xcolor instead of color. Missing also end{document}.

    – Sebastiano
    7 hours ago













  • Where does class/package res comes from? As far as I know they are rather old and should not be used any longer ...

    – Kurt
    6 hours ago











  • @Kurt I didn't even know it existed since 2002 when I started writing in LaTeX :-)

    – Sebastiano
    6 hours ago











  • Yeah @Kurt , it is an old file, when I take it off, it works fine.

    – Rodf
    6 hours ago











  • please always post the error message that you get from the example posted the error you show is from a different file, which loads color on line 28 and res on line 27 with no intervening babel.

    – David Carlisle
    4 hours ago














1












1








1








So, I am having problem with this and couldn't find an answer.



documentclass[margin, 10pt]{res} 
usepackage[res]
usepackage[brazilian]{babel}
usepackage{color}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

usepackage{newcent}

setlength{textwidth}{5.1in} % Text width of the document

begin{document}


And it gives me the error:



28
Argument of @fileswith@pti@ns has an extra }.
<inserted text>
par
l.28 usepackage{
color}


I already tried everything. Any help?










share|improve this question







New contributor




Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












So, I am having problem with this and couldn't find an answer.



documentclass[margin, 10pt]{res} 
usepackage[res]
usepackage[brazilian]{babel}
usepackage{color}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

usepackage{newcent}

setlength{textwidth}{5.1in} % Text width of the document

begin{document}


And it gives me the error:



28
Argument of @fileswith@pti@ns has an extra }.
<inserted text>
par
l.28 usepackage{
color}


I already tried everything. Any help?







babel






share|improve this question







New contributor




Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 7 hours ago









RodfRodf

61




61




New contributor




Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Rodf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Welcome to TeX.SE. Peraphs is xcolor instead of color. Missing also end{document}.

    – Sebastiano
    7 hours ago













  • Where does class/package res comes from? As far as I know they are rather old and should not be used any longer ...

    – Kurt
    6 hours ago











  • @Kurt I didn't even know it existed since 2002 when I started writing in LaTeX :-)

    – Sebastiano
    6 hours ago











  • Yeah @Kurt , it is an old file, when I take it off, it works fine.

    – Rodf
    6 hours ago











  • please always post the error message that you get from the example posted the error you show is from a different file, which loads color on line 28 and res on line 27 with no intervening babel.

    – David Carlisle
    4 hours ago



















  • Welcome to TeX.SE. Peraphs is xcolor instead of color. Missing also end{document}.

    – Sebastiano
    7 hours ago













  • Where does class/package res comes from? As far as I know they are rather old and should not be used any longer ...

    – Kurt
    6 hours ago











  • @Kurt I didn't even know it existed since 2002 when I started writing in LaTeX :-)

    – Sebastiano
    6 hours ago











  • Yeah @Kurt , it is an old file, when I take it off, it works fine.

    – Rodf
    6 hours ago











  • please always post the error message that you get from the example posted the error you show is from a different file, which loads color on line 28 and res on line 27 with no intervening babel.

    – David Carlisle
    4 hours ago

















Welcome to TeX.SE. Peraphs is xcolor instead of color. Missing also end{document}.

– Sebastiano
7 hours ago







Welcome to TeX.SE. Peraphs is xcolor instead of color. Missing also end{document}.

– Sebastiano
7 hours ago















Where does class/package res comes from? As far as I know they are rather old and should not be used any longer ...

– Kurt
6 hours ago





Where does class/package res comes from? As far as I know they are rather old and should not be used any longer ...

– Kurt
6 hours ago













@Kurt I didn't even know it existed since 2002 when I started writing in LaTeX :-)

– Sebastiano
6 hours ago





@Kurt I didn't even know it existed since 2002 when I started writing in LaTeX :-)

– Sebastiano
6 hours ago













Yeah @Kurt , it is an old file, when I take it off, it works fine.

– Rodf
6 hours ago





Yeah @Kurt , it is an old file, when I take it off, it works fine.

– Rodf
6 hours ago













please always post the error message that you get from the example posted the error you show is from a different file, which loads color on line 28 and res on line 27 with no intervening babel.

– David Carlisle
4 hours ago





please always post the error message that you get from the example posted the error you show is from a different file, which loads color on line 28 and res on line 27 with no intervening babel.

– David Carlisle
4 hours ago










2 Answers
2






active

oldest

votes


















2














I have a problem of compilation with documentclass[margin, 10pt]{res}. I have replaced it with article class. After I have removed unknown package usepackage{res} and not with the bracket [...] or it'll give you a mistake.



documentclass[margin, 10pt]{article} 
usepackage[brazilian]{babel}
usepackage{xcolor}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{newcent}
setlength{textwidth}{5.1in} % Text width of the document
begin{document}
Bla bla bla
end{document}





share|improve this answer


























  • Holy. That worked, thank you!

    – Rodf
    7 hours ago











  • @Rodf No no I'm not holy :-). I am simply a very normal person who tries to help others.

    – Sebastiano
    7 hours ago



















0














I suspect there is no res package it would be odd to have a package and class with the same name, if you had, as you intended,



usepackage{res}


The error would have been



! LaTeX Error: File `res.sty' not found.


but you have



usepackage[res]


with square brackets, so this is parsed as



usepackage[res]{usepackage}
[brazilian]{babel}


and latex tries to expand usepackage with no arguments to get a string to use as a filename, this is doomed to failure and you get



! Argument of @fileswith@pti@ns has an extra }.


as some internal macro in the definition of usepackage tries to find an argument but finds }.






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
    });


    }
    });






    Rodf is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482836%2ferror-fileswithptins%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I have a problem of compilation with documentclass[margin, 10pt]{res}. I have replaced it with article class. After I have removed unknown package usepackage{res} and not with the bracket [...] or it'll give you a mistake.



    documentclass[margin, 10pt]{article} 
    usepackage[brazilian]{babel}
    usepackage{xcolor}
    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage{newcent}
    setlength{textwidth}{5.1in} % Text width of the document
    begin{document}
    Bla bla bla
    end{document}





    share|improve this answer


























    • Holy. That worked, thank you!

      – Rodf
      7 hours ago











    • @Rodf No no I'm not holy :-). I am simply a very normal person who tries to help others.

      – Sebastiano
      7 hours ago
















    2














    I have a problem of compilation with documentclass[margin, 10pt]{res}. I have replaced it with article class. After I have removed unknown package usepackage{res} and not with the bracket [...] or it'll give you a mistake.



    documentclass[margin, 10pt]{article} 
    usepackage[brazilian]{babel}
    usepackage{xcolor}
    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage{newcent}
    setlength{textwidth}{5.1in} % Text width of the document
    begin{document}
    Bla bla bla
    end{document}





    share|improve this answer


























    • Holy. That worked, thank you!

      – Rodf
      7 hours ago











    • @Rodf No no I'm not holy :-). I am simply a very normal person who tries to help others.

      – Sebastiano
      7 hours ago














    2












    2








    2







    I have a problem of compilation with documentclass[margin, 10pt]{res}. I have replaced it with article class. After I have removed unknown package usepackage{res} and not with the bracket [...] or it'll give you a mistake.



    documentclass[margin, 10pt]{article} 
    usepackage[brazilian]{babel}
    usepackage{xcolor}
    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage{newcent}
    setlength{textwidth}{5.1in} % Text width of the document
    begin{document}
    Bla bla bla
    end{document}





    share|improve this answer















    I have a problem of compilation with documentclass[margin, 10pt]{res}. I have replaced it with article class. After I have removed unknown package usepackage{res} and not with the bracket [...] or it'll give you a mistake.



    documentclass[margin, 10pt]{article} 
    usepackage[brazilian]{babel}
    usepackage{xcolor}
    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage{newcent}
    setlength{textwidth}{5.1in} % Text width of the document
    begin{document}
    Bla bla bla
    end{document}






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 7 hours ago

























    answered 7 hours ago









    SebastianoSebastiano

    11.5k42164




    11.5k42164













    • Holy. That worked, thank you!

      – Rodf
      7 hours ago











    • @Rodf No no I'm not holy :-). I am simply a very normal person who tries to help others.

      – Sebastiano
      7 hours ago



















    • Holy. That worked, thank you!

      – Rodf
      7 hours ago











    • @Rodf No no I'm not holy :-). I am simply a very normal person who tries to help others.

      – Sebastiano
      7 hours ago

















    Holy. That worked, thank you!

    – Rodf
    7 hours ago





    Holy. That worked, thank you!

    – Rodf
    7 hours ago













    @Rodf No no I'm not holy :-). I am simply a very normal person who tries to help others.

    – Sebastiano
    7 hours ago





    @Rodf No no I'm not holy :-). I am simply a very normal person who tries to help others.

    – Sebastiano
    7 hours ago











    0














    I suspect there is no res package it would be odd to have a package and class with the same name, if you had, as you intended,



    usepackage{res}


    The error would have been



    ! LaTeX Error: File `res.sty' not found.


    but you have



    usepackage[res]


    with square brackets, so this is parsed as



    usepackage[res]{usepackage}
    [brazilian]{babel}


    and latex tries to expand usepackage with no arguments to get a string to use as a filename, this is doomed to failure and you get



    ! Argument of @fileswith@pti@ns has an extra }.


    as some internal macro in the definition of usepackage tries to find an argument but finds }.






    share|improve this answer




























      0














      I suspect there is no res package it would be odd to have a package and class with the same name, if you had, as you intended,



      usepackage{res}


      The error would have been



      ! LaTeX Error: File `res.sty' not found.


      but you have



      usepackage[res]


      with square brackets, so this is parsed as



      usepackage[res]{usepackage}
      [brazilian]{babel}


      and latex tries to expand usepackage with no arguments to get a string to use as a filename, this is doomed to failure and you get



      ! Argument of @fileswith@pti@ns has an extra }.


      as some internal macro in the definition of usepackage tries to find an argument but finds }.






      share|improve this answer


























        0












        0








        0







        I suspect there is no res package it would be odd to have a package and class with the same name, if you had, as you intended,



        usepackage{res}


        The error would have been



        ! LaTeX Error: File `res.sty' not found.


        but you have



        usepackage[res]


        with square brackets, so this is parsed as



        usepackage[res]{usepackage}
        [brazilian]{babel}


        and latex tries to expand usepackage with no arguments to get a string to use as a filename, this is doomed to failure and you get



        ! Argument of @fileswith@pti@ns has an extra }.


        as some internal macro in the definition of usepackage tries to find an argument but finds }.






        share|improve this answer













        I suspect there is no res package it would be odd to have a package and class with the same name, if you had, as you intended,



        usepackage{res}


        The error would have been



        ! LaTeX Error: File `res.sty' not found.


        but you have



        usepackage[res]


        with square brackets, so this is parsed as



        usepackage[res]{usepackage}
        [brazilian]{babel}


        and latex tries to expand usepackage with no arguments to get a string to use as a filename, this is doomed to failure and you get



        ! Argument of @fileswith@pti@ns has an extra }.


        as some internal macro in the definition of usepackage tries to find an argument but finds }.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 5 hours ago









        David CarlisleDavid Carlisle

        497k4111441891




        497k4111441891






















            Rodf is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Rodf is a new contributor. Be nice, and check out our Code of Conduct.













            Rodf is a new contributor. Be nice, and check out our Code of Conduct.












            Rodf is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f482836%2ferror-fileswithptins%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

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)