MooersLab / manuscriptInOrg

Manuscript in org-mode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Manuscript template in org for the first submission

The first submission of a research paper for peer review can be in a generic format as a PDF. It is silly to submit the manuscript as if it were a galley proof at this stage. The advantage of a plain generic template is that it can be submitted to many different journals.

This is an org-mode variant of the main.tex file in the MooersLab/manuscriptInLaTeX repo. This template is for people who prefer to write research papers in org. The support for writing in LaTeX in Emacs is also excellent.

Edit on-line in your favorite text editor

Editing via GhostTex on Overleaf

You can edit LaTeX documents stored on Overleaf inside Emacs or a half dozen other text editors via GhostText. See slides here here and video here. Note that I configured the Emacs Atomic package to open files from Overleaf in the LaTeX mode. This brings the full power of Emacs to Overleaf. Compiling tex files in Overleaf is faster.

Editing via GhostTex on GitHub

An alternative approach to collaborative editing is to do the editing on a private Github repo. GhostText enables editing of the text in the text area when in the edit mode on Github. Confuigure Atomic to cause Emacs to open org files from Github in org-mode. This approach assumes that all of the collaborators are using Emacs to do their editing. The non-Emacs users could just use the editing tools in GitHub to edit the file directly or you might be able to cofigure their editors to open org files via GhostText.

Installation

  1. Git clone the repo git clone https://github.com/MooersLab/manuscriptInOrg.git.
  2. Copy main.org to a your project folder.
  3. Load main.org file in Emacs via the File pulldown menu or C-x C-f.
  4. Edit the file to customize to your manuscript.
  5. Edit the paths to your global.bib file and your image files.
  6. Enter C-c C-e l o to compile and open the resulting PDF in your default PDF viewer.

Compiling takes several seconds on a 2018 MacBook Pro with 32 GB of RAM. There is a better way. The correpsonding LaTeX compiles faster in Overleaf, which also provides superior support for collaborative editing by non-LaTeX using colleagues. The latter is a deficiency in Emacs that some of working hard to address. Sadly, Overleaf does not read org files.

Assumptions

  1. LaTeX is installed with all of the required style files. I found my installation to be missing the breakcites.sty file. I installed this with the sudo port install texlive-bibtex-extra command.
  2. Emacs is using used to edit the org file.

Postscript Oct 10, 2022

My approach was developed independently of another solution found here.

Postscript May 16, 2023

I had upgraded my operating system to Ventura. I had not migrated my macports properly. I found that I was missing the breakcites.sty file.

Related sites

Note that latex-emacs profile has fuctions for converting LaTex lists into org-markdown lists.