11/14/2022 0 Comments Markdown scrivener windows![]() Scrivomatic is great, and I used it extensively in the past, but it doesn’t deal with R code. The idea for this workflow was heavily inspired by Scrivomatic, by Ian Max Andolina. And it turns out, that’s actually pretty easy, but not necessarily straightforward. I basically wanted to use Scrivener as my plain text editor. MARKDOWN SCRIVENER WINDOWS PDFI also wanted to keep the benefits of compiling to PDF with LaTeX, like auto-generated tables of contents and lists of figures/tables. MARKDOWN SCRIVENER WINDOWS CODESo I wanted to move back to Scrivener, but I wanted to keep all the benefits of Bookdown – namely, having my R code included in the document to produce plots/tables, rather than importing images or copying/pasting tables into Scrivener each time I iterated on my code. Not the end of the world, but just not as easy as Scrivener. This just wasn’t practical in plain text files, as I’d have to re-number everything if I wanted to insert something between two existing files, or just live with cutting and pasting paragraphs within docs. But, in Scrivener I would often work as small as the paragraph level, dragging and dropping chunks of text around to see what flowed best in the overall document. In particular, Bookdown reassembles these files in the order they are listed in the directory, so I ended up numbering all my files (01-intro.Rmd, 02-litreview.Rmd, 03-method.Rmd, etc). I initially tried having separate plain text files to break up the text into sections to work on, but although Bookdown would stitch these back together into one final piece fine, they weren’t easy to work with. In particular, I missed the ability to segment my work into an outline structure. But, as my last big writing project got bigger, and bigger 1, I found myself missing a lot of the writing project management tools from my previous preferred writing app – Scrivener. It’s a great plain editor – I’m using it to write this post now. As I recommended in that post, I’ve been using iA Writer as my main text editor. In my last post on Bookdown, I mentioned using writing environments other than RStudio to work on non-code text sections. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |