|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
#######
#
# E-scripts on Overleaf.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
# (find-eev-quick-intro)
# http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/overleaf.e>
# or at <http://angg.twu.net/e/overleaf.e.html>.
# See also <http://angg.twu.net/emacs.html>,
# <http://angg.twu.net/.emacs[.html]>,
# <http://angg.twu.net/.zshrc[.html]>,
# <http://angg.twu.net/escripts.html>,
# and <http://angg.twu.net/>.
#
#######
# «.dednat6-minimal» (to "dednat6-minimal")
# «.use-lualatex» (to "use-lualatex")
# «.shellescape» (to "shellescape")
# «.jobname» (to "jobname")
# «.latexmkrc» (to "latexmkrc")
# «.wrap» (to "wrap")
# «.2026vdepaiva» (to "2026vdepaiva")
* overleaf and quiver:
# https://categorytheory.zulipchat.com/#narrow/stream/271602-general.3A-co.2Fappreciation/topic/Overleaf.20and.20Quiver.20app
https://www.overleaf.com/
https://www.overleaf.com/learn/how-to/Changing_compiler
#####
#
# dednat6-minimal
# 2021jan20
#
#####
# «dednat6-minimal» (to ".dednat6-minimal")
# (find-TH "dednat6" "essential-files")
# (find-TH "dednat6" "quick-start")
# http://angg.twu.net/dednat6.html#quick-start
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
rm -Rfv /tmp/dednat6.zip
cd /tmp/
wget http://angg.twu.net/dednat6.zip
rm -Rfv /tmp/dn6-test-min/
mkdir /tmp/dn6-test-min/
cd /tmp/dn6-test-min/
unzip ../dednat6.zip "dednat6/**" dednat6load.lua demo-minimal.tex
ls -l
rm -v /tmp/dednat6-minimal.zip
zip -r /tmp/dednat6-minimal.zip *
# (find-man "zip")
lualatex demo-minimal.tex
ls -l
cd /tmp/
Scp-np dednat6-minimal.zip $TWUP/dednat6-minimal.zip
Scp-np dednat6-minimal.zip $TWUS/dednat6-minimal.zip
# (find-twusfile "" "dednat6.zip")
# (find-twupfile "" "dednat6.zip")
#####
#
# use-lualatex
# 2026jun15
#
#####
# «use-lualatex» (to ".use-lualatex")
# https://docs.overleaf.com/getting-started/recompiling-your-project/selecting-a-tex-live-version-and-latex-compiler#changing-the-compiler
# Settings -> Compiler -> Compiler
#####
#
# \ShellEscape
# 2026jun15
#
#####
# «shellescape» (to ".shellescape")
# https://docs.overleaf.com/managing-projects-and-files/the-latexmkrc-file
\documentclass[a4paper]{article}
\usepackage[margin=1cm]{geometry}
\usepackage{verbatim,shellesc}
\ShellEscape{cp /usr/local/share/latexmk/LatexMk ./LatexMk}
\begin{document}
\section*{About this project}
This project provides access to the system \texttt{LatexMk}
initialization (configuration) file used by Overleaf. \texttt{LatexMk}
is a Perl script which may vary slightly according to the \TeX{} Live
version and compiler chosen for the project. If you need to be 100\%
certain which \texttt{LatexMk} is being used, add code from this
project to your project and compile to typeset a listing of
\texttt{LatexMk} and make it available for download as one of the
output files.
\section*{Listing the \texttt{LatexMk} file}
\verbatiminput{./LatexMk}
\end{document}
#####
#
# jobname
# 2026jun16
#
#####
# «jobname» (to ".jobname")
# (vdp2026a "edrx26a")
# (vdp2026a "edrx26a" "dednatjobname")
# (find-angg "LUA/dednat7load.lua" "if-tex" "dednat_jobname =")
# (find-MM-aula-links "2026vdepaiva" "2" "vdp2026" "vdp")
# (find-LATEX "2026-1-MM-template.tex")
# (find-LATEX "2026-1-MM-template.tex" "edrx26a")
# (find-LATEX "2026-1-MM-template.tex" "edrx26a" "dednatjobname")
# (to "latexmkrc")
# (to "latexmkrc" "--jobname=")
# (find-es "luatex" "token.get_macro")
#####
#
# latexmkrc
# 2026jun15
#
#####
# «latexmkrc» (to ".latexmkrc")
# (find-google-links "how do I set the jobname in overleaf")
# https://docs.overleaf.com/managing-projects-and-files/the-latexmkrc-file
# https://docs.overleaf.com/navigating-in-the-editor/generated-files
# (find-fline "/tmp/2026vdepaiva-output.zip" "output.stdout")
# (find-es "tex" "latexmk")
# (find-es "luatex" "tex.jobname")
Running 'lualatex -synctex=1 -interaction=batchmode -halt-on-error -recorder --jobname="output" "2026vdepaiva.tex"'
#####
#
# wrap
# 2026jun16
#
#####
# «wrap» (to ".wrap")
# (find-google-links "how do I turn off word wrap in overleaf")
#####
#
# 2026vdepaiva
# 2026jun16
#
#####
# «2026vdepaiva» (to ".2026vdepaiva")
Baixe o https://anggtwu.net/LATEX/2026vdepaiva.zip no /tmp/
Projects -> New project -> Upload project -> Upload zipped project -> /tmp/2026vdepaiva.zip
Settings -> Compiler -> Compiler -> LuaLaTeX
Settings -> Compiler -> Stop on first error -> (turn on)
Recompile
Help -> Keyboard Shortcuts
# (find-sh "dict adaptive")
# (find-sh "locate -i /nts/")
https://protagon.space/2025/03/editing-overleaf-documents-with-emacs/
https://www.reddit.com/r/emacs/comments/1jcaj6x/live_editing_overleaf_documents_with_emacs/
https://chainsawriot.com/postmannheim/2025/03/16/misctalk2.html
https://www.youtube.com/watch?v=fe4EK4HSPkI
https://ctan.org/pkg/nts
# Local Variables:
# coding: utf-8-unix
# End: