|
From: Stefan K. <ste...@eb...> - 2010-04-29 09:59:52
|
Hi Konstantin, many thanks for looking at that. Help was a real problem. Another thing which I think we should have is - a table of contents, which could be done manually - an index, which can not be done manually JavaHelp would take care of that, but JavaHelp is incompatible with our license. Does anybody have an idea about something like JavaHalp compatible with LGPL? Or have another idea about how to have toc/index? Stefan On Wednesday 28 April 2010 17:32:50 Konstantin Tokarev wrote: > HTML help in JCP has many drawbacks: many HTML errors, needs manual > correction when icon names change, difficult to maintain translations > > I propose to use HTML generation instead. I've added new target > generateHelp, which currently executes class HtmlExample from src/util, it > produces file example.html in > dist/classes/org/openscience/jchempaint/resources/userhelp_jcp/en_US/exampl >e.html. It's almost identical to jcp.html, but: a) is valid > b) style of contents could be easily customized since all elements are > generated by function contentsEntry() c) is potentially translatable with > GT > > But I couldn't set up i18n, GT produces crap (should return the same > english strings because they have no translations) Maybe, it's possible to > use separate po directory for help translation -- Stefan Kuhn B. Sc. M. A. Software Engineer in the Chemoinformatics and Metabolism Team European Bioinformatics Institute (EBI) Wellcome Trust Genome Campus Hinxton, Cambridge CB10 1SD UK Phone +44 1223 49 2657 Fax +44 (0)1223 494 468 |