https://github.com/briochemc/texmf
https://github.com/briochemc/texmf
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/briochemc/texmf
- Owner: briochemc
- Created: 2017-10-17T21:57:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T06:13:03.000Z (over 4 years ago)
- Last Synced: 2024-10-12T10:30:19.594Z (7 months ago)
- Language: TeX
- Size: 668 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# texmf
This repo stores all the *LaTeX* files that I use for every article/project.
This repo should be particularly useful to reproduce the same **.pdf** outputs without too many migraines when trying to compile from another machine.It also has the unique **.bib** file that I will keep using and updating here.
I should check that the class (**.cls**) and bibliographic-style (**.bst**) files required by journals are up to date.
The `texmf/` directory and the following tree were manually created (and did not came to life just by installing TexLive). That is, I had to build the tree below (using `mkdir`) and copy/download the files myself from the command-line interface (CLI).
## Tree:
```
texmf
├── bibtex
│ ├── bib
│ │ └── all_my_references_BP.bib
│ └── bst
│ └── agufull08.bst
└── tex
└── latex
└── local
└── agujournal.cls
```The texmf directory should be located in `~/Library`
## To Do
- [ ] Test on other machines
- [ ] Test multiple **.bst** files
- [ ] Test multiple **.cls** files## Notes
The directory tree of a LaTeX article should be like below, and authors should open the manuscript where it is (i.e., `cd` to where **manuscript.tex** is).
Do not have a subdirectory for the manuscript!
This is because when compiling, `epstopdf` only has the right to write in subfolders (e.g., cannot write in `../figures`) and will only be able to convert **.eps** to **.pdf** if the current working directory is parent to the `figures/` directory.
```
.
├── figures
│ ├── ... (pdf converted files)
│ ├── figure_1_for_example-eps-converted-to.pdf
│ └── figure_1_for_example.eps
├── ... (auxiliary files, .pdf, .aux, .log, .etc)
└── manuscript.tex
```## Cheat Sheet for my vim/skim setup for LaTeX
If all is installed correctly:
- gvim for editor
- skim for viewer
- vimtex plugin for LaTeX stuffI should be able to do the following:
### Backward search
In skim, press `CMD-SHIFT-click` and gvim should point to the corresponding point in the **.tex**.
(You need to set up the "sync" settings in Skim properly for that — Instructions for the setting are in the vimtex help, accessible from vim via `:h vimtex`)### Forward search
In gvim, when in normal mode (not in insert mode) press `,r` and skim should point to the corresponding point in the **.pdf**.