[LON-CAPA-users] formatting hardcopy of Homework sets

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Fri, 10 Sep 2004 13:59:39 -0400 (EDT)


Hi Steven,

So first off, why not let the students do the printing?

> Your solution changes the behaviour of the tag "textline", but now I'm 
> wondering how I would have known that "textline" was involved in the 
> first place? I.e, how do I get to look at the tex code that is being 
> produced for printing a problem?


Well this is at baest not documented well, but for the most part it
should be somewhat obvious, the <textline /> generates the box on
screen, so it also generates the box on the paper.

> I ask because, although your fix did get rid of the box, there are 
> OTHER things we'd like to get rid of in the printout (e.g., the "Tries 
> 0/6" line, and for that matter the excessive blank space between 
> problems)

Well somethings will be hard or even impossible for you to change
without modifying the source code.

> Lastly, (probably related): is there a way to FORCE a page break after 
> a problem on the written printout?

Well you can do  several possible things none of which are too
appetizing for right now.

1) you can include a resource that does nothing but cause a page
   break.

2) You could make a .sty that rewrite </problem> only on the resource
 you want it to into </problem><tex>\newpage</tex>

Meanwhile
http://bugs.loncapa.org/show_bug.cgi?id=2968
is being worked on.

-- 
guy@albertelli.com  LON-CAPA Developer  0-7-3-4-