uniformal / mmt Goto Github PK
View Code? Open in Web Editor NEWThe MMT Language and System
Home Page: https://uniformal.github.io/
License: Other
The MMT Language and System
Home Page: https://uniformal.github.io/
License: Other
for http://ash.eecs.jacobs-university.de:8080/errorview.html the MMT server seems to have reached its limit. The web page still showed 126963 counted error entries (but without tables). The file oaf.log shows:
09:50:22.446 error: (server) error in underlying server: class java.nio.channels.ClosedChannelException:null
sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:461)
tiscaf.HSimplePeer$class.writeToChannel(HPeer.scala:133)
tiscaf.HServer$$anon$2.writeToChannel(HServer.scala:196)
tiscaf.HWriter.write(HWriter.scala:31)
tiscaf.HWriter.write(HWriter.scala:23)
tiscaf.HWriter.writeSeq(HWriter.scala:35)
tiscaf.HIdentOut.write(HOut.scala:53)
tiscaf.HTalk.write(HTalk.scala:57)
tiscaf.HTalk.write(HTalk.scala:58)
info.kwarc.mmt.api.web.Server$$anon$1.act(Server.scala:41)
tiscaf.HSimpleLet$$anonfun$aact$1.apply$mcV$sp(HLet.scala:166)
tiscaf.HSimpleLet$$anonfun$aact$1.apply(HLet.scala:166)
tiscaf.HSimpleLet$$anonfun$aact$1.apply(HLet.scala:166)
scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)
scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
In MathHubInfo/Legacy-localmh#226 we want to customize the preloads of the LaTeXML build per MathHub repository. I would like to allow to customize that via the repository-specific build.msl
file:
build.msl
I want to define a variable LaTeXML-Preloads
, which contains a list of file names and directives e.g. tikz.sty 'literal:\usetikzlibrary{foo}'
(here a whitespace-separated list)--preload=tikz.sty --preolad='literal:\usetikzlibrary{foo}'
to the invocation of LaTeXML. (see the discussion in slatex/sTeX#91 for more details)I am not sure whether this is possible already, but we need the same functionality with the variable LaTeXML-paths
and --path=...
.
see src/build.sbt to add it.
If openmath.mmt is built separately, content and relational differs in order of elements.
(Usually, all of urtheories is built together.)
- </constant><constant name="OMF">
+ </constant><ruleconstant name="info.kwarc.mmt.api.objects.OMI"/><constant name="OMF">
<metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/urtheories/openmath.mmt#215.10.2:219.10.6"/></metadata>
- </constant><constant name="OMSTR">
+ </constant><ruleconstant name="info.kwarc.mmt.api.objects.OMF"/><constant name="OMSTR">
<metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/urtheories/openmath.mmt#325.13.2:331.13.8"/></metadata>
- </constant><ruleconstant name="info.kwarc.mmt.api.objects.OMI"/><ruleconstant name="info.kwarc.mmt.api.objects.OMF"/><ruleconstant name="info.kwarc.mmt.api.objects.OMSTR"/></theory></omdoc>
\ No newline at end of file
+ </constant><ruleconstant name="info.kwarc.mmt.api.objects.OMSTR"/></theory></omdoc>
\ No newline at end of file
...
--- a/relational/http..www.openmath.org/cd/OpenMath.rel
+++ b/relational/http..www.openmath.org/cd/OpenMath.rel
@@ -9,13 +9,13 @@ Declares http://www.openmath.org/cd?OpenMath http://www.openma
th.org/cd?OpenMath
constant http://www.openmath.org/cd?OpenMath?binder
Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMat
h?OMI
constant http://www.openmath.org/cd?OpenMath?OMI
-Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMath?OMF
-constant http://www.openmath.org/cd?OpenMath?OMF
-Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMath?OMSTR
-constant http://www.openmath.org/cd?OpenMath?OMSTR
Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMath?info.kwarc.mmt.api.objects.OMI
constant http://www.openmath.org/cd?OpenMath?info.kwarc.mmt.api.objects.OMI
+Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMath?OMF
+constant http://www.openmath.org/cd?OpenMath?OMF
Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMath?info.kwarc.mmt.api.objects.OMF
constant http://www.openmath.org/cd?OpenMath?info.kwarc.mmt.api.objects.OMF
+Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMath?OMSTR
+constant http://www.openmath.org/cd?OpenMath?OMSTR
Declares http://www.openmath.org/cd?OpenMath http://www.openmath.org/cd?OpenMath?info.kwarc.mmt.api.objects.OMSTR
constant http://www.openmath.org/cd?OpenMath?info.kwarc.mmt.api.objects.OMSTR
MMT should generate sms files
for MMT/LATIN
and MMT/examples
scala codes needs to be compiled for numbers. Classes are expected to be in the bin
subdirectory that is traversed by mathpath java
. META-INF/MANIFEST.MF
contains classpath: bin
.
Currently, https://gl.mathhub.info/MMT/LATIN/blob/master/build.msl relies on "/usr/local/share/twelf-mod/bin/twelf-server" which only works on our maintained linux systems.
@florian-rabe suggests to put environment variables in an uncommitted file deploy/main/startup.msl
.
However, for automatic tests, configurations need to be stored somewhere.
Many external tools do not even need to be given by an absolute path, if they can be found via the $PATH
.
We should add a license.
Currently unpacking the .mar file is done in the unix script, but probably should be done via info.kwarc.mmt.jeditsetup.Setup
maeder@lati:/var/data/localmh/MathHub/smglom/mv$ echo -e "log console\n log+ archive\n extension info.kwarc.mmt.stex.STeXImporter\n archive add .\n build smglom/mv stex-omdoc\n exit" | ../../../ext/MMT/mmt.jar
This is the MMT shell.
See https://svn.kwarc.info/repos/MMT/doc/api/index.html#info.kwarc.mmt.api.frontend.Action for the available commands.
user: log console finished
user: log+ archive
user: log+ archive finished
user: extension info.kwarc.mmt.stex.STeXImporter
user: extension info.kwarc.mmt.stex.STeXImporter finished
user: mathpath archive /var/data/localmh/MathHub/smglom/mv
user: mathpath archive /var/data/localmh/MathHub/smglom/mv finished
user: build [smglom/mv] stex-omdoc
archive: entering /var/data/localmh/MathHub/smglom/mv/source
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/approxeq.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/approxeq.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/approxeq.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/approxeq.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/approxeq.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/approxeq.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/argseq.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/argseq.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/defeq.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/defeq.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/defeq.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/defeq.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/defeq.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/defeq.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/equal.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/equal.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/equal.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/equal.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/equal.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/equal.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Skipping declaration element notation due to error: key not found: args
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/localpaths.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/localpaths.omdoc
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/piecewise.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/piecewise.de.omdoc
error: No stex:srcref attribute for <imports from="smglom/numberfields/source/arithmetics#arithmetics">
error: No stex:srcref attribute for <imports from="smglom/mv/source/equal#equal">
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/piecewise.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/piecewise.en.omdoc
error: No stex:srcref attribute for <imports from="smglom/numberfields/source/arithmetics#arithmetics">
error: No stex:srcref attribute for <imports from="smglom/mv/source/equal#equal">
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
error: Cannot resolve module for functions?function from theory http://mathhub.info/smglom/mv/piecewise.en.omdoc?piecewise.en
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/piecewise.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/piecewise.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Skipping declaration element notation due to error: mspace (of class java.lang.String)
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/structure.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/structure.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/structure.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/structure.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/structure.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/structure.omdoc
error: Notation is missing latex macro information: For input string: ""
archive: leaving /var/data/localmh/MathHub/smglom/mv/source
archive: entering /var/data/localmh/MathHub/smglom/mv/source
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/approxeq.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/approxeq.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/approxeq.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/approxeq.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/approxeq.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/approxeq.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/argseq.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/argseq.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/defeq.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/defeq.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/defeq.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/defeq.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/defeq.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/defeq.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/equal.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/equal.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/equal.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/equal.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/equal.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/equal.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
error: Skipping declaration element notation due to error: key not found: args
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/localpaths.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/localpaths.omdoc
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/piecewise.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/piecewise.de.omdoc
error: No stex:srcref attribute for <imports from="smglom/numberfields/source/arithmetics#arithmetics">
error: No stex:srcref attribute for <imports from="smglom/mv/source/equal#equal">
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/piecewise.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/piecewise.en.omdoc
error: No stex:srcref attribute for <imports from="smglom/numberfields/source/arithmetics#arithmetics">
error: No stex:srcref attribute for <imports from="smglom/mv/source/equal#equal">
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/piecewise.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/piecewise.omdoc
error: Notation is missing latex macro information: For input string: ""
error: Skipping declaration element notation due to error: mspace (of class java.lang.String)
error: Notation is missing latex macro information: For input string: ""
error: Notation is missing latex macro information: For input string: ""
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/structure.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/structure.de.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/structure.en.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/structure.en.omdoc
error: No stex:srcref attribute for <div class="CMP">
error: Unexpected element label in CMP: div
archive: [source -> narration] /var/data/localmh/MathHub/smglom/mv/source/structure.omdoc -> /var/data/localmh/MathHub/smglom/mv/narration/structure.omdoc
error: Notation is missing latex macro information: For input string: ""
archive: leaving /var/data/localmh/MathHub/smglom/mv/source
user: build [smglom/mv] stex-omdoc finished
user: exit
Although these .pdf files are no generated from content, MMT should still generate them from the sources since the same infrastructure is needed to run latexml.
sbt deploy
creates a big assembled MMTPlugin.jar
file that can be used instead the many other .jar files under MMT/deploy/jedit-plugin/plugin/jars
.
However, the file src/jEdit-mmt/src/resources/mmtplugin.props
that lists the needed jars must be adjusted. (The corresponding line 20 can be simply deleted.)
because MathHubInfo/Legacy-localmh#232 is not fixed.
This breaks the mmt combination of LaTeXML and the STeXImporter that uses latexml
as folder (due to #18).
In the archive smglom/sets all .zhs.tex fail for me, because font "FandolFang" cannot be found (and I don't know how to install it under Ubuntu).
many non-language .tex files end with No pages of output.
.tr.tex files have problems with \endcsname
.
The problems are best tested using run-pdflatex.sh (that is a link to run-latexml.sh) or i.e.:
maeder@lati:/var/data/localmh/MathHub/smglom/sets$ echo -e "log console\n log+ archive\n extension info.kwarc.mmt.stex.PdfLatex\n archive add .\n build smglom/sets pdflatex disjoint.tr.tex\n exit\n" | ../../../ext/MMT/mmt.jar
generated files should not be versioned but stored separately from versioned sources.
I just tried to install the MMT plugin following the instructions at https://svn.kwarc.info/repos/MMT/doc/html/index.html?install.html
I encountered several problems most of which should be fixable:
mkdir content
so that you can later check out content repositories (e.g., the ones in the OAF) into the content folder.
lmh / MathHub should be mentioned here (instead of just OAF).
2) You tell people to run:
svn co https://svn.kwarc.info/repos/MMT system
and a few lines later you say to run the script
MMT/setup.sh
this is inconsistent because we only created a "system" folder. It should also be mentioned that windows users should run the batch script instead.
Error: Could not find or load main class info.kwarc.mmt.jeditsetup.Setup
Running sbt deploy
in an attempt to rebuild did not help.
plugin/jars
. Is that intended?)My error viewer shows 273 errors in 94 files. (Many files will be deleted when I push.)
We will need this in the long run. In MMT paper we discuss this.
Mark added tests to mmt-leo. However, I do not thing that classes (needing scalatest_2.11-2.2.4.jar) should go into the finally deployed jar.
Only tiscaf seems to have the recommend directory layout for tests (see http://www.scala-sbt.org/0.13/docs/Testing.html).
In fact, I've rename https://github.com/KWARC/MMT/blob/stable/src/tiscaf/src/test/scala/tiscaf/test/TestServerOk.scala.fixed to avoid a dependency on scalatest so far.
https://svn.kwarc.info/repos/MMT/doc/html/index.html#/applications/shell.html
wrongly points to https://svn.kwarc.info/repos/MMT/api/index.html#info.kwarc.mmt.api.frontend.Action
for the description of shell commands
run-pdflatex.sh MiKoMH/ACS/source/cfl/en/BNF.tex
reports this:
(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
zlibrarybackgrounds.code.tex)
! Package tikz Error: I did not find the tikz library 'mmt'. I looked for files
named tikzlibrarymmt.code.tex and pgflibrarymmt.code.tex, but neither could be
found in the current texmf trees..
See the tikz package documentation for explanation.
Type H <return> for immediate help.
...
l.14 \usetikzlibrary{mmt}
Because theory Inhabitation
is (textually) given after the theory PredicateSubtypes
that includes Inhabitation
the source files needs to be build twice. The first time error: unbound token: !
is reported for PredicateSubtypes (line 17, column 25 or char 553 in the source file)
Luckily, building all of urtheories (in alphabetical order) twice is sufficient. theory PLF
(from lf.mmt
) needs to be known before subtypes.mmt
any way.
They are not needed, and indeed harmful.
we need a way to turn off building sms and omdoc in tikz
subdirectories
export
in urtheories creates an empty errors/svg_narration/.err
file. This should not happen, since such files cannot be parsed as xml. The expected content is:
<errors>
</errors>
trying to add oeis to build.sbt
lazy val oeis = (project in file("mmt-oeis")).
dependsOn(stex).
settings(commonSettings("mmt-oeis"): _*)
yields compilation errors:
[error] /home/maeder/MMT/src/mmt-oeis/src/info/kwarc/mmt/oeis/OEISImporter.scala:156: type mismatch;
[error] found : info.kwarc.mmt.api.MPath
[error] required: info.kwarc.mmt.api.modules.DeclaredTheory
[error] OMDoc.parseNarrativeObject(n)(dpath, mpath, errorCont, resolveSPath)
[error] ^
[error] /home/maeder/MMT/src/mmt-oeis/src/info/kwarc/mmt/oeis/OEISSearchServer.scala:7: not found: type TEMASearchServer
[error] class OEISSearchServer extends TEMASearchServer("oeis") {
[error] ^
[error] /home/maeder/MMT/src/mmt-oeis/src/info/kwarc/mmt/oeis/OEISSearchServer.scala:9: not found: value controller
[error] lazy val imp = controller.extman.get(classOf[OEISImporter]) match {
[error] ^
[error] /home/maeder/MMT/src/mmt-oeis/src/info/kwarc/mmt/oeis/OEISSearchServer.scala:21: not found: value controller
[error] val errorCont = new ErrorLogger(controller.report)
[error] ^
[error] /home/maeder/MMT/src/mmt-oeis/src/info/kwarc/mmt/oeis/OEISSearchServer.scala:22: value parseNarrativeObject is not a member of Any
[error] imp.parseNarrativeObject(elem)(dpath, mpath, errorCont)
[error] ^
init
was called on an empty string (line 40 in File.scala
), but this did not cause java.lang.UnsupportedOperationException: empty.init
!
"build examples mmt-omdoc ; build examples mmt-omdoc"
produces the following difference compared to separate calls for building.
@@ -28,7 +28,7 @@
<metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/examples/instances.mmt#212.8.2:272.11.5"/></metadata>
<type><om:OMOBJ xmlns:om="http://www.openmath.org/OpenMath"><om:OMA><metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/examples/instances.mmt#220.8.10:227.8.17"/></metadata>
<om:OMS base="http://cds.omdoc.org/urtheories" module="LF" name="arrow"></om:OMS>
- <om:OMS base="http://cds.omdoc.org/examples" module="ObjectLevelInstances" name="tp"></om:OMS><om:OMS base="http://cds.omdoc.org/mmt" module="ModExp" name="theory"><metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/examples/instances.mmt#225.8.15:227.8.17"/></metadata></om:OMS>
+ <om:OMS base="http://cds.omdoc.org/examples" module="ObjectLevelInstances" name="tp"><metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/examples/instances.mmt#220.8.10:221.8.11"/></metadata></om:OMS><om:OMS base="http://cds.omdoc.org/mmt" module="ModExp" name="theory"><metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/examples/instances.mmt#225.8.15:227.8.17"/></metadata></om:OMS>
</om:OMA></om:OMOBJ></type>
<definition><om:OMOBJ xmlns:om="http://www.openmath.org/OpenMath"><om:OMBIND><metadata><link rel="http://cds.omdoc.org/mmt?metadata?sourceRef" resource="http://docs.omdoc.org/examples/instances.mmt#298.14.9:302.14.13"/></metadata>
<om:OMS base="http://cds.omdoc.org/urtheories" module="LF" name="lambda"></om:OMS>
mmt file build.msl export
creates scala files in export/lf-scala/content/http..cds.omdoc.org/examples.
The files IntLiterals.scala
and NatLiterals.scala
differ in that the corresponding trait is extended with org.omdoc.real.lf.Bool
but only org.omdoc.real.Bool
is given in the folder scala_realizations
.
For compiling the generated .scala files I also needed to exclude FlexaryConnectives2.scala, Lists.scala, ObjectLevelInstances.scala
. (The gitlab repo for MMT/examples no contains a build.sbt
file to compile the .scala files to classes within the bin
-subdirectory.)
After having clicked i.e. on "build" on https://svn.kwarc.info/repos/MMT/doc/html/index.html#/title.html or http://kwarc.github.io/MMT/doc/html/index.html#/title.html going back (one page) in firefox no longer works.
first step for proper build and change management
I would like to have mechanism where I can specify files that should not be built (by a regexp). I imagine a .mmtbuild
file per directory which has entries like
no-sms: foo.tex
no-omdoc: *bar*.tex
And when we have something like this, we could have other build-config targets as well.
the repositories https://gl.mathhub.info/MMT/examples and https://gl.mathhub.info/MMT/LATIN contain obsolete files and files that have been generated and are no longer up-to-date.
Calling ant scaladoc
(or sbt unidoc
) twice, produces different .html files each time.
The order of reference links or the size of diagrams is different. I've no idea how to produce identical scaladoc output.
I've got no clue how to test the MMT connection to the mws-daemon.
@mhamilton723 I think you've committed wrongly to the git svn-mirror branch. Your last changes are not in svn, so the svn-mirror does no longer reflect the svn status
The files from MMT/examples are
"FlexaryConnectives2.scala" || "Lists.scala" ||
"ObjectLevelInstances.scala" || "FlexaryConnectives.scala"
as listed in build.sbt
.
user: build [smglom/mv] planetary
archive: entering /var/data/localmh/MathHub/smglom/mv/narration
archive: [narration -> export/planetary/narration] /var/data/localmh/MathHub/smglom/mv/narration/approxeq.de.omdoc -> /var/data/localmh/MathHub/smglom/mv/export/planetary/narration/approxeq.de.html
error: planetary_narration: unknown build error: head of empty list
I've added svg export to urtheories. The export is different if the relation archive is added. Without this archive I get (red) errors for Semantic
and Syntactic
:
archive: [content -> export/svg/content] /var/data/localmh/MathHub/MMT/urtheories/content/http..cds.omdoc.org/urtheories/Syntactic.omdoc -> /var/data/localmh/MathHub/MMT/urtheories/export/svg/content/http..cds.omdoc.org/urtheories/Syntactic.svg
error: svg_content: unknown build error: None.get
With the relation archive I get additional .svg files in export/svg/narration
, yet a couple of them are empty. Many files in export/svg/content are different then. The file export/svg/content/http..cds.omdoc.org/urtheories/Typed.svg
even becomes empty. All empty files are due to (yellow) errors:
error: parse error: not an MPath-encoded Term: Errors
error: parse error: not an MPath-encoded Term: ModExp
error: parse error: not an MPath-encoded Term: QMT
error: parse error: not an MPath-encoded Term: mmt
When generating files using MMT in localmh, there is currently no feedback if a file suceeded or failed other than the messy log output given by MMT.
I discussed it with @cmaeder and together we agreed that there should be a new logger that prints success or failure for each of the files that MMT tries to generate.
The external links to ANSI stuff in https://svn.kwarc.info/repos/MMT/doc/html/index.html#/applications/shell.html do not work or only if opened in another tab or window.
For some reason it works for a local copy and on http://kwarc.github.io/MMT/doc/html/index.html#applications/shell.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.