/trunk/wims/public_html/scripts/anstype/chemdraw.inc |
---|
1,15 → 1,20 |
!set help_option=$wims_read_parm |
!default help_option=single,atom,double,erasor,template |
!default help_option=single,atom,double,erasor,charge,drag,stereo,template |
!set lang_=$lang |
!if $lang_ notwordof fr en nl ca |
lang_=en |
!endif |
!set ch_=<ul> |
!for t_ in $help_option |
!set c_=!lookup $t_ in lang/chemdraw.$lang_ |
!set ch_=$ch_\ |
<li>$c_</li> |
!next |
!set ch_=$ch_</ul> |
!set nb_help_=!itemcnt $help_option |
!if $nb_help_==1 |
!set ch_=!lookup $help_option in lang/chemdraw.$lang_ |
!else |
!set ch_=<ul> |
!for t_ in $help_option |
!set c_=!lookup $t_ in lang/chemdraw.$lang_ |
!set ch_=$ch_\ |
<li>$c_</li> |
!next |
!set ch_=$ch_</ul> |
!endif |
!read oef/special/tooltip.phtml $wims_name_help, class="bottom" style="width:400px;",$ch_ |
!read oef/special/tooltip.phtml $wims_name_help, class="bottom" style="width:400px;font-size:smaller",$ch_ |
/trunk/wims/public_html/scripts/help/anstype.fr/chemdraw.phtml |
---|
50,10 → 50,9 |
si elles sont utilisées de prendre systématiquement le premier item de ces lignes. |
</p> |
$table_header |
<caption>Options disponibles pour l'analyse de la réponse :</caption> |
<caption>Options disponibles pour l'analyse de la réponse</caption> |
$table_hdtr<th>$wims_name_name</th><th>Exemple</th><th>$wims_name_Explanations</th></tr> |
$table_tr<td class="tt wims_code_words">image=adresse</td><td class="tt wims_code_words">image=ch/ethane.png</td><td>adresse de l'image |
à partir de la valeur de <span class="tt wims_fname">\imagedir</span> défini dans <span class="tt wims_fname">var.proc</span>, dans l'exemple l'image |
$table_tr<td class="tt wims_code_words">image=adresse</td><td class="tt wims_code_words">image=ch/ethane.png</td><td style="text-align:left">adresse de l'image de la bonne réponse qui s'affiche en cas de réponse incorrecte : son adresse est à définir à partir de la valeur de <span class="tt wims_fname">\imagedir</span> défini dans <span class="tt wims_fname">var.proc</span>, dans l'exemple l'image |
est dans le répertoire |
<span class="tt wims_fname">\imagedir/ch</span> |
</td></tr> |
75,16 → 74,19 |
check radicals strict |
</li></ul> |
</td></tr> |
$table_tr<td class="tt wims_code_words">allH</td><td></td><td style="text-align:left"> |
Vérification que les atomes H liés à chaque atome sont dessinés</td></tr> |
$table_tr<td class="tt wims_code_words">onlyheteroH</td><td></td><td style="text-align:left"> |
Vérification que les atomes H liés aux hétéroatomes et seulement à ceux-ci sont dessinés</td></tr> |
$table_tr<td class="tt wims_code_words">svg</td><td></td><td> |
</td></tr> |
$table_tr<td class="tt wims_code_words">help</td><td><ul><li class="wims_nopuce"><span class="tt wims_code_words">help</span></li><li class="wims_nopuce"><span class="tt wims_code_words">help=[single,erasor]</span></li></ul></td><td style="text-align:left">Ajout d'un lien vers une aide sur l'utilisation de l'applet (il est possible de n'en prendre qu'une partie en choisissant des mots clés parmi <span class="tt wims_code_words">single,</span> <span class="tt wims_code_words">atom, </span> <span class="tt wims_code_words">double, </span><span class="tt wims_code_words">erasor, </span> <span class="tt wims_code_words">charge, </span> <span class="tt wims_code_words">drag, </span> <span class="tt wims_code_words">stereo, </span> <span class="tt wims_code_words">select_atom,</span> <span class="tt wims_code_words">select_bond,</span> <span class="tt wims_code_words">template</span>) |
</td></tr> |
$table_tr<td colspan="3"> |
<span class="tt wims_code_variable">\answer{}{}{type=chemdraw}{option=image=ch/ethane.png match=gG}</span> |
<span class="tt wims_code_variable">\answer{}{}{type=chemdraw}{option=image=ch/ethane.png matc=gGa help}</span> |
</td></tr> |
$table_end |
<p> |
Une option <span class="tt wims_code_words">help</span> est disponible, elle rajoute automatiquement une aide sur l'applet |
(il est possible de n'en prendre qu'une partie en choisissant des mots clés parmi <span class="tt wims_code_words">single,atom,double,erasor,template</span> |
(par exemple <span class="tt wims_code_words">help=[single,erasor]</span>). |
</p> |
<p> |
Les options du champ <span class="tt wims_code_words">embed</span> sont la taille <span class="tt wims_code_words">L x H</span> sur la première ligne |
suivie sur une nouvelle ligne des options possibles de l'applet. |
</p> |
/trunk/wims/public_html/scripts/lang/chemdraw.en |
---|
1,30 → 1,37 |
single:Bonds can be produced by activating the <img src='gifs/WIMSchem/BSingle.png' alt='BSingle'/> icon. |
single: Select by a click a bond or a cycle in the horizontal bar of the menu,\ |
then put the element at its correct place by a click. |
atom:Right mouseclick ; select an atom <img src='gifs/WIMSchem/ASelMenu.png' alt='ASelMenu'/> \ |
and click on the correct position on the canvas (a small circle will be shown). |
atom: Select an atom in the vertical bar of the menu, then put the element at its correct place by a click.\ |
The <span style="font-weight:bold">X</span> icon can be used to enter an atom\ |
not found in the menu (H for example).\ |
The <span class="tt">FG</span> icon proposes some functional groups (such as carboxyl). |
double:Produce single bonds by clicking the icon <img src='gifs/WIMSchem/BSingle.png' alt='BSingle'/> \ |
followed by a click on an atom. \ |
To draw a double bond, select the icon <img src='gifs/WIMSchem/BDouble.png' alt='BDouble'/>\ |
and click on the correct position. |
double: click on a single bond to change it to a double bond. |
erasor:To erase atoms or bonds, activate the erasor by clicking the icon <img src='gifs/WIMSchem/Erasor.png' alt='Erasor'/> \ |
and delete parts of your drawing. Do not forget to erase all loose atoms. \ |
Use <img src='gifs/WIMSchem/Undo.png' alt='Undo'/> to reverse the process. |
erasor: To delete a bond or an atom use the icon <span style="color:red">X</span>\ |
Careful! The icon <img src='gifs/WIMSchem/jsme_clean.png' alt='clean'/> effaces\ |
all the elements on the editor, even the pre-established structures.\ |
To cancel your last action use the icon <img src='gifs/WIMSchem/jsme_undo.png' alt='undo'/> |
template:Some template molecules may be present in the template.\ |
To use template molecules, activate with a right mouse click\ |
<img src='gifs/WIMSchem/Template.png' alt='Template'/> and selecte a molecule.\ |
Place the molecule on the canvas. Deactivate the template by clicking the cursor icon <img src='gifs/WIMSchem/Cursor.png' alt='Cursor'/> |
template: Select by a click one of the models proposed, then click on the editor\ |
at the position this element will occupied.\ |
Use the icon <span style="color:red">X</span> to delete atom(s) to be modified or\ |
linked to a second molecule.\ |
To link another molecule to the first one, choose this second molecule and click\ |
on groups that participate to the bond in this second molecule, then in the first one. |
select_atom:To select atoms, activate selection by clicking the icon <img src='gifs/WIMSchem/Select.png' alt='Select'/>.\ |
The selected atoms will be shown in a different colour. In case of selecting functional groups, \ |
all members of the group must be selected.\ |
Right mouse click removes the atom from the selection. |
select_atom: Select atoms by a click.\ |
The selected atoms will be shown in a different colour. In case of selecting functional groups,\ |
all members of the group must be selected. A second click will cancel the selection. |
select_bond:To select bonds, activate selection by clicking the icon <img src='gifs/WIMSchem/Select.png' alt='Select'/> \ |
The selected bonds will be drawn in a different colour. |
select_bond: Select bonds by a click.\ |
The selected bonds will be drawn in a different colour. A second click will cancel the selection. |
select_charge:Activate in the menu <img src='gifs/WIMSchem/ACharge.png' alt='ACharge'/>.\ |
Click on an atom. Use right mouse click to remove the charge. |
charge: To switch between allowed charged states of an atom, use the icon\ |
<img src='gifs/WIMSchem/jsme_charge.png' alt='charge'/>, then click on the atom. |
drag: A molecule may be moved by dragging free space in front of it. |
stereo:to add a stereo bond, add first a plain bond, then click on the\ |
icon <img src='gifs/WIMSchem/jsme_stereo.png' alt='stereo'/> and click on the bond\ |
to cycle through possible types (wedged bond, dashed bond or wavy bond). |
/trunk/wims/public_html/scripts/lang/chemdraw.fr |
---|
1,28 → 1,39 |
single:Sélectionner par un clic une liaison ou un cycle dans la barre horizontale du menu. |
single: Sélectionner par un clic une liaison ou un cycle dans la barre horizontale\ |
du menu, puis cliquer à l'endroit de la fenêtre où l'élément doit être placé. |
atom:Choisir un atome dans la barre verticale du menu ou un groupe fonctionnel\ |
(ex: un groupe carboxyl) en cliquant sur sur l'icône <span class="tt">FG</span>\ |
si elle est opérationnelle. S'il n'y est pas, utiliser la touche |
<span style="color:red">X</span> dans la barre verticale et entrer son symbole. |
atom: Choisir un atome dans la barre verticale du menu, puis cliquer à l'endroit\ |
de la fenêtre où l'élément doit être placé.\ |
Utiliser l'icône <span style="font-weight:bold"> X</span> pour entrer un atome qui\ |
n'est pas proposé dans le menu (H par exemple).\ |
En cliquant sur l'icône <span class="tt">FG</span>, différents groupes fonctionnels\ |
sont proposés (le groupe carboxyle par exemple). |
double: Pour transformer une liaison simple en liaison double, il suffit de cliquer sur la liaison. |
double:Pour transformer une liaison simple en liaison double,\ |
il suffit de cliquer sur la liaison. |
erasor: Pour effacer un atome ou une liaison, utiliser l'icône <span style="color:red">X</span> ; attention\ |
l'icône gomme efface tout, même les structures préétablies. Vous pouvez aussi revenir\ |
en arrière avec les icones correspondantes. |
l'icône <img src='gifs/WIMSchem/jsme_clean.png' alt='clean'/> efface tout, même les structures préétablies.\ |
Il est aussi possible d'annuler la dernière action en utilisant l'icône\ |
<img src='gifs/WIMSchem/jsme_undo.png' alt='undo'/> |
template:Certains modèles sont prédessinés. Pour les utiliser, sélectionner une molécule par un clic,\ |
la positionner dans la zone de dessin par un autre clic. Effacer grâce à l'icône\ |
<span style="color:red">X</span> le groupe qui doit être modifier ou doit participer à une liaison avec\ |
une seconde molécule.\ |
Si une liaison doit être établie entre deux molécules, choisir une deuxième molécule,\ |
cliquer sur les groupes ou atomes qui participeront à la liaison, tout d'abord sur la\ |
molécule 2 puis sur la molécule 1. |
template:Certains modèles sont prédessinés : pour les utiliser,\ |
<ol><li>Sélectionner une première molécule dans le menu ;\ |
la positionner dans la zone de dessin.\ |
</li><li>Effacer grâce à l'icône <span style="color:red">X</span> le groupe qui doit participer à la liaison.\ |
</li><li>Rechercher la seconde molécule dans le menu et cliquer sur le groupe\ |
qui doit participer à la liaison.\ |
</li><li>Cliquer sur la première molécule là où doit s'établir la liaison.\ |
</li></ul> |
select_atom: Cliquer sur le ou les atomes. Un deuxième clic annule la sélection. |
select_atom:Cliquer sur le ou les atomes. |
select_bond: Cliquer sur la liaison. Les atomes liés seront automatiquement sélectionnés.\ |
Un deuxième clic annule la sélection. |
select_bond:Cliquer sur la liaison. Les atomes liés seront automatiquement sélectionnés. |
charge:Utiliser l'icône <img src='gifs/WIMSchem/jsme_charge.png' alt='charge'/>\ |
pour modifier la charge portée par un atome. |
select_charge:Utiliser l'icone <span class="tt">+/-</span>. |
drag: une molécule peut être déplacée en se plaçant "devant" et en tirant. |
stereo: pour définir l'orientation d'une liaison (en avant, en arrière du plan ou non définie),\ |
commencer par ajouter une liaison simple, puis cliquer sur l'icône\ |
<img src='gifs/WIMSchem/jsme_stereo.png' alt='stereo'/> et enfin cliquer sur la liaison\ |
jusqu'à obtenir le symbole souhaité. |