From: Bastien <email@example.com> To: e20100633 <firstname.lastname@example.org> Cc: email@example.com Subject: Re: export comments in LaTeX ? Date: Tue, 04 Jan 2011 11:44:39 +0100 [thread overview] Message-ID: <firstname.lastname@example.org> (raw) In-Reply-To: <87lj4l2pqo.fsf@EVA01.wopr.org> (email@example.com's message of "Mon, 22 Nov 2010 19:10:55 +0100") e20100633 <firstname.lastname@example.org> writes: > I found in the manual that commented lines will *not* be exported. > > But I'd like to know if there's a hook around allowing to export > comments from org-mode to LaTeX (I mean, comments will appear in the > dvi/pdf in some way). On top of other solutions already mentioned, see also this hook: ,----[ org-export-preprocess-hook ] | Hook for preprocessing an export buffer. | Pretty much the first thing when exporting is running this hook. | Point will be in a temporary buffer that contains a copy of | the original buffer, or of the section that is being export. | All the other hooks in the org-export-preprocess... category | also work in that temporary buffer, already modified by various | stages of the processing. `---- You can set this hook to a function that toggles the COMMENT keyword or the :noexport: tag, or convert inline comments (#) to #+begin_example sections. The hook operates on a temporary buffer so it's safe for your org file. HTH, -- Bastien
prev parent reply other threads:[~2011-01-04 10:44 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-22 18:10 e20100633 2010-11-22 18:34 ` Juan Pechiar 2010-11-22 21:53 ` e20100633 2010-11-22 23:07 ` Juan Pechiar 2010-11-23 22:05 ` e20100633 2011-01-04 10:44 ` Bastien [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 \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: export comments in LaTeX ?' \ /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
Code repositories for project(s) associated with this 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).