On Sat, 4 Aug 2012 07:19:40 -0400, Eric Weir wrote:
>
> I write in Vim and when ready to format/publish dump documents in LyX
> for formatting as LaTeX documents. When I do so, double quotes show up
> in LyX with closing quotes at the beginning and end of the quote. When
> dumped in a word processor, opening and closing quotes are identical as
> well, but they are the vertical quotation marks, not the ones that curve
> in and out that is standard in LyX. I'm guess the latter is what is
> meant by "smart quotes."
>
> I'm wondering if it's possible to change the encoding of double quotes
> in Vim so they don't get translated the way they do in LyX.
>
As Tony puts, it should be an issue of LyX rather than Vim. However I
want to add that LyX use LaTeX as its backend and LaTeX has its rule of
typesetting quotes. You need to use `(backtick, or the grave sign) and
'(single quote) to specify a beginning quote and a closing quote. And
for the double quotes you need to say `` and ''(not " sign).
Hope this helps.
--
alick
Fedora 16 (Verne) user
https://fedoraproject.org/wiki/User:Alick
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Sunday, August 5, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment