ALT Linux repos
Group :: Sciences/Mathematics
RPM: scilab
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: scilab-fix-make-doc-ja_JP.patch
Download
Download
--- a/modules/helptools/macros/xmltoformat.sci
+++ b/modules/helptools/macros/xmltoformat.sci
@@ -1753,6 +1753,17 @@ function section_id = x2f_title2id(title
section_id = strsubst(section_id , "&" , "_" );
+ section_id = strsubst(section_id , ":" , "" );
+ section_id = strsubst(section_id , "\" , "_" );
+ section_id = strsubst(section_id , "/" , "_" );
+ section_id = strsubst(section_id , "''" , "_" );
+ section_id = strsubst(section_id , " " , " " );
+ section_id = strsubst(section_id , " " , "_" );
+ section_id = strsubst(section_id , "[" , "" );
+ section_id = strsubst(section_id , "]" , "" );
+
+ return;
+
section_id = strsubst(section_id , "À" , "A" );
section_id = strsubst(section_id , "Á" , "A" );
section_id = strsubst(section_id , "Â" , "A" );
@@ -1810,15 +1821,6 @@ function section_id = x2f_title2id(title
section_id = strsubst(section_id , "ý" , "y" );
section_id = strsubst(section_id , "ÿ" , "y" );
- section_id = strsubst(section_id , ":" , "" );
- section_id = strsubst(section_id , "\" , "_" );
- section_id = strsubst(section_id , "/" , "_" );
- section_id = strsubst(section_id , "''" , "_" );
- section_id = strsubst(section_id , " " , " " );
- section_id = strsubst(section_id , " " , "_" );
- section_id = strsubst(section_id , "[" , "" );
- section_id = strsubst(section_id , "]" , "" );
-
section_id = convstr(section_id,"l");
endfunction