From: Jacob Gerlach <jacobgerlach@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Toggling Macro Definition
Date: Sun, 21 Sep 2014 22:09:23 -0400 [thread overview]
Message-ID: <CAA6UvuEba0yh5R5XQvkHa-JR0V6a5RtG38ZzJ3B2xeNUBpjwUg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
After writing a detailed report in org-mode and submitting it via
latex/pdf, I've found out that for the next version of the report, I am
required to use "track changes" in MS Word.
I thought my best way to approximate this is to submit two versions: one
with removed text in strikeout and new text in red (hence my previous post
where I learned to RTFM on Macro arguments).
The best hack I could think of to generate a "final" pdf was to change the
macro definition so that struckout text isn't included in the output and
new text is no longer red.
i.e.
#+MACRO: stk @@latex:\sout{$1}@@
becomes
#+MACRO: stk
This works for body text, but leaves an empty headline, and in general I
don't really like it. Do any experienced org-folk have recommendations on a
better way to do this?
[-- Attachment #2: Type: text/html, Size: 984 bytes --]
next reply other threads:[~2014-09-22 2:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-22 2:09 Jacob Gerlach [this message]
2014-09-22 3:55 ` Toggling Macro Definition Thomas S. Dye
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=CAA6UvuEba0yh5R5XQvkHa-JR0V6a5RtG38ZzJ3B2xeNUBpjwUg@mail.gmail.com \
--to=jacobgerlach@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).