namazu-users-en
[Top] [All Lists]

[Namazu-users-en] Re: Indexing XSL files?

2007-10-08 09:41:49
Stephane Bortzmeyer wrote:

XSL (a XML transformation language) files are mistaken for Latex :

1/4 - /home/stephane/Blog/schemas/common-latex.xsl Unsupported media type 
(application/x-tex) skipped.
x

Please show the head of the file. 

$ head /home/stephane/Blog/schemas/common-latex.xsl

If there is no "latex" in the file name, XSL files are flagged as
text/plain.

Maybe, there is not this. 
Please change the file name of the file and try. 
The result must be equal. 

$ cd /tmp
$ cp /home/stephane/Blog/schemas/common-latex.xsl .
$ cp common-latex.xsl common-abc.xsl
$ mknmz common-latex.xsl common-abc.xsl

How can I influcence the mapping between a file name and the filter
used by Namazu?

Contents of the file are examined and judged in case of almost. 
(Contents might be judged by the extension.) 


Because mknmz did not correspond to the XSL file in case of 
this time, contents might be seen, and it be misidentified 
to the Tex file. 

By the way,
It is likely not to stand in the post even if XSL is processed as 
"text/plain". 
If it wants to correspond to XSL, it is necessary to make the 
XSL filter. 
-- 
=====================================================================
TADAMASA TERANISHI  yw3t-trns(_at_)asahi-net(_dot_)or(_dot_)jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E

_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>