[LON-CAPA-cvs] cvs: loncom /interface lonhelp.pm

raeburn raeburn at source.lon-capa.org
Sat Aug 20 10:28:52 EDT 2016


raeburn		Sat Aug 20 14:28:52 2016 EDT

  Modified files:              
    /loncom/interface	lonhelp.pm 
  Log:
  - Convert LaTeX style left single quotes to standard single quotes for HTML
    output. 
  
  
Index: loncom/interface/lonhelp.pm
diff -u loncom/interface/lonhelp.pm:1.44 loncom/interface/lonhelp.pm:1.45
--- loncom/interface/lonhelp.pm:1.44	Wed Apr 23 17:57:57 2014
+++ loncom/interface/lonhelp.pm	Sat Aug 20 14:28:52 2016
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonhelp.pm,v 1.44 2014/04/23 17:57:57 bisitz Exp $
+# $Id: lonhelp.pm,v 1.45 2016/08/20 14:28:52 raeburn Exp $
 #
 # .tex help system web server handler
 #
@@ -172,6 +172,8 @@
     # Fix the pretty quotes
     $tex =~ s/('')|(``)/"/g; #" to get emacs syntax highlighter happy
 
+    $tex =~ s/`/'/g;
+
     # For some reason all captions come out as "Figure 0:", so
     # just duck the issue...
 




More information about the LON-CAPA-cvs mailing list