Working with latex under Emacs Working with latex under emacstable OF CONTENTS
- 1. When things go wrong runningC-cTo generate*. BBLFrom*. Bib.
- 2. The correct way to insert newlines inSectionOf text, not a paragraph.
- 3. Why do you sometimes encounter the warning underfull \ hbox?
It is high time that I read papers and work with my teammates to do someresearch works on computer architecture, after some awful experience with MSWord, I decided to use latex to take notes. in this post, I will briefly recordthe various problems encountered when using Emacs + auctex.
1 when things go wrong running
C-cTo generate
*. BBLFrom
*. Bib.
I admit Emacs is smart enough to do what is supposed to do in a latex buffer, but sometimes things may get more complicated than Emacs itself can resolve, so it is necessaryHelpEmacs a little. The problem is that when I runC-cTo a latex buffer, it failed togenerate the *. aux and *. BBL files, which are used for bib, the way to solvethis problem is to run the following commands manually:
Pdflatex jobname. Tex |
Generate the jobname. aux file |
Jobname. aux |
Create the jobname. BBL from the jobname. aux File |
Pdflatex jobname. Tex |
Generate the PDF file from the above files |
Pdflatex jobname. Tex |
Resolve undefined reference |
2 The correct way to insert newlines in
SectionOf text, not a paragraph.
Line Break accepts Optional argument in brackets, whirs tells the verticallength to separate:
Line1 |
\ [1 \ baselineskip] |
Line2 |
3 Why do you sometimes encounter the warning underfull \ hbox?
This problem has something to do with the inter-word space of one line, whenall the words in the line can not be cut properly, latex will complain about, so re-word the sentence can always solve the problem. by the way, latex can still produce the correct document if you ignore thewarning.
Author: Wujing
Created:
Emacs 24.3.1 (Org mode 8.2.6)
Validate
Working with latex under Emacs