* Toggling Macro Definition
@ 2014-09-22 2:09 Jacob Gerlach
2014-09-22 3:55 ` Thomas S. Dye
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Gerlach @ 2014-09-22 2:09 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Toggling Macro Definition
2014-09-22 2:09 Toggling Macro Definition Jacob Gerlach
@ 2014-09-22 3:55 ` Thomas S. Dye
0 siblings, 0 replies; 2+ messages in thread
From: Thomas S. Dye @ 2014-09-22 3:55 UTC (permalink / raw)
To: Jacob Gerlach; +Cc: emacs-orgmode
Aloha Jacob,
Jacob Gerlach <jacobgerlach@gmail.com> writes:
> 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.
If this means you are required to submit a pdf file that looks like it
is the output from "track changes" in Word, then the latexdiff utility
might work for you.
You pass it the old .tex file and the new .tex file and it creates a
third .tex file that tracks the changes.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-22 3:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-22 2:09 Toggling Macro Definition Jacob Gerlach
2014-09-22 3:55 ` Thomas S. Dye
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).