Re: Weird behavior of LaTeX-section-label for chapter

2020-02-29 Thread Shiyao MA
Hi Arash, Thanks for your help. On Sun, Mar 1, 2020 at 4:37 AM Arash Esbati wrote: > Hi Shiyao, > > Shiyao MA writes: > > > The default value of *LaTeX-section-label is:* > > > > (("part" . "part:") > > ("chapter&qu

Weird behavior of LaTeX-section-label for chapter

2020-02-27 Thread Shiyao MA
The default value of *LaTeX-section-label is:* (("part" . "part:") ("chapter" . "chap:") ("section" . "sec:") ("subsection" . "sec:") ("subsubsection" . "sec:")) However, *for chapter*, when typing C-c C-s, we get cha instead of chap:. \chapter{asdf} \label{cha:asdf} -- Best, Shiyao

Why use command to match against TeX-command-output-list instead of *name* ?

2019-11-18 Thread Shiyao MA
Hi, Why use command to match against TeX-command-output-list instead of *name* ? For example, in =tex-buf.el=, (defun TeX-run-set-command (name command) > "Remember TeX command to use to NAME and set corresponding output > extension." > (setq TeX-command-default name >

Re: [AUCTeX] (LaTeX-bibitem-list) returns nil.

2017-04-29 Thread Shiyao Ma
the bibitems. Best. On Apr 29, 2017, 17:38 +0800, Mosè Giordano <m...@gnu.org>, wrote: > Hi Shiyao, > > 2017-04-29 11:32 GMT+02:00 Shiyao Ma <i...@introo.me>: > > Hi, > > > > I'd like to get all the entries of my bib file. > > My tex master

[AUCTeX] (LaTeX-bibitem-list) returns nil.

2017-04-29 Thread Shiyao Ma
Hi, I'd like to get all the entries of my bib file. My tex master is "main.tex", and bib filename is "main.bib", there is already an entry \bibliography{main}. When running (LaTeX-bibitem-list),  it simply returns nil. How to solves this? Best,

Re: [AUCTeX] How to complete names like "section"?

2017-04-29 Thread Shiyao Ma
Thanks. Best. On Apr 29, 2017, 17:27 +0800, Mosè Giordano <m...@gnu.org>, wrote: > Hi Shiyao, > > 2017-04-29 11:16 GMT+02:00 Shiyao Ma <i...@introo.me>: > > Hi, > > > > Currently, it only completes a subset of commands, how to complete with > > name

[AUCTeX] How to complete names like "section"?

2017-04-29 Thread Shiyao Ma
Hi, Currently, it only completes a subset of commands, how to complete with names like "\section", "\subsection" ? CF. this picture: http://imgur.com/a/6k5gA It doesn't come up with \section. The same thing goes to \begin. Say, if I type \be, nothing shows up. Best. Shiyao.