Chemical Markup support for Wikimedia Commons/office desk

From MediaWiki.org
Jump to navigation Jump to search

Next steps[edit]

  • demo/mock

Shelf[edit]

sdf2svg at archive.org

Sdf2svg is developed and maintained by Ronnie Persson - Binofo. Developed in PHP it can easily be incorporated into a database system to auto generate SVG images. It was originally developed for the Chemical Biology Platform at the University of Gothenburg. Thanks to Lars Brive for testing and feedback.

MIME type chemical/x-mdl-molfile ?

Training[edit]

Odd stuff[edit]

MIME type detection[edit]

  • Labs: text/plain
  • Local: application/acad

installing indigo on Ubuntu saucy (13.10)[edit]

$ sudo apt-get install indigo-utils
[sudo] password for rillke: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package indigo-utils

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 13.10
Release:	13.10
Codename:	saucy

$ sudo apt-get update
Ign http://extras.ubuntu.com saucy InRelease                                   
Ign http://de.archive.ubuntu.com saucy InRelease                               
Get:1 http://extras.ubuntu.com saucy Release.gpg [72 B]                        
Ign http://de.archive.ubuntu.com saucy-updates InRelease                       
Get:2 http://extras.ubuntu.com saucy Release [9.753 B]               
Ign http://de.archive.ubuntu.com saucy-backports InRelease                     
Get:3 http://de.archive.ubuntu.com saucy Release.gpg [933 B]
Ign http://security.ubuntu.com saucy-security InRelease
Get:4 http://de.archive.ubuntu.com saucy-updates Release.gpg [933 B]     
Get:5 http://de.archive.ubuntu.com saucy-backports Release.gpg [933 B]         
Get:6 http://security.ubuntu.com saucy-security Release.gpg [933 B]   
Get:7 http://extras.ubuntu.com saucy/main Sources [14 B]              
Get:8 http://de.archive.ubuntu.com saucy Release [49,6 kB]
Get:9 http://extras.ubuntu.com saucy/main amd64 Packages [14 B]                
Get:10 http://security.ubuntu.com saucy-security Release [49,6 kB]
[...]


Fetched 27,9 MB in 6min 16s (74,1 kB/s)
Reading package lists... Done

$ dpkg -l *indigo*
dpkg-query: no packages found matching *indigo*

and ... snip! ... changed the sources to the "main server"

$ sudo apt-get update
Ign http://extras.ubuntu.com saucy InRelease
Ign http://archive.canonical.com saucy InRelease
Ign http://archive.ubuntu.com saucy InRelease  
Hit http://extras.ubuntu.com saucy Release.gpg                       
Get:1 http://archive.canonical.com saucy Release.gpg [933 B] 
[...]

$ sudo apt-get install indigo-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libindigo0d libtinyxml2.6.2
The following NEW packages will be installed:
  indigo-utils libindigo0d libtinyxml2.6.2
0 upgraded, 3 newly installed, 0 to remove and 318 not upgraded.
Need to get 2.256 kB of archives.
After this operation, 5.505 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y

[...]
Setting up indigo-utils (1.1.11-2) ...
Processing triggers for libc-bin ...
$ indigo-depict
Usage:
  indigo-depict infile.{mol,rxn,cml,smi} outfile.{png,svg,pdf} [parameters]
  [...]