emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eduardo V." <lalohao@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Where have org-latex-classes gone? And Ignore heading title but export contents
Date: Fri, 11 Nov 2016 13:07:14 -0600	[thread overview]
Message-ID: <CAEC7V6cLnMOdGPVqTrtBgX_7rMkUDVs=kfkbn7L9xKGGsfXOzQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

I'm getting an error trying to add my class to org-mode

(add-to-list 'org-latex-classes ieeetran-class)
Symbol's value as variable is void: org-latex-classes

What is the org-mode 9 way of adding classes?

Also, on org-mode 8 i added this hook to remove headlines and it worked
perfectly, now it complains about 'tree' being a void variable too

(defun org-remove-headlines (backend)
  "Remove headlines with :no_title: tag."
  (org-map-entries (lambda () (let ((beg (point)))
                                (outline-next-visible-heading 1)
                                (backward-char)
                                (delete-region beg (point))))
                   "no_export" tree)
  (org-map-entries (lambda () (delete-region (point-at-bol) (point-at-eol)))
                   "no_title"))

(add-hook 'org-export-before-processing-hook #'org-remove-headlines)

[-- Attachment #2: Type: text/html, Size: 1179 bytes --]

             reply	other threads:[~2016-11-11 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11 19:07 Eduardo V. [this message]
2016-11-11 20:33 ` Where have org-latex-classes gone? And Ignore heading title but export contents Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEC7V6cLnMOdGPVqTrtBgX_7rMkUDVs=kfkbn7L9xKGGsfXOzQ@mail.gmail.com' \
    --to=lalohao@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).