Code Monkey home page Code Monkey logo

exercisebank's People

Contributors

strauman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

exercisebank's Issues

typo in manual

in docs/intro.tex line 105, "Anyhing" should be "Anything".

Tagging exercises

Ability to tag exercises and tell sprite only to build exercises with given tags.
Example:

%someExercisefile.tex
\tag{exam}

Then in main file

%main.tex
\sprite[tags={exam}]

Actually implement path control

I'm fairly certain it says in the docs that figure environment is included automatically. This is however not implemented in the exercisebank.

\makeset[intro] not working in example files bug?

  1. I tried this command with the shipped example files:
    \makeset[intro]{1}{firstexercise}
    and got this error message:
    ! LaTeX Error: Something's wrong--perhaps a missing \item.

  2. The next thing is, that first line of the intro content is indented to the right like so:
    indent
    I got style margins=no to get everything aligned to the left side. If I set

\begin{intro}
   \par
   \vspace{-1\baselineskip}
   \lipsum[1-1]
\end{intro}

if works fine.

Regards
Thorsten

Command that holds _all_ sets.

Command like \allsets{exerc/someex, exerc/somotherset} for use in \sprite. This can also be used to see which sets are unused.

Selection of multiple problems

Hi,
I have tested the version 0.2.1 (b81) and there is an issue when selecting multiple problems. I do the following to select multiple problems:

    \makeset[nohead]{myExerciseSet}{\select{databaseNombres}{18,...,35}}
    \DisplaySolutions
    \ShowNumbers
    \translateExBank{Problem=Exercice}
    \buildset{myExerciseSet}

Only the Problem 18 from the file "databaseNombres.tex" is displayed.

With version 0.2 there is no problem.

Pathcontrol doesn't work as expected.

Hi,

I have a lot of problems, so they are stored in external files. I include also some pictures in my problems and I have centralized them in a folder. For examples, my problems are in

  • /home/user/Documents/exercises/geometry/databaseGeometry.tex
  • /home/user/Documents/exercises/numbers/databaseNumbers.tex

and the pictures

  • /home/user/Documents/pictures/math/geometry/
  • /home/user/Documents/pictures/math/numbers/

So I used "figure root directory":

\exercisebanksetup{exercise
  directory=/home/user/Documents/exercises/,
figure root directory=/home/users/Documents/pictures/math/,
part problems=Off}

So in order to include a picture I have to do:

\includegraphics{numbers/mypicture}

Unfortunately it doesn't work. After searching, I discoverd it works if my external files are all in the same directory. For example:

  • /home/user/Documents/exercises/databaseGeometry.tex
  • /home/user/Documents/exercises/databaseNumbers.tex

The structure for the pictures is the same. Is it intentional ? I read nothing in the documentation, can't we mention it ? It would be good to split external files in several directories, but other features are more important at the moment I think.

Underscore in file or path

Hi,

My exercises are split in different files. For example I had:

  • database_geometry.tex
  • database_numbers.tex

I noticed there is a problem with the underscore. I had to make the following changes:

database_geometry.tex -> databaseGeometry.tex
database_numbers.tex -> databaseNumbers.tex

I had the same with paths. For example all my exercises are stored in:

exercises/geometry_euclidean/databaseGeometry.tex
exercises/numbers_integers/databaseNumbers.tex

I defined:

\exercisebanksetup{exercise
  directory=/home/user/Documents/exercises/,
part problems=Off}

So to insert some exercises:

\makeset[nohead]{myExerciseSet1}{\select{geometry_euclidean/databaseGeometry}{35,36,37,38}}
\makeset[nohead]{myExerciseSet2}{\select{numbers_integers/databaseNumbers}{78,79,80}}

After deleting the "_" in the path, there was no problem. I didn't read in the documentation, that it can be a problem. I don't know if it's intentional. For me there is no problem, but perhaps you should mention in in the documentation.

Find a new way to hide environments

Now the package is using the comment-package. This is the only way that was found that supported also verbatim and listings mode. The main reason to do this is to prevent the necessity of having \begin{problem} and \end{problem} environments on one line without any other text.

Add `problem` options

Ability to put options on problem environments. E.g. names to be reffered to later.

Fix name of lengths and add them to docs for users to set as they please

Lengths have too cryptic meanings and are inconsistent in which exists and not exists.
These should be available for users, and be well documented

Current lengths are defined in problemstyle.tex

\setlength{\ppLeading}{4em}
\setlength{\pMarginBelow}{1em}
\setlength{\pMarginAbove}{1em}
\setlength{\pMarginLeft}{-1.5em}
\setlength{\ppMarginBelow}{2em}
\setlength{\ppMarginAbove}{2em}
\setlength{\ppMargin}{2em}
\setlength{\ppPullback}{3.5em}

\ShowNumbers produces strange numbers

When I set

\ShowNumbers in your example files I got this plus intro does not have a number.

shownumbers

And also, how can I change the attributes (font and color) of the command? Say, I would like yellow big sans serif numbers with a bit more distance to the text, is that possible?

Support solution in separate file

The exercises might become quite messy. Putting solutions in a different file might help that. Done by some label on problems and solutions.

Introduce variants of problems

For example, if you have a problem that only have a few differences, you'd do e.g.

\begin{problem}
    \variant{Show}{Show that the expression becomes:}
    \variant{Derive}{Derive the expression and show that it is:}
    \[ SomeExpression \]
\end{problem}

This could be extended to variants of the entire exercise. E.g. if you either can give the students an expression or ask them to derive it

\begin{problem}{variant=DeriveExpression, variant group=MyExercise}
    Derive the expression for the ...
\end{problem}
\begin{intro}{variant=GivenExpression, variant group=MyExercise}
    The expression is given by \[ \dots \]
\end{intro}

This would probably relate to #25

Points and other features possible?

Hi,

I like the idea of your package to keep things as simple as possible. I tried over the years many latex exam packages, the most important are eqexam and xsim. The problem with these packages is, that they have to much overload for my daily work. Eqexam/Acrotex needs Adobe Acrobat to run and xsim is very very slow at compile time, that's nothing for my daily work as a teacher with lot's of different courses and many different exams.

So I looked at your package and it seems to be lightweight and fast. I miss a couple of things/features.

  1. Tagging problems like in xsim
  2. The calculation of points with bonus points like xsim/eqexam would be a very important feature for my work.
  3. Blank lines for the students to write something in as well.

Is that possible with your package?

Regards
Thorsten

Make a `\deletehook` in `\At`

Make a command defined in the \At scope. MVCE:

\At\BeginSomething{\doSomethingOnce\deletehook}

And when \Trigger\BeginSomething is done, then the hook \BeginSomething is cleared.

Package options

Support for package options. I suggest using PGFKeys with an \exercisebanksetup{} command.

Unit tests

I would love it if someone could write one (or more files) that would test the functionality. That means just make .tex-files that uses the functionality from the docs. For example something that tests \exercisebanksetup. I would be very grateful if someone would pick up on this.

Remove default `\exerciseDir`, but keep for backwards compability

It's kinda unintuitive to have a default directory. Now it defaults to \exerciseDir, but it shouldn't. But since several people already downloaded this package, then they should be able to keep doing it:

If the directory exercises/ exists and a set is not found, then print a @latex@warning or @latex@error to let them know they have to explicitly define \exerciseDir{exercises}.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.