├── 2025words.zip ├── LICENSE └── README.md /2025words.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MooersLab/2025words/main/2025words.zip -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 Blaine Mooers and the University of Oklahoma Board of Regents 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![Version](https://img.shields.io/static/v1?label=2025words&message=0.2&color=brightcolor) 2 | [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) 3 | # Daily writings for 2025 in LaTeX 4 | 5 | This is a LaTeX template for storing daily writing entries in separate files. 6 | Each daily entry is a section in a chapter. 7 | Each month is a separate chapter. 8 | 9 | ## Easy-Peasy Installation 10 | 11 | `git clone` the repository or download the zip file. 12 | Create a new project on Overleaf and drag the zip file to the upload menu. 13 | The zip file will be unpacked in a new project. 14 | 15 | In the menu pulldown, go to `compiler` and switch it to `LauLatex`, version `2024`. 16 | The main document should be automatically set to `main.tex`. 17 | The document will now be compiled in 5-10 seconds, with 12 chapters and 365 sections. 18 | 19 | Everything will be ready to go. 20 | You can paste your daily writing entries into the text file labeled 1January2025.tex. 21 | 22 | ## Known limitations 23 | If your daily entries exceed 10,000 words, your project may become too large for Overleaf to compile. 24 | In October of 2024, I ran into this limitation. 25 | 26 | I severely doubt that many people will run into this problem. 27 | I have had no difficulty with compiling documents with about 1200 pages. 28 | The pages are formatted so you can cram about 1,000 words per page. 29 | 30 | You may need to compile it on your local computer instead. 31 | Emacs can compile such large documents much faster than Overleaf. 32 | Many other alternative text editors can compile LaTeX. 33 | You can also run laulatex from the terminal. 34 | 35 | Not all image file types are accepted (e.g., tiffs are not allowed) 36 | PDFs, PNGs, and JPEGs work well. 37 | The latter two types get previews in Overleaf. 38 | 39 | ## Bash function for push updates to private repository on GitHub 40 | 41 | I developed this bash function that I can invoke anywhere to push updates I have made on Overleaf. 42 | The updates are pushed to a private repository on GitHub. 43 | I have a local Repository in my home directory. 44 | I have the option of compiling the book document locally utilizing Emacs. 45 | I can push any changes I make to the document back to Overleaf. 46 | 47 | I have a second local Repository in the folder `~/6114BlaineMooersLabGitHubRepos`. 48 | I push updated documents from this folder to a private Repository on GitHub. 49 | 50 | The function below updates the local repositories and then pushes the updates to GitHub. 51 | 52 | You will have to change the paths and set up similar directories for your project. 53 | This script allows me to replace 23 manual operations with one command. 54 | The script will take a optional command line argument in the form of a commit comment. 55 | 56 | 57 | ```bash 58 | function pbook2025 () { 59 | echo "Takes an optional commit message as a string between quotes." 60 | echo "Example: pbook2025 'Updated entry for March 1.'" 61 | cd ~/2025words/ov 62 | git pull 63 | cd /Users/blaine/6114BlaineMooersLabGitHubRepos/2025words 64 | cp ~/2025words/ov/* . 65 | cd ./Content 66 | cp -R ~/2025words/ov/Content/*.tex . 67 | cp -R ~/2025words/ov/Content/January/*.tex ./January/. 68 | cp -R ~/2025words/ov/Content/February/*.tex ./February/. 69 | cp -R ~/2025words/ov/Content/March/*.tex ./March/. 70 | cp -R ~/2025words/ov/Content/April/*.tex ./April/. 71 | cp -R ~/2025words/ov/Content/May/*.tex ./May/. 72 | cp -R ~/2025words/ov/Content/June/*.tex ./June/. 73 | cp -R ~/2025words/ov/Content/July/*.tex ./July/. 74 | cp -R ~/2025words/ov/Content/August/*.tex ./August/. 75 | cp -R ~/2025words/ov/Content/September/*.tex ./September/. 76 | cp -R ~/2025words/ov/Content/October/*.tex ./October/. 77 | cp -R ~/2025words/ov/Content/November/*.tex ./November/. 78 | cp -R ~/2025words/ov/Content/December/*.tex ./December/. 79 | cd .. 80 | comment="${1:-Updated}" 81 | gac ./Content "$comment" 82 | git push 83 | echo "Pushed the updated files for 2025words". 84 | cd ~/2025words/ov/ 85 | pwd 86 | } 87 | 88 | ``` 89 | 90 | |Version | Changes | Date | 91 | |:------------|:------------------------------------------------------------------------------------------------------------------------------------------|:--------------------| 92 | | Version 0.1 | Added badges, funding, and update table. Initial commit. | 2025 January 2 | 93 | | Version 0.2 | Updated with bash function pbook2025. | 2025 February 12 | 94 | 95 | ## Sources of funding 96 | 97 | - NIH: R01 CA242845 98 | - NIH: R01 AI088011 99 | - NIH: P30 CA225520 (PI: R. Mannel) 100 | - NIH: P20 GM103640 and P30 GM145423 (PI: A. West) 101 | --------------------------------------------------------------------------------