Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option part problems: regression with 0.2.3b129 #105

Closed
Vouivre opened this issue Feb 24, 2019 · 3 comments
Closed

Option part problems: regression with 0.2.3b129 #105

Vouivre opened this issue Feb 24, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@Vouivre
Copy link

Vouivre commented Feb 24, 2019

Hi,

I have tested the last release and there is a problem when I set

part problems=false

in exercisebanksetup.

If you set part problems on false, you should see the problem. The first line of the exercise is above the exercise title. Here is an example if necessary:

main.tex

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{exercisebank}

\title{My exercises}

\exercisebanksetup{exercise
  directory=/home/user/Mes_Documents/prof/cours_exercices/bank/,
part problems=false,
tighten paragraphs=false}


\makeset[nohead]{myExerciseSet}{databasedummy}

\DisplaySolutions
%\ShowNumbers
\translateExBank{Problem=Exercice}

\begin{document}

  
\maketitle{}

\buildset{myExerciseSet}
  
\end{document}

And the file databasedummy.tex with the exercises:

\nextproblem{points=3}
\begin{problem}
Problem 1
\end{problem}
\begin{solution}
Res1
\end{solution}
\nextproblem{points=2}
\begin{problem}
Prob2 
\end{problem}
\begin{solution}
Res2
\end{solution}
\nextproblem{points=1}
\begin{problem}
Prob3
\end{problem}
\begin{solution}
Res3
\end{solution}
@Strauman
Copy link
Owner

It's something weird in combo with the nohead arg (and that it ads another header at the end which it shouldn't). Definitely a bug though.

@Strauman Strauman added the bug Something isn't working label Feb 24, 2019
Strauman added a commit that referenced this issue Feb 24, 2019
@Strauman
Copy link
Owner

Should be fixed in build 130

@Vouivre
Copy link
Author

Vouivre commented Feb 24, 2019

Yes, great 👍 !!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants