Re: [O] Table captions in LaTeX export
On Thursday, 11 Jun 2015 at 20:12, Thomas S. Dye wrote: [...] It would be good to have :caption and label honored, even when :float nil, like this: You could always resort to direct LaTeX directives, as in #+begin_src org ,#+begin_margintable ,#+latex: \label{tab:eg} \caption{Example table} ,#+attr_latex: :float nil :booktabs t :center nil | First | Second | |---+| | One | Two| | Three | Four | ,#+end_margintable #+end_src -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1216-gb856f6
[O] Table captions in LaTeX export
Aloha all, With this input: ,-- | #+begin_margintable | #+name: tab:eg | #+attr_latex: :float nil :booktabs t :center nil :caption \caption{Example table} | | First | Second | | |---+| | | One | Two| | | Three | Four | | #+end_margintable `-- On export to LaTeX, I get this, which lacks a caption and a label: , | \begin{margintable} | \begin{tabular}{ll} | \toprule | First Second\\ | \midrule | One Two\\ | Three Four\\ | \bottomrule | \end{tabular} | \end{margintable} ` It would be good to have :caption and label honored, even when :float nil, like this: ,-- | \begin{margintable} | \caption{Example table\label{tab:eg}} | \begin{tabular}{ll} | \toprule | First Second\\ | \midrule | One Two\\ | Three Four\\ | \bottomrule | \end{tabular} | \end{margintable} `-- Is this possible? All the best, Tom -- T.S. Dye Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
On Tuesday, 9 Jun 2015 at 14:35, Bernhard Pröll wrote: With a lot of windows open the annoying part of =org-capture= is =switch-to-buffer-other-window= for me. My approach is using the current window for the capture buffer: #+BEGIN_SRC elisp (defadvice org-capture (around bp/org-capture--around) (flet ((switch-to-buffer-other-window (buf) (switch-to-buffer buf))) ad-do-it)) (ad-activate 'org-capture) #+END_SRC Thanks. I want to switch-to-buffer-other-window because I often want to see the original buffer when writing down my capture information, in cases were there isn't a particular region to select etc. So I've got the opposite use case than yours. I obviously need to figure out why the behaviour I see is not the default behaviour... Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1154-g6ba251
[O] custom agenda on TODO keywords and catagory
Hi all im trying to create a custom agenda based on TODO keywords and category but with no success. i have this code block (z Office block agenda todo TODO|BGU|EXP ( (tags-todo CATEGORY=\work\) )) this does work but shows the 3 todo types from all agenda files and not just agenda files that have the #+CATEGORY: work on top any clue what im missing here? best Z
[O] Cannot get capture to work on Emacs 24.3.1 - Org itself does work
I cannot get Capture to work. Summary: I have successfully installed and used emacs on my laptop, and am happily using Org mode. I cannot get Capture to work. I have edited my .emacs file, but I am getting an error when starting emacs, and C-c c does not work. Detail: I have installed 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN on my laptop running Windows XP (Japanese). Org-mode works. I edited my .emacs file per .../manual/Setting-up-capture.html#Setting-up-capture by adding (setq org-default-notes-file (concat org-directory /notes.org)) (define-key global-map \C-cc 'org-capture) Now, when I start emacs normally, I get the warning: ...: An error occurred while loading `c:/home/.emacs': Symbol's value as variable is void: org-directory To ensure normal operation... I restarted emacs by running runemacs.exe --debug-init and got the foolowing Backtrace: Debugger entered--Lisp error: (void-variable org-directory) (concat org-directory /notes.org) (setq org-default-notes-file (concat org-directory /notes.org)) eval-buffer(#buffer *load* nil c:/home/.emacs nil t) ; Reading at buffer position 1168 load-with-code-conversion(c:/home/.emacs c:/home/.emacs t t) load(~/.emacs t t) #[0 \205\262 (and a lot of other code conversions that don't seem to copy and paste) I have referred to the org manual, and read the FAQ. I do not see this problem addressed. I hope you can help me. Why is the variable org-directory void? Do I need to edit some file other than .emacs? Is there something else I should do?
Re: [O] Cannot get capture to work on Emacs 24.3.1 - Org itself does work
Hello George, George Taylor writes: I cannot get Capture to work. Summary: I have successfully installed and used emacs on my laptop, and am happily using Org mode. I cannot get Capture to work. I have edited my .emacs file, but I am getting an error when starting emacs, and C-c c does not work. Detail: I have installed 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN on my laptop running Windows XP (Japanese). Org-mode works. I edited my .emacs file per .../manual/Setting-up-capture.html#Setting-up-capture by adding try this here, before the setq for org-default-notes-file below: (setq org-directory c:/home/yadda/yadda) or if you have already started emacs you can put the cursor after the last bracket and hold down Ctl and press x then e to evaluate it. Then do the same for the line below that sets org-default-notes-file. You can check if the variable has been set properly by pressing Ctl-h v then typing org-directory. Myles (setq org-default-notes-file (concat org-directory /notes.org)) (define-key global-map \C-cc 'org-capture) Now, when I start emacs normally, I get the warning: ...: An error occurred while loading `c:/home/.emacs': Symbol's value as variable is void: org-directory To ensure normal operation... I restarted emacs by running runemacs.exe --debug-init and got the foolowing Backtrace: Debugger entered--Lisp error: (void-variable org-directory) (concat org-directory /notes.org) (setq org-default-notes-file (concat org-directory /notes.org)) eval-buffer(#buffer *load* nil c:/home/.emacs nil t) ; Reading at buffer position 1168 load-with-code-conversion(c:/home/.emacs c:/home/.emacs t t) load(~/.emacs t t) #[0 \205\262 (and a lot of other code conversions that don't seem to copy and paste) I have referred to the org manual, and read the FAQ. I do not see this problem addressed. I hope you can help me. Why is the variable org-directory void? Do I need to edit some file other than .emacs? Is there something else I should do?
Re: [O] Problem with R source blocks
Hi Chuck, Charles C. Berry ccbe...@ucsd.edu writes: The error messages are coming from R. cbind will say: : Error in data.frame(..., check.names = FALSE) : : arguments imply differing number of rows: 2, 3 I think the problem is in ggplot2, rather than my for loop: ,--- | [1] ERROR : arguments imply differing number of rows: 76, 69 | Warning messages: | 1: In loop_apply(n, do.ply) : | Removed 3 rows containing missing values (position_stack). | 2: In loop_apply(n, do.ply) : | Removed 1 rows containing missing values (position_stack). | 3: In loop_apply(n, do.ply) : | Removed 3 rows containing missing values (position_stack). | null device | 1 | [1] org_babel_R_eoe | summary(bcal.df$label) | 50-50-17-01088 Hapaiali`i KAL-1Makolea KH2-2 |100 60 82 69 72 | KAL-26 KAL-27 KHO-1 KOL-2MKI-122 | 79 72 65 63 54 |MKI-123MKI-124MKI-125 KH1-3 KAL-24 | 62 69 65 65 57 | Cook | 41 `--- Note that the warnings removed 7 rows, which is the difference pointed out by the error. I don't know what position_stack might be, but it doesn't map directly to the data frame I've constructed, which lacks an entry with 76 rows. I'm guessing this brouhaha has to do with facet_wrap. In any case, Org Babel seems to be behaving correctly. I've had this code around for years and have run it without problem many hundreds of times. Is ess a potential source of the problem? I upgraded that recently. Thanks for your help, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Problem with R source blocks
On Fri, 12 Jun 2015, Thomas S. Dye wrote: Hi Chuck, Charles C. Berry ccbe...@ucsd.edu writes: The error messages are coming from R. cbind will say: : Error in data.frame(..., check.names = FALSE) : : arguments imply differing number of rows: 2, 3 I think the problem is in ggplot2, rather than my for loop: ,--- | [1] ERROR : arguments imply differing number of rows: 76, 69 | Warning messages: | 1: In loop_apply(n, do.ply) : | Removed 3 rows containing missing values (position_stack). | 2: In loop_apply(n, do.ply) : | Removed 1 rows containing missing values (position_stack). | 3: In loop_apply(n, do.ply) : | Removed 3 rows containing missing values (position_stack). | null device Those messages come from plyr, which ggplot2 uses. [snip] In any case, Org Babel seems to be behaving correctly. I've had this code around for years and have run it without problem many hundreds of times. Is ess a potential source of the problem? I upgraded that recently. I don't think so. I'd rewrite the src block with save.image(file=setup-for-ggplot.RData) before the graphics commands. Restart emacs and execute the src block. Start a fresh R session, then type load(setup-for-ggplot.RData) and type/paste in all the graphics commands and see what happens. If the error repeats and you can verify that each object is as you expected it to be, then this is not an Org mode problem. HTH, Chuck
Re: [O] custom agenda on TODO keywords and catagory
Hello Xebar, Xebar Saram writes: im trying to create a custom agenda based on TODO keywords and category but with no success. i have this code block (z Office block agenda todo TODO|BGU|EXP ( (tags-todo CATEGORY=\work\) )) this does work but shows the 3 todo types from all agenda files and not just agenda files that have the #+CATEGORY: work on top any clue what im missing here? I think you are mixing up the two ways of using the variable. From the help (view it by doing C-h v org-agenda-custom-commands) the two ways are: (key desc type match settings files) (key desc (cmd1 cmd2 ...) general-settings-for-whole-set files) Therefore, I think if you are aiming for the first version you would use tags-todo in place of todo and merge the category clause into the todo keyword clause and it should give you what you want. Myles
Re: [O] Table captions in LaTeX export
Hi, t...@tsdye.com (Thomas S. Dye) writes: | #+attr_latex: :float nil :booktabs t :center nil :caption Float=nil disables the caption. There's an older thread on this. I started a patch for this, but I have not finished it, and at the moment I'm very busy. On export to LaTeX, I get this, which lacks a caption and a label: This is expected behavior (ATM). Rasmus -- Slowly unravels in a ball of yarn and the devil collects it
Re: [O] Problem with R source blocks
On Thu, 11 Jun 2015, Thomas S. Dye wrote: Aloha all, Recently, some previously working R code (below) stopped working correctly. It is not possible to produce a graphic without :session. I get a red message in the pdf file arguments imply differing numbers of rows: 86, 79. With :session, I first get one of two error messages in red in the pdf file, either Results must be all atomic, or all data frames or subscript out of bounds. With the subscript out of bounds error, if I run the source code block again, I get the expected graphic. With the Results must be all atomic ... message, if I re-run the source code block several times, I see first an error arguments imply differing numbers of rows: 67, 60, then on the next run arguments imply differing numbers of rows: 86, 79 (like running outside a :session), then the expected graphic. Subsequent runs all produce the expected graphic. If I jump to the session, then print(g) works as expected, without any error messages. I haven't the faintest idea what might be happening, or how to debug. The error messages are coming from R. cbind will say: : Error in data.frame(..., check.names = FALSE) : : arguments imply differing number of rows: 2, 3 if you try cbind( data.frame(diag(2)), 1:3 ) Also, you are feeding lots of vars to the R src block, so that is a good place to look for trouble. You could try to instrument `org-babel-R-evaluate-external-process' and see if anything jumps out at you. But if not, ... To debug, I'd try to replace your block with one that is utterly self contained - no need for external vars begin passed in from Org mode - and that invokes ggplot2 to produce a result. Once that works, define :var args and print them to a temp file from inside that R src block using capture.output(print(your.var1),...,print(your.varK), file = myTemp.Rout) Once that works, I'd add the first lines of code and print out intermediate values from inside your for() loop, but before the cbind() again using capture.output(). I expect by then the issue should be revealed. HTH, Chuck
Re: [O] Table captions in LaTeX export
Rasmus ras...@gmx.us writes: Hi, t...@tsdye.com (Thomas S. Dye) writes: | #+attr_latex: :float nil :booktabs t :center nil :caption Float=nil disables the caption. There's an older thread on this. I started a patch for this, but I have not finished it, and at the moment I'm very busy. Thanks for the response. Let me know if there is something I can do to help. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Problem with R source blocks
Charles C. Berry ccbe...@ucsd.edu writes: I'd rewrite the src block with save.image(file=setup-for-ggplot.RData) before the graphics commands. Restart emacs and execute the src block. Start a fresh R session, then type load(setup-for-ggplot.RData) and type/paste in all the graphics commands and see what happens. If the error repeats and you can verify that each object is as you expected it to be, then this is not an Org mode problem. Done. I can verify this is not an Org mode problem. I'll report it to the ggplot2 folks. Thanks for your help. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[O] Pasting TAB characters into Org-mode when running Emacs in a terminal (--no-window-system)
I prefer to use Emacs and Org-mode in a terminal, using parameter --no-window-system on program start. However, when I try to paste some source code that uses TABs for indentation into Org-Mode, they are being removed so the code is now unindented. This problem does not occur when running Emacs in a window (without --no-window-system). Is there a way to make it work as expected? I'm using Emacs 24.3.1, Org-mode 8.2.10 and Gnome terminal. Best regards, Michael
Re: [O] Problem with R source blocks
t...@tsdye.com (Thomas S. Dye) writes: I'll report it to the ggplot2 folks. Too late. The bug in plyr was corrected a week ago. library(devtools) devtools::install_github(hadley/plyr) library(plyr) library(ggplot2) ... Thanks again for your help. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Evaluate TBLFM in babel export to LaTeX (reposted)
I just realized that I misread org-sbe as org-she (as in shebang); so of course my search for org-she yielded no results; now on to org-sbe Charluie Millar On 06/11/2015 05:11 PM, Charles Millar wrote: Posted this request for assistance with an incomplete subject line Hi, I am learning how to use org-babel and want to export (LaTeX) a table with the final column added at final row, which should be inserted. The entire process would take place upon exporting to LaTeX/pdf Desired result (roughly speaking) | date | Description | Amount| |||---| | 6-7 | blah| 1.00 | | 6-8 | blah blah|2.00 | | ||3.00| (this row to be inserted and then column 3 added) (Also nice if a hline were inserted before the last row) The table is generated from a recutils data base and essentially this is the set up #+Name: ATable #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount #+end_src #+TBLNAME: ATable #+TBLFM: @$=vsum(@I$..@$);%.2f I have read Using Code Blocks in Org Tables in the Worg Babel Introduction and searched the lists and am not sure of how to implement this. At the moment I am more interested in solving the column sum problem; i can kludge an added row using a dummy record in the database. Charlie Millar
Re: [O] Organizing and taming hectic Academia work (faculty viewpoint)? Tips or a good guides sought after :)
For me, I was interested in integrating it with my literate work (lentic). The idea would be a document with some formal representation (using OWL, but it could be anything at all) and some English (or bad English as this is science) representation in the org-mode view. I could hide the formal view, and use this to generate a word doc for the biologists to say is this what you said, and what you mean?. Then use their comments and feedback to update both the English AND the formal representation. I've already had a paper bounced on the (daft) grounds that biologists are never going to use Emacs and Clojure (which I never said they would). A word based representation would be fantastic. I shall investigate further. Phil John Kitchin jkitc...@andrew.cmu.edu writes: I also wasn't familiar with it. I just played around with it a bit to see if you could integrate org-ref with this. You mostly can do it, but the document probably would need some final manual polishing for some things. http://kitchingroup.cheme.cmu.edu/blog/2015/06/11/ox-pandoc-org-mode-+-org-ref-to-docx-with-bibliographies/ Phillip Lord writes: I didn't know about this -- this could be a killer feature for me. I work a lot with biologists and medics and they are completely word-centric. Phil Titus von der Malsburg malsb...@posteo.de writes: On 2015-06-10 Wed 07:14, Ken Mankoff wrote: I found a happy medium working in Org, exporting to LaTeX, and then using Pandoc to convert to Word. With ox-pandoc you can export to .docx directly. No need to go through LaTeX. Ox-pandoc is pretty amazing. Titus I would send the Word and always the canonical PDF version in case some equations got messed up. This requires manually incorporating the tracked changes from Word, but I've never been a fan of just clicking accept on changes anyway, and don't mind the manual re-integration of comments. -k. On 2015-06-10 at 09:49, John Kitchin jkitc...@andrew.cmu.edu wrote: Speaking as an advisor/teacher, you should do what they want if you want them to help you. You could ask if they are willing to comment on the pdf, either by hand writing on a printed version, or by pdf commenting, or maybe in the LaTeX source. But, if that is not what they want, and they cannot work with what you give them, you will not get as much feedback as you want, and you will end up creating frustration on your end and theirs. windy writes: Another question, I am a student , I think it is a big problem that how to exchange you article with your teacher, because the teacher will comment or revise your article once again and again. However, Many teachers will not use emacs to write articles and also the pdf file is not so convenient to do some modification, how will you deal with the problem ? 在2015年06月09 21时21分, John Kitchinjkitc...@andrew.cmu.edu写道: you might also enjoy our youtube video: https://www.youtube.com/watch?v=fgizHHd7nOo And this one on using org-mode in teaching: https://www.youtube.com/watch?v=IsSMs-4GlT8list=FLQp2VLAOlvq142YN3JO3y8w and https://www.youtube.com/watch?v=cRUCiF2MwP4 See http://github.com/jkitchin/jmax for my Emacs setup for org-mode. My only other advice is start learning to program in emacs-lisp. It took me about four years to get proficient enough to write org-ref. I learned by solving lots of little problems, and building up to bigger problems. A lot of those are documented in my blog. Read the emacs and emacs-lisp manuals (read them in Emacs or in a browser). They take some time, so skip the stuff that doesn't make sense and come back to it later if you need to. Consider getting the book at https://www.masteringemacs.org. It isn't about org-mode, but it will make you better at using Emacs. Consider reading Land of Lisp. It isn't about Emacs or Emacs-lisp, but it might interest you in programming in a lispy language, and it is a fun read. Buy the org-mode book: http://www.amazon.com/Org-Mode-Reference-Manual-Organize/dp/9881327709/ref=sr_1_1?ie=UTF8qid=1433855847sr=8-1keywords=org-mode. yes, it is the same stuff as in the manual, but it is a book you can read anywhere anytime. Start by learning how to get org-mode to do some things you want. Just do one thing a day. Every day. You hopefully have 30+ years of career ahead of you, so even if it takes a few years or more to learn how to program in emacs-lisp to customize your workflows, you still have plenty of time to benefit from it! Best wishes, Holger Wenzel writes: Hi Xebar, Xebar Saram zeltakc at gmail.com writes: Dear Martin Thanks so much for your prompt response. I did ofc do an extensive google research yet found that as can be seen in your link most entries focus on either writing papers or general bits an pieces .What i am looking for is a holistic approach regarding organizing all aspects of academic life and to hear workflows of other colleagues using org for that
Re: [O] Table captions in LaTeX export
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: On Thursday, 11 Jun 2015 at 20:12, Thomas S. Dye wrote: [...] It would be good to have :caption and label honored, even when :float nil, like this: You could always resort to direct LaTeX directives, as in #+begin_src org ,#+begin_margintable ,#+latex: \label{tab:eg} \caption{Example table} ,#+attr_latex: :float nil :booktabs t :center nil | First | Second | |---+| | One | Two| | Three | Four | ,#+end_margintable #+end_src Unfortunately, this isn't fully functional. The internal link points to #+name: and not \label{}. ,-- | Here is a reference to Table [[tab:eg]]. | #+begin_margintable | #+name: tab:eg | #+latex: \caption{Example table\label{tab:eg}} | #+attr_latex: :float nil :booktabs t :center nil | | First | Second | | |---+| | | One | Two| | | Three | Four | | #+end_margintable `-- , | Here is a reference to Table~\ref{orgkeyword1}. | \begin{margintable} | \caption{Example table\label{tab:eg}} | \begin{tabular}{ll} | \toprule | First Second\\ | \midrule | One Two\\ | Three Four\\ | \bottomrule | \end{tabular} | \end{margintable} ` All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Clocking each days entries into one table?
Subhan Michael Tindall subh...@familycareinc.org writes: Have you investigated clocktables? Type in the following hit C-c C-c with point on the 'BEGIN' line somewhere to update. This one produces a month summary by agenda file #+BEGIN: clocktable :block thismonth :narrow 30 :tcolumns 6 :maxlevel 1 :step day :fileskip0 :timestamp :scope agenda :link t #+END: This followed by a little re search replace macro to combine the blocks should just about the job for you Assumes each project is a file in org-agenda-files, but can easily be modified to do a single file, or tag or set of tags at a time if that is how you define your projects Formatting options: https://www.gnu.org/software/emacs/manual/html_node/org/The-clock-table.html My apologies if this has already been suggested Thanks for this, I am using clocktables from the page you referred to in your link. With your line as a starter, the best that I've come up with is this - ╭ │#+BEGIN: clocktable :block thismonth :narrow 30 :tcolumns 6 :maxlevel 2 :step week :stepskip0 :fileskip0 :timestamp :scope file :link t ╰ This breaks it down to a weekly block, which can be merged by deleting lines and then using C-c C-c to equalise the cell limits. This could be done just as easily for a day setup, where you delete cell titles and equalise cell limits again. However if you C-c C-c it destroys all your deletions and equalises again. I did try with ╭ │:step month ╰ but that just threw up a debug buffer! That, to me, was a logical step but it didn't work! ATM, my clocktables and clocks are all in one file, maybe later I'll split them up, but I've only started using clocktables this month. Thanks Sharon. -Original Message- From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On Behalf Of Sharon Kimble Sent: Tuesday, June 09, 2015 1:43 AM To: Robert Klein Cc: emacs-orgmode@gnu.org Subject: Re: [O] Clocking each days entries into one table? Robert Klein rokl...@roklein.de writes: Hi, did you read Bernt Hansen's doumentation (http://doc.norang.ca/org-mode.html)? Sections 9 and 10 in particular could be of help to you. Best regards Robert Thanks Robert, I am aware of Bernt Hansen's setup, and have included some of it in my setup. But I'm still searching for that elusive month-end table display! Sharon. On 06/08/2015 09:15 PM, Sharon Kimble wrote: I've recently started clocking the work that I'm doing, and am now considering a month-end report. Is it possible to have one table per project with each line being that days total time entries? I've seen how to get it showing each days entries but not in separate lines within the table. The method described online splits each days entries into separate split tables. But I'm looking for one table with a maximum of 31 lines which correspond to each days entries. Is it possible please? Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1 This message is intended for the sole use of the individual and entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1 signature.asc Description: PGP signature
Re: [O] Organizing and taming hectic Academia work (faculty viewpoint)? Tips or a good guides sought after :)
Hi Julian, On 2015-06-10 at 10:16, Julian Burgos jul...@hafro.is wrote: a) I first write in org-mode. Export to Word, either exporting first to ODT and then to Word, or to LaTex and then use pandoc to convert LaTex to Word. My coauthor can edit the document as he wishes, using the Track changes option. Then, I transcribe their edits back into the org-mode document. Advantage of this approach: your coauthor receives a clean word file, that could include figures, references, etc., and he/she uses the tools she likes to edit the file. Disadvantage: you have to manually incorporate the changes to the org-mode file each time there are edits. b) I write the manuscript in org-mode. Then I send the org-mode file to my coauthor. Because the org-mode file is just a text file, my coauthor can use Word to edit it. I ask him/her *not* to use track changes and to save the edited version also as a text file. Then, when I receive it I use ediff in emacs to compare both documents and incorporate the edits I want. Advantage of this approach: the merging of the documents is easy using ediff. Disadvantage: your coauthor has to edit a weird-looking document, with markup, code blocks, etc. It seems like with a bit of extra (scriptable?) work you could remove both disadvantages. Why can't you use method (a) above, and then DOCX - Org via pandoc (with --accept-all option)? I know pandoc introduce some of its own changes to the Org syntax but not the document itself. You can get around this. You can remove the pandoc-generated changes automagically so that only co-author changes appear in Org format, which you can then use with your (b) above and emacs ediff. Original: Your Org source A: Org - DOCX for co-authors (using pandoc) B: Org - DOCX - Org (using pandoc). C: A - Org (using pandoc and --accept-all-changes) D: B-Original The difference between B and Original are pandoc-introduced changes that you do not want. Ignore/remove these changes from C, call it D and then the difference between D and the Original are your co-author comments. Now your authors can edit DOCX with Track Changes and you can work on those edits with Emacs ediff. -k.