Skip to content

Commit b5648ec

Browse files
committed
MathML Copy: remove the "Copy as TeX" menu item since it duplicates the copy annotation submenu.
1 parent 343e858 commit b5648ec

14 files changed

+9
-74
lines changed

mathml-copy/data/get-tex-source.js

-44
This file was deleted.

mathml-copy/lib/main.js

-10
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ contextMenu.Item({
2020
}
2121
});
2222

23-
// Add a menu item to copy the TeX annotation attached to a <semantics> element.
24-
contextMenu.Item({
25-
label: _("copy_tex"),
26-
context: contextMenu.SelectorContext("semantics"),
27-
contentScriptFile: data.url("get-tex-source.js"),
28-
onMessage: function(aSource) {
29-
clipboard.set(aSource);
30-
}
31-
});
32-
3323
// Add a submenu enumerating the annotations attached to a <semantics> element.
3424
contextMenu.Menu({
3525
label: _("copy_annotation"),

mathml-copy/locale/ar.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
copy_mathml=انسخ معادلة MathML
2-
copy_tex=انسخ مصدر تخ
1+
copy_mathml=انسخ معادلة MathML

mathml-copy/locale/de-DE.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
copy_mathml=MathML Code kopieren
2-
copy_tex=TeX Code kopieren
1+
copy_mathml=MathML Code kopieren

mathml-copy/locale/en-US.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
copy_mathml=Copy MathML Formula
2-
copy_tex=Copy TeX Source
32
copy_annotation=Copy Annotation

mathml-copy/locale/es-ES.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
copy_mathml=Copiar la formula MathML
2-
copy_tex=Copiar el código fuente TeX
3-
copy_annotation=Copiar la anotación
2+
copy_annotation=Copiar la anotación

mathml-copy/locale/fr-FR.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
copy_mathml=Copier la formule MathML
2-
copy_tex=Copier le code source TeX
32
copy_annotation=Copier l'annotation

mathml-copy/locale/hi-IN.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
copy_mathml=MathML सूत्र कॉपी करें
2-
copy_tex=TeX स्त्रोत कॉपी करें
1+
copy_mathml=MathML सूत्र कॉपी करें

mathml-copy/locale/hu-HU.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
copy_mathml=MathML képlet másolása
2-
copy_tex=TeX forráskód másolása
1+
copy_mathml=MathML képlet másolása

mathml-copy/locale/mr-IN.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
copy_mathml=MathML सूत्र कॉपी करा
2-
copy_tex=TeX स्त्रोत कॉपी करा
1+
copy_mathml=MathML सूत्र कॉपी करा

mathml-copy/locale/pt-BR.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
copy_mathml=Copiar Fórmula em MathML
2-
copy_tex=Copiar Código TeX
3-
copy_annotation=Copiar Anotação
2+
copy_annotation=Copiar Anotação

mathml-copy/locale/pt-PT.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
copy_mathml=Copiar Fórmula em MathML
2-
copy_tex=Copiar Código TeX
32
copy_annotation=Copiar Anotação

mathml-copy/locale/zh-CN.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
copy_mathml=复制 MathML 公式
2-
copy_tex=复制 TeX 源码
1+
copy_mathml=复制 MathML 公式

mathml-copy/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"description": "Add items to the context menu to copy a MathML formula and other annotations attached to it (e.g. LaTeX) into the clipboard.",
77
"author": "Frédéric Wang",
88
"license": "MPL 2.0",
9-
"version": "1.2"
9+
"version": "1.3"
1010
}

0 commit comments

Comments
 (0)