[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to include menu entry in C-x C-e
From: |
John Kitchin |
Subject: |
Re: [O] How to include menu entry in C-x C-e |
Date: |
Sun, 26 Mar 2017 16:12:09 -0400 |
User-agent: |
mu4e 0.9.19; emacs 25.1.1 |
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