On 01/17/2016 06:41 AM, Mosè Giordano wrote: > Hi Hong, > > 2016-01-16 2:58 GMT+01:00 Hong Xu <[email protected]>: >> 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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
