Directory structure:
.
├── papers
│ ├── Title - Author.pdf
│ └── Title - Author.pdf
├── notes
│ ├── 2022-04-10
│ │ ├── note.tex
Directory structure:
.
├── papers
│ ├── Title - Author.pdf
│ └── Title - Author.pdf
├── notes
│ ├── 2022-04-10
│ │ ├── note.tex
| # Install R | |
| sudo apt-get update | |
| sudo apt-get install gdebi libxml2-dev libssl-dev libcurl4-openssl-dev libopenblas-dev r-base r-base-dev | |
| # Install RStudio | |
| cd ~/Downloads | |
| wget https://download1.rstudio.org/rstudio-xenial-1.1.383-amd64.deb | |
| sudo gdebi rstudio-xenial-1.1.383-amd64.deb | |
| printf '\nexport QT_STYLE_OVERRIDE=gtk\n' | sudo tee -a ~/.profile |
| (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | |
| (add-to-list 'auto-mode-alist '("\\.Rmd\\'" . markdown-mode)) | |
| (add-to-list 'auto-mode-alist '("\\.rmd\\'" . markdown-mode)) | |
| (add-hook 'markdown-mode-hook 'turn-on-outline-minor-mode) | |
| (defun rmarkdown-new-chunk (name) | |
| "Insert a new R chunk." | |
| (interactive "sChunk name: ") | |
| (insert "\n```{r " name "}\n") | |
| (save-excursion |
| (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
| ;;("marmalade" . "http://marmalade-repo.org/packages/") | |
| ("melpa" . "http://melpa.milkbox.net/packages/"))) | |
| (package-initialize) | |
| ;; AucTeX fix PATH & XeLaTeX fix | |
| (setenv "PATH" "/usr/local/bin:/Library/TeX/texbin/:$PATH" t) | |
| (setq org-latex-pdf-process '("latexmk -pdflatex='xelatex -synctex=1 --shell-escape' -pdf %f")) |
| SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md)) | |
| HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md)) | |
| all : $(SLIDES) $(HANDOUTS) | |
| %.md.slides.pdf : %.md | |
| pandoc $^ -t beamer --slide-level 2 -o $@ | |
| %.md.handout.pdf : %.md | |
| pandoc $^ -t beamer --slide-level 2 -V handout -o $@ |
| <snippet> | |
| <content><![CDATA[ | |
| % ${1:nombre_archivo}.tex -- HyTeX Beamer Talk | |
| % Hans Sigrist/${2:date}, ${3:time}. | |
| %______________________________________________________________________________ | |
| % GNU Free Documentation License | |
| % Copyright (c) 2014 Hans Sigrist | |
| % Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. A copy of the license is included in the section entitled "GNU Free Documentation License".THER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| % Read at <http://hsigrist.tumlr.com/GNU_License> This work consists of the files ${1:nombre_archivo}.tex and the derived file ${1:nombre_archivo}.pdf. | |
| %___________________________ |
| <snippet> | |
| <content><![CDATA[ | |
| % ${1:nombre_archivo}.tex -- Oficio Memoir Article | |
| % Hans Sigrist/${2:date}, ${3:time}. | |
| %______________________________________________________________________________ | |
| % GNU Free Documentation License | |
| % Copyright (c) 2014 Hans Sigrist | |
| % Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. A copy of the license is included in the section entitled "GNU Free Documentation License".THER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| % Read at <http://hsigrist.tumlr.com/GNU_License> This work consists of the files ${1:nombre_archivo}.tex and the derived file ${1:nombre_archivo}.pdf. | |
| %_______________________ |
mix3d asked for some help using this guide with windows so here we go. This was tested with Windows 10. Run all commands in Git Bash once it's installed.
Github will be the main account and bitbucket the secondary.