* Bug #12816 fixed - Numbers pasted in editvar were not parsed according to locale.
+* Bug #12823 fixed - In help generation (toolbox) links were not correctly handled.
+
* Bug #12836 fixed - There was an error in strcmpi documentation.
* Bug #12840 fixed - Fix typo in number_properties.xml.
+
String type = attributes.get("type");
String id;
if (type != null && type.equals("scilab")) {
- if (this.type == GenerationType.JAVAHELP) {
+ if (this.type == GenerationType.JAVAHELP || this.type == GenerationType.HTML) {
id = resolvScilabLink(link);
} else {
return contents;
}
if (id == null) {
- warnings++;
- System.err.println("Warning (should be fixed): invalid internal link to " + link + " in " + currentFileName + "\nat line " + locator.getLineNumber());
- return null;
+ if (isToolbox) {
+ if (this.type == GenerationType.HTML) {
+ id = urlBase + link;
+ if (linkToTheWeb) {
+ id += ".html";
+ }
+ }
+ if (this.type == GenerationType.JAVAHELP) {
+ id = urlBase + link;
+ }
+ } else {
+ warnings++;
+ System.err.println("Warning (should be fixed): invalid internal link to " + link + " in " + currentFileName + "\nat line " + locator.getLineNumber());
+ return null;
+ }
}
Stack<DocbookElement> stack = getStack();
if (pos == -1) {
return null;
}
+
String first = link.substring(0, pos);
String second = link.substring(pos + 1);
String[] toks = first.split("\\.");