Bug 380551

Summary: plugins using R2HTML should call require ("R2HTML")
Product: [Applications] rkward Reporter: Thomas Friedrichsmeier <thomas.friedrichsmeier>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Friedrichsmeier 2005-04-21 13:16:36 UTC
-- This ticket was imported from http://sourceforge.net/p/rkward/feature-requests/17 on 2017-05-31 14:48:55 +0100 --
Subjects almost says it all.  
Most plugins require / will require R2HTML, so  
R2HTML is almost a necessary requirement for  
rkward. Still, calling   
require \("R2HTML"\)  
explicitly \(in the "printout \(\)"-section\) has the 
advantage, that - if the user  
does not have that library installed - rkward will  
display a prompt and the package-installation  
dialog.  
Comment 1 RKWard Team 2005-04-21 13:21:57 UTC
-- Originally posted by (AT sourceforge.net): ecoch --
Logged In: YES 
user\_id=1131050

For simplicity's sake, though, let's advocate the use of
"rk.print\(x\)", which is just like "HTML\(x\)", but with a
"require" before. Plugins should use rk.print whenever
possible. Anyway, it's better to encapsulate R2HTML, as we
might some day want to use something else.
Comment 2 Thomas Friedrichsmeier 2005-10-23 15:23:49 UTC
Logged In: YES 
user\_id=300591

Done. Of course output in general is still a major 
point of inconsistency, and will need much more 
consideration. That's a separate issue, however. 
Comment 3 Thomas Friedrichsmeier 2005-10-23 15:23:49 UTC
- **status**: open --> closed