Skip to content

Commit dd3af77

Browse files
committed
Update README.md for #1 #7
1 parent 5d00b00 commit dd3af77

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,18 @@ You can also override ``bib`` compiler:
8787

8888
bib=biber
8989

90+
## Latexmk support
91+
92+
``Makefile`` alone can not get the correct dependency setting to make the compiler run ``latex`` and ``bibtex`` properly. That is why the most safer action is chose. In the default ``pdf`` generating process, we run ``latex``, ``bibtex, ``latex`` and ``latex`` in a row. If we modify any contents, we rerun the above commands to grantee we get the correct ``pdf``. This is unnecessary and only ``latex`` needed to be rerun once if we make minor changes in ``.tex`` files, which is very common.
93+
94+
``Latexmk`` au­to­mates the pro­cess of gen­er­at­ing a LaTeX doc­u­ment. It runs ``latex`` and ``bibtex`` based on the changes you made. It can also use ``biber`` automatically if you use it.
95+
96+
``Latexmk`` is disabled in the ``Makefile`` by default. To enable it, add the following code in config:
97+
98+
```shell
99+
latexmk=1
100+
```
101+
90102
## TEXMF Search Path
91103

92104
Suppose you are compiling ``article.pdf``. These paths will be searched in order: ``article``, ``.``, ``article/texmf`` and ``share/texmf``.

0 commit comments

Comments
 (0)