continue copy number within one project instead of resetting it to 1 for each invocation on examcopy (Bug #39)


Added by Pieter Van den Hombergh over 12 years ago. Updated over 12 years ago.


Status:Closed Start date:04/01/2012
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:1.1.0

Description

I would like to have two (later maybe more) \begin{examcopy} in my projects.
In case I want to produce a set of Dutch and German exams in one project; both languages are present in my questions and choices.

Probably the student (or exam number) is not unique, which is caught by sql lite.
Problem can be probably be solved by resetting the (student) number only once in the latex file processing and not at the start of begin{examcopy}.

SQL ERROR: DBD::SQLite::st execute failed: constraint failed
columns student, page are not unique
SQL STATEMENT: INSERT INTO layout.layout_page (student,page,checksum,subjectpage,dpi,width,height,markdiameter,sourceid) VALUES (?,?,?,?,?,?,?,?,?)


History

Updated by Alexis Bienvenüe over 12 years ago

You're right: it would be better not to reset the copy number. I adapted the LaTeX style file (since revision r981) - please try it.

  • Target version set to 1.1.0
  • Status changed from New to In Progress

Updated by Pieter Van den Hombergh over 12 years ago

Works like a charm.
I have another proposal with a solution, \AMCpageref. I will add it as an issue, including my patch.

Updated by Alexis Bienvenüe over 12 years ago

  • Status changed from In Progress to Resolved

Updated by Alexis Bienvenüe over 12 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF