Commits

Robert Mařík  committed 600ba03

fix for %latex cells

  • Participants
  • Parent commits a0594a7

Comments (0)

Files changed (1)

                 verbatim = True
             latex_str += "\n\n" # paragraph between <html>...</html> blocks
 
+        # the 3d pictures are simply unused pictures in corresponding directory
         pictures = glob.glob("%s/sage_worksheet/cells/%s/*" % (temp_dir, self.cell_id) )
         if pictures != []:
             for i in pictures:
             if language == 'latex':
                 current_cell = cell_list[-1].text
             #if current_cell.strip() != "":
-            cell_list.append(OutputCell(current_cell, current_cell_id, language))
+            cell_list.append(OutputCell(current_cell, current_cell_id, language = language))
             current_cell = ""
             continue