Is a Chinese double quotation mark the same thing as an English double
quotation mark (")?

There is no displaying problem. There is no bug. Vim-LaTeX is acting as
designed. A double-quote is automatically expanded into two single
quotes, which is the conventional way to represent a double quote in LaTeX.

There is no "backwards double quote" in ASCII, and so LaTeX uses two
back-ticks (``) to represent a backwards double quote. The closing quote
can still be represented with an actual double quote ("), but it is not
ideal to have the TeX source open quotes with two character and close
quotes with a single character. So it is conventional to use two single
quotes, and the double quote is expanded to two single quotes according
to this convention.

You may want to see

:help latex-suite

and look for the section 'Smart Quotes" for more information.
Furthermore, take a look at:

:help Tex_SmartKeyQuote

If you would like to turn off smart quotes, then use

let g:Tex_SmartKeyQuote=0

in your .vimrc. Alternatively, you can redefine g:Tex_SmartQuoteOpen and
g:Tex_SmartQuoteClose to your liking. As described in the help,
non-English language users will often redefine these to their locale,
and Vim-LaTeX will try to do that if it detects a different language.

Best --
Ted

On 06/24/2011 08:29 PM, yanzhisheng wrote:
> hi,
> when I type chinese double quotation (”) in vim-latex, it appears to be
> a single quotation in the source codes. but the generated pdf is ok. how
> can I fix this displaying problem?
> thanks.
> ---yakex
> 
> 
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a 
> definitive record of customers, application performance, security 
> threats, fraudulent activity and more. Splunk takes this data and makes 
> sense of it. Business sense. IT sense. Common sense.. 
> http://p.sf.net/sfu/splunk-d2d-c1
> 
> 
> 
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

-- 
Ted Pavlic <t...@tedpavlic.com>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to