From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Mark Meyer <mark@ofosos.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to include menu entry in C-x C-e
Date: Sun, 26 Mar 2017 16:12:09 -0400 [thread overview]
Message-ID: <m260ivvluu.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <0b0c667d-cd1a-ff38-a93e-8adfd63ff41f@ofosos.org>
here is an example I have used:
(org-export-define-derived-backend 'cmu-manuscript 'latex
:menu-entry
'(?j "Export with ox-manuscript"
((?L "As LaTeX buffer" org-latex-export-as-latex)
(?l "As LaTeX file" org-latex-export-to-latex)
(?p "As manuscript PDF file" ox-manuscript-export-and-build)
(?o "As manuscript PDF and open" ox-manuscript-export-and-build-and-open)
(?e "As PDF and email" ox-manuscript-export-and-build-and-email)
(?s "As submission manuscript tex"
ox-manuscript-export-submission-manuscript)
(?M "As submission manuscript pdf"
ox-manuscript-build-submission-manuscript)
(?m "As submission manuscript pdf and open"
ox-manuscript-build-submission-manuscript-and-open)
(?c "As manuscript PDF with comments"
ox-manuscript-build-with-comments)
(?a "As submission archive"
ox-manuscript-make-submission-archive))))
Mark Meyer writes:
> Hi,
> how do I include a menu entry from my module, when people hit C-x C-e?
>
> Cheers, Mark
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
prev parent reply other threads:[~2017-03-26 20:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-26 19:17 How to include menu entry in C-x C-e Mark Meyer
2017-03-26 20:12 ` John Kitchin [this message]
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=m260ivvluu.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=mark@ofosos.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).