summaryrefslogtreecommitdiff
path: root/tex-conf.el
AgeCommit message (Collapse)Author
2023-05-30TeX: add a hiero-processing functionJSDurand
* tex-conf.el (durand-tex-hiero): Send the region to the executable that translates it to the LaTeX commands that produce the corresponding hieroglyphs. This makes it convenient to obtain the correct LaTeX codes to use.
2023-05-30TeX: bind 'H-t' to `durand-tex-do-all`.JSDurand
Add a binding to run the commands.
2023-05-30TeX: If the pdf is already displayed, reuse that window.JSDurand
Sometimes I want to display the pdf side-by-side with the source file, in which case it would be natural and convenient to reuse the same window for displaying the pdf file, instead of switching to the pdf file in the window that was displaying the source file.
2023-02-21tex: Derive labels and ask for confirmation.JSDurand
* tex-conf.el (reftex-insert-label-flags): Be smarter when inserting labels.
2022-10-10tex: account for \right constructsJSDurand
* tex-conf.el (end-exit-paren, (open-back-paren): Modify the commands so that they treat \right as part of the parentheses.
2022-05-12tex-conf: don't always fill environment.JSDurand
2022-05-12tex-conf: add a command to do everything.JSDurand
* tex-conf.el (durand-tex-do-all): Do everything I want. (LaTeX-mode-map): Bind to 'C-c t'.
2022-05-02tex-conf: add parenthesis insertionJSDurand
2022-02-18tex: enable reftex by defaultJSDurand
I don't know why I didn't do this previously.
2021-10-24* tex-conf.el (durand-o-things-list): add pair of barsJSDurand
2021-05-16Fixes some errors in loading TeXJSDurand
2021-03-15Stylistic changesJSDurand
* tex-conf.el ("/usr/local/share/emacs/site-lisp/auctex/tex.el"): ("/usr/local/share/emacs/site-lisp/auctex/latex.el"): Load the files explicitly.
2021-03-08More settings with LaTeXJSDurand
* tex-conf.el (TeX-after-compilation-finished-functions): Revert the PDF after compilation. (pdf-sync-forward-display-action): (pdf-sync-backward-display-action): Display the PDF in the same window. (TeX-source-correlate-start-server): Start syncronization between the TeX buffer and the PDF buffer. (font-latex-fontify-sectioning): Make sections bigger. (LaTeX-mode-hook): Add my own preparation function. (open-paren): Insert a pair of parentheses and put the cursor in between. (open-curly): Insert a pair of curly braces and put the cursor in between. (open-bracket): Insert a pair of square brackets and put the cursor in between. (durand-delete-pair): When the character before point is an open bracket, delete the corresponding closing bracket as well. (end-exit-paren): When the character after point is a closing bracket, exit out of it instead of inserting a closing bracket. (open-back-paren): If the character before point is a closing bracket, go back one character into the brackets. (parens-require-spaces): Don't require spaces around parentheses. (durand-prepare-latex): Treat the escape character as a symbol, turn on auto-fill, and don't require spaces around parentheses. (durand-latex-delete-newline): Delete a newline before point, if any. (LaTeX-section-hook): Delete the newline between the section and the label, so that chktex doesn't complain about that space.
2021-03-03TeX, skeleton, and eww.JSDurand
Configure TeX and add some skeletons, and bind a key to eww.
2021-02-22More configurationsJSDurand
Now TeX and elfeed are roughly configured.