[NTG-context] about test file for Chinese

2005-09-24 Thread Dalyoung

Dear all,

I read an instruction of using a Chinese truetype font in the ConTeXt  
wiki.
In the step 9, there is a mention about test file from Lutz, but  
there is no attached file.

(It is a mail from Xiao Jianfeng on 06/06/2005)
Does someone have this test file? I'd like to know how to define  
typescript in this case.

Thank you.

Dalyoung
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-09-24 Thread Nikolai Weibull
(OK, this is old, but I finally did something about it.)

VnPenguin wrote:

 Just tested your context.vim under vim 6.3.x; It's better than
 tex/latex standard syntax in vim 6.3 IMHO.
 
 I have only a small remark: The following code is valid in ConTeXt:
 
 \useURL 
 [book-ns-openssl][http://www.amazon.com/exec/obidos/ASIN/059600270X/qid%3D1024342376/103-8123753-9606263][][Network
 Security with OpenSSL]
 
 but the syntax considers % like a comment mark, so I see another color
 for the text after %.  It's possible to make the comment pattern
 smarter ? :)

Actually, yes, there is.  Wait for me to get a new version sent upstream
to the Vim 7 CVS, add the following to your vimrc, and cheer:

let g:context_spacious_comments = 1

This will make it so that comments must be at the beginning of the line
or be preceded by a white-space,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context