Browse Source

Use ox-latex instead of org-latex in exemples using the require function

Rafael Laboissiere 6 years ago
parent
commit
74cf120561
2 changed files with 3 additions and 3 deletions
  1. 1 1
      org-dependencies.org
  2. 2 2
      org-faq.org

+ 1 - 1
org-dependencies.org

@@ -106,7 +106,7 @@ texlive-latex-base Ubuntu package.
 The setup is straightforward - add this to your .emacs (or equivalent):
 
 #+BEGIN_SRC emacs-lisp :exports code :results none
-   (require 'org-latex)
+   (require 'ox-latex)
 
    (setq org-latex-listings t)
    (add-to-list 'org-latex-packages-alist '("" "listings"))

+ 2 - 2
org-faq.org

@@ -3828,7 +3828,7 @@ To turn on listing export add the following to your Org-mode
 customization.
 #+begin_src emacs-lisp
   ;; requite org-latex so that the following variables are defined
-  (require 'org-latex)
+  (require 'ox-latex)
 
   ;; tell org to use listings
   (setq org-latex-listings t)
@@ -4100,7 +4100,7 @@ likely in =/usr/texbin/=, and you should rename or remove it.  Then you can
 put the following in your =~/.emacs.d/= or equivalent:
 
 #+begin_src emacs-lisp
-  (require 'org-latex)
+  (require 'ox-latex)
   (setq org-latex-listings t)
 
   ;; Originally taken from Bruno Tavernier: http://thread.gmane.org/gmane.emacs.orgmode/31150/focus=31432