update blog posts

This commit is contained in:
Tom Hodson 2022-02-24 10:35:46 +00:00
parent 5e1abf6233
commit 198619898b
2 changed files with 10 additions and 11 deletions

View File

@ -1,11 +1,6 @@
---
title: 'How I use Zotero, Better Bibtex and Overleaf together'
date: 2199-01-01
permalink: /posts/2012/08/blog-post-4/
tags:
- cool posts
- category1
- category2
date: 2022-01-01
---
Make Overleaf project
@ -19,13 +14,13 @@ Automatic git push with https://retorque.re/zotero-better-bibtex/exporting/auto/
#### When the citations are done
When the paper is done and the citations aren't going to change too much, use overleaf see logs feature to see the aux file.
Import the aux into a subcollection to get onle the citations used for this paper.
Import the aux into a subcollection to get only the citations used for this paper.
Then export the subcollection again using "Keep updated"
No you'll have a bib file with only the citations actually used.
Overleaf Workflow
---
Sync with Github whenever you'd updated the figures or citations.
Sync with Github whenever you'd updated the figures or citations. For some projects I now use the [Overleaf git-bridge](git-bridge) directly because it doesn't require you to manually sync with GitHub.
Submitting to arXiv
---
@ -37,3 +32,4 @@ Submitting to somewhere else:
APS Journals require you to paste or input the .bbl file into the text [paste][paste], replace you command with \include{main.bbl}
[paste]: https://www.overleaf.com/learn/latex/Questions/The_journal_says_%22don't_use_BibTeX;_paste_the_contents_of_the_.bbl_file_into_the_.tex_file%22._How_do_I_do_this_on_Overleaf%3F
[git-bridge]: https://www.overleaf.com/learn/how-to/Using_Git_and_GitHub#The_Overleaf_Git-Bridge

View File

@ -1,6 +1,7 @@
---
layout: single
title: "Building Overleaf projects locally"
date: 2022-02-02
---
## Building Overleaf projects locally
@ -23,11 +24,11 @@ sudo tlmgr install latexmk texliveonfly
```
### Step 3: Clone your Overleaf project
You can either [clone your overleaf project directly][overleafgit] with
You can either [clone your overleaf project directly][git-bridge] with
```
git clone $overleaf_project_link
```
or create a linked github repo from the settings tab of Overleaf and clone that.
or create [a linked github repo][github-sync] from the settings tab of Overleaf and clone that.
### Install packages
Now cd into your newly cloned repo and use `texliveonfly` to install the packages that your project depends on by running `sudo texliveonfly` on your main tex file.
@ -44,4 +45,6 @@ latexmk -pdf -shell-escape main.tex
I had to add the `-shell-escape` option because I was using a package (latexmarkdown) that requires running external commands.
[latexmk]: https://www.overleaf.com/learn/how-to/How_does_Overleaf_compile_my_project%3F#:~:text=Overleaf%20uses%20the%20latexmk%20build,button%20in%20your%20Overleaf%20project.
[overleafgit]: https://www.overleaf.com/blog/195-new-collaborate-online-and-offline-with-overleaf-and-git-beta
[overleafgit]: https://www.overleaf.com/blog/195-new-collaborate-online-and-offline-with-overleaf-and-git-beta
[git-bridge]: https://www.overleaf.com/learn/how-to/Using_Git_and_GitHub#The_Overleaf_Git-Bridge
[github-sync]: https://www.overleaf.com/learn/how-to/Using_Git_and_GitHub#Overleaf_GitHub_Synchronization