This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# User facing function | |
# | |
# to_math(x_1 + 1^{2 + 4} + 5 + sqrt(y) / 5 %/% 10) | |
# to_math(paste(x^2, y - 1, z_i)) | |
# to_math(hat(tilde(ring(x)))) | |
# to_math(pi*r^2) | |
# to_math(unknown_call(x, floor(sqrt(z)))) | |
to_math <- function(x) { | |
x <- substitute(x) | |
env <- latex_env(x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Use this script as your EDITOR to allow editing remote files with emacsclient. | |
# Works by connecting to the Emacs machine with SSH and using a suitable tramp prefix. | |
# How to reach this machine from the one that's running Emacs | |
ME=user@remote-host | |
# How to reach the machine that's running Emacs from this machine | |
THEY=user@host-running-emacs |