forked from manbo/internal-docs
Add: README.md for latex compiling
This commit is contained in:
27
arxiv-style/README.md
Normal file
27
arxiv-style/README.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
## Files layout
|
||||||
|
- `arxiv.sty` and `template.tex`: The arxiv template we are using.
|
||||||
|
|
||||||
|
- `equations.tex`: **Duplicated**, contains equations in methodology section
|
||||||
|
|
||||||
|
- `main.tex` and `references.bib`:This prints out our paper, currently using arxiv template. Note that references are template independent.
|
||||||
|
|
||||||
|
## How to compile
|
||||||
|
It's recommanded to use `MiKTeX` as compiler on windows.
|
||||||
|
|
||||||
|
To compile latex into pdf, follow these steps:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pdflatex ./main.tex
|
||||||
|
|
||||||
|
# Build reference DB, run once unless references.bib updated
|
||||||
|
bibtex main
|
||||||
|
|
||||||
|
# Always running compiling command twice
|
||||||
|
pdflatex ./main.tex
|
||||||
|
pdflatex ./main.tex
|
||||||
|
```
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
If you encounter warnings during the compiling process, simply press `Enter`.
|
||||||
|
|
||||||
|
If you find the reference in pdf is like `[??]`, compile twice.
|
||||||
Reference in New Issue
Block a user