Index: lams_central/src/java/org/lamsfoundation/lams/web/JlatexmathServlet.java
===================================================================
RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/web/JlatexmathServlet.java,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/src/java/org/lamsfoundation/lams/web/JlatexmathServlet.java 18 Sep 2015 23:26:48 -0000 1.1
@@ -0,0 +1,87 @@
+/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+/* $Id: JlatexmathServlet.java,v 1.1 2015/09/18 23:26:48 andreyb Exp $ */
+package org.lamsfoundation.lams.web;
+
+import java.awt.image.BufferedImage;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import javax.imageio.ImageIO;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.swing.JLabel;
+
+import org.apache.commons.lang.StringUtils;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+import org.lamsfoundation.lams.util.WebUtil;
+import org.lamsfoundation.lams.web.action.LamsDispatchAction;
+import org.scilab.forge.jlatexmath.TeXConstants;
+import org.scilab.forge.jlatexmath.TeXFormula;
+import org.scilab.forge.jlatexmath.TeXIcon;
+
+/**
+ * @author Andrey Balan
+ *
+ * @web:servlet name="jlatexmath"
+ * @web:servlet-mapping url-pattern="/servlet/jlatexmath"
+ */
+public class JlatexmathServlet extends HttpServlet {
+
+ @Override
+ public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+
+ String formulaParam = request.getParameter("formula");
+ if (StringUtils.isBlank(formulaParam)) {
+ return;
+ }
+
+ TeXFormula formula = new TeXFormula(formulaParam);
+ TeXIcon icon = formula.new TeXIconBuilder().setStyle(TeXConstants.STYLE_DISPLAY)
+ .setSize(40)
+ .setWidth(TeXConstants.UNIT_PIXEL, 256f, TeXConstants.ALIGN_CENTER)
+ .setIsMaxWidth(true).setInterLineSpacing(TeXConstants.UNIT_PIXEL, 20f)
+ .build();
+
+// TeXFormula fomule = new TeXFormula(formula);
+// TeXIcon ti = fomule.createTeXIcon(TeXConstants.STYLE_DISPLAY, 40);
+ BufferedImage b = new BufferedImage(icon.getIconWidth(), icon.getIconHeight(), BufferedImage.TYPE_4BYTE_ABGR);
+ icon.paintIcon(new JLabel(), b.getGraphics(), 0, 0);
+
+ response.setContentType("image/jpeg");
+ OutputStream out = response.getOutputStream();
+ ImageIO.write(b, "jpg", out);
+ out.close();
+ }
+
+ @Override
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,
+ IOException {
+ doGet(request, response);
+ }
+}
Index: lams_central/web/ckeditor/plugins/jlatexmath/jlatexmath.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/ckeditor/plugins/jlatexmath/jlatexmath.jsp,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/ckeditor/plugins/jlatexmath/jlatexmath.jsp 18 Sep 2015 23:26:48 -0000 1.1
@@ -0,0 +1,138 @@
+
+
+<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
+<%@ page import="org.lamsfoundation.lams.util.Configuration" %>
+<%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+<%@ taglib uri="tags-lams" prefix="lams" %>
+<%@ taglib uri="tags-core" prefix="c"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Please, enter latex formula:
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
Index: lams_central/web/ckeditor/plugins/jlatexmath/plugin.js
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/ckeditor/plugins/jlatexmath/plugin.js,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/ckeditor/plugins/jlatexmath/plugin.js 18 Sep 2015 23:26:48 -0000 1.1
@@ -0,0 +1,38 @@
+/*
+ * CKEditior plugin.js for JLaTeXMath.
+ * ------------
+ */
+CKEDITOR.plugins.add('jlatexmath', {
+ requires : ['iframedialog'],
+ lang : [ 'en' ],
+ init : function(editor) {
+ var pluginPath = CKEDITOR.plugins.getPath('jlatexmath');
+
+ editor.ui.addButton(
+ 'Jlatexmath',
+ {
+ label : editor.lang.jlatexmath.JlatexmathBtn,
+ command : 'Jlatexmath',
+ icon : pluginPath + 'icons/mathjax.png',
+ title : editor.lang.jlatexmath.JlatexmathTooltip
+ }
+ );
+
+ editor.addCommand(
+ 'Jlatexmath',
+ {
+ exec : function(editor){
+ editor.openDialog('Jlatexmath');
+ }
+ }
+ );
+
+ CKEDITOR.dialog.addIframe(
+ 'Jlatexmath',
+ editor.lang.jlatexmath.DlgJlatexmathTitle,
+ pluginPath + 'jlatexmath.jsp',
+ 450,
+ 260
+ );
+ }
+});
\ No newline at end of file
Index: lams_central/web/ckeditor/plugins/jlatexmath/icons/mathjax.png
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/ckeditor/plugins/jlatexmath/icons/mathjax.png,v
diff -u
Binary files differ
Index: lams_central/web/ckeditor/plugins/jlatexmath/lang/en.js
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/ckeditor/plugins/jlatexmath/lang/en.js,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_central/web/ckeditor/plugins/jlatexmath/lang/en.js 18 Sep 2015 23:26:48 -0000 1.1
@@ -0,0 +1,17 @@
+CKEDITOR.plugins.setLang( 'jlatexmath', 'en', {
+ // Toolbar button
+ JlatexmathBtn : 'JLaTeXMath',
+ JlatexmathTooltip : 'Insert/Edit Movies or Audio',
+
+ // Dialog
+ DlgJlatexmathTitle : 'JLaTeXMath',
+ JlatexmathURL : 'URL:',
+ JlatexmathURLDesc : 'Select a .avi, .flv, .mov, .mp3, .mp4, .mpv, .wma, .wmv file or youtube URL',
+ JlatexmathWidth : 'Width:',
+ JlatexmathHeight : 'Height:',
+ JlatexmathAutoplay : 'Auto Play:',
+ JlatexmathPreview : 'Preview',
+
+ // Dialog errors
+ JlatexmathNoFormula : 'Please specify a latex formula.'
+});
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/lineutils/plugin.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/plugin.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/dialogs/mathjax.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/af.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/ar.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/ca.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/cs.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/cy.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/da.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/de.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/el.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/en-gb.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/en.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/eo.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/es.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/fa.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/fi.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/fr.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/gl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/he.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/hr.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/hu.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/it.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/ja.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/km.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/ku.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/lt.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/nb.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/nl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/no.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/pl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/pt-br.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/pt.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/ro.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/ru.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/sk.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/sl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/sq.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/sv.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/tr.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/tt.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/uk.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/vi.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/zh-cn.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/lang/zh.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/mathjax/samples/mathjax.html'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/plugin.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/af.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/ar.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/ca.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/cs.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/cy.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/da.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/de.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/el.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/en-gb.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/en.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/eo.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/es.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/fa.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/fi.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/fr.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/gl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/he.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/hr.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/hu.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/it.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/ja.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/km.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/ko.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/ku.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/nb.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/nl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/no.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/pl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/pt-br.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/pt.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/ru.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/sk.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/sl.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/sq.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/sv.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/tr.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/tt.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/uk.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/vi.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/zh-cn.js'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/web/ckeditor/plugins/widget/lang/zh.js'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_central/web/includes/javascript/ckconfig_custom.js
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/ckconfig_custom.js,v
diff -u -r1.28 -r1.29
--- lams_central/web/includes/javascript/ckconfig_custom.js 15 Sep 2015 16:24:07 -0000 1.28
+++ lams_central/web/includes/javascript/ckconfig_custom.js 18 Sep 2015 23:26:48 -0000 1.29
@@ -1,7 +1,7 @@
CKEDITOR.config.toolbar_Default = [
- ['Source','-','Maximize', 'Preview','PasteFromWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Mathjax','-'],
+ ['Source','-','Maximize', 'Preview','PasteFromWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath','-'],
['Paint_Button','MoviePlayer','Kaltura','Image','Link','Iframe','Table','HorizontalRule','Smiley','SpecialChar','Templates','Format','Font','FontSize','About']
-] ;
+];
// removing Video Recorder from default tool bar LDEV-2961
// To include it back, just add 'VideoRecorder' in between the MoviePlayer and Kaltura
@@ -11,23 +11,23 @@
['Bold','Italic','Underline', '-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
- ['Mathjax','About'],
+ ['Jlatexmath','About'],
['TextColor','BGColor'],
['Image','Table','HorizontalRule','Smiley','SpecialChar'],
['Format','Font','FontSize']
-] ;
+];
CKEDITOR.config.toolbar_DefaultMonitor = [
['Preview','PasteFromWord'],
['Undo','Redo'],
['Bold','Italic','Underline', '-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
- ['Mathjax','About'],
+ ['Jlatexmath','About'],
['TextColor','BGColor'],
['Table','HorizontalRule','Smiley','SpecialChar'],
['Format','Font','FontSize']
-] ;
+];
CKEDITOR.config.toolbar_CustomWiki = [
['Source','-','Preview','PasteFromWord'],
@@ -36,16 +36,16 @@
['NumberedList','BulletedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['wikilink','Link','Image'],
- ['Mathjax','About'],
+ ['Jlatexmath','About'],
['TextColor','BGColor'],
['Table','HorizontalRule','Smiley','SpecialChar'],
['Format','Font','FontSize']
-] ;
+];
CKEDITOR.config.toolbar_CustomPedplanner = [
- ['Source','-','Maximize','Preview','PasteFromWord','Bold','Italic','Underline', '-','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Mathjax'],
+ ['Source','-','Maximize','Preview','PasteFromWord','Bold','Italic','Underline', '-','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath'],
['Image','Link','Iframe','Table','Smiley','Font','FontSize']
-] ;
+];
CKEDITOR.config.toolbar_LessonDescription = [
['Bold','Italic','Underline', '-','Subscript','Superscript'],
@@ -54,7 +54,7 @@
['TextColor','BGColor'],
['Table','HorizontalRule','Smiley','SpecialChar'],
['Format','Font','FontSize']
-] ;
+];
CKEDITOR.config.contentsCss = CKEDITOR.basePath + '../css/defaultHTML_learner.css';
@@ -65,7 +65,7 @@
CKEDITOR.config.format_tags = 'div;h1;h2;h3;h4;h5;h6;pre;address;p' ;
CKEDITOR.config.enterMode = 'div';
CKEDITOR.plugins.addExternal('wikilink', CKEDITOR.basePath + '../tool/lawiki10/wikilink/', 'plugin.js');
-CKEDITOR.config.extraPlugins = 'kaltura,lineutils,widget,wikilink,mathjax,paint,movieplayer,iframe';
+CKEDITOR.config.extraPlugins = 'kaltura,wikilink,jlatexmath,paint,movieplayer,iframe';
CKEDITOR.config.enterMode = CKEDITOR.ENTER_DIV;
CKEDITOR.config.removePlugins = 'elementspath';
CKEDITOR.config.allowedContent = true;