Toutes mes réponses sur les forums
-
AuteurMessages
-
jm.evers
Participant::well, just for the record…using ‘upload material to the server’ of some modified ‘adm proc files’ , I was able to adapt stuff and get my daily selective backups working…
joke
jm.evers
Participant::Adm/raw module has initially been developed to let « another server » get informations from WIMS.
I always thought a wims-admin -via the browser interface / adm modules- could connect to another server to ‘mirror’ peaces of it -using the adm/raw module- if the correct config-files & passwords were present in ~/log/classes/.connections
I never (..) could get this to work…so I guessed my config-files were not ok…and I gave up trying ever since.
Using ssh/cron/shell-scripts/wget was much easier…So I just have to wait until the ssh-stuf is fixed.
thanks for your support!
jokejm.evers
Participant::Hmmm,
I thought it was the sole purpose of the wims « adm/raw module » to do just that…
the connection/exchange between 2 wims-servers (and even wims -> moodle etc etc)But maybe I’m just plain wrong.
cheers,
joke-
Cette réponse a été modifiée le il y a 9 années et 4 mois par
jm.evers. Raison: typo
jm.evers
Participant::Thanks for your answer, but « ssh » is out of the picture on the leiden mirror…for the time being.
I’ve always used cron to generate backup of student-accounts to synchronise « leiden –> school-intranet-server » on a daily basis.(these cron scripts can not be changed from the adm/config module; so there is no way to include more data…and I don’t like to do a manual backup of all 77 classes individually…)
I’m now installing a new internet server, so I need to get all the user data from « Leiden –> new-server » on a daily basis.(for the rest of this school season)
Needless to say that on my new internet server « ssh » is possible.So I’m basically looking for config-scripts that actually could work (if copied to the correct server)
joke
-
Cette réponse a été modifiée le il y a 9 années et 4 mois par
jm.evers. Raison: typo
jm.evers
Participant::I’ve not been very clear…
What I want is to make use of the ‘adm/raw’ module to synchronise wims-servers A –> B
There are -in my view very cryptic- example config files in the subdir ‘log/classes/.connexions’…but I can’t seem to get it working
(and I’ve never could…)I was wondering if anyone could provide me with a set of fool-proof example config files 🙂
joke
jm.evers
Participant::Hi,
the best way is to upgrade your wims…and not just for moneyprint…
however there is yet another way, using BC (called float_calc in wims)
(bc will truncate, so you have to add 0.005)\text{A=123.44444322} \text{price = wims(exec float_calc scale=2; (\A+0.005)/1)} \statement{ price = \price}
Joke
-
Cette réponse a été modifiée le il y a 9 années et 8 mois par
jm.evers.
jm.evers
Participantjm.evers
Participant::Eric,
In order to adress your issue/problem, we’ve adapted wims_mathml
and placed a <span> element with « font-size:1em » around the mathml code.
Now the HTML and MathML font sizes should be better suited for mixing text and math.note 1)
this is only interesting for browsers with native MathML support (Firefox and other gecko browsers)
All other browsers make use of MathJax !
note 2)
mathml-font-size settings in « préférences personnelles » are disabled: only zooming can be activatedCould you please recompile wims.cgi with the latest SVN versions of
‘src/mathml/wims_mathml.y’ and ‘src/mathml.c’ and report back?kind regards
jokejm.evers
Participant::Hi,
I’m not sure if I understand your problem, but you can always enforce font « simularity » by putting text and mathml in some html « environment » , something like\statement{ <span style="font-size:12px;"> \(\frac{20}2)dm\(=1)m car \(10)dm\(=1)m </span> \(\frac{20}2)dm\(=1)m car \(10)dm\(=1)m }
But when adjusting mathl-fontsize larger than -say- 150% (via useropts) things will again look ugly…
kind regards,
jokejm.evers
Participant::Hi,
I’m no good at OEF, but it is possible to set the electric scheme as background of a div…something like\text{C=slib(circuits/draw 4/T,15,,iarrow,iarrowR,,iarrow)} \text{img=draw(200,200\ transparent white \C ) }
and in the statement, something like,
<div style="background-image: url(\img);width:200px;height:200px;background-repeat:no-repeat;"> \draw{200,200}{ transparent white text black,100,100,Huge,HELLO } </div>
But I guess, there are more formal ways of doing this 🙂
kind regards,
joke-
Cette réponse a été modifiée le il y a 9 années et 9 mois par
jm.evers.
5 juin 2015 à 13:49 en réponse à : Ecriture de molécules chimiques (en mode développé ou semi-développé) #2988jm.evers
Participant::Hmmm, I was ignorent about the meaning of « formules semi développées »
I guess « formules semi développées » could be done easy by LateX…
just add a package like Martin Hansel’s « mhchem » to your local TeX version and all bonds can be simply created.And yes, we should switch to javascript & SVG as replacement for WIMSchem. There are currently a few very fine js-libraries available.
One important feature -it seems to me- of such system should be the possiblity to import MDL mol files.joke
-
Cette réponse a été modifiée le il y a 10 années par
jm.evers.
4 juin 2015 à 20:38 en réponse à : Ecriture de molécules chimiques (en mode développé ou semi-développé) #2983jm.evers
Participant::Hi,
You could use WIMSchem (or SketchEL) ,If you « just » want to create a 2D molecule or reaction scheme and export it into SVG (or any bitmap format you like)
Get a copy of WIMSchem or SketchEL
http://sourceforge.net/projects/sketchel/And use the applet as desktop application (no security problems…)
java -jar WIMSchem.jar
Joke
jm.evers
Participant::Hi,
A few things:
the \overrightarrow is set to stretchy, meaning that in a correct mathml implementation of the browser (…) the arrow should cover all non-space-separates chars:
\overrightarrow ABC D is equal to \overrightarrow{ABC}D
The \vec is set to stretchy=’false’ which implies only a single char will have a vector (the vector is a special one « &RightVector »…this is not an arrow !)
The reason this will not workout as expected is caused by the browser, and not the MathMl code generated by wims…We could try to mimic the Tex behaviour more closely…but be aware that the differences between current mathml browser-versions is the cause of all « trouble »
(just try Chrome/MathJax on the same tex-code in « direct exec »)kind regards,
jokejm.evers
Participantjm.evers
Participantjm.evers
Participant::Hi,
Yes, it’s a very new command for the OEF interface
from Changelog:
—-
2015-03-10: add special method mathmlinput (Julien Lyotard)
____Although the pseudo latex command « \input » has been available since the introduction of MathML within WIMS (2012-07-02): but only for « native Mathml » Gecko browsers like Firefox.
Now through the default use of MathJax library it is fairly « crossbrowser ».
kind regards,
Jokejm.evers
Participant::Hi again,
I didn’t realise you wanted such simple ‘drag &drop’ molecule « editing ».
Maybe you should invest a little and create some simple tailormade drag&drop js-script and answer-type…dragging and dropping (svg?) images molecule fragments.
It shouldn’t be too hard to implement.good luck,
Jokejm.evers
Participant::Hi,
There is a -really- great replacement for the Java Applet SketchEl (WIMSchem)
See http://scitouch.net/opensource/ketcherThe -only- problem with it is was, it did (checked 11-2013) not support the addition of template molecules.(at least not in MDLmolfile format )
Apart from this, it was amazingly fast and full of possibilities !Joke
jm.evers
Participantjm.evers
Participant::Hi,
I think this link is about thesame subject…
http://wimsedu.info/?topic=latex-et-embedkind regards,
joke -
Cette réponse a été modifiée le il y a 9 années et 4 mois par
-
AuteurMessages