Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » Chuck's CnxBlog » Fixes to course printing system

Fixes to course printing system Fixes to course printing system

Document Actions
Submitted by cbearden. on 2006-06-26 09:22. Printing
This weekend I finished up several changes to the course printing system that considerably reduce the pain of creating course PDFs.

If you were here this year, you will remember my battles with the course printing system in preparing Kitty's Introduction to Music Theory as a book to distribute at the TED conference. The single most time-consuming, error-prone part of the effort was moving the solutions to problems to the end of each chapter, and then renumbering the accompanying figure. There were other problems as well, such as the failure to generate unique labels/ids in LaTeX because the moduleid of the context module was unavailable.

This past weekend I finished up changes to the course printing that I believe fix the worst of these problems, namely the placement of solutions and the label-generation problems. I also made some cosmetic adjustments (including the course URI on the contributing authors page, modifying the copyright date, and changing from 'cnx.rice.edu' to 'cnx.org' in most places). The cosmetic changes and the fix that made moduleids always available I committed to printing/trunk. For the grouping of solutions in a section at the end of each chapter I created a branch 'printing/solutions-branch' and committed there. I have tested the code on the intro to music theory and on the course built by Minh Do for the DSP Summer School in Vietnam. It works as expected on these courses, though there are still at least three kinds of manual intervention required in making a suitable course PDF:

  • Arranging figures in solutions so that they appear with their solutions (mostly by inserting \newline to break pages.
  • Adjusting image widths for images that come out too large or too small in the PDF.
  • Adjusting the LaTeX tables (column widths, page breaks); rather kludgy at times.

Developer Blog
« July 2008 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
2008-07-02
12:53-12:53 Performance tests of module PDF generation
Categories:
Content (55)
Copyright (0)
Deep Code (3)
Development (198)
Markup (22)
Metadata (1)
Printing (7)
Style (9)
Testing (2)
Usability (6)