Skip to content

MooersLab/manuscriptInOrg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version License: MIT

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 text editing in the text area when in the edit mode on Github. Configure 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. Non-Emacs users could just use the editing tools in GitHub to edit the file directly, or you might be able to configure 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 corresponding LaTeX compiles faster in Overleaf, providing 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. However, my installation was missing the break cities.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, but I had not properly migrated my MacPorts. I found that I was missing the breakcities.sty file.

Related sites

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

Update history

Version Changes Date
Version 0.2 Added badges, funding, and update table. 2024 May 21

Sources of funding

  • NIH: R01 CA242845
  • NIH: R01 AI088011
  • NIH: P30 CA225520 (PI: R. Mannel)
  • NIH: P20 GM103640 and P30 GM145423 (PI: A. West)