config/doom: reconfigure pdf tools

This commit is contained in:
xeruf 2022-01-11 01:51:12 +01:00
parent b1a836ca08
commit 4c54f0fef7
2 changed files with 11 additions and 5 deletions

View File

@ -450,8 +450,11 @@ Version 2019-11-04 2021-02-16"
(add-to-list 'org-export-filter-headline-functions
'org/ensure-latex-clearpage)
(setq org-latex-to-pdf-process
'("xelatex -interaction nonstopmode %f"
"xelatex -interaction nonstopmode %f")) ;; for multiple passes
;; Exporting - https://orgmode.org/manual/Export-Settings.html
(setq org-latex-pdf-process '("latexmk -shell-escape -outdir=/tmp/latexmk -f -pdf %F && mv %f /tmp/latexmk && mv /tmp/latexmk/%b.pdf %o") ; https://emacs.stackexchange.com/a/48351
(setq ;org-latex-pdf-process '("latexmk -shell-escape -outdir=/tmp/latexmk -f -pdf %F && mv %f /tmp/latexmk && mv /tmp/latexmk/%b.pdf %o") ; https://emacs.stackexchange.com/a/48351
org-latex-packages-alist '(("" "fullpage") ("avoid-all" "widows-and-orphans") ("" "svg"))
org-export-with-tags nil
org-export-with-tasks 'done
@ -537,6 +540,9 @@ Version 2019-11-04 2021-02-16"
(map! :map dired-mode-map
:n "RET" 'dired-find-file-dwim
:n "l" 'dired-find-file-dwim
:n "h" 'dired-up-directory
:n "ö" 'evil-ex-search-forward
:n "r" 'ranger
:leader
:desc "Dragon marked files" "d"
@ -547,8 +553,7 @@ Version 2019-11-04 2021-02-16"
(lambda () (interactive) (dired-do-shell-command "s"))
:desc "Lowercase files" "L"
(lambda () (interactive) (dired-do-shell-command "lowercase"))
:desc "Symlink to this" "l" 'dired-do-symlink
:desc "Symlink to this" "l" 'dired-do-symlink
:desc "Open image-dired" "i"
(lambda () (interactive) (image-dired buffer-file-name))
:desc "Open image externally" "I" 'image-dired-dired-display-external

View File

@ -30,7 +30,7 @@ and configuration for ~less~ and ~fzf~.
: pacman -Qe | cut -d\ -f1 | xclip -selection clipboard
# Use org-yank-visible
- essentials :: curl git zsh bat neovim man-db
- basic tools :: tree wget texinfo man-pages base-devel fzf topgrade expect
- basic tools :: tree wget texinfo man-pages base-devel fzf topgrade expect zoxide
fd ripgrep zsh-completions python-pynvim unrar mlocate
- dotfiles :: yadm
: yadm clone git@git.jfischer.org:xeruf/dotfiles.git
@ -64,7 +64,7 @@ makepkg -si
** Graphical
- video :: vlc obs-studio kdenlive
- music production :: lilypond lilypond-docs timidity++ chordpro-git musescore mixxx-beta-git
- office :: libreoffice-fresh emacs texlive-core texlive-latexextra context-bin
- office :: libreoffice-fresh emacs emacs-pdf-tools-git texlive-core texlive-latexextra context-bin
- communication :: zulip-desktop-bin ferdi-bin
- hacking :: etcher-bin
- health :: stretchly-xeruf-git redshift acpilight light
@ -76,6 +76,7 @@ makepkg -si
- kde :: plasma-desktop plasma-nm spectacle breeze systemsettings konsole ktorrent dolphin kdeplasma-addons kinfocenter partitionmanager kdeconnect kwallet-pam kwalletmanager ksshaskpass okular bluedevil
*** Emacs
: git clone --depth 1 https://github.com/hlissner/doom-emacs ${XDG_CONFIG_HOME:-$HOME/.config}/emacs && ${XDG_CONFIG_HOME:-$HOME/.config}/emacs/bin/doom -y install
: yay -Sy
- mail :: offlineimap mu
*** [[id:firefox][Firefox]] Addons
**** Password management