feat(emacs): add latex packages and configure pandoc for pdf generation
This commit is contained in:
		
							parent
							
								
									b971a7b58e
								
							
						
					
					
						commit
						3f5a9a6cf9
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -13,6 +13,7 @@
 | 
			
		|||
    fd
 | 
			
		||||
 | 
			
		||||
    pandoc # For org-pandoc
 | 
			
		||||
    texliveFull # for latex conversions
 | 
			
		||||
    (aspellWithDicts (
 | 
			
		||||
      dicts: with dicts; [
 | 
			
		||||
        en
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -101,3 +101,11 @@
 | 
			
		|||
 | 
			
		||||
;; Configure elfeed-org
 | 
			
		||||
(setq rmh-elfeed-org-files '("/home/wizardlink/Documents/notes/elfeed.org"))
 | 
			
		||||
 | 
			
		||||
;; Set CLI options for ox-pandoc when generating PDFs from LaTeX,
 | 
			
		||||
;; ensuring that `latexmk` is used so we have proper citations.
 | 
			
		||||
(use-package ox-pandoc
 | 
			
		||||
  :init
 | 
			
		||||
  (setq org-pandoc-options-for-latex-pdf '((pdf-engine . "latexmk")
 | 
			
		||||
                                           (pdf-engine-opt . "-bibtex")
 | 
			
		||||
                                           (biblatex . t))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue