From e8abac86e13dc6c5cdd646ab72539f33242dd7ed Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 17 Jul 2021 18:27:44 +0800 Subject: [PATCH] Update miscellaneous stuff README, gitignores, and the specific configuration for this project. --- .gitignore | 310 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.adoc | 20 +--- config.el | 12 +- 3 files changed, 317 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 8851da9..9cebd97 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,313 @@ # I have a thing called preevacee so I don't want to. daily/ +node_modules +.dendron.* +build + +### Lilypond ### +*.pdf +*.ps +*.midi +*.mid +*.log +*~ + + +### LaTeX ### +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 +.*.lb + +## Intermediate documents: +*.dvi +*.xdv +*-converted-to.* +# these rules might exclude image files for figures etc. +*.ps +*.eps +# *.pdf + +## Generated if empty string is given at "Please type another file name for output:" +.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.run.xml + +## Build tool auxiliary files: +*.fdb_latexmk +*.synctex +*.synctex(busy) +*.synctex.gz +*.synctex.gz(busy) +*.pdfsync + +## Build tool directories for auxiliary files +# latexrun +latex.out/ + +## Auxiliary and intermediate files from other packages: +# algorithms +*.alg +*.loa + +# achemso +acs-*.bib + +# amsthm +*.thm + +# beamer +*.nav +*.pre +*.snm +*.vrb + +# changes +*.soc + +# comment +*.cut + +# cprotect +*.cpt + +# elsarticle (documentclass of Elsevier journals) +*.spl + +# endnotes +*.ent + +# fixme +*.lox + +# feynmf/feynmp +*.mf +*.mp +*.t[1-9] +*.t[1-9][0-9] +*.tfm + +#(r)(e)ledmac/(r)(e)ledpar +*.end +*.?end +*.[1-9] +*.[1-9][0-9] +*.[1-9][0-9][0-9] +*.[1-9]R +*.[1-9][0-9]R +*.[1-9][0-9][0-9]R +*.eledsec[1-9] +*.eledsec[1-9]R +*.eledsec[1-9][0-9] +*.eledsec[1-9][0-9]R +*.eledsec[1-9][0-9][0-9] +*.eledsec[1-9][0-9][0-9]R + +# glossaries +*.acn +*.acr +*.glg +*.glo +*.gls +*.glsdefs +*.lzo +*.lzs + +# uncomment this for glossaries-extra (will ignore makeindex's style files!) +# *.ist + +# gnuplottex +*-gnuplottex-* + +# gregoriotex +*.gaux +*.glog +*.gtex + +# htlatex +*.4ct +*.4tc +*.idv +*.lg +*.trc +*.xref + +# hyperref +*.brf + +# knitr +*-concordance.tex +# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files +# *.tikz +*-tikzDictionary + +# listings +*.lol + +# luatexja-ruby +*.ltjruby + +# makeidx +*.idx +*.ilg +*.ind + +# minitoc +*.maf +*.mlf +*.mlt +*.mtc[0-9]* +*.slf[0-9]* +*.slt[0-9]* +*.stc[0-9]* + +# minted +_minted* +*.pyg + +# morewrites +*.mw + +# newpax +*.newpax + +# nomencl +*.nlg +*.nlo +*.nls + +# pax +*.pax + +# pdfpcnotes +*.pdfpc + +# sagetex +*.sagetex.sage +*.sagetex.py +*.sagetex.scmd + +# scrwfile +*.wrt + +# sympy +*.sout +*.sympy +sympy-plots-for-*.tex/ + +# pdfcomment +*.upa +*.upb + +# pythontex +*.pytxcode +pythontex-files-*/ + +# tcolorbox +*.listing + +# thmtools +*.loe + +# TikZ & PGF +*.dpth +*.md5 +*.auxlock + +# todonotes +*.tdo + +# vhistory +*.hst +*.ver + +# easy-todo +*.lod + +# xcolor +*.xcp + +# xmpincl +*.xmpi + +# xindy +*.xdy + +# xypic precompiled matrices and outlines +*.xyc +*.xyd + +# endfloat +*.ttt +*.fff + +# Latexian +TSWLatexianTemp* + +## Editors: +# WinEdt +*.bak +*.sav + +# Texpad +.texpadtmp + +# LyX +*.lyx~ + +# Kile +*.backup + +# gummi +.*.swp + +# KBibTeX +*~[0-9]* + +# TeXnicCenter +*.tps + +# auto folder when using emacs and auctex +./auto/* +*.el + +# expex forward references with \gathertags +*-tags.tex + +# standalone packages +*.sta + +# Makeindex log files +*.lpz + +# xwatermark package +*.xwm + +# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib +# option is specified. Footnotes are the stored in a file with suffix Notes.bib. +# Uncomment the next line to have this generated file ignored. +#*Notes.bib + +### LaTeX Patch ### +# LIPIcs / OASIcs +*.vtc + +# glossaries +*.glstex + diff --git a/README.adoc b/README.adoc index 7047c64..92e6bc9 100644 --- a/README.adoc +++ b/README.adoc @@ -243,25 +243,7 @@ image::assets/workflow.png[] This also means expect the following changes if you're watching this repo for some reason. Keep in mind all of the details are still under consideration. -* Create a static site for my wiki. -org-roam doesn't have a built-in export option yet but there are solutions. -For now, I'm not worrying to much on this one. - -** I could make a custom publication script. -I did create a publication script back then for a small org-mode-based for testing purposes but it is messy and life happened so I wasn't able to get back on it immediately. -Here's a link:https://git.sr.ht/~brettgilio/website/[very good example of a org-mode-and-Emacs-powered site] complete with features and without JavaScript! -footnote:[link:https://brettgilio.com/[Brett Gilio] is kind enough to answer my noob org-mode related questions back then so big thanks to him for the guidance. :)] -The advantage is complete control and the disadvantage is starting from scratch. -Still, you can start from already existing solutions. - -** Convert the org documents to commonly-supported text formats like Markdown and use static site generators. -Most of them supports Markdown and there is an "export to Markdown" option for org-mode. -I could whip up an Elisp script and export it by batch then move them over to an SSG setup like Hugo. -This is also how link:https://github.com/jethrokuan/braindump[Jethro Kuan's org-roam notes] are setup. - -** Use a parser outside of Emacs. -link:https://github.com/rasendubi/uniorg/tree/master/examples/org-braindump[uniorg] has a good example with Next.js as the site generator and it can support org-roam v2 ID links. -It requires an external JavaScript-based setup but it can also be an advantage. +* Make the site prettier. * Try out link:https://github.com/srid/neuron/[Neuron]. I've used it on and off and even tried to support both org-roam and Neuron because I like the static site generated and also because org-roam doesn't have a killer HTML exporter yet (in my opinion). diff --git a/config.el b/config.el index 5e3c246..2a1df7e 100644 --- a/config.el +++ b/config.el @@ -44,16 +44,16 @@ :if-new (file+head "%<%Y-%m-%d-%H-%M-%S>.org" "#+title: ${title} -#+date: \"%<%Y-%m-%d %T %:z>\" -#+date_modified: \"%<%Y-%m-%d %T %:z>\" +#+date: %<%Y-%m-%d %T %:z> +#+date_modified: %<%Y-%m-%d %T %:z> #+language: en") :unnarrowed t) ("c" "cards" plain "%?" :if-new (file+head ,(f-join +anki-cards-directory-name "%<%Y>.org") "#+title: Anki: ${title} -#+date: \"%<%Y-%m-%d %T %:z>\" -#+date_modified: \"%<%Y-%m-%d %T %:z>\" +#+date: %<%Y-%m-%d %T %:z> +#+date_modified: %<%Y-%m-%d %T %:z> #+language: en #+property: anki_deck ${title}") :unnarrowed t) @@ -61,8 +61,8 @@ ("l" "literature" plain "%?" :if-new (file+head ,(f-join +structured-notes-directory-name "literature.${slug}.org") "#+title: ${title} -#+date: \"%<%Y-%m-%d %T %:z>\" -#+date_modified: \"%<%Y-%m-%d %T %:z>\" +#+date: %<%Y-%m-%d %T %:z> +#+date_modified: %<%Y-%m-%d %T %:z> #+language: en") :unnarrowed t)