[LON-CAPA-users] Re: FW: printing LON-CAPA tables

James Sullivan lon-capa-users@mail.lon-capa.org
Mon, 19 Mar 2007 07:56:31 -0400


Robley, Felicia,

Thanks. I've tried your suggestions and it solves the printing issue. 

Is this a permanent solution, or will there be support in future releases of Loncapa to handle printing of <part></part> inside of tables?

Thanks again,
Jay


>>> "Robley Light" <rlight@chem.fsu.edu> 03/16/07 5:13 PM >>>
One of the problems Felicia is referring to is at: 
res/fsu/GeneralChemLib/Lab/InterMolForces/LiquidProperties.problem 

I wanted to make the web page compact, so I grouped parts into table cells.
But they don't print well, so Felicia suggested I wrapped all the table tags
in <web></web> tags, and that seems to work okay.  I've done this in a
number of problems, but this in an extreme case.

Attached are the codes with (LiquidProperties(Prints).txt) and without
(LiquidProperties(NoPrint).txt) the <web></web> tags.

Robley Light

*************************************************************
Robley J. Light                         Professor Emeritus of Chemistry and
Biochemistry
Department of Chemistry          Phone:   (850) 644-3844
   and Biochemistry                   Email:  rlight@chem.fsu.edu  
Florida State University             Fax:      (850) 644-8281
Tallahassee, FL 32306-4390    Home Page:
http://www.chem.fsu.edu/editors/rlight   
                    

 

________________________________

From: Felicia Berryman [mailto:felicia@lon-capa.org] 
Sent: Friday, March 16, 2007 1:05 PM
To: rlight@chemmail.chem.fsu.edu
Subject: printing LON-CAPA tables


Hi Robley, 

I'm forwarding this to you in case you happen to skip over this.  Could you
please respond to the list and/or Jay if you don't mind.

Felicia

-------- Original Message -------- 
Subject: 	Re: [LON-CAPA-users] printing problems with tables and
general printing of "exams"	
Date: 	Fri, 16 Mar 2007 12:12:17 -0400	
From: 	Felicia Berryman <felicia@lon-capa.org>
<mailto:felicia@lon-capa.org> 	
Reply-To: 	lon-capa-users@mail.lon-capa.org	
To: 	lon-capa-users@mail.lon-capa.org	
CC: 	SullivanJ@coastal.cc.nc.us	
References: 	<45E411600200001F00003CEC@gwstaff.coastal.cc.nc.us>
<mailto:45E411600200001F00003CEC@gwstaff.coastal.cc.nc.us> 	


Hi Jay,

> 1) What magic foobar tags do I need to include to have a table printed
> properly from a problem?
>
> For example, the following problem
> "/res/vcu/jmsullivan/physics/work/mom_num_pushedboxes02.problem", has
> the tables mangled in the pdf printout. Is there a tag I need to put
> around the <table>...</table> for this to print correctly?
>   
Tables should just print properly without having to do something 
special.  However, the table in this problem isn't a normal data table.  
You are putting problem parts in table cells.  Robley Light had a 
similar problem and we resolved it be just wrapping the code for the 
<table> tags inside of <web></web> tags.  This way, the table just 
appears on the web but prints with no table formatting.  Robley, do you 
remember where this problem is?  Jay may find it helpful to look at it 
and print it out and see if he likes this workaround.

Felicia

-- 
Felicia Berryman
LON-CAPA Support Coordinator
Michigan State University
Phone:  (517)432-9866
Technical Support Available at:
  http://www.loncapa.msu.edu - MSU Users
  http://www.help.lon-capa.org - General

_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users


-- 
Felicia Berryman
LON-CAPA Support Coordinator
Michigan State University
Phone:  (517)432-9866
Technical Support Available at:
   http://www.loncapa.msu.edu - MSU Users
   http://www.help.lon-capa.org - General


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is 
believed to be clean. 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.