auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Single quotes not highlighted?


From: Hong Xu
Subject: Re: [AUCTeX] Single quotes not highlighted?
Date: Sun, 17 Jan 2016 12:22:11 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 01/17/2016 06:41 AM, Mosè Giordano wrote:
> Hi Hong,
> 
> 2016-01-16 2:58 GMT+01:00 Hong Xu <address@hidden>:
>> Hi all,
>>
>> When there are single quotes in the text, such as
>>
>> Blah Blah `single quotes', halb halb ``double quotes''
>>
>> The texts in the single quotes do not follow the style of double quoted
>> texts. Is there any customization I should do? Or maybe this is a bug in
>> AucTeX?
> 
> To be honest, I don't know why single quotes aren't treated in the
> same fashion as double quotes.  To accomplish what you asked, you have
> to change `font-latex-quotes-list':
> 
> (eval-after-load "font-latex"
>   '(setq font-latex-quote-list
>      (append '(("`" "'"))
>          font-latex-quote-list)))
> 
> I guess you're the same person who asked this question about auto
> insertion of single quotes: http://emacs.stackexchange.com/q/19575/620
>  We can think about including this feature in AUCTeX, we could expand
> `TeX-input-quotes' to cater for both single and double quotes,
> depending on the value of `last-input-event'.
> 

Thanks Mosè. Yes, I think it would be nice to incorporate this feature
in AucTeX.

Best,
Hong

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]