Re: [Gimp-docs] "ko" and "zh_CN" indexterms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



В Срд, 04/10/2006 в 21:19 +0200, julien пишет:
> French uses letters with an accent: I can't use them as initials for the 
> index because 'make' doesn't recognize them correctly. It doesn't place 
> them correctly in the index.
> So, I was wandering whether you can get an available index in Korean.
> 
> Greetings.
> 
> Julien
> 

Now about this separate problems. Really out-of-box docbook stylesheets
doesn't generate index well, they can work only with ascii letters. You
can read more precisely about this situation here:

http://www.sagehill.net/docbookxsl/IndexIntl.html

Fortunately, we are not alone with this problem. The article above
describes the way to solve it. The small attached patch make our indexes
much better, for example with this patch russian index is generated
correctly. It will also work fine with french diacritics. Korean will
work too I suspect.

So, if everyone agrees I propose to apply it.


? src/menus/menu3.patch
Index: src/gimp.xml
===================================================================
RCS file: /cvs/gnome/gimp-help-2/src/gimp.xml,v
retrieving revision 1.182
diff -u -p -r1.182 gimp.xml
--- src/gimp.xml	30 Sep 2006 21:33:35 -0000	1.182
+++ src/gimp.xml	5 Oct 2006 23:38:11 -0000
@@ -523,5 +523,5 @@
   <xi:include href="legal/fdl.xml" />
   <xi:include href="help-missing.xml" />
 
-  <index id="gimp-help-index" lang="en;cs;de;es;fr;it;no;sv"/>
+  <index id="gimp-help-index" lang="en;cs;de;es;fr;it;no;ru;sv"/>
 </book>
Index: stylesheets/plainhtml.xsl.in
===================================================================
RCS file: /cvs/gnome/gimp-help-2/stylesheets/plainhtml.xsl.in,v
retrieving revision 1.25
diff -u -p -r1.25 plainhtml.xsl.in
--- stylesheets/plainhtml.xsl.in	21 Mar 2006 10:51:17 -0000	1.25
+++ stylesheets/plainhtml.xsl.in	5 Oct 2006 23:38:14 -0000
@@ -5,6 +5,7 @@
      Version 1.1 which is available from http://www.gnu.org. -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
   <xsl:import href="@STYLEBASE@/xhtml/profile-chunk.xsl" />
+  <xsl:import href="@STYLEBASE@/html/autoidx-ng.xsl"/>
   <xsl:param name="html.stylesheet">gimp-help-plain.css
     gimp-help-screen.css gimp-help-custom.css</xsl:param>
   <xsl:param name="generate.index">1</xsl:param>

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=

_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux