probsoln error: “undefined control sequence repeat” in a loop Announcing the arrival of...

How do living politicians protect their readily obtainable signatures from misuse?

Is CEO the "profession" with the most psychopaths?

Drawing spherical mirrors

What is the home of the drow in Flanaess?

How to align multiple equations

Movie where a circus ringmaster turns people into animals

Is it fair for a professor to grade us on the possession of past papers?

Co-worker has annoying ringtone

How does Belgium enforce obligatory attendance in elections?

How does the math work when buying airline miles?

The Nth Gryphon Number

How to pronounce 伝統色

Is there hard evidence that the grant peer review system performs significantly better than random?

A letter with no particular backstory

Putting class ranking in CV, but against dept guidelines

A term for a woman complaining about things/begging in a cute/childish way

How often does castling occur in grandmaster games?

Why weren't discrete x86 CPUs ever used in game hardware?

What does Turing mean by this statement?

How many morphisms from 1 to 1+1 can there be?

What order were files/directories output in dir?

What is an "asse" in Elizabethan English?

Misunderstanding of Sylow theory

Amount of permutations on an NxNxN Rubik's Cube



probsoln error: “undefined control sequence repeat” in a loop



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)LaTeX algorithmic package: Undefined Control Sequence in for-LoopTeach me how to use loop…repeat constructs, etchow to use loop … repeat to generate an arbitrary number of rows in a tableContext - Error creating boxes in loopUndefined Control Sequence For, state, or EndForError in foreach loop when number range defined with a macroWhy does a loop fail to repeat when filling longtable contents?How to put multiple paragraphs in single loop … repeat












0















For context, I am using the probsoln package to create a list of problems and solutions. The problems and their solutions come from files in the same directory titled bank_lesson1.tex, bank_lesson2.tex, etc. There are 10 lessons.



For some reason, I'm getting the error "Undefined control sequence repeat". I was under the impression that loop and repeat were built into TeX and were immediately usable.



documentclass[11pt]{article}
usepackage[left=1in, top=1.25in, right=1in, bottom=1.25in, head=30pt]{geometry}
geometry{letterpaper}
usepackage{graphicx}
usepackage{amssymb, amsmath, commath}

usepackage{probsoln}


begin{document}

newcounter{intA}
setcounter{intA}{1}
loop
loadallproblems[bank_lessontheintA]{bank_lessontheintA}

section{Lesson theintA}

{
showanswers
begin{enumerate}
foreachproblem[bank_lessontheintA]{itemthisproblem}
end{enumerate}
}

clearpage

addtocounter{intA}{1}
ifnum value{intA}<11
repeat


end{document}









share|improve this question







New contributor




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





















  • Can you please report exactly the error message as shown in the log file?

    – egreg
    3 mins ago
















0















For context, I am using the probsoln package to create a list of problems and solutions. The problems and their solutions come from files in the same directory titled bank_lesson1.tex, bank_lesson2.tex, etc. There are 10 lessons.



For some reason, I'm getting the error "Undefined control sequence repeat". I was under the impression that loop and repeat were built into TeX and were immediately usable.



documentclass[11pt]{article}
usepackage[left=1in, top=1.25in, right=1in, bottom=1.25in, head=30pt]{geometry}
geometry{letterpaper}
usepackage{graphicx}
usepackage{amssymb, amsmath, commath}

usepackage{probsoln}


begin{document}

newcounter{intA}
setcounter{intA}{1}
loop
loadallproblems[bank_lessontheintA]{bank_lessontheintA}

section{Lesson theintA}

{
showanswers
begin{enumerate}
foreachproblem[bank_lessontheintA]{itemthisproblem}
end{enumerate}
}

clearpage

addtocounter{intA}{1}
ifnum value{intA}<11
repeat


end{document}









share|improve this question







New contributor




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





















  • Can you please report exactly the error message as shown in the log file?

    – egreg
    3 mins ago














0












0








0








For context, I am using the probsoln package to create a list of problems and solutions. The problems and their solutions come from files in the same directory titled bank_lesson1.tex, bank_lesson2.tex, etc. There are 10 lessons.



For some reason, I'm getting the error "Undefined control sequence repeat". I was under the impression that loop and repeat were built into TeX and were immediately usable.



documentclass[11pt]{article}
usepackage[left=1in, top=1.25in, right=1in, bottom=1.25in, head=30pt]{geometry}
geometry{letterpaper}
usepackage{graphicx}
usepackage{amssymb, amsmath, commath}

usepackage{probsoln}


begin{document}

newcounter{intA}
setcounter{intA}{1}
loop
loadallproblems[bank_lessontheintA]{bank_lessontheintA}

section{Lesson theintA}

{
showanswers
begin{enumerate}
foreachproblem[bank_lessontheintA]{itemthisproblem}
end{enumerate}
}

clearpage

addtocounter{intA}{1}
ifnum value{intA}<11
repeat


end{document}









share|improve this question







New contributor




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












For context, I am using the probsoln package to create a list of problems and solutions. The problems and their solutions come from files in the same directory titled bank_lesson1.tex, bank_lesson2.tex, etc. There are 10 lessons.



For some reason, I'm getting the error "Undefined control sequence repeat". I was under the impression that loop and repeat were built into TeX and were immediately usable.



documentclass[11pt]{article}
usepackage[left=1in, top=1.25in, right=1in, bottom=1.25in, head=30pt]{geometry}
geometry{letterpaper}
usepackage{graphicx}
usepackage{amssymb, amsmath, commath}

usepackage{probsoln}


begin{document}

newcounter{intA}
setcounter{intA}{1}
loop
loadallproblems[bank_lessontheintA]{bank_lessontheintA}

section{Lesson theintA}

{
showanswers
begin{enumerate}
foreachproblem[bank_lessontheintA]{itemthisproblem}
end{enumerate}
}

clearpage

addtocounter{intA}{1}
ifnum value{intA}<11
repeat


end{document}






loops probsoln






share|improve this question







New contributor




ryanj1823 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




ryanj1823 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




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









asked 17 mins ago









ryanj1823ryanj1823

1




1




New contributor




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





New contributor





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






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













  • Can you please report exactly the error message as shown in the log file?

    – egreg
    3 mins ago



















  • Can you please report exactly the error message as shown in the log file?

    – egreg
    3 mins ago

















Can you please report exactly the error message as shown in the log file?

– egreg
3 mins ago





Can you please report exactly the error message as shown in the log file?

– egreg
3 mins ago










0






active

oldest

votes












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


}
});






ryanj1823 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%2f485666%2fprobsoln-error-undefined-control-sequence-repeat-in-a-loop%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








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










draft saved

draft discarded


















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













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












ryanj1823 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%2f485666%2fprobsoln-error-undefined-control-sequence-repeat-in-a-loop%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

IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...