I am thinking to write a physics book in org-mode. Although there are many open-source science books written in LaTeX to figure out its work-flow (and its source) I couldn't find any science book written in org-mode. It is better alternative writing than in LaTeX for science books?
I wrote an academic paper mostly in org-mode. The published paper is here https://pubs.acs.org/doi/abs/10.1021/jacs.7b08572.
And the repo I used to make it is hosted here with the main org-mode source here: https://gitlab.com/salotz/Lotz2017sEHTPPUUnbinding/blob/master/paper/paper.org
As others have commented you will likely have to export to LaTeX to do some tweaks for the particular journal. But I drafted the entire contents of the paper using org-mode.
I think the main advantage in writing in org-mode is that you can be more focused on generating the content instead of typography, which I feel is the case with LaTeX. The nesting/folding implementation of headings in org-mode is really good and allows you to work on large documents (anything larger than can fit on your screen at once) very easily.
That said if you are collaborating or requesting edits from others most people will not know org-mode (or use emacs) and be instantly annoyed that you aren't using LaTeX. If you are very good at LaTeX and not distracted by all the extra verbose markup then I don't know that org-mode is right for you. Or if your document relies heavily on advanced typographic formatting
In addition to org-mode I used a number of emacs extensions that made adding citations a breeze:
- org-ref (particularly the
org-ref-extract-bibtex-*commands to generate a bibtex file)
Although, LaTeX modes in emacs have basically the same functionality.
I would also suggest a few conventions and tricks that helped along the way, that probably help with LaTeX as well.
When drafting I wrote each sentence on a single line separated by a blank line and paragraphs separated by two lines. This makes your
diffs focused without flagging a whole big paragraph as a change (since source code diffs are line-based and not sentence based). Normally when I am writing prose (or code with support for this function) I compulsively use
M-q to keep the lines within the fill column limit (80 characters usually), however this breaks the sentence per line convention and makes diffs almost useless. To solve this use
visual-fill-column-mode (to set number of columns to show text in) and
visual-line-mode (to stop line breaks within words) when editing.
Also I don't see
pandoc mentioned here but it is definitely worth a mention. As it might be better at outputting LaTeX or PDFs in different situations than the builtin org-mode functions.
The book 'Modeling materials using density functional' by John Kitchin is written in orgmode: http://kitchingroup.cheme.cmu.edu/dft-book/dft.html
This is an example of book written in Org-mode, with a comprehensive tutorial: https://procomun.wordpress.com/2014/03/10/book-available-for-preorder/