pkg update and first config fix
org-brain not working, add org-roam
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
;;; ob-latex.el --- Babel Functions for LaTeX -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2022 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
;; Homepage: https://orgmode.org
|
||||
;; URL: https://orgmode.org
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
@@ -30,6 +30,10 @@
|
||||
;; be created directly form the latex source code.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'org-macs)
|
||||
(org-assert-version)
|
||||
|
||||
(require 'ob)
|
||||
(require 'org-macs)
|
||||
|
||||
@@ -37,6 +41,9 @@
|
||||
(declare-function org-latex-compile "ox-latex" (texfile &optional snippet))
|
||||
(declare-function org-latex-guess-inputenc "ox-latex" (header))
|
||||
(declare-function org-splice-latex-header "org" (tpl def-pkg pkg snippets-p &optional extra))
|
||||
(declare-function org-at-heading-p "org" (&optional _))
|
||||
(declare-function org-back-to-heading "org" (&optional invisible-ok))
|
||||
(declare-function org-next-visible-heading "org" (arg))
|
||||
|
||||
(defvar org-babel-tangle-lang-exts)
|
||||
(add-to-list 'org-babel-tangle-lang-exts '("latex" . "tex"))
|
||||
@@ -61,7 +68,6 @@
|
||||
(pdfpng . :any)
|
||||
(pdfwidth . :any)
|
||||
(headers . :any)
|
||||
(packages . :any)
|
||||
(buffer . ((yes no))))
|
||||
"LaTeX-specific header arguments.")
|
||||
|
||||
@@ -104,10 +110,17 @@ exporting the literal LaTeX source."
|
||||
:type 'function)
|
||||
|
||||
(defcustom org-babel-latex-pdf-svg-process
|
||||
"inkscape --pdf-poppler %f -T -l -o %O"
|
||||
"inkscape \
|
||||
--pdf-poppler \
|
||||
--export-area-drawing \
|
||||
--export-text-to-path \
|
||||
--export-plain-svg \
|
||||
--export-filename=%O \
|
||||
%f"
|
||||
"Command to convert a PDF file to an SVG file."
|
||||
:group 'org-babel
|
||||
:type 'string)
|
||||
:type 'string
|
||||
:package-version '(Org . "9.6"))
|
||||
|
||||
(defcustom org-babel-latex-htlatex-packages
|
||||
'("[usenames]{color}" "{tikz}" "{color}" "{listings}" "{amsmath}")
|
||||
|
||||
Reference in New Issue
Block a user