Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluating lisp expression at tab stop #1145

Open
hiorig opened this issue Sep 9, 2022 · 0 comments
Open

Evaluating lisp expression at tab stop #1145

hiorig opened this issue Sep 9, 2022 · 0 comments

Comments

@hiorig
Copy link

hiorig commented Sep 9, 2022

I was wondering if it is possible to evaluate a lisp expression at the tab stops. I'm trying to create a snippet to help me write japanese in LaTeX.
The snippet would be something like
\edtext{\ruby{$1}{$2}}{\Afootnote{$2: $3}}$0
Where I'd like to use different input-methods on each tab stop.
So something like evaluating (set-input-method 'japanese) at $1, (set-input-method 'japanese-hiragana) at $2 and (set-input-method nil) at $3.
Extra points being able to return to my original input-method before invoking the snippet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant