Hey #askfediverse people who use #emacs for academic writing: What are your favourite packages, snippets, transients, hydras and the like? Anything that makes your work with #LaTeX, #BibTeX, #R, #KnitR, and the like easier or more effective? I'd love to hear them.
And maybe @bgcarlisle knows someone who knows someone...?
ess to get Emacs to use R, and then poly-markdown-mode so that I can write in R markdown:
;; This is for Rmd
(add-to-list 'auto-mode-alist '("\\.Rmd$" . poly-markdown-mode))
TOTALLY OFF TOPIC: Hey @hirnbloggade, no #emacs but #R user here. For me #RKWard is making things easy. The tool has a decent #bibtex integration via #kbibtex part and renders #rmarkdown 'natively' (some hands on needed). The editor in RKWard is bases on #Kate (https://kate-editor.org/). Version control via #git give a final polish.
@bgcarlisle @hirnbloggade For a beginner it must feel overwelming, as there is lots of things you need to know and is assumed that you know beforehand. Installing packages, setting up the environment, knowing the concepts in emacs & org etc... Fortunately there are lots of material like YouTube videos, blog posts and tutorials to get you started. With the built in manual it is doable, but not easy. It requires time and effort.
@hirnbloggade @bgcarlisle Not much academic writing here, but I usually write in Org-mode. I export to #LaTeX, and then finish work in #AUCTeX + #BibTeX + #RefTeX. I sometimes use ebib.el for bibliographies, but lately I've been using #kbibtex for that.
@hirnbloggade I'm not familiar with Emacs but I write a lot of (Lua)LaTeX in Vim and maybe some things I do are also helpful when you use Emacs.
For example, I often let latexmk automatically compile the document in the background on changes (I do something like this: latexmk -pdf -pdflatex="lualatex --shell-escape -file-line-error %O %S" -f -pvc "$NAME.tex" &> /dev/null &
I also use the CAYW API of Better BibTeX for Zotero a lot which lets me search for citation keys.
@hirnbloggade @bgcarlisle I wrote a tutorial for integrating Zotero and RMarkdown in Emacs: https://plantarum.ca/2020/07/20/blogdown-citations/
And basic RMarkdown editing:
( @bgcarlisle surely has some good ideas too, but he blocks me.)
@hirnbloggade I typically write in org-mode and then use AUCTex + cdlatex (+evil-tex) to finish work in #LaTeX after exporting it. There are a couple company-mode backends for autocompletion in AUCTex mode (company-auctex, company-math and company-reftex).
You might want to check out the Doom Emacs LaTeX module for inspiration as it brings together a number of different packages.
@hirnbloggade Just got set up on CItar the last month. Trying to move my entire workflow to using org-cite.