Skip to content

Commit

Permalink
LatexMk + Markdown library.
Browse files Browse the repository at this point in the history
  • Loading branch information
basille committed Nov 30, 2023
1 parent a7eab5e commit 5040fba
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
5 changes: 1 addition & 4 deletions functions/md-todo-library.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
(defun md-todo-list ()
"Opens a top window with a list of all TODO items in the Notes folder."
(interactive)
(split-window-below)
(other-window 1)
(grep-compute-defaults)
(rgrep "\\*\\*TODO\\*\\*" "*.md" "~/Public/Notes/./")
(other-window 1)
(shrink-window (round (* (frame-height) .2))))
(other-window 1))
22 changes: 12 additions & 10 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -1436,15 +1436,11 @@ configuring the LaTeX mode (notably RefTeX, fold LaTeX environments
))
#+END_SRC

The compilation by LatexMk (a single call to perform all necessary
LaTeX/BibTeX compilations) is performed through the [[https://github.com/tom-tan/auctex-latexmk][auctex-latexmk]]
package, which allows to have LatexMk as the default engine for LaTeX compilation:
The compilation by LatexMk (a single call to perform all necessary LaTeX/BibTeX
compilations) is performed through the [[https://github.com/tom-tan/auctex-latexmk][auctex-latexmk]] package, which allows to
have LatexMk as the default engine for LaTeX compilation:

UPDATE (July 2022): =auctex-latexmk= is no longer maintained. There's a bug with
=tex-buf= being merged into =tex=, but still being called by =auctex-latexmk=
(see [[https://github.com/tom-tan/auctex-latexmk/issues/39][bug report]] for possible fixes).

#+BEGIN_SRC emacs-lisp :tangle no
#+BEGIN_SRC emacs-lisp
(setq auctex-latexmk-inherit-TeX-PDF-mode t) ; LaTeXMk inherits PDF mode
(auctex-latexmk-setup)
(add-hook 'TeX-mode-hook (lambda () (setq TeX-command-default "LatexMk")))
Expand Down Expand Up @@ -1689,8 +1685,8 @@ Run R dired with ~C-c r~:

*** Layout

All R buffers except code on the right side; R buffer dedicated at the
bottom, R Dired and Help stick to the top:
All R buffers (including R Dired) except code on the right side; Help, magit
also on the right side; Grep sticks to the top:

#+BEGIN_SRC emacs-lisp
(setq display-buffer-alist
Expand Down Expand Up @@ -1731,6 +1727,12 @@ bottom, R Dired and Help stick to the top:
(slot . -1)
(window-width . 0.5)
(reusable-frames . nil))
("*grep"
(display-buffer-reuse-window display-buffer-in-side-window)
(side . top)
(slot . -1)
(window-height . 0.33)
(reusable-frames . nil))
))
#+END_SRC

Expand Down

0 comments on commit 5040fba

Please sign in to comment.