Citations

General Explaination

explain

Mybib

I would use biblatex package and create my .bib file with mybib

Latex.lucacordes.xyz

This is essentially the same as overleaf.com. Here it has infinite history and anonymous collaboration and of course no compile timeout (20seconds timeout on overleaf.com). use the overleaf docker toolkit to setup: optional: getting comments https://github.com/overleaf/overleaf/issues/1193

FROM sharelatex/sharelatex:5.1
WORKDIR /overleaf
RUN git clone https://github.com/yu-i-i/overleaf-cep.git overleaf-cep
RUN mv overleaf-cep/services/web/modules/track-changes services/web/modules/track-changes
RUN rm -rf overleaf-cep
RUN sed -i "/moduleImportSequence:/a 'track-changes'," services/web/config/settings.defaults.js
RUN sed -i 's/trackChangesAvailable: false/trackChangesAvailable: true/g' services/web/app/src/Features/Project/ProjectEditorHandler.js

generate a ownlatex image.

mandatory: Install texlive full. sudo docker exec sharelatex tlmgr install scheme-full

add shell escap flag change /usr/local/texlive/2024/texmf.cnf and add shell_escape = t

now lets add pygments

apt update
apt-get install python3-pygments

commit everything to a new instance with docker commit docker commit ownlatex ownlatex-configured now change it to the correct on in overleaf.rc in the toolkit. configure the port

to use svgs with the svg package you just have to install inkscape (200MB). This can be done afterwards

speed

It is a bit slower than the overleaf server. There is a benchmakr in the first answer of here. My server took 2.7-3.189102 s overleaf.com took 2.534180 s with r7 5825u it taskes 2-2.1s

for the Obsidian plugin I use see Latex Suite.